Skip to content

Commit

Permalink
Regenerate client from commit f7578408 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 28, 2023
1 parent 4c4ade6 commit fc16d1d
Show file tree
Hide file tree
Showing 32 changed files with 1,380 additions and 79 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-27 19:48:12.660986",
"spec_repo_commit": "b6741167"
"regenerated": "2023-03-28 17:53:23.802638",
"spec_repo_commit": "f7578408"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-27 19:48:12.674049",
"spec_repo_commit": "b6741167"
"regenerated": "2023-03-28 17:53:23.814357",
"spec_repo_commit": "f7578408"
}
}
}
205 changes: 205 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12092,6 +12092,7 @@ components:
oneOf:
- $ref: '#/components/schemas/ServiceDefinitionV1'
- $ref: '#/components/schemas/ServiceDefinitionV2'
- $ref: '#/components/schemas/ServiceDefinitionV2Dot1'
type: object
ServiceDefinitionV1:
deprecated: true
Expand Down Expand Up @@ -12322,6 +12323,209 @@ components:
- name
- url
type: object
ServiceDefinitionV2Dot1:
description: Service definition v2.1 for providing service metadata and integrations.
properties:
application:
description: Identifier for a group of related services serving a product
feature, which the service is a part of.
example: my-app
type: string
contacts:
description: A list of contacts related to the services.
items:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1Contact'
type: array
dd-service:
description: Unique identifier of the service. Must be unique across all
services and is used to match with a service in Datadog.
example: my-service
type: string
description:
description: A short description of the service.
example: My service description
type: string
extensions:
additionalProperties: {}
description: Extensions to v2.1 schema.
example:
myorg/extension: extensionValue
type: object
integrations:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1Integrations'
lifecycle:
description: The current life cycle phase of the service.
example: sandbox
type: string
links:
description: A list of links related to the services.
items:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1Link'
type: array
schema-version:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1Version'
tags:
description: A set of custom tags.
example:
- my:tag
- service:tag
items:
type: string
type: array
team:
description: Team that owns the service. It is used to locate a team defined
in Datadog Teams if it exists.
example: my-team
type: string
tier:
description: Importance of the service.
example: High
type: string
required:
- schema-version
- dd-service
type: object
ServiceDefinitionV2Dot1Contact:
description: Service owner's contacts information.
oneOf:
- $ref: '#/components/schemas/ServiceDefinitionV2Dot1Email'
- $ref: '#/components/schemas/ServiceDefinitionV2Dot1Slack'
ServiceDefinitionV2Dot1Email:
description: Service owner's email.
properties:
contact:
description: Contact value.
example: contact@datadoghq.com
format: email
type: string
name:
description: Contact email.
example: Team Email
type: string
type:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1EmailType'
required:
- type
- contact
type: object
ServiceDefinitionV2Dot1EmailType:
description: Contact type.
enum:
- email
example: email
type: string
x-enum-varnames:
- EMAIL
ServiceDefinitionV2Dot1Integrations:
description: Third party integrations that Datadog supports.
properties:
opsgenie:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1Opsgenie'
pagerduty:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1Pagerduty'
type: object
ServiceDefinitionV2Dot1Link:
description: Service's external links.
properties:
name:
description: Link name.
example: Runbook
type: string
provider:
description: Link provider.
example: Github
type: string
type:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1LinkType'
url:
description: Link URL.
example: https://my-runbook
type: string
required:
- name
- type
- url
type: object
ServiceDefinitionV2Dot1LinkType:
description: Link type.
enum:
- doc
- repo
- runbook
- dashboard
- other
example: runbook
type: string
x-enum-varnames:
- DOC
- REPO
- RUNBOOK
- DASHBOARD
- OTHER
ServiceDefinitionV2Dot1Opsgenie:
description: Opsgenie integration for the service.
properties:
region:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1OpsgenieRegion'
service-url:
description: Opsgenie service url.
example: https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000
type: string
required:
- service-url
type: object
ServiceDefinitionV2Dot1OpsgenieRegion:
description: Opsgenie instance region.
enum:
- US
- EU
example: US
type: string
x-enum-varnames:
- US
- EU
ServiceDefinitionV2Dot1Pagerduty:
description: PagerDuty integration for the service.
properties:
service-url:
description: PagerDuty service url.
example: https://my-org.pagerduty.com/service-directory/PMyService
type: string
type: object
ServiceDefinitionV2Dot1Slack:
description: Service owner's Slack channel.
properties:
contact:
description: Slack Channel.
example: https://yourcompany.slack.com/archives/channel123
type: string
name:
description: Contact Slack.
example: Team Slack
type: string
type:
$ref: '#/components/schemas/ServiceDefinitionV2Dot1SlackType'
required:
- type
- contact
type: object
ServiceDefinitionV2Dot1SlackType:
description: Contact type.
enum:
- slack
example: slack
type: string
x-enum-varnames:
- SLACK
ServiceDefinitionV2Dot1Version:
default: v2.1
description: Schema version being used.
enum:
- v2.1
example: v2.1
type: string
x-enum-varnames:
- V2_1
ServiceDefinitionV2Email:
description: Service owner's email.
properties:
Expand Down Expand Up @@ -12480,6 +12684,7 @@ components:
ServiceDefinitionsCreateRequest:
description: Create service definitions request.
oneOf:
- $ref: '#/components/schemas/ServiceDefinitionV2Dot1'
- $ref: '#/components/schemas/ServiceDefinitionV2'
- $ref: '#/components/schemas/ServiceDefinitionRaw'
ServiceDefinitionsListResponse:
Expand Down
84 changes: 84 additions & 0 deletions docs/datadog_api_client.v2.model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5664,6 +5664,90 @@ service\_definition\_v2\_doc
:members:
:show-inheritance:

service\_definition\_v2\_dot1
-----------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_contact
--------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_contact
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_email
------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_email
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_email\_type
------------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_email_type
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_integrations
-------------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_integrations
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_link
-----------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_link
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_link\_type
-----------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_link_type
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_opsgenie
---------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_opsgenie
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_opsgenie\_region
-----------------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_opsgenie_region
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_pagerduty
----------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_pagerduty
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_slack
------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_slack
:members:
:show-inheritance:

service\_definition\_v2\_dot1\_slack\_type
------------------------------------------

.. automodule:: datadog_api_client.v2.model.service_definition_v2_dot1_slack_type
:members:
:show-inheritance:

service\_definition\_v2\_email
------------------------------

Expand Down
Loading

0 comments on commit fc16d1d

Please sign in to comment.