Skip to content

Commit b463c86

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

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:40.707684",
8-
"spec_repo_commit": "d749ce87"
7+
"regenerated": "2023-03-07 18:54:18.529425",
8+
"spec_repo_commit": "f09bf63c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-03-06 21:58:40.720012",
13-
"spec_repo_commit": "d749ce87"
12+
"regenerated": "2023-03-07 18:54:18.541358",
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'

src/datadog_api_client/v2/api/restriction_policies_api.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def delete_restriction_policy(
108108
109109
Deletes the restriction policy associated with a specified resource.
110110
111-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``security-rule``.
111+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``security-rule`` , ``slo``.
112112
:type resource_id: str
113113
:rtype: None
114114
"""
@@ -125,7 +125,7 @@ def get_restriction_policy(
125125
126126
Retrieves the restriction policy associated with a specified resource.
127127
128-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``security-rule``.
128+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``security-rule`` , ``slo``.
129129
:type resource_id: str
130130
:rtype: RestrictionPolicyResponse
131131
"""
@@ -151,8 +151,9 @@ def update_restriction_policy(
151151
* Dashboards: ``dashboard``
152152
* Notebooks: ``notebook``
153153
* Security Rules: ``security-rule``
154+
* Service Level Objectives: ``slo``
154155
155-
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``security-rule``.
156+
:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``security-rule`` , ``slo``.
156157
:type resource_id: str
157158
:param body: Restriction policy payload
158159
:type body: RestrictionPolicyUpdateRequest

0 commit comments

Comments
 (0)