Skip to content

Commit

Permalink
Regenerate client from commit c873724a of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 28, 2024
1 parent c09810e commit e28065f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 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.6",
"regenerated": "2024-06-27 17:06:10.290866",
"spec_repo_commit": "5ebef994"
"regenerated": "2024-06-28 08:53:10.575320",
"spec_repo_commit": "c873724a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-06-27 17:06:10.309309",
"spec_repo_commit": "5ebef994"
"regenerated": "2024-06-28 08:53:10.592874",
"spec_repo_commit": "c873724a"
}
}
}
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ components:
type: string
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `security-rule`, `slo`.'
`dashboard`, `notebook`, `security-rule`, `slo`, `suppression-rule`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -31454,6 +31454,8 @@ paths:

- Service Level Objectives: `slo`

- Suppression Rules: `suppression-rule`


#### Supported relations for resources

Expand All @@ -31469,7 +31471,9 @@ paths:

Security Rules | `viewer`, `editor`

Service Level Objectives | `viewer`, `editor`'
Service Level Objectives | `viewer`, `editor`

Suppression Rules | `viewer`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
8 changes: 5 additions & 3 deletions packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,23 +324,23 @@ export class RestrictionPoliciesApiResponseProcessor {

export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`, `suppression-rule`.
* @type string
*/
resourceId: string;
}

export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`, `suppression-rule`.
* @type string
*/
resourceId: string;
}

export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`, `suppression-rule`.
* @type string
*/
resourceId: string;
Expand Down Expand Up @@ -422,6 +422,7 @@ export class RestrictionPoliciesApi {
* - Powerpacks: `powerpack`
* - Security Rules: `security-rule`
* - Service Level Objectives: `slo`
* - Suppression Rules: `suppression-rule`
*
* #### Supported relations for resources
* Resource Type | Supported Relations
Expand All @@ -431,6 +432,7 @@ export class RestrictionPoliciesApi {
* Powerpacks | `viewer`, `editor`
* Security Rules | `viewer`, `editor`
* Service Level Objectives | `viewer`, `editor`
* Suppression Rules | `viewer`, `editor`
* @param param The request object
*/
public updateRestrictionPolicy(
Expand Down

0 comments on commit e28065f

Please sign in to comment.