Skip to content

Commit b2fa9f4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove reference to locked (#2132)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent baebe4d commit b2fa9f4

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
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": "2024-08-27 12:12:27.969266",
8-
"spec_repo_commit": "09daef2e"
7+
"regenerated": "2024-08-28 20:30:29.955583",
8+
"spec_repo_commit": "6b2f00dd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-27 12:12:27.987178",
13-
"spec_repo_commit": "09daef2e"
12+
"regenerated": "2024-08-28 20:30:29.972727",
13+
"spec_repo_commit": "6b2f00dd"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6725,9 +6725,10 @@ components:
67256725
be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles)
67266726
and are located in the `data.id` field. Editing a monitor includes any
67276727
updates to the monitor configuration, monitor deletion, and muting of
6728-
the monitor for any amount of time. `restricted_roles` is the successor
6729-
of `locked`. For more information about `locked` and `restricted_roles`,
6730-
see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
6728+
the monitor for any amount of time. You can use the [Restriction Policies
6729+
API](https://docs.datadoghq.com/api/latest/restriction-policies/) to manage
6730+
write authorization for individual monitors by teams and users, in addition
6731+
to roles.
67316732
items:
67326733
description: A role UUID.
67336734
type: string

src/datadog_api_client/v1/model/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def __init__(
147147
:param query: The monitor query.
148148
:type query: str
149149
150-
: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>`_.
150+
: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.
151151
:type restricted_roles: [str], none_type, optional
152152
153153
:param state: Wrapper object with the different monitor states.

0 commit comments

Comments
 (0)