Skip to content

Commit fce54c1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit bd87802 of spec repo
1 parent 27f9b78 commit fce54c1

File tree

48 files changed

+914
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+914
-211
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 138 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11227,6 +11227,77 @@ components:
1122711227
required:
1122811228
- type
1122911229
type: object
11230+
ConfiguredSchedule:
11231+
description: Represents a configured schedule target with a specific position
11232+
(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: Represents a configured schedule target with a specific position
11253+
(previous, current, or next).
11254+
properties:
11255+
id:
11256+
description: Specifies the unique identifier of the configured schedule
11257+
target.
11258+
example: 00000000-aba1-0000-0000-000000000000_previous
11259+
type: string
11260+
type:
11261+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11262+
required:
11263+
- type
11264+
- id
11265+
type: object
11266+
ConfiguredScheduleTargetAttributes:
11267+
description: Attributes for a configured schedule target, including position.
11268+
example:
11269+
position: previous
11270+
properties:
11271+
position:
11272+
$ref: '#/components/schemas/ScheduleTargetPosition'
11273+
required:
11274+
- position
11275+
type: object
11276+
ConfiguredScheduleTargetRelationships:
11277+
description: Represents the relationships of a configured schedule target.
11278+
properties:
11279+
schedule:
11280+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule'
11281+
required:
11282+
- schedule
11283+
type: object
11284+
ConfiguredScheduleTargetRelationshipsSchedule:
11285+
description: Holds the schedule reference for a configured schedule target.
11286+
properties:
11287+
data:
11288+
$ref: '#/components/schemas/ScheduleTarget'
11289+
required:
11290+
- data
11291+
type: object
11292+
ConfiguredScheduleTargetType:
11293+
default: schedule_target
11294+
description: Indicates that the resource is of type `schedule_target`.
11295+
enum:
11296+
- schedule_target
11297+
example: schedule_target
11298+
type: string
11299+
x-enum-varnames:
11300+
- SCHEDULE_TARGET
1123011301
ConfluentAccountCreateRequest:
1123111302
description: Payload schema when adding a Confluent account.
1123211303
properties:
@@ -18936,13 +19007,24 @@ components:
1893619007
type: users
1893719008
- id: 00000000-aba2-0000-0000-000000000000
1893819009
type: schedules
19010+
- id: 00000000-aba2-0000-0000-000000000000_previous
19011+
type: schedule_target
1893919012
- id: 00000000-aba3-0000-0000-000000000000
1894019013
type: teams
1894119014
type: steps
1894219015
- id: 00000000-aba1-0000-0000-000000000000
1894319016
type: users
1894419017
- id: 00000000-aba2-0000-0000-000000000000
1894519018
type: schedules
19019+
- attributes:
19020+
position: previous
19021+
id: 00000000-aba2-0000-0000-000000000000_previous
19022+
relationships:
19023+
schedule:
19024+
data:
19025+
id: 00000000-aba2-0000-0000-000000000000
19026+
type: schedules
19027+
type: schedule_target
1894619028
- id: 00000000-aba3-0000-0000-000000000000
1894719029
type: teams
1894819030
properties:
@@ -18970,7 +19052,10 @@ components:
1897019052
targets:
1897119053
- id: 00000000-aba1-0000-0000-000000000000
1897219054
type: users
18973-
- id: 00000000-aba2-0000-0000-000000000000
19055+
- config:
19056+
schedule:
19057+
position: previous
19058+
id: 00000000-aba2-0000-0000-000000000000
1897419059
type: schedules
1897519060
- id: 00000000-aba3-0000-0000-000000000000
1897619061
type: teams
@@ -19014,6 +19099,7 @@ components:
1901419099
name:
1901519100
description: Specifies the name for the new escalation policy.
1901619101
example: On-Call Escalation Policy
19102+
minLength: 1
1901719103
type: string
1901819104
resolve_page_on_policy_end:
1901919105
description: Indicates whether the page is automatically resolved when the
@@ -19023,12 +19109,16 @@ components:
1902319109
description: Specifies how many times the escalation sequence is retried
1902419110
if there is no response.
1902519111
format: int64
19112+
maximum: 10
19113+
minimum: 0
1902619114
type: integer
1902719115
steps:
1902819116
description: A list of escalation steps, each defining assignment, escalation
1902919117
timeout, and targets for the new policy.
1903019118
items:
1903119119
$ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19120+
maxItems: 10
19121+
minItems: 1
1903219122
type: array
1903319123
required:
1903419124
- name
@@ -19045,6 +19135,8 @@ components:
1904519135
step.
1904619136
example: 3600
1904719137
format: int64
19138+
maximum: 36000
19139+
minimum: 60
1904819140
type: integer
1904919141
targets:
1905019142
description: Specifies the collection of escalation targets for this step.
@@ -19096,6 +19188,7 @@ components:
1909619188
name:
1909719189
description: Specifies the name of the escalation policy.
1909819190
example: On-Call Escalation Policy
19191+
minLength: 1
1909919192
type: string
1910019193
resolve_page_on_policy_end:
1910119194
description: Indicates whether the page is automatically resolved when the
@@ -19105,6 +19198,8 @@ components:
1910519198
description: Specifies how many times the escalation sequence is retried
1910619199
if there is no response.
1910719200
format: int64
19201+
maximum: 10
19202+
minimum: 0
1910819203
type: integer
1910919204
required:
1911019205
- name
@@ -19167,10 +19262,11 @@ components:
1916719262
description: Represents included related resources when retrieving an escalation
1916819263
policy, such as teams, steps, or targets.
1916919264
oneOf:
19170-
- $ref: '#/components/schemas/TeamReference'
1917119265
- $ref: '#/components/schemas/EscalationPolicyStep'
1917219266
- $ref: '#/components/schemas/EscalationPolicyUser'
1917319267
- $ref: '#/components/schemas/ScheduleData'
19268+
- $ref: '#/components/schemas/ConfiguredSchedule'
19269+
- $ref: '#/components/schemas/TeamReference'
1917419270
EscalationPolicyStep:
1917519271
description: Represents a single step in an escalation policy, including its
1917619272
attributes, relationships, and resource type.
@@ -19218,15 +19314,29 @@ components:
1921819314
type: object
1921919315
EscalationPolicyStepTarget:
1922019316
description: Defines a single escalation target within a step for an escalation
19221-
policy creation request. Contains `id` and `type`.
19317+
policy creation request. Contains `id`, `type`, and optional `config`.
1922219318
properties:
19319+
config:
19320+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1922319321
id:
1922419322
description: Specifies the unique identifier for this target.
1922519323
example: 00000000-aba1-0000-0000-000000000000
1922619324
type: string
1922719325
type:
1922819326
$ref: '#/components/schemas/EscalationPolicyStepTargetType'
1922919327
type: object
19328+
EscalationPolicyStepTargetConfig:
19329+
description: Configuration for an escalation target, such as schedule position.
19330+
properties:
19331+
schedule:
19332+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19333+
type: object
19334+
EscalationPolicyStepTargetConfigSchedule:
19335+
description: Schedule-specific configuration for an escalation target.
19336+
properties:
19337+
position:
19338+
$ref: '#/components/schemas/ScheduleTargetPosition'
19339+
type: object
1923019340
EscalationPolicyStepTargetType:
1923119341
description: Specifies the type of escalation target (example `users`, `schedules`,
1923219342
or `teams`).
@@ -19307,6 +19417,7 @@ components:
1930719417
name:
1930819418
description: Specifies the name of the escalation policy.
1930919419
example: On-Call Escalation Policy
19420+
minLength: 1
1931019421
type: string
1931119422
resolve_page_on_policy_end:
1931219423
description: Indicates whether the page is automatically resolved when the
@@ -19316,12 +19427,16 @@ components:
1931619427
description: Specifies how many times the escalation sequence is retried
1931719428
if there is no response.
1931819429
format: int64
19430+
maximum: 10
19431+
minimum: 0
1931919432
type: integer
1932019433
steps:
1932119434
description: A list of escalation steps, each defining assignment, escalation
1932219435
timeout, and targets.
1932319436
items:
1932419437
$ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19438+
maxItems: 10
19439+
minItems: 1
1932519440
type: array
1932619441
required:
1932719442
- name
@@ -19339,6 +19454,8 @@ components:
1933919454
step.
1934019455
example: 3600
1934119456
format: int64
19457+
maximum: 36000
19458+
minimum: 60
1934219459
type: integer
1934319460
id:
1934419461
description: Specifies the unique identifier of this step.
@@ -19447,12 +19564,13 @@ components:
1944719564
x-enum-varnames:
1944819565
- USERS
1944919566
EscalationTarget:
19450-
description: Represents an escalation target, which can be a team, user, or
19451-
schedule.
19567+
description: Represents an escalation target, which can be a team, user, schedule,
19568+
or configured schedule target.
1945219569
oneOf:
1945319570
- $ref: '#/components/schemas/TeamTarget'
1945419571
- $ref: '#/components/schemas/UserTarget'
1945519572
- $ref: '#/components/schemas/ScheduleTarget'
19573+
- $ref: '#/components/schemas/ConfiguredScheduleTarget'
1945619574
EscalationTargets:
1945719575
description: A list of escalation targets for a step
1945819576
properties:
@@ -44917,7 +45035,8 @@ components:
4491745035
type: object
4491845036
ScheduleTarget:
4491945037
description: Represents a schedule target for an escalation policy step, including
44920-
its ID and resource type.
45038+
its ID and resource type. This is a shortcut for a configured schedule target
45039+
with position set to 'current'.
4492145040
properties:
4492245041
id:
4492345042
description: Specifies the unique identifier of the schedule resource.
@@ -44929,6 +45048,19 @@ components:
4492945048
- type
4493045049
- id
4493145050
type: object
45051+
ScheduleTargetPosition:
45052+
description: Specifies the position of a schedule target (example `previous`,
45053+
`current`, or `next`).
45054+
enum:
45055+
- previous
45056+
- current
45057+
- next
45058+
example: previous
45059+
type: string
45060+
x-enum-varnames:
45061+
- PREVIOUS
45062+
- CURRENT
45063+
- NEXT
4493245064
ScheduleTargetType:
4493345065
default: schedules
4493445066
description: Indicates that the resource is of type `schedules`.

docs/datadog_api_client.v2.model.rst

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4344,6 +4344,48 @@ datadog\_api\_client.v2.model.config\_cat\_sdk\_key\_update module
43444344
:members:
43454345
:show-inheritance:
43464346

4347+
datadog\_api\_client.v2.model.configured\_schedule module
4348+
---------------------------------------------------------
4349+
4350+
.. automodule:: datadog_api_client.v2.model.configured_schedule
4351+
:members:
4352+
:show-inheritance:
4353+
4354+
datadog\_api\_client.v2.model.configured\_schedule\_target module
4355+
-----------------------------------------------------------------
4356+
4357+
.. automodule:: datadog_api_client.v2.model.configured_schedule_target
4358+
:members:
4359+
:show-inheritance:
4360+
4361+
datadog\_api\_client.v2.model.configured\_schedule\_target\_attributes module
4362+
-----------------------------------------------------------------------------
4363+
4364+
.. automodule:: datadog_api_client.v2.model.configured_schedule_target_attributes
4365+
:members:
4366+
:show-inheritance:
4367+
4368+
datadog\_api\_client.v2.model.configured\_schedule\_target\_relationships module
4369+
--------------------------------------------------------------------------------
4370+
4371+
.. automodule:: datadog_api_client.v2.model.configured_schedule_target_relationships
4372+
:members:
4373+
:show-inheritance:
4374+
4375+
datadog\_api\_client.v2.model.configured\_schedule\_target\_relationships\_schedule module
4376+
------------------------------------------------------------------------------------------
4377+
4378+
.. automodule:: datadog_api_client.v2.model.configured_schedule_target_relationships_schedule
4379+
:members:
4380+
:show-inheritance:
4381+
4382+
datadog\_api\_client.v2.model.configured\_schedule\_target\_type module
4383+
-----------------------------------------------------------------------
4384+
4385+
.. automodule:: datadog_api_client.v2.model.configured_schedule_target_type
4386+
:members:
4387+
:show-inheritance:
4388+
43474389
datadog\_api\_client.v2.model.confluent\_account\_create\_request module
43484390
------------------------------------------------------------------------
43494391

@@ -7963,6 +8005,20 @@ datadog\_api\_client.v2.model.escalation\_policy\_step\_target module
79638005
:members:
79648006
:show-inheritance:
79658007

8008+
datadog\_api\_client.v2.model.escalation\_policy\_step\_target\_config module
8009+
-----------------------------------------------------------------------------
8010+
8011+
.. automodule:: datadog_api_client.v2.model.escalation_policy_step_target_config
8012+
:members:
8013+
:show-inheritance:
8014+
8015+
datadog\_api\_client.v2.model.escalation\_policy\_step\_target\_config\_schedule module
8016+
---------------------------------------------------------------------------------------
8017+
8018+
.. automodule:: datadog_api_client.v2.model.escalation_policy_step_target_config_schedule
8019+
:members:
8020+
:show-inheritance:
8021+
79668022
datadog\_api\_client.v2.model.escalation\_policy\_step\_target\_type module
79678023
---------------------------------------------------------------------------
79688024

@@ -19982,6 +20038,13 @@ datadog\_api\_client.v2.model.schedule\_target module
1998220038
:members:
1998320039
:show-inheritance:
1998420040

20041+
datadog\_api\_client.v2.model.schedule\_target\_position module
20042+
---------------------------------------------------------------
20043+
20044+
.. automodule:: datadog_api_client.v2.model.schedule_target_position
20045+
:members:
20046+
:show-inheritance:
20047+
1998520048
datadog\_api\_client.v2.model.schedule\_target\_type module
1998620049
-----------------------------------------------------------
1998720050

0 commit comments

Comments
 (0)