Skip to content

Commit acd991a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 35ab545 of spec repo
1 parent 6be4c93 commit acd991a

File tree

39 files changed

+1502
-226
lines changed

39 files changed

+1502
-226
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 137 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11227,6 +11227,76 @@ components:
1122711227
required:
1122811228
- type
1122911229
type: object
11230+
ConfiguredSchedule:
11231+
description: Full resource representation of a configured schedule target with
11232+
position (previous, current, or next).
11233+
properties:
11234+
attributes:
11235+
$ref: '#/components/schemas/ConfiguredScheduleTargetAttributes'
11236+
id:
11237+
description: Specifies the unique identifier of the configured schedule
11238+
target.
11239+
example: 00000000-aba1-0000-0000-000000000000_previous
11240+
type: string
11241+
relationships:
11242+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationships'
11243+
type:
11244+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11245+
required:
11246+
- type
11247+
- id
11248+
- attributes
11249+
- relationships
11250+
type: object
11251+
ConfiguredScheduleTarget:
11252+
description: Relationship reference to a configured schedule target.
11253+
properties:
11254+
id:
11255+
description: Specifies the unique identifier of the configured schedule
11256+
target.
11257+
example: 00000000-aba1-0000-0000-000000000000_previous
11258+
type: string
11259+
type:
11260+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11261+
required:
11262+
- type
11263+
- id
11264+
type: object
11265+
ConfiguredScheduleTargetAttributes:
11266+
description: Attributes for a configured schedule target, including position.
11267+
example:
11268+
position: previous
11269+
properties:
11270+
position:
11271+
$ref: '#/components/schemas/ScheduleTargetPosition'
11272+
required:
11273+
- position
11274+
type: object
11275+
ConfiguredScheduleTargetRelationships:
11276+
description: Represents the relationships of a configured schedule target.
11277+
properties:
11278+
schedule:
11279+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule'
11280+
required:
11281+
- schedule
11282+
type: object
11283+
ConfiguredScheduleTargetRelationshipsSchedule:
11284+
description: Holds the schedule reference for a configured schedule target.
11285+
properties:
11286+
data:
11287+
$ref: '#/components/schemas/ScheduleTarget'
11288+
required:
11289+
- data
11290+
type: object
11291+
ConfiguredScheduleTargetType:
11292+
default: schedule_target
11293+
description: Indicates that the resource is of type `schedule_target`.
11294+
enum:
11295+
- schedule_target
11296+
example: schedule_target
11297+
type: string
11298+
x-enum-varnames:
11299+
- SCHEDULE_TARGET
1123011300
ConfluentAccountCreateRequest:
1123111301
description: Payload schema when adding a Confluent account.
1123211302
properties:
@@ -18936,13 +19006,24 @@ components:
1893619006
type: users
1893719007
- id: 00000000-aba2-0000-0000-000000000000
1893819008
type: schedules
19009+
- id: 00000000-aba2-0000-0000-000000000000_previous
19010+
type: schedule_target
1893919011
- id: 00000000-aba3-0000-0000-000000000000
1894019012
type: teams
1894119013
type: steps
1894219014
- id: 00000000-aba1-0000-0000-000000000000
1894319015
type: users
1894419016
- id: 00000000-aba2-0000-0000-000000000000
1894519017
type: schedules
19018+
- attributes:
19019+
position: previous
19020+
id: 00000000-aba2-0000-0000-000000000000_previous
19021+
relationships:
19022+
schedule:
19023+
data:
19024+
id: 00000000-aba2-0000-0000-000000000000
19025+
type: schedules
19026+
type: schedule_target
1894619027
- id: 00000000-aba3-0000-0000-000000000000
1894719028
type: teams
1894819029
properties:
@@ -18970,7 +19051,10 @@ components:
1897019051
targets:
1897119052
- id: 00000000-aba1-0000-0000-000000000000
1897219053
type: users
18973-
- id: 00000000-aba2-0000-0000-000000000000
19054+
- config:
19055+
schedule:
19056+
position: previous
19057+
id: 00000000-aba2-0000-0000-000000000000
1897419058
type: schedules
1897519059
- id: 00000000-aba3-0000-0000-000000000000
1897619060
type: teams
@@ -19014,6 +19098,7 @@ components:
1901419098
name:
1901519099
description: Specifies the name for the new escalation policy.
1901619100
example: On-Call Escalation Policy
19101+
minLength: 1
1901719102
type: string
1901819103
resolve_page_on_policy_end:
1901919104
description: Indicates whether the page is automatically resolved when the
@@ -19023,12 +19108,16 @@ components:
1902319108
description: Specifies how many times the escalation sequence is retried
1902419109
if there is no response.
1902519110
format: int64
19111+
maximum: 10
19112+
minimum: 0
1902619113
type: integer
1902719114
steps:
1902819115
description: A list of escalation steps, each defining assignment, escalation
1902919116
timeout, and targets for the new policy.
1903019117
items:
1903119118
$ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19119+
maxItems: 10
19120+
minItems: 1
1903219121
type: array
1903319122
required:
1903419123
- name
@@ -19045,6 +19134,8 @@ components:
1904519134
step.
1904619135
example: 3600
1904719136
format: int64
19137+
maximum: 36000
19138+
minimum: 60
1904819139
type: integer
1904919140
targets:
1905019141
description: Specifies the collection of escalation targets for this step.
@@ -19096,6 +19187,7 @@ components:
1909619187
name:
1909719188
description: Specifies the name of the escalation policy.
1909819189
example: On-Call Escalation Policy
19190+
minLength: 1
1909919191
type: string
1910019192
resolve_page_on_policy_end:
1910119193
description: Indicates whether the page is automatically resolved when the
@@ -19105,6 +19197,8 @@ components:
1910519197
description: Specifies how many times the escalation sequence is retried
1910619198
if there is no response.
1910719199
format: int64
19200+
maximum: 10
19201+
minimum: 0
1910819202
type: integer
1910919203
required:
1911019204
- name
@@ -19167,10 +19261,11 @@ components:
1916719261
description: Represents included related resources when retrieving an escalation
1916819262
policy, such as teams, steps, or targets.
1916919263
oneOf:
19170-
- $ref: '#/components/schemas/TeamReference'
1917119264
- $ref: '#/components/schemas/EscalationPolicyStep'
1917219265
- $ref: '#/components/schemas/EscalationPolicyUser'
1917319266
- $ref: '#/components/schemas/ScheduleData'
19267+
- $ref: '#/components/schemas/ConfiguredSchedule'
19268+
- $ref: '#/components/schemas/TeamReference'
1917419269
EscalationPolicyStep:
1917519270
description: Represents a single step in an escalation policy, including its
1917619271
attributes, relationships, and resource type.
@@ -19218,15 +19313,29 @@ components:
1921819313
type: object
1921919314
EscalationPolicyStepTarget:
1922019315
description: Defines a single escalation target within a step for an escalation
19221-
policy creation request. Contains `id` and `type`.
19316+
policy creation request. Contains `id`, `type`, and optional `config`.
1922219317
properties:
19318+
config:
19319+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1922319320
id:
1922419321
description: Specifies the unique identifier for this target.
1922519322
example: 00000000-aba1-0000-0000-000000000000
1922619323
type: string
1922719324
type:
1922819325
$ref: '#/components/schemas/EscalationPolicyStepTargetType'
1922919326
type: object
19327+
EscalationPolicyStepTargetConfig:
19328+
description: Configuration for an escalation target, such as schedule position.
19329+
properties:
19330+
schedule:
19331+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19332+
type: object
19333+
EscalationPolicyStepTargetConfigSchedule:
19334+
description: Schedule-specific configuration for an escalation target.
19335+
properties:
19336+
position:
19337+
$ref: '#/components/schemas/ScheduleTargetPosition'
19338+
type: object
1923019339
EscalationPolicyStepTargetType:
1923119340
description: Specifies the type of escalation target (example `users`, `schedules`,
1923219341
or `teams`).
@@ -19307,6 +19416,7 @@ components:
1930719416
name:
1930819417
description: Specifies the name of the escalation policy.
1930919418
example: On-Call Escalation Policy
19419+
minLength: 1
1931019420
type: string
1931119421
resolve_page_on_policy_end:
1931219422
description: Indicates whether the page is automatically resolved when the
@@ -19316,12 +19426,16 @@ components:
1931619426
description: Specifies how many times the escalation sequence is retried
1931719427
if there is no response.
1931819428
format: int64
19429+
maximum: 10
19430+
minimum: 0
1931919431
type: integer
1932019432
steps:
1932119433
description: A list of escalation steps, each defining assignment, escalation
1932219434
timeout, and targets.
1932319435
items:
1932419436
$ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19437+
maxItems: 10
19438+
minItems: 1
1932519439
type: array
1932619440
required:
1932719441
- name
@@ -19339,6 +19453,8 @@ components:
1933919453
step.
1934019454
example: 3600
1934119455
format: int64
19456+
maximum: 36000
19457+
minimum: 60
1934219458
type: integer
1934319459
id:
1934419460
description: Specifies the unique identifier of this step.
@@ -19447,12 +19563,13 @@ components:
1944719563
x-enum-varnames:
1944819564
- USERS
1944919565
EscalationTarget:
19450-
description: Represents an escalation target, which can be a team, user, or
19451-
schedule.
19566+
description: Represents an escalation target, which can be a team, user, schedule,
19567+
or configured schedule target.
1945219568
oneOf:
1945319569
- $ref: '#/components/schemas/TeamTarget'
1945419570
- $ref: '#/components/schemas/UserTarget'
1945519571
- $ref: '#/components/schemas/ScheduleTarget'
19572+
- $ref: '#/components/schemas/ConfiguredScheduleTarget'
1945619573
EscalationTargets:
1945719574
description: A list of escalation targets for a step
1945819575
properties:
@@ -44917,7 +45034,8 @@ components:
4491745034
type: object
4491845035
ScheduleTarget:
4491945036
description: Represents a schedule target for an escalation policy step, including
44920-
its ID and resource type.
45037+
its ID and resource type. This is a shortcut for a configured schedule target
45038+
with position set to 'current'.
4492145039
properties:
4492245040
id:
4492345041
description: Specifies the unique identifier of the schedule resource.
@@ -44929,6 +45047,19 @@ components:
4492945047
- type
4493045048
- id
4493145049
type: object
45050+
ScheduleTargetPosition:
45051+
description: Specifies the position of a schedule target (example `previous`,
45052+
`current`, or `next`).
45053+
enum:
45054+
- previous
45055+
- current
45056+
- next
45057+
example: previous
45058+
type: string
45059+
x-enum-varnames:
45060+
- PREVIOUS
45061+
- CURRENT
45062+
- NEXT
4493245063
ScheduleTargetType:
4493345064
default: schedules
4493445065
description: Indicates that the resource is of type `schedules`.

0 commit comments

Comments
 (0)