Skip to content

Commit 6347415

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Remove reference to locked, add restriction policies reference (#2373)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1ab91a9 commit 6347415

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

Diff for: .apigentools-info

+4-4
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": "2025-01-23 21:37:44.264707",
8-
"spec_repo_commit": "ff83ed06"
7+
"regenerated": "2025-01-23 22:24:31.115985",
8+
"spec_repo_commit": "6a31fa8c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-23 21:37:44.282504",
13-
"spec_repo_commit": "ff83ed06"
12+
"regenerated": "2025-01-23 22:24:31.131010",
13+
"spec_repo_commit": "6a31fa8c"
1414
}
1515
}
1616
}

Diff for: .generator/schemas/v1/openapi.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -7898,9 +7898,10 @@ components:
78987898
be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles)
78997899
and are located in the `data.id` field. Editing a monitor includes any
79007900
updates to the monitor configuration, monitor deletion, and muting of
7901-
the monitor for any amount of time. `restricted_roles` is the successor
7902-
of `locked`. For more information about `locked` and `restricted_roles`,
7903-
see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
7901+
the monitor for any amount of time. You can use the [Restriction Policies
7902+
API](https://docs.datadoghq.com/api/latest/restriction-policies/) to manage
7903+
write authorization for individual monitors by teams and users, in addition
7904+
to roles.
79047905
items:
79057906
description: A role UUID.
79067907
type: string

Diff for: src/datadog_api_client/v1/model/monitor_update_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(
139139
:param query: The monitor query.
140140
:type query: str, optional
141141
142-
:param restricted_roles: A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the `Roles API <https://docs.datadoghq.com/api/latest/roles/#list-roles>`_ and are located in the ``data.id`` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. ``restricted_roles`` is the successor of ``locked``. For more information about ``locked`` and ``restricted_roles`` , see the `monitor options docs <https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options>`_.
142+
:param restricted_roles: A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the `Roles API <https://docs.datadoghq.com/api/latest/roles/#list-roles>`_ and are located in the ``data.id`` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. You can use the `Restriction Policies API <https://docs.datadoghq.com/api/latest/restriction-policies/>`_ to manage write authorization for individual monitors by teams and users, in addition to roles.
143143
:type restricted_roles: [str], none_type, optional
144144
145145
:param state: Wrapper object with the different monitor states.

0 commit comments

Comments
 (0)