{"openapi":"3.0.0","info":{"title":"OVHcloud API specification","description":"Specification for OVHcloud API","version":"1.0","contact":{"name":"OVH","email":"api@ml.ovh.net"}},"servers":[{"url":"https://api.eu.ovhcloud.com/1.0"}],"components":{"schemas":{"any":{"description":"Can be anything (text, int, bool, json, html, etc.)","example":"This is a content of any type !"},"dbaas.logs.Engine":{"type":"object","description":"Input engine","properties":{"engineId":{"type":"string","description":"Input engine ID","format":"uuid","readOnly":true},"isDeprecated":{"type":"boolean","description":"Indicates if engine will soon not be supported","readOnly":true},"name":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.EngineNameEnum"}],"description":"Software name","readOnly":true},"version":{"type":"string","description":"Software version","readOnly":true}}},"dbaas.logs.EngineNameEnum":{"type":"string","description":"Possible values for EngineNameEnum","enum":["FLOWGGER","LOGSTASH","TEST"]},"dbaas.logs.FlowggerConfiguration":{"type":"object","description":"Flowgger configuration","properties":{"logFormat":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.FlowggerConfigurationLogFormatEnum"}],"description":"Type of format to decode","readOnly":true},"logFraming":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.FlowggerConfigurationLogFramingEnum"}],"description":"Indicates how messages are delimited","readOnly":true}}},"dbaas.logs.FlowggerConfigurationLogFormatEnum":{"type":"string","description":"Possible values for FlowggerConfigurationLogFormatEnum","enum":["CAPNP","GELF","LTSV","RFC5424"]},"dbaas.logs.FlowggerConfigurationLogFramingEnum":{"type":"string","description":"Possible values for FlowggerConfigurationLogFramingEnum","enum":["CAPNP","LINE","NUL","SYSLEN"]},"dbaas.logs.Helper":{"type":"object","description":"Helper","properties":{"description":{"type":"string","description":"Helper description","readOnly":true},"engineId":{"type":"string","description":"Input engine UUID","format":"uuid","readOnly":true},"helperId":{"type":"string","description":"Helper UUID","format":"uuid","readOnly":true},"sections":{"type":"array","description":"Helper sections","items":{"$ref":"#/components/schemas/dbaas.logs.HelperSection"},"readOnly":true},"title":{"type":"string","description":"Helper title","readOnly":true}}},"dbaas.logs.HelperSection":{"type":"object","description":"Helper section","properties":{"content":{"type":"string","description":"Section content","readOnly":true},"name":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.HelperSectionNameEnum"}],"description":"Section name","readOnly":true}}},"dbaas.logs.HelperSectionNameEnum":{"type":"string","description":"Possible values for HelperSectionName","enum":["LOGSTASH_FILTER","LOGSTASH_INPUT","LOGSTASH_PATTERN"]},"dbaas.logs.Input":{"type":"object","description":"Input","properties":{"allowedNetworks":{"type":"array","description":"IP blocks","nullable":true,"items":{"$ref":"#/components/schemas/ipBlock"},"readOnly":true},"autoscale":{"type":"boolean","description":"Whether the workload is auto-scaled","nullable":true,"readOnly":true},"createdAt":{"type":"string","description":"Input creation","format":"date-time","readOnly":true},"description":{"type":"string","description":"Input description","readOnly":true},"engineId":{"type":"string","description":"Input engine ID","format":"uuid","readOnly":true},"exposedPort":{"type":"string","description":"Port","nullable":true,"readOnly":true},"hostname":{"type":"string","description":"Hostname","readOnly":true},"inputId":{"type":"string","description":"Input ID","format":"uuid","readOnly":true},"isRestartRequired":{"type":"boolean","description":"Indicate if input need to be restarted","readOnly":true},"maxScaleInstance":{"type":"integer","description":"Maximum number of instances in auto-scaled mode","nullable":true,"readOnly":true},"minScaleInstance":{"type":"integer","description":"Minimum number of instances in auto-scaled mode","nullable":true,"readOnly":true},"nbInstance":{"type":"integer","description":"Number of instance running","nullable":true,"readOnly":true},"publicAddress":{"type":"string","description":"Input IP address","readOnly":true},"scalingNotifyEnabled":{"type":"boolean","description":"If set, notify when scaling happens","nullable":true,"readOnly":true},"sslCertificate":{"type":"string","description":"Input SSL certificate","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.InputStatusEnum"}],"description":"init: configuration required, pending: ready to start, running: available","readOnly":true},"streamId":{"type":"string","description":"Associated Graylog stream","format":"uuid","readOnly":true},"title":{"type":"string","description":"Input title","readOnly":true},"updatedAt":{"type":"string","description":"Input last update","nullable":true,"format":"date-time","readOnly":true}}},"dbaas.logs.InputAction":{"type":"object","description":"Action on input","properties":{"isAllowed":{"type":"boolean","description":"Indicates if action is allowed","readOnly":true},"type":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.InputActionTypeEnum"}],"description":"Action type","readOnly":true}}},"dbaas.logs.InputActionTypeEnum":{"type":"string","description":"Possible values for InputActionTypeEnum","enum":["DESTROY","END","LOG","RESTART","START","TEST"]},"dbaas.logs.InputConfigurationFlowggerUpdate":{"type":"object","description":"Flowgger configuration","properties":{"logFormat":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.FlowggerConfigurationLogFormatEnum"}],"description":"configuration log format"},"logFraming":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.FlowggerConfigurationLogFramingEnum"}],"description":"Log framing"}},"required":["logFormat","logFraming"]},"dbaas.logs.InputConfigurationLogstashUpdate":{"type":"object","description":"Logstash configuration","properties":{"filterSection":{"type":"string","description":"Filter section","nullable":true},"inputSection":{"type":"string","description":"Input section"},"patternSection":{"type":"string","description":"Pattern section","nullable":true}},"required":["inputSection"]},"dbaas.logs.InputCreation":{"type":"object","description":"Input configuration","properties":{"allowedNetworks":{"type":"array","description":"IP blocks","nullable":true,"items":{"$ref":"#/components/schemas/ipBlock"}},"autoscale":{"type":"boolean","description":"Whether the workload is auto-scaled","nullable":true},"description":{"type":"string","description":"Description"},"engineId":{"type":"string","description":"Engine ID","format":"uuid"},"exposedPort":{"type":"string","description":"Exposed port","nullable":true},"maxScaleInstance":{"type":"integer","description":"Maximum number of instances in auto-scaled mode","nullable":true},"minScaleInstance":{"type":"integer","description":"Minimum number of instances in auto-scaled mode","nullable":true},"nbInstance":{"type":"integer","description":"Number of instance running","nullable":true},"scalingNotifyEnabled":{"type":"boolean","description":"If set, notify when scaling happens","nullable":true},"streamId":{"type":"string","description":"Stream ID","format":"uuid"},"title":{"type":"string","description":"Title"}},"required":["description","engineId","streamId","title"]},"dbaas.logs.InputStatusEnum":{"type":"string","description":"Possible values for InputStatusEnum","enum":["INIT","PENDING","PROCESSING","RUNNING"]},"dbaas.logs.InputUpdate":{"type":"object","description":"Input configuration update","properties":{"allowedNetworks":{"type":"array","description":"IP blocks","nullable":true,"items":{"$ref":"#/components/schemas/ipBlock"}},"autoscale":{"type":"boolean","description":"Whether the workload is auto-scaled","nullable":true},"description":{"type":"string","description":"Description"},"engineId":{"type":"string","description":"Engine ID","format":"uuid"},"exposedPort":{"type":"string","description":"Exposed port","nullable":true},"maxScaleInstance":{"type":"integer","description":"Maximum number of instances in auto-scaled mode","nullable":true},"minScaleInstance":{"type":"integer","description":"Minimum number of instances in auto-scaled mode","nullable":true},"nbInstance":{"type":"integer","description":"Number of instance running","nullable":true},"scalingNotifyEnabled":{"type":"boolean","description":"If set, notify when scaling happens","nullable":true},"streamId":{"type":"string","description":"Stream ID","format":"uuid"},"title":{"type":"string","description":"Title"}},"required":["description","engineId","streamId","title"]},"dbaas.logs.LogstashConfiguration":{"type":"object","description":"Logstash configuration","properties":{"filterSection":{"type":"string","description":"The filter section of logstash.conf","nullable":true,"readOnly":true},"inputSection":{"type":"string","description":"The filter section of logstash.conf","readOnly":true},"patternSection":{"type":"string","description":"The list of customs Grok patterns","nullable":true,"readOnly":true}}},"dbaas.logs.Operation":{"type":"object","description":"Asynchronous operation","properties":{"aliasId":{"type":"string","description":"Alias used","nullable":true,"format":"uuid","readOnly":true},"createdAt":{"type":"string","description":"Operation creation","format":"date-time","readOnly":true},"dashboardId":{"type":"string","description":"Dashboard used","nullable":true,"format":"uuid","readOnly":true},"encryptionKeyId":{"type":"string","description":"Encryption key used","nullable":true,"format":"uuid","readOnly":true},"indexId":{"type":"string","description":"Index used","nullable":true,"format":"uuid","readOnly":true},"inputId":{"type":"string","description":"Input used","nullable":true,"format":"uuid","readOnly":true},"operationId":{"type":"string","description":"Operation ID","format":"uuid","readOnly":true},"osdId":{"type":"string","description":"OpenSearch Dashboards used","nullable":true,"format":"uuid","readOnly":true},"roleId":{"type":"string","description":"Role used","nullable":true,"format":"uuid","readOnly":true},"serviceName":{"type":"string","description":"Service name","readOnly":true},"state":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.OperationStateEnum"}],"description":"Operation status","readOnly":true},"streamId":{"type":"string","description":"Stream used","nullable":true,"format":"uuid","readOnly":true},"subscriptionId":{"type":"string","description":"Subscription used","nullable":true,"format":"uuid","readOnly":true},"tenantId":{"type":"string","description":"Metrics tenant used","nullable":true,"format":"uuid","readOnly":true},"tokenId":{"type":"string","description":"Token used","nullable":true,"format":"uuid","readOnly":true},"updatedAt":{"type":"string","description":"Operation last update","nullable":true,"format":"date-time","readOnly":true}}},"dbaas.logs.OperationStateEnum":{"type":"string","description":"Possible values for OperationStateEnum","enum":["FAILURE","PENDING","RECEIVED","RETRY","REVOKED","RUNNING","STARTED","SUCCESS"]},"dbaas.logs.TemporaryLogsLink":{"type":"object","description":"Temporary url information","properties":{"expirationDate":{"type":"string","description":"Temporary url expiration date","format":"date-time","readOnly":true},"url":{"type":"string","description":"Temporary url","readOnly":true}}},"dbaas.logs.TestResult":{"type":"object","description":"Config test results","properties":{"isValid":{"type":"boolean","description":"Whether the given configuration pass the syntax test","readOnly":true},"stderr":{"type":"string","description":"Standard error","nullable":true,"readOnly":true},"stdout":{"type":"string","description":"Standard output","nullable":true,"readOnly":true},"updatedAt":{"type":"string","description":"Last config test update","nullable":true,"format":"date-time","readOnly":true}}},"dbaas.logs.Url":{"type":"object","description":"Web address","properties":{"address":{"type":"string","description":"Web URI","readOnly":true},"type":{"allOf":[{"$ref":"#/components/schemas/dbaas.logs.UrlTypeEnum"}],"description":"Service type","readOnly":true}}},"dbaas.logs.UrlTypeEnum":{"type":"string","description":"Possible values for UrlTypeEnum","enum":["CONSOLE","ELASTICSEARCH_API","GRAYLOG_API","GRAYLOG_WEBUI","HTTP_GELF","HTTP_TLS_GELF","KIBANA_WEBUI","OPENSEARCH_API","OSD_WEBUI","PROMETHEUS_API","SERVICE_DOMAIN","TCP_BEATS","TCP_CAP_N_PROTO","TCP_GELF","TCP_LTSV_LINE","TCP_LTSV_NUL","TCP_RFC5424","TCP_TLS_BEATS","TCP_TLS_CAP_N_PROTO","TCP_TLS_GELF","TCP_TLS_LTSV_LINE","TCP_TLS_LTSV_NUL","TCP_TLS_RFC5424","UDP_CAP_N_PROTO","UDP_GELF","UDP_LTSV_LINE","UDP_LTSV_NUL","UDP_RFC5424","WEB_SOCKET"]},"duration":{"type":"string","description":"Duration (e.g., P1Y2M3DT4H6M9S)","example":"P1Y2M3DT4H6M9S"},"email":{"type":"string","description":"Email address (e.g., api@ml.ovh.net)","format":"email","example":"api@ml.ovh.net"},"internationalPhoneNumber":{"type":"string","description":"International phone number","format":"phone-number"},"ip":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipBlock":{"type":"string","description":"IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24)","format":"ip-block","example":"192.0.2.0/24"},"ipInterface":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4":{"type":"string","description":"IPv4 address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4Block":{"type":"string","description":"IPv4 CIDR notation (e.g., 192.0.2.0/24)","format":"ipv4-block","example":"192.0.2.0/24"},"ipv6":{"type":"string","description":"IPv6 address (e.g., 2001:41d0:1:1994::1)","format":"ipv6","example":"2001:41d0:1:1994::1"},"ipv6Block":{"type":"string","description":"IPv6 CIDR notation (e.g., 2001:41d0::/128)","format":"ipv6-block","example":"2001:41d0::/128"},"macAddress":{"type":"string","description":"MAC address (e.g., 00:00:5e:00:53:01)","format":"mac-address","example":"00:00:5e:00:53:01"},"phoneNumber":{"type":"string","description":"Phone number","format":"phone-number"},"time":{"type":"string","description":"Time (e.g., 15:04:05)","format":"time","example":"15:04:05"}},"securitySchemes":{"oAuth2AuthCode":{"type":"oauth2","description":"Oauth2","x-client-id":"1bb9c7df371741c0","x-client-secret":"a5b4de870aca620d10fbf63cd18d205b","flows":{"authorizationCode":{"authorizationUrl":"https://auth.eu.ovhcloud.com/oauth2/authorize","tokenUrl":"https://auth.eu.ovhcloud.com/oauth2/token","scopes":{"account/all":"Manage your account","all":"Manage your whole account and all your services","services/all":"Manage your services lifecycle and billing"}}}}}},"paths":{"/dbaas/logs/{serviceName}/input":{"get":{"summary":"List data-gathering tools","description":"Returns the data-gathering tools of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}},{"in":"query","name":"titlePattern","description":"Filter by title (like)","schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@10"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/get","required":true}],"x-expanded-response":"DbaasLogsInput"},"post":{"summary":"Create a data-gathering tool","description":"Creates a data-gathering tool on the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.InputCreation"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::InputDenyForCluster":{"value":{"class":"Client::Forbidden::InputDenyForCluster","message":"Input order is denied on {{.cluster_type}} clusters"}},"Client::Forbidden::ItemQuotaReached":{"value":{"class":"Client::Forbidden::ItemQuotaReached","message":"{{.targetType}} quota reached for service '{{.serviceName}}' owned by '{{.username}}'! ({{.current}}, allowed: {{.allowed}})"}},"Client::Forbidden::NotOnSameCluster":{"value":{"class":"Client::Forbidden::NotOnSameCluster","message":"{{.item1Type}} does not belongs on the same cluster as the given {{.item2Type}} ('{{.item1Cluster}}' <-> '{{.item2Cluster}}')"}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputEngineDoesNotExists":{"value":{"class":"Client::NotFound::InputEngineDoesNotExists","message":"Input engine '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}},"Client::NotFound::StreamDoesNotExists":{"value":{"class":"Client::NotFound::StreamDoesNotExists","message":"Stream '{{.criteria}}' doesn't exist"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::TitleAlreadyUsed":{"value":{"class":"Client::Conflict::TitleAlreadyUsed","message":"Title '{{.title}}' is already used"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@120"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: dbaas.logs.InputCreation\nresult = client.post(\"/dbaas/logs/{serviceName}/input\",\n\tallowedNetworks = None, # IP blocks (type: array, nullable)\n\tautoscale = None, # Whether the workload is auto-scaled (type: boolean, nullable)\n\tdescription = None, # Description (type: string)\n\tengineId = None, # Engine ID (type: string)\n\texposedPort = None, # Exposed port (type: string, nullable)\n\tmaxScaleInstance = None, # Maximum number of instances in auto-scaled mode (type: integer, nullable)\n\tminScaleInstance = None, # Minimum number of instances in auto-scaled mode (type: integer, nullable)\n\tnbInstance = None, # Number of instance running (type: integer, nullable)\n\tscalingNotifyEnabled = None, # If set, notify when scaling happens (type: boolean, nullable)\n\tstreamId = None, # Stream ID (type: string)\n\ttitle = None, # Title (type: string)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: dbaas.logs.InputCreation\n$result = $ovh->post(\"/dbaas/logs/{serviceName}/input\", array(\n\tallowedNetworks => null, // IP blocks (type: array, nullable)\n\tautoscale => null, // Whether the workload is auto-scaled (type: boolean, nullable)\n\tdescription => null, // Description (type: string)\n\tengineId => null, // Engine ID (type: string)\n\texposedPort => null, // Exposed port (type: string, nullable)\n\tmaxScaleInstance => null, // Maximum number of instances in auto-scaled mode (type: integer, nullable)\n\tminScaleInstance => null, // Minimum number of instances in auto-scaled mode (type: integer, nullable)\n\tnbInstance => null, // Number of instance running (type: integer, nullable)\n\tscalingNotifyEnabled => null, // If set, notify when scaling happens (type: boolean, nullable)\n\tstreamId => null, // Stream ID (type: string)\n\ttitle => null, // Title (type: string)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/create","required":true}]}},"/dbaas/logs/{serviceName}/input/engine":{"get":{"summary":"List data-gathering engines","description":"Returns the data-gathering engines of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/engine\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/engine\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/engine/get","required":true}],"x-expanded-response":"DbaasLogsEngine"}},"/dbaas/logs/{serviceName}/input/engine/{engineId}":{"get":{"summary":"Get a data-gathering engine","description":"Returns the data-gathering engine.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"engineId","description":"Engine ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Engine"}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputEngineDoesNotExists":{"value":{"class":"Client::NotFound::InputEngineDoesNotExists","message":"Input engine '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@50"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/engine/{engineId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/engine/{engineId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/engine/get","required":true}],"x-response-identifier":"engineId"}},"/dbaas/logs/{serviceName}/input/engine/{engineId}/helper":{"get":{"summary":"List engine helpers","description":"Returns the engine helpers of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"engineId","description":"Engine ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@30"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/engine/{engineId}/helper\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/engine/{engineId}/helper\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/engine/helper/get","required":true}],"x-expanded-response":"DbaasLogsHelper"}},"/dbaas/logs/{serviceName}/input/engine/{engineId}/helper/{helperId}":{"get":{"summary":"Get an engine helper","description":"Returns the engine helper.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"engineId","description":"Engine ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"helperId","description":"Helper ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Helper"}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::HelperDoesNotExists":{"value":{"class":"Client::NotFound::HelperDoesNotExists","message":"Helper '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@60"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/engine/{engineId}/helper/{helperId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/engine/{engineId}/helper/{helperId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/engine/helper/get","required":true}],"x-response-identifier":"helperId"}},"/dbaas/logs/{serviceName}/input/{inputId}":{"delete":{"summary":"Delete a data-gathering tool","description":"Deletes the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::IncompatibleStatusForInput":{"value":{"class":"Client::Forbidden::IncompatibleStatusForInput","message":"Input status not compatible with the action '{{.action}}', allowed: {{.allowed}}"}},"Client::Forbidden::OnlyOwnerCanPerformAction":{"value":{"class":"Client::Forbidden::OnlyOwnerCanPerformAction","message":"Only the owner is allowed to perform this action"}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@180"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.delete(\"/dbaas/logs/{serviceName}/input/{inputId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->delete(\"/dbaas/logs/{serviceName}/input/{inputId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/delete","required":true}]},"get":{"summary":"Get a data-gathering tool","description":"Returns the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Input"}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@40"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/{inputId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/{inputId}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/get","required":true}],"x-response-identifier":"inputId"},"put":{"summary":"Update a data-gathering tool","description":"Updates the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.InputUpdate"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::NotOnSameCluster":{"value":{"class":"Client::Forbidden::NotOnSameCluster","message":"{{.item1Type}} does not belongs on the same cluster as the given {{.item2Type}} ('{{.item1Cluster}}' <-> '{{.item2Cluster}}')"}},"Client::Forbidden::OnlyOwnerCanPerformAction":{"value":{"class":"Client::Forbidden::OnlyOwnerCanPerformAction","message":"Only the owner is allowed to perform this action"}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}},"Client::NotFound::StreamDoesNotExists":{"value":{"class":"Client::NotFound::StreamDoesNotExists","message":"Stream '{{.criteria}}' doesn't exist"}}}}}},"409":{"description":"Error 409 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Conflict::TitleAlreadyUsed":{"value":{"class":"Client::Conflict::TitleAlreadyUsed","message":"Title '{{.title}}' is already used"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@190"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: dbaas.logs.InputUpdate\nresult = client.put(\"/dbaas/logs/{serviceName}/input/{inputId}\",\n\tallowedNetworks = None, # IP blocks (type: array, nullable)\n\tautoscale = None, # Whether the workload is auto-scaled (type: boolean, nullable)\n\tdescription = None, # Description (type: string)\n\tengineId = None, # Engine ID (type: string)\n\texposedPort = None, # Exposed port (type: string, nullable)\n\tmaxScaleInstance = None, # Maximum number of instances in auto-scaled mode (type: integer, nullable)\n\tminScaleInstance = None, # Minimum number of instances in auto-scaled mode (type: integer, nullable)\n\tnbInstance = None, # Number of instance running (type: integer, nullable)\n\tscalingNotifyEnabled = None, # If set, notify when scaling happens (type: boolean, nullable)\n\tstreamId = None, # Stream ID (type: string)\n\ttitle = None, # Title (type: string)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: dbaas.logs.InputUpdate\n$result = $ovh->put(\"/dbaas/logs/{serviceName}/input/{inputId}\", array(\n\tallowedNetworks => null, // IP blocks (type: array, nullable)\n\tautoscale => null, // Whether the workload is auto-scaled (type: boolean, nullable)\n\tdescription => null, // Description (type: string)\n\tengineId => null, // Engine ID (type: string)\n\texposedPort => null, // Exposed port (type: string, nullable)\n\tmaxScaleInstance => null, // Maximum number of instances in auto-scaled mode (type: integer, nullable)\n\tminScaleInstance => null, // Minimum number of instances in auto-scaled mode (type: integer, nullable)\n\tnbInstance => null, // Number of instance running (type: integer, nullable)\n\tscalingNotifyEnabled => null, // If set, notify when scaling happens (type: boolean, nullable)\n\tstreamId => null, // Stream ID (type: string)\n\ttitle => null, // Title (type: string)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/edit","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/action":{"get":{"summary":"List actions for a data-gathering tool","description":"Returns the actions available on the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/dbaas.logs.InputAction"}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@70"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/{inputId}/action\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/{inputId}/action\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/action/get","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/configtest":{"post":{"summary":"Validate a data-gathering tool configuration","description":"Checks the data-gathering tool configuration and returns a test result.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::OnlyOwnerCanPerformAction":{"value":{"class":"Client::Forbidden::OnlyOwnerCanPerformAction","message":"Only the owner is allowed to perform this action"}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@130"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/dbaas/logs/{serviceName}/input/{inputId}/configtest\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/dbaas/logs/{serviceName}/input/{inputId}/configtest\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/configtest/validate","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/configtest/result":{"get":{"summary":"Get a configuration test result","description":"Returns the result of a data-gathering tool configuration test.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.TestResult"}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@80"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/{inputId}/configtest/result\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/{inputId}/configtest/result\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/configtest/result/get","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger":{"get":{"summary":"Get the Flowgger configuration","description":"Returns the Flowgger configuration of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.FlowggerConfiguration"}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::InvalidInputEngine":{"value":{"class":"Client::NotFound::InvalidInputEngine","message":"Input '{{.inputId}}' engine version mismatch ('{{.engine}}' <-> '{{.required}}')"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@90"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/configuration/flowgger/get","required":true}]},"put":{"summary":"Update the Flowgger configuration","description":"Updates the Flowgger configuration of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.InputConfigurationFlowggerUpdate"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::OnlyOwnerCanPerformAction":{"value":{"class":"Client::Forbidden::OnlyOwnerCanPerformAction","message":"Only the owner is allowed to perform this action"}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::InvalidInputEngine":{"value":{"class":"Client::NotFound::InvalidInputEngine","message":"Input '{{.inputId}}' engine version mismatch ('{{.engine}}' <-> '{{.required}}')"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@200"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: dbaas.logs.InputConfigurationFlowggerUpdate\nresult = client.put(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger\",\n\tlogFormat = None, # configuration log format (type: dbaas.logs.FlowggerConfigurationLogFormatEnum)\n\tlogFraming = None, # Log framing (type: dbaas.logs.FlowggerConfigurationLogFramingEnum)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: dbaas.logs.InputConfigurationFlowggerUpdate\n$result = $ovh->put(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger\", array(\n\tlogFormat => null, // configuration log format (type: dbaas.logs.FlowggerConfigurationLogFormatEnum)\n\tlogFraming => null, // Log framing (type: dbaas.logs.FlowggerConfigurationLogFramingEnum)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/configuration/flowgger/edit","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash":{"get":{"summary":"Get the Logstash configuration","description":"Returns the Logstash configuration of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.LogstashConfiguration"}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::InvalidInputEngine":{"value":{"class":"Client::NotFound::InvalidInputEngine","message":"Input '{{.inputId}}' engine version mismatch ('{{.engine}}' <-> '{{.required}}')"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@100"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/configuration/logstash/get","required":true}]},"put":{"summary":"Update the Logstash configuration","description":"Updates the Logstash configuration of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.InputConfigurationLogstashUpdate"}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::InputNotAvailable":{"value":{"class":"Client::Forbidden::InputNotAvailable","message":"Input '{{.inputId}}' is busy, An other action is under process. Please retry in a few seconds."}},"Client::Forbidden::OnlyOwnerCanPerformAction":{"value":{"class":"Client::Forbidden::OnlyOwnerCanPerformAction","message":"Only the owner is allowed to perform this action"}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::InvalidInputEngine":{"value":{"class":"Client::NotFound::InvalidInputEngine","message":"Input '{{.inputId}}' engine version mismatch ('{{.engine}}' <-> '{{.required}}')"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@210"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: dbaas.logs.InputConfigurationLogstashUpdate\nresult = client.put(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash\",\n\tfilterSection = None, # Filter section (type: string, nullable)\n\tinputSection = None, # Input section (type: string)\n\tpatternSection = None, # Pattern section (type: string, nullable)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: dbaas.logs.InputConfigurationLogstashUpdate\n$result = $ovh->put(\"/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash\", array(\n\tfilterSection => null, // Filter section (type: string, nullable)\n\tinputSection => null, // Input section (type: string)\n\tpatternSection => null, // Pattern section (type: string, nullable)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/configuration/logstash/edit","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/end":{"post":{"summary":"End a data-gathering tool","description":"Stops the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::IncompatibleStatusForInput":{"value":{"class":"Client::Forbidden::IncompatibleStatusForInput","message":"Input status not compatible with the action '{{.action}}', allowed: {{.allowed}}"}},"Client::Forbidden::InputNotAvailable":{"value":{"class":"Client::Forbidden::InputNotAvailable","message":"Input '{{.inputId}}' is busy, An other action is under process. Please retry in a few seconds."}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@160"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/dbaas/logs/{serviceName}/input/{inputId}/end\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/dbaas/logs/{serviceName}/input/{inputId}/end\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/end","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/logs/url":{"post":{"summary":"Create a temporary URL for data-gathering tool logs","description":"Creates a temporary URL to read the logs of a data-gathering tool. The URL expires.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.TemporaryLogsLink"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@170"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/dbaas/logs/{serviceName}/input/{inputId}/logs/url\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/dbaas/logs/{serviceName}/input/{inputId}/logs/url\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/logs/url/generate","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/restart":{"post":{"summary":"Restart a data-gathering tool","description":"Restarts the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::IncompatibleStatusForInput":{"value":{"class":"Client::Forbidden::IncompatibleStatusForInput","message":"Input status not compatible with the action '{{.action}}', allowed: {{.allowed}}"}},"Client::Forbidden::InputNotAvailable":{"value":{"class":"Client::Forbidden::InputNotAvailable","message":"Input '{{.inputId}}' is busy, An other action is under process. Please retry in a few seconds."}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@150"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/dbaas/logs/{serviceName}/input/{inputId}/restart\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/dbaas/logs/{serviceName}/input/{inputId}/restart\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/restart","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/start":{"post":{"summary":"Start a data-gathering tool","description":"Starts the data-gathering tool.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dbaas.logs.Operation"}}}},"403":{"description":"Error 403 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::Forbidden::Busy":{"value":{"class":"Client::Forbidden::Busy","message":"An operation is already running for this service: {{.operations}}. Please retry later."}},"Client::Forbidden::IncompatibleStatusForInput":{"value":{"class":"Client::Forbidden::IncompatibleStatusForInput","message":"Input status not compatible with the action '{{.action}}', allowed: {{.allowed}}"}},"Client::Forbidden::InputNotAvailable":{"value":{"class":"Client::Forbidden::InputNotAvailable","message":"Input '{{.inputId}}' is busy, An other action is under process. Please retry in a few seconds."}},"Client::Forbidden::ServiceUnavailable":{"value":{"class":"Client::Forbidden::ServiceUnavailable","message":"Service '{{.serviceName}}' unavailable, status is '{{.status}}'"}}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@140"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/dbaas/logs/{serviceName}/input/{inputId}/start\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/dbaas/logs/{serviceName}/input/{inputId}/start\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/start","required":true}]}},"/dbaas/logs/{serviceName}/input/{inputId}/url":{"get":{"summary":"List data-gathering tool URLs","description":"Returns the data-gathering tool URLs of the Logs Data Platform service.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"inputId","description":"Input ID","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"serviceName","description":"Service name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/dbaas.logs.Url"}}}}},"404":{"description":"Error 404 response","content":{"application/json":{"schema":{"type":"object","description":"Common error model","properties":{"class":{"type":"string","description":"Class of the error"},"message":{"type":"string","description":"Error message"}}},"examples":{"Client::NotFound::InputDoesNotExists":{"value":{"class":"Client::NotFound::InputDoesNotExists","message":"Input '{{.criteria}}' doesn't exist"}},"Client::NotFound::ServiceDoesNotExists":{"value":{"class":"Client::NotFound::ServiceDoesNotExists","message":"Service '{{.criteria}}' doesn't exist"}}}}}}},"x-developer-hub-navigation":[["Manage & Operate","Logs Data Platform","Data-gathering tools@@@110"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/dbaas/logs/{serviceName}/input/{inputId}/url\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/dbaas/logs/{serviceName}/input/{inputId}/url\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"ldp:apiovh:input/url/get","required":true}]}}}}
