Skip to content

Commit c352741

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7532c28c of spec repo
1 parent c37aed9 commit c352741

File tree

32 files changed

+2432
-4
lines changed

32 files changed

+2432
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-11-21 11:52:06.579056",
8-
"spec_repo_commit": "f57ca8ef"
7+
"regenerated": "2023-11-21 17:20:08.410398",
8+
"spec_repo_commit": "7532c28c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-21 11:52:06.594355",
13-
"spec_repo_commit": "f57ca8ef"
12+
"regenerated": "2023-11-21 17:20:08.426095",
13+
"spec_repo_commit": "7532c28c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 288 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11296,6 +11296,141 @@ components:
1129611296
- id
1129711297
- type
1129811298
type: object
11299+
OktaAccount:
11300+
description: Schema for an Okta account.
11301+
properties:
11302+
attributes:
11303+
$ref: '#/components/schemas/OktaAccountAttributes'
11304+
id:
11305+
description: The ID of the Okta account, a UUID hash of the account name.
11306+
example: f749daaf-682e-4208-a38d-c9b43162c609
11307+
type: string
11308+
type:
11309+
$ref: '#/components/schemas/OktaAccountType'
11310+
required:
11311+
- attributes
11312+
- type
11313+
type: object
11314+
OktaAccountAttributes:
11315+
description: Attributes object for an Okta account.
11316+
properties:
11317+
api_key:
11318+
description: The API key of the Okta account.
11319+
type: string
11320+
writeOnly: true
11321+
auth_method:
11322+
description: The authorization method for an Okta account.
11323+
example: oauth
11324+
type: string
11325+
client_id:
11326+
description: The Client ID of an Okta app integration.
11327+
type: string
11328+
client_secret:
11329+
description: The client secret of an Okta app integration.
11330+
type: string
11331+
writeOnly: true
11332+
domain:
11333+
description: The domain of the Okta account.
11334+
example: https://example.okta.com/
11335+
type: string
11336+
name:
11337+
description: The name of the Okta account.
11338+
example: Okta-Prod
11339+
type: string
11340+
required:
11341+
- auth_method
11342+
- domain
11343+
- name
11344+
type: object
11345+
OktaAccountRequest:
11346+
description: Request object for an Okta account.
11347+
properties:
11348+
data:
11349+
$ref: '#/components/schemas/OktaAccount'
11350+
required:
11351+
- data
11352+
type: object
11353+
OktaAccountResponse:
11354+
description: Response object for an Okta account.
11355+
properties:
11356+
data:
11357+
$ref: '#/components/schemas/OktaAccount'
11358+
type: object
11359+
OktaAccountResponseData:
11360+
description: Data object of an Okta account
11361+
properties:
11362+
attributes:
11363+
$ref: '#/components/schemas/OktaAccountAttributes'
11364+
id:
11365+
description: The ID of the Okta account, a UUID hash of the account name.
11366+
example: f749daaf-682e-4208-a38d-c9b43162c609
11367+
type: string
11368+
type:
11369+
$ref: '#/components/schemas/OktaAccountType'
11370+
required:
11371+
- attributes
11372+
- id
11373+
- type
11374+
type: object
11375+
OktaAccountType:
11376+
default: okta-accounts
11377+
description: Account type for an Okta account.
11378+
enum:
11379+
- okta-accounts
11380+
example: okta-accounts
11381+
type: string
11382+
x-enum-varnames:
11383+
- OKTA_ACCOUNTS
11384+
OktaAccountUpdateRequest:
11385+
description: Payload schema when updating an Okta account.
11386+
properties:
11387+
data:
11388+
$ref: '#/components/schemas/OktaAccountUpdateRequestData'
11389+
required:
11390+
- data
11391+
type: object
11392+
OktaAccountUpdateRequestAttributes:
11393+
description: Attributes object for updating an Okta account.
11394+
properties:
11395+
api_key:
11396+
description: The API key of the Okta account.
11397+
type: string
11398+
writeOnly: true
11399+
auth_method:
11400+
description: The authorization method for an Okta account.
11401+
example: oauth
11402+
type: string
11403+
client_id:
11404+
description: The Client ID of an Okta app integration.
11405+
type: string
11406+
client_secret:
11407+
description: The client secret of an Okta app integration.
11408+
type: string
11409+
writeOnly: true
11410+
domain:
11411+
description: The domain associated with an Okta account.
11412+
example: https://dev-test.okta.com/
11413+
type: string
11414+
required:
11415+
- auth_method
11416+
- domain
11417+
type: object
11418+
OktaAccountUpdateRequestData:
11419+
description: Data object for updating an Okta account.
11420+
properties:
11421+
attributes:
11422+
$ref: '#/components/schemas/OktaAccountUpdateRequestAttributes'
11423+
type:
11424+
$ref: '#/components/schemas/OktaAccountType'
11425+
OktaAccountsResponse:
11426+
description: The expected response schema when getting Okta accounts.
11427+
properties:
11428+
data:
11429+
description: List of Okta accounts.
11430+
items:
11431+
$ref: '#/components/schemas/OktaAccountResponseData'
11432+
type: array
11433+
type: object
1129911434
OnDemandConcurrencyCap:
1130011435
description: On-demand concurrency cap.
1130111436
properties:
@@ -23824,6 +23959,156 @@ paths:
2382423959
tags:
2382523960
- Fastly Integration
2382623961
x-codegen-request-body-name: body
23962+
/api/v2/integrations/okta/accounts:
23963+
get:
23964+
description: List Okta accounts.
23965+
operationId: ListOktaAccounts
23966+
responses:
23967+
'200':
23968+
content:
23969+
application/json:
23970+
schema:
23971+
$ref: '#/components/schemas/OktaAccountsResponse'
23972+
description: OK
23973+
'400':
23974+
$ref: '#/components/responses/BadRequestResponse'
23975+
'403':
23976+
$ref: '#/components/responses/ForbiddenResponse'
23977+
'404':
23978+
$ref: '#/components/responses/NotFoundResponse'
23979+
'429':
23980+
$ref: '#/components/responses/TooManyRequestsResponse'
23981+
summary: List Okta accounts
23982+
tags:
23983+
- Okta Integration
23984+
post:
23985+
description: Create an Okta account.
23986+
operationId: CreateOktaAccount
23987+
requestBody:
23988+
content:
23989+
application/json:
23990+
schema:
23991+
$ref: '#/components/schemas/OktaAccountRequest'
23992+
required: true
23993+
responses:
23994+
'201':
23995+
content:
23996+
application/json:
23997+
schema:
23998+
$ref: '#/components/schemas/OktaAccountResponse'
23999+
description: OK
24000+
'400':
24001+
$ref: '#/components/responses/BadRequestResponse'
24002+
'403':
24003+
$ref: '#/components/responses/ForbiddenResponse'
24004+
'404':
24005+
$ref: '#/components/responses/NotFoundResponse'
24006+
'429':
24007+
$ref: '#/components/responses/TooManyRequestsResponse'
24008+
security:
24009+
- apiKeyAuth: []
24010+
appKeyAuth: []
24011+
summary: Add Okta account
24012+
tags:
24013+
- Okta Integration
24014+
x-codegen-request-body-name: body
24015+
/api/v2/integrations/okta/accounts/{account_id}:
24016+
delete:
24017+
description: Delete an Okta account.
24018+
operationId: DeleteOktaAccount
24019+
parameters:
24020+
- description: None
24021+
in: path
24022+
name: account_id
24023+
required: true
24024+
schema:
24025+
type: string
24026+
responses:
24027+
'204':
24028+
description: OK
24029+
'400':
24030+
$ref: '#/components/responses/BadRequestResponse'
24031+
'403':
24032+
$ref: '#/components/responses/ForbiddenResponse'
24033+
'404':
24034+
$ref: '#/components/responses/NotFoundResponse'
24035+
'429':
24036+
$ref: '#/components/responses/TooManyRequestsResponse'
24037+
security:
24038+
- apiKeyAuth: []
24039+
appKeyAuth: []
24040+
summary: Delete Okta account
24041+
tags:
24042+
- Okta Integration
24043+
get:
24044+
description: Get an Okta account.
24045+
operationId: GetOktaAccount
24046+
parameters:
24047+
- description: None
24048+
in: path
24049+
name: account_id
24050+
required: true
24051+
schema:
24052+
type: string
24053+
responses:
24054+
'200':
24055+
content:
24056+
application/json:
24057+
schema:
24058+
$ref: '#/components/schemas/OktaAccountResponse'
24059+
description: OK
24060+
'400':
24061+
$ref: '#/components/responses/BadRequestResponse'
24062+
'403':
24063+
$ref: '#/components/responses/ForbiddenResponse'
24064+
'404':
24065+
$ref: '#/components/responses/NotFoundResponse'
24066+
'429':
24067+
$ref: '#/components/responses/TooManyRequestsResponse'
24068+
security:
24069+
- apiKeyAuth: []
24070+
appKeyAuth: []
24071+
summary: Get Okta account
24072+
tags:
24073+
- Okta Integration
24074+
patch:
24075+
description: Update an Okta account.
24076+
operationId: UpdateOktaAccount
24077+
parameters:
24078+
- description: None
24079+
in: path
24080+
name: account_id
24081+
required: true
24082+
schema:
24083+
type: string
24084+
requestBody:
24085+
content:
24086+
application/json:
24087+
schema:
24088+
$ref: '#/components/schemas/OktaAccountUpdateRequest'
24089+
required: true
24090+
responses:
24091+
'200':
24092+
content:
24093+
application/json:
24094+
schema:
24095+
$ref: '#/components/schemas/OktaAccountResponse'
24096+
description: OK
24097+
'400':
24098+
$ref: '#/components/responses/BadRequestResponse'
24099+
'403':
24100+
$ref: '#/components/responses/ForbiddenResponse'
24101+
'404':
24102+
$ref: '#/components/responses/NotFoundResponse'
24103+
'429':
24104+
$ref: '#/components/responses/TooManyRequestsResponse'
24105+
security:
24106+
- apiKeyAuth: []
24107+
appKeyAuth: []
24108+
summary: Update Okta account
24109+
tags:
24110+
- Okta Integration
24111+
x-codegen-request-body-name: body
2382724112
/api/v2/ip_allowlist:
2382824113
get:
2382924114
description: Returns the IP allowlist and its enabled or disabled state.
@@ -31529,6 +31814,9 @@ tags:
3152931814
description: Find out more at
3153031815
url: https://docs.datadoghq.com/monitors/create/types/
3153131816
name: Monitors
31817+
- description: Configure your Datadog Okta integration directly through the Datadog
31818+
API.
31819+
name: Okta Integration
3153231820
- description: 'Configure your [Datadog Opsgenie integration](https://docs.datadoghq.com/integrations/opsgenie/)
3153331821

3153431822
directly through the Datadog API.'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2023-11-21T16:59:43.805Z"

0 commit comments

Comments
 (0)