Skip to content

Commit

Permalink
Regenerate client from commit e44d12a2 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 15, 2022
1 parent f168ab0 commit 1b4106a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-03-15 09:31:17.058796",
"spec_repo_commit": "80288098"
"regenerated": "2022-03-15 17:38:04.751801",
"spec_repo_commit": "e44d12a2"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-03-15 09:31:17.076309",
"spec_repo_commit": "80288098"
"regenerated": "2022-03-15 17:38:04.774292",
"spec_repo_commit": "e44d12a2"
}
}
}
17 changes: 11 additions & 6 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5619,8 +5619,10 @@ components:
example: avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100
type: string
restricted_roles:
description: A list of role identifiers that can be pulled from the Roles
API. Cannot be used with `locked` option.
description: A list of role UUID to define which roles are allowed to edit
the monitor. Monitor edition includes any updates to the monitor configuration,
monitor deletion, and muting of the monitor for any amount of time. Roles
UUID can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/).
items:
description: A role UUID.
type: string
Expand Down Expand Up @@ -5945,8 +5947,9 @@ components:
- If `False`, `[Triggered] Monitor Title`'
type: boolean
locked:
description: Whether or not the monitor is locked (only editable by creator
and admins).
deprecated: true
description: Whether or not the monitor edition is locked (only editable
by creator and admins). Use `restricted_roles` instead.
type: boolean
min_failure_duration:
default: 0
Expand Down Expand Up @@ -6553,8 +6556,10 @@ components:
description: The monitor query.
type: string
restricted_roles:
description: A list of role identifiers that can be pulled from the Roles
API. Cannot be used with `locked` option.
description: A list of role UUID to define which roles are allowed to edit
the monitor. Monitor edition includes any updates to the monitor configuration,
monitor deletion, and muting of the monitor for any amount of time. Role
UUID can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/).
items:
description: A role UUID.
type: string
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v1/models/Monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class Monitor {
*/
"query": string;
/**
* A list of role identifiers that can be pulled from the Roles API. Cannot be used with `locked` option.
* A list of role UUID to define which roles are allowed to edit the monitor. Monitor edition includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles UUID can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/).
*/
"restrictedRoles"?: Array<string>;
"state"?: MonitorState;
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v1/models/MonitorOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class MonitorOptions {
*/
"includeTags"?: boolean;
/**
* Whether or not the monitor is locked (only editable by creator and admins).
* Whether or not the monitor edition is locked (only editable by creator and admins). Use `restricted_roles` instead.
*/
"locked"?: boolean;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class MonitorUpdateRequest {
*/
"query"?: string;
/**
* A list of role identifiers that can be pulled from the Roles API. Cannot be used with `locked` option.
* A list of role UUID to define which roles are allowed to edit the monitor. Monitor edition includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Role UUID can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/).
*/
"restrictedRoles"?: Array<string>;
"state"?: MonitorState;
Expand Down

0 comments on commit 1b4106a

Please sign in to comment.