Skip to content

Commit

Permalink
Regenerate client from commit 6f6db2cd of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 18, 2023
1 parent 2a8cbd7 commit b58f3f5
Show file tree
Hide file tree
Showing 50 changed files with 3,029 additions and 583 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-01-18 17:10:36.322638",
"spec_repo_commit": "1a9d6089"
"regenerated": "2023-01-18 17:28:53.140783",
"spec_repo_commit": "6f6db2cd"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-01-18 17:10:36.335103",
"spec_repo_commit": "1a9d6089"
"regenerated": "2023-01-18 17:28:53.152802",
"spec_repo_commit": "6f6db2cd"
}
}
}
42 changes: 0 additions & 42 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13567,8 +13567,6 @@ components:
$ref: '#/components/schemas/SyntheticsTestOptionsRetry'
rumSettings:
$ref: '#/components/schemas/SyntheticsBrowserTestRumSettings'
scheduling:
$ref: '#/components/schemas/SyntheticsTestOptionsScheduling'
tick_every:
description: The frequency at which to run the Synthetic test (in seconds).
format: int64
Expand Down Expand Up @@ -13619,46 +13617,6 @@ components:
format: double
type: number
type: object
SyntheticsTestOptionsScheduling:
description: Object containing timeframes and timezone used for advanced scheduling.
properties:
timeframes:
description: Array containing objects describing the scheduling pattern
to apply to each day.
example:
- day: 1
from: 07:00
to: '16:00'
- day: 3
from: 07:00
to: '16:00'
items:
$ref: '#/components/schemas/SyntheticsTestOptionsSchedulingTimeframe'
type: array
timezone:
description: Timezone on which the timeframe are based.
example: America/New_York
type: string
type: object
SyntheticsTestOptionsSchedulingTimeframe:
description: Object describing a timeframe.
properties:
day:
description: Number representing the day of the week.
example: 1
format: int32
maximum: 7
minimum: 1
type: integer
from:
description: The hour of the day on which scheduling starts.
example: 07:00
type: string
to:
description: The hour of the day on which scheduling ends.
example: '16:00'
type: string
type: object
SyntheticsTestPauseStatus:
description: 'Define whether you want to start (`live`) or pause (`paused`)
a
Expand Down
280 changes: 280 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2167,6 +2167,130 @@ components:
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleData'
type: array
type: object
CloudflareAccountCreateRequest:
description: Payload schema when adding a Cloudflare account.
properties:
data:
$ref: '#/components/schemas/CloudflareAccountCreateRequestData'
required:
- data
type: object
CloudflareAccountCreateRequestAttributes:
description: Attributes object for creating a Cloudflare account.
properties:
api_key:
description: The API key (or token) for the Cloudflare account.
example: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
type: string
email:
description: The email associated with the Cloudflare account. If an API
key is provided (and not a token), this field is also required.
example: test-email@example.com
type: string
name:
description: The name of the Cloudflare account.
example: test-name
type: string
required:
- api_key
- name
type: object
CloudflareAccountCreateRequestData:
description: Data object for creating a Cloudflare account.
properties:
attributes:
$ref: '#/components/schemas/CloudflareAccountCreateRequestAttributes'
type:
$ref: '#/components/schemas/CloudflareAccountType'
required:
- attributes
- type
type: object
CloudflareAccountResponse:
description: The expected response schema when getting a Cloudflare account.
properties:
data:
$ref: '#/components/schemas/CloudflareAccountResponseData'
type: object
CloudflareAccountResponseAttributes:
description: Attributes object of a Cloudflare account.
properties:
email:
description: The email associated with the Cloudflare account.
example: test-email@example.com
type: string
name:
description: The name of the Cloudflare account.
example: test-name
type: string
required:
- name
type: object
CloudflareAccountResponseData:
description: Data object of a Cloudflare account.
properties:
attributes:
$ref: '#/components/schemas/CloudflareAccountResponseAttributes'
id:
description: The ID of the Cloudflare account, a hash of the account name.
example: c1a8e059bfd1e911cf10b626340c9a54
type: string
type:
$ref: '#/components/schemas/CloudflareAccountType'
required:
- attributes
- id
- type
type: object
CloudflareAccountType:
default: cloudflare-accounts
description: The JSON:API type for this API. Should always be `cloudflare-accounts`.
enum:
- cloudflare-accounts
example: cloudflare-accounts
type: string
x-enum-varnames:
- CLOUDFLARE_ACCOUNTS
CloudflareAccountUpdateRequest:
description: Payload schema when updating a Cloudflare account.
properties:
data:
$ref: '#/components/schemas/CloudflareAccountUpdateRequestData'
required:
- data
type: object
CloudflareAccountUpdateRequestAttributes:
description: Attributes object for updating a Cloudflare account.
properties:
api_key:
description: The API key of the Cloudflare account.
example: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
type: string
email:
description: The email associated with the Cloudflare account. If an API
key is provided (and not a token), this field is also required.
example: test-email@example.com
type: string
required:
- api_key
type: object
CloudflareAccountUpdateRequestData:
description: Data object for updating a Cloudflare account.
properties:
attributes:
$ref: '#/components/schemas/CloudflareAccountUpdateRequestAttributes'
type:
$ref: '#/components/schemas/CloudflareAccountType'
type: object
CloudflareAccountsResponse:
description: The expected response schema when getting Cloudflare accounts.
properties:
data:
description: The JSON:API data schema.
items:
$ref: '#/components/schemas/CloudflareAccountResponseData'
type: array
type: object
ConfluentAccountCreateRequest:
description: Payload schema when adding a Confluent account.
properties:
Expand Down Expand Up @@ -13807,6 +13931,159 @@ paths:
tags:
- Opsgenie Integration
x-codegen-request-body-name: body
/api/v2/integrations/cloudflare/accounts:
get:
description: List Cloudflare accounts.
operationId: ListCloudflareAccounts
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CloudflareAccountsResponse'
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: List Cloudflare accounts
tags:
- Cloudflare Integration
post:
description: Create a Cloudflare account.
operationId: CreateCloudflareAccount
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CloudflareAccountCreateRequest'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/CloudflareAccountResponse'
description: CREATED
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Add Cloudflare account
tags:
- Cloudflare Integration
x-codegen-request-body-name: body
/api/v2/integrations/cloudflare/accounts/{account_id}:
delete:
description: Delete a Cloudflare account.
operationId: DeleteCloudflareAccount
parameters:
- description: None
in: path
name: account_id
required: true
schema:
type: string
responses:
'204':
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Delete Cloudflare account
tags:
- Cloudflare Integration
get:
description: Get a Cloudflare account.
operationId: GetCloudflareAccount
parameters:
- description: None
in: path
name: account_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CloudflareAccountResponse'
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Get Cloudflare account
tags:
- Cloudflare Integration
patch:
description: Update a Cloudflare account.
operationId: UpdateCloudflareAccount
parameters:
- description: None
in: path
name: account_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CloudflareAccountUpdateRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CloudflareAccountResponse'
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Update Cloudflare account
tags:
- Cloudflare Integration
x-codegen-request-body-name: body
/api/v2/integrations/confluent-cloud/accounts:
get:
description: List Confluent accounts.
Expand Down Expand Up @@ -19467,6 +19744,9 @@ tags:
- description: Workload activity security rules for generating events using the Datadog
security Agent.
name: Cloud Workload Security
- description: Configure your Datadog Cloudflare integration directly through the
Datadog API.
name: Cloudflare Integration
- description: Configure your Datadog Confluent Cloud integration directly through
the Datadog API.
name: Confluent Cloud
Expand Down
Loading

0 comments on commit b58f3f5

Please sign in to comment.