Skip to content

Commit fcc7888

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit f09bf63c of spec repo (#1060)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 6de217b commit fcc7888

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
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.4",
7-
"regenerated": "2023-03-06 21:58:34.746320",
8-
"spec_repo_commit": "d749ce87"
7+
"regenerated": "2023-03-07 18:54:27.602100",
8+
"spec_repo_commit": "f09bf63c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-03-06 21:58:34.758692",
13-
"spec_repo_commit": "d749ce87"
12+
"regenerated": "2023-03-07 18:54:27.614041",
13+
"spec_repo_commit": "f09bf63c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ components:
356356
type: integer
357357
ResourceID:
358358
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
359-
`dashboard`, `notebook`, `security-rule`.'
359+
`dashboard`, `notebook`, `security-rule`, `slo`.'
360360
example: dashboard:abc-def-ghi
361361
in: path
362362
name: resource_id
@@ -17738,7 +17738,9 @@ paths:
1773817738

1773917739
- Notebooks: `notebook`
1774017740

17741-
- Security Rules: `security-rule`'
17741+
- Security Rules: `security-rule`
17742+
17743+
- Service Level Objectives: `slo`'
1774217744
operationId: UpdateRestrictionPolicy
1774317745
parameters:
1774417746
- $ref: '#/components/parameters/ResourceID'

packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,23 +328,23 @@ export class RestrictionPoliciesApiResponseProcessor {
328328

329329
export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
330330
/**
331-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`.
331+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
332332
* @type string
333333
*/
334334
resourceId: string;
335335
}
336336

337337
export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
338338
/**
339-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`.
339+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
340340
* @type string
341341
*/
342342
resourceId: string;
343343
}
344344

345345
export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
346346
/**
347-
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`.
347+
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
348348
* @type string
349349
*/
350350
resourceId: string;
@@ -425,6 +425,7 @@ export class RestrictionPoliciesApi {
425425
* - Dashboards: `dashboard`
426426
* - Notebooks: `notebook`
427427
* - Security Rules: `security-rule`
428+
* - Service Level Objectives: `slo`
428429
* @param param The request object
429430
*/
430431
public updateRestrictionPolicy(

0 commit comments

Comments
 (0)