Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 7 additions & 95 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71337,32 +71337,6 @@ components:
required:
- data
type: object
MonitorConfigPolicyDowntimePolicy:
additionalProperties: false
description: Downtime duration attributes of a monitor configuration policy.
properties:
max_duration_ms:
description: The maximum allowed downtime duration, in milliseconds.
example: 3600000
format: int64
minimum: 1
type: integer
required:
- max_duration_ms
type: object
MonitorConfigPolicyDowntimePolicyCreateRequest:
additionalProperties: false
description: Downtime duration attributes of a monitor configuration policy.
properties:
max_duration_ms:
description: The maximum allowed downtime duration, in milliseconds.
example: 3600000
format: int64
minimum: 1
type: integer
required:
- max_duration_ms
type: object
MonitorConfigPolicyEditData:
description: A monitor configuration policy data.
properties:
Expand Down Expand Up @@ -71400,12 +71374,10 @@ components:
description: Configuration for the policy.
oneOf:
- $ref: "#/components/schemas/MonitorConfigPolicyTagPolicy"
- $ref: "#/components/schemas/MonitorConfigPolicyDowntimePolicy"
MonitorConfigPolicyPolicyCreateRequest:
description: Configuration for the policy.
oneOf:
- $ref: "#/components/schemas/MonitorConfigPolicyTagPolicyCreateRequest"
- $ref: "#/components/schemas/MonitorConfigPolicyDowntimePolicyCreateRequest"
MonitorConfigPolicyResourceType:
default: monitor-config-policy
description: Monitor configuration policy resource type.
Expand Down Expand Up @@ -71434,7 +71406,6 @@ components:
$ref: "#/components/schemas/MonitorConfigPolicyResourceType"
type: object
MonitorConfigPolicyTagPolicy:
additionalProperties: false
description: Tag attributes of a monitor configuration policy.
properties:
tag_key:
Expand All @@ -71456,7 +71427,6 @@ components:
type: array
type: object
MonitorConfigPolicyTagPolicyCreateRequest:
additionalProperties: false
description: Tag attributes of a monitor configuration policy.
properties:
tag_key:
Expand All @@ -71483,18 +71453,13 @@ components:
type: object
MonitorConfigPolicyType:
default: tag
description: |-
The monitor configuration policy type.
`tag` enforces required tags on monitors.
`downtime` sets a maximum downtime duration for the organization.
description: The monitor configuration policy type.
enum:
- tag
- downtime
example: "tag"
type: string
x-enum-varnames:
- TAG
- DOWNTIME
MonitorDowntimeMatchResourceType:
default: downtime_match
description: Monitor Downtime Match resource type.
Expand Down Expand Up @@ -168187,6 +168152,7 @@ paths:
- manage_integrations
/api/v2/integration/salesforce-incidents/incident-templates:
get:
deprecated: true
description: Get all Salesforce incident templates configured for your organization.
operationId: GetIncidentTemplates
responses:
Expand Down Expand Up @@ -168221,6 +168187,7 @@ paths:
permissions:
- integrations_read
post:
deprecated: true
description: |-
Create a new Salesforce incident template for your organization. Template
names must be unique within an organization.
Expand Down Expand Up @@ -168284,6 +168251,7 @@ paths:
- manage_integrations
/api/v2/integration/salesforce-incidents/incident-templates/{incident_template_id}:
delete:
deprecated: true
description: Delete a single Salesforce incident template from your organization.
operationId: DeleteIncidentTemplate
parameters:
Expand All @@ -168305,6 +168273,7 @@ paths:
permissions:
- manage_integrations
patch:
deprecated: true
description: Update a single Salesforce incident template in your organization.
operationId: UpdateIncidentTemplate
parameters:
Expand Down Expand Up @@ -168364,6 +168333,7 @@ paths:
- manage_integrations
/api/v2/integration/salesforce-incidents/organizations:
get:
deprecated: true
description: |-
Get all Salesforce organizations connected to your Datadog organization
through the Salesforce integration. Salesforce organizations are connected
Expand Down Expand Up @@ -168404,6 +168374,7 @@ paths:
- integrations_read
/api/v2/integration/salesforce-incidents/organizations/{salesforce_org_id}:
delete:
deprecated: true
description: |-
Disconnect a Salesforce organization from your Datadog organization.
This also deletes any incident templates referencing the organization.
Expand Down Expand Up @@ -182142,16 +182113,6 @@ paths:
policy_type: tag
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
downtime:
summary: Downtime duration policy
value:
data:
- attributes:
policy:
max_duration_ms: 3600000
policy_type: downtime
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
schema:
$ref: "#/components/schemas/MonitorConfigPolicyListResponse"
description: OK
Expand Down Expand Up @@ -182194,15 +182155,6 @@ paths:
- staging
policy_type: tag
type: monitor-config-policy
downtime:
summary: Downtime duration policy
value:
data:
attributes:
policy:
max_duration_ms: 3600000
policy_type: downtime
type: monitor-config-policy
schema:
$ref: "#/components/schemas/MonitorConfigPolicyCreateRequest"
description: Create a monitor configuration policy request body.
Expand All @@ -182225,16 +182177,6 @@ paths:
policy_type: tag
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
downtime:
summary: Downtime duration policy
value:
data:
attributes:
policy:
max_duration_ms: 3600000
policy_type: downtime
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
schema:
$ref: "#/components/schemas/MonitorConfigPolicyResponse"
description: OK
Expand Down Expand Up @@ -182331,16 +182273,6 @@ paths:
policy_type: tag
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
downtime:
summary: Downtime duration policy
value:
data:
attributes:
policy:
max_duration_ms: 3600000
policy_type: downtime
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
schema:
$ref: "#/components/schemas/MonitorConfigPolicyResponse"
description: OK
Expand Down Expand Up @@ -182398,16 +182330,6 @@ paths:
policy_type: tag
id: 00000000-0000-1234-0000-000000000000
type: monitor-config-policy
downtime:
summary: Downtime duration policy
value:
data:
attributes:
policy:
max_duration_ms: 3600000
policy_type: downtime
id: 00000000-0000-1234-0000-000000000000
type: monitor-config-policy
schema:
$ref: "#/components/schemas/MonitorConfigPolicyEditRequest"
description: Description of the update.
Expand All @@ -182430,16 +182352,6 @@ paths:
policy_type: tag
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
downtime:
summary: Downtime duration policy
value:
data:
attributes:
policy:
max_duration_ms: 3600000
policy_type: downtime
id: "00000000-0000-1234-0000-000000000000"
type: monitor-config-policy
schema:
$ref: "#/components/schemas/MonitorConfigPolicyResponse"
description: OK
Expand Down
44 changes: 0 additions & 44 deletions examples/v2/monitors/CreateMonitorConfigPolicy_1934105875.java

This file was deleted.

Loading
Loading