datadog.Downtime
Explore with Pulumi AI
This resource is deprecated — use the datadog.DowntimeSchedule resource
instead. Provides a Datadog downtime resource. This can be used to create and manage Datadog downtimes.
Create Downtime Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Downtime(name: string, args: DowntimeArgs, opts?: CustomResourceOptions);
@overload
def Downtime(resource_name: str,
args: DowntimeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Downtime(resource_name: str,
opts: Optional[ResourceOptions] = None,
scopes: Optional[Sequence[str]] = None,
end: Optional[int] = None,
end_date: Optional[str] = None,
message: Optional[str] = None,
monitor_id: Optional[int] = None,
monitor_tags: Optional[Sequence[str]] = None,
mute_first_recovery_notification: Optional[bool] = None,
recurrence: Optional[DowntimeRecurrenceArgs] = None,
start: Optional[int] = None,
start_date: Optional[str] = None,
timezone: Optional[str] = None)
func NewDowntime(ctx *Context, name string, args DowntimeArgs, opts ...ResourceOption) (*Downtime, error)
public Downtime(string name, DowntimeArgs args, CustomResourceOptions? opts = null)
public Downtime(String name, DowntimeArgs args)
public Downtime(String name, DowntimeArgs args, CustomResourceOptions options)
type: datadog:Downtime
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DowntimeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DowntimeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DowntimeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DowntimeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DowntimeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var downtimeResource = new Datadog.Downtime("downtimeResource", new()
{
Scopes = new[]
{
"string",
},
End = 0,
EndDate = "string",
Message = "string",
MonitorId = 0,
MonitorTags = new[]
{
"string",
},
MuteFirstRecoveryNotification = false,
Recurrence = new Datadog.Inputs.DowntimeRecurrenceArgs
{
Type = "string",
Period = 0,
Rrule = "string",
UntilDate = 0,
UntilOccurrences = 0,
WeekDays = new[]
{
"string",
},
},
Start = 0,
StartDate = "string",
Timezone = "string",
});
example, err := datadog.NewDowntime(ctx, "downtimeResource", &datadog.DowntimeArgs{
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
End: pulumi.Int(0),
EndDate: pulumi.String("string"),
Message: pulumi.String("string"),
MonitorId: pulumi.Int(0),
MonitorTags: pulumi.StringArray{
pulumi.String("string"),
},
MuteFirstRecoveryNotification: pulumi.Bool(false),
Recurrence: &datadog.DowntimeRecurrenceArgs{
Type: pulumi.String("string"),
Period: pulumi.Int(0),
Rrule: pulumi.String("string"),
UntilDate: pulumi.Int(0),
UntilOccurrences: pulumi.Int(0),
WeekDays: pulumi.StringArray{
pulumi.String("string"),
},
},
Start: pulumi.Int(0),
StartDate: pulumi.String("string"),
Timezone: pulumi.String("string"),
})
var downtimeResource = new Downtime("downtimeResource", DowntimeArgs.builder()
.scopes("string")
.end(0)
.endDate("string")
.message("string")
.monitorId(0)
.monitorTags("string")
.muteFirstRecoveryNotification(false)
.recurrence(DowntimeRecurrenceArgs.builder()
.type("string")
.period(0)
.rrule("string")
.untilDate(0)
.untilOccurrences(0)
.weekDays("string")
.build())
.start(0)
.startDate("string")
.timezone("string")
.build());
downtime_resource = datadog.Downtime("downtimeResource",
scopes=["string"],
end=0,
end_date="string",
message="string",
monitor_id=0,
monitor_tags=["string"],
mute_first_recovery_notification=False,
recurrence={
"type": "string",
"period": 0,
"rrule": "string",
"until_date": 0,
"until_occurrences": 0,
"week_days": ["string"],
},
start=0,
start_date="string",
timezone="string")
const downtimeResource = new datadog.Downtime("downtimeResource", {
scopes: ["string"],
end: 0,
endDate: "string",
message: "string",
monitorId: 0,
monitorTags: ["string"],
muteFirstRecoveryNotification: false,
recurrence: {
type: "string",
period: 0,
rrule: "string",
untilDate: 0,
untilOccurrences: 0,
weekDays: ["string"],
},
start: 0,
startDate: "string",
timezone: "string",
});
type: datadog:Downtime
properties:
end: 0
endDate: string
message: string
monitorId: 0
monitorTags:
- string
muteFirstRecoveryNotification: false
recurrence:
period: 0
rrule: string
type: string
untilDate: 0
untilOccurrences: 0
weekDays:
- string
scopes:
- string
start: 0
startDate: string
timezone: string
Downtime Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Downtime resource accepts the following input properties:
- Scopes List<string>
- specify the group scope to which this downtime applies. For everything use '*'
- End int
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- End
Date string - String representing date and time to end the downtime in RFC3339 format.
- Message string
- An optional message to provide when creating the downtime, can include notification handles
- Monitor
Id int - When specified, this downtime will only apply to this monitor
- List<string>
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- Mute
First boolRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - Recurrence
Downtime
Recurrence - Optional recurring schedule for this downtime
- Start int
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- Start
Date string - String representing date and time to start the downtime in RFC3339 format.
- Timezone string
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- Scopes []string
- specify the group scope to which this downtime applies. For everything use '*'
- End int
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- End
Date string - String representing date and time to end the downtime in RFC3339 format.
- Message string
- An optional message to provide when creating the downtime, can include notification handles
- Monitor
Id int - When specified, this downtime will only apply to this monitor
- []string
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- Mute
First boolRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - Recurrence
Downtime
Recurrence Args - Optional recurring schedule for this downtime
- Start int
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- Start
Date string - String representing date and time to start the downtime in RFC3339 format.
- Timezone string
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- scopes List<String>
- specify the group scope to which this downtime applies. For everything use '*'
- end Integer
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end
Date String - String representing date and time to end the downtime in RFC3339 format.
- message String
- An optional message to provide when creating the downtime, can include notification handles
- monitor
Id Integer - When specified, this downtime will only apply to this monitor
- List<String>
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute
First BooleanRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence
Downtime
Recurrence - Optional recurring schedule for this downtime
- start Integer
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start
Date String - String representing date and time to start the downtime in RFC3339 format.
- timezone String
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- scopes string[]
- specify the group scope to which this downtime applies. For everything use '*'
- end number
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end
Date string - String representing date and time to end the downtime in RFC3339 format.
- message string
- An optional message to provide when creating the downtime, can include notification handles
- monitor
Id number - When specified, this downtime will only apply to this monitor
- string[]
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute
First booleanRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence
Downtime
Recurrence - Optional recurring schedule for this downtime
- start number
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start
Date string - String representing date and time to start the downtime in RFC3339 format.
- timezone string
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- scopes Sequence[str]
- specify the group scope to which this downtime applies. For everything use '*'
- end int
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end_
date str - String representing date and time to end the downtime in RFC3339 format.
- message str
- An optional message to provide when creating the downtime, can include notification handles
- monitor_
id int - When specified, this downtime will only apply to this monitor
- Sequence[str]
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute_
first_ boolrecovery_ notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence
Downtime
Recurrence Args - Optional recurring schedule for this downtime
- start int
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start_
date str - String representing date and time to start the downtime in RFC3339 format.
- timezone str
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- scopes List<String>
- specify the group scope to which this downtime applies. For everything use '*'
- end Number
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end
Date String - String representing date and time to end the downtime in RFC3339 format.
- message String
- An optional message to provide when creating the downtime, can include notification handles
- monitor
Id Number - When specified, this downtime will only apply to this monitor
- List<String>
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute
First BooleanRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence Property Map
- Optional recurring schedule for this downtime
- start Number
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start
Date String - String representing date and time to start the downtime in RFC3339 format.
- timezone String
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Downtime resource produces the following output properties:
- Active bool
- When true indicates this downtime is being actively applied
- Active
Child intId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- Disabled bool
- When true indicates this downtime is not being applied
- Id string
- The provider-assigned unique ID for this managed resource.
- Active bool
- When true indicates this downtime is being actively applied
- Active
Child intId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- Disabled bool
- When true indicates this downtime is not being applied
- Id string
- The provider-assigned unique ID for this managed resource.
- active Boolean
- When true indicates this downtime is being actively applied
- active
Child IntegerId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled Boolean
- When true indicates this downtime is not being applied
- id String
- The provider-assigned unique ID for this managed resource.
- active boolean
- When true indicates this downtime is being actively applied
- active
Child numberId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled boolean
- When true indicates this downtime is not being applied
- id string
- The provider-assigned unique ID for this managed resource.
- active bool
- When true indicates this downtime is being actively applied
- active_
child_ intid - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled bool
- When true indicates this downtime is not being applied
- id str
- The provider-assigned unique ID for this managed resource.
- active Boolean
- When true indicates this downtime is being actively applied
- active
Child NumberId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled Boolean
- When true indicates this downtime is not being applied
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Downtime Resource
Get an existing Downtime resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DowntimeState, opts?: CustomResourceOptions): Downtime
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
active_child_id: Optional[int] = None,
disabled: Optional[bool] = None,
end: Optional[int] = None,
end_date: Optional[str] = None,
message: Optional[str] = None,
monitor_id: Optional[int] = None,
monitor_tags: Optional[Sequence[str]] = None,
mute_first_recovery_notification: Optional[bool] = None,
recurrence: Optional[DowntimeRecurrenceArgs] = None,
scopes: Optional[Sequence[str]] = None,
start: Optional[int] = None,
start_date: Optional[str] = None,
timezone: Optional[str] = None) -> Downtime
func GetDowntime(ctx *Context, name string, id IDInput, state *DowntimeState, opts ...ResourceOption) (*Downtime, error)
public static Downtime Get(string name, Input<string> id, DowntimeState? state, CustomResourceOptions? opts = null)
public static Downtime get(String name, Output<String> id, DowntimeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active bool
- When true indicates this downtime is being actively applied
- Active
Child intId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- Disabled bool
- When true indicates this downtime is not being applied
- End int
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- End
Date string - String representing date and time to end the downtime in RFC3339 format.
- Message string
- An optional message to provide when creating the downtime, can include notification handles
- Monitor
Id int - When specified, this downtime will only apply to this monitor
- List<string>
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- Mute
First boolRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - Recurrence
Downtime
Recurrence - Optional recurring schedule for this downtime
- Scopes List<string>
- specify the group scope to which this downtime applies. For everything use '*'
- Start int
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- Start
Date string - String representing date and time to start the downtime in RFC3339 format.
- Timezone string
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- Active bool
- When true indicates this downtime is being actively applied
- Active
Child intId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- Disabled bool
- When true indicates this downtime is not being applied
- End int
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- End
Date string - String representing date and time to end the downtime in RFC3339 format.
- Message string
- An optional message to provide when creating the downtime, can include notification handles
- Monitor
Id int - When specified, this downtime will only apply to this monitor
- []string
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- Mute
First boolRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - Recurrence
Downtime
Recurrence Args - Optional recurring schedule for this downtime
- Scopes []string
- specify the group scope to which this downtime applies. For everything use '*'
- Start int
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- Start
Date string - String representing date and time to start the downtime in RFC3339 format.
- Timezone string
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- active Boolean
- When true indicates this downtime is being actively applied
- active
Child IntegerId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled Boolean
- When true indicates this downtime is not being applied
- end Integer
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end
Date String - String representing date and time to end the downtime in RFC3339 format.
- message String
- An optional message to provide when creating the downtime, can include notification handles
- monitor
Id Integer - When specified, this downtime will only apply to this monitor
- List<String>
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute
First BooleanRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence
Downtime
Recurrence - Optional recurring schedule for this downtime
- scopes List<String>
- specify the group scope to which this downtime applies. For everything use '*'
- start Integer
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start
Date String - String representing date and time to start the downtime in RFC3339 format.
- timezone String
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- active boolean
- When true indicates this downtime is being actively applied
- active
Child numberId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled boolean
- When true indicates this downtime is not being applied
- end number
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end
Date string - String representing date and time to end the downtime in RFC3339 format.
- message string
- An optional message to provide when creating the downtime, can include notification handles
- monitor
Id number - When specified, this downtime will only apply to this monitor
- string[]
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute
First booleanRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence
Downtime
Recurrence - Optional recurring schedule for this downtime
- scopes string[]
- specify the group scope to which this downtime applies. For everything use '*'
- start number
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start
Date string - String representing date and time to start the downtime in RFC3339 format.
- timezone string
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- active bool
- When true indicates this downtime is being actively applied
- active_
child_ intid - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled bool
- When true indicates this downtime is not being applied
- end int
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end_
date str - String representing date and time to end the downtime in RFC3339 format.
- message str
- An optional message to provide when creating the downtime, can include notification handles
- monitor_
id int - When specified, this downtime will only apply to this monitor
- Sequence[str]
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute_
first_ boolrecovery_ notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence
Downtime
Recurrence Args - Optional recurring schedule for this downtime
- scopes Sequence[str]
- specify the group scope to which this downtime applies. For everything use '*'
- start int
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start_
date str - String representing date and time to start the downtime in RFC3339 format.
- timezone str
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
- active Boolean
- When true indicates this downtime is being actively applied
- active
Child NumberId - The id corresponding to the downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.
- disabled Boolean
- When true indicates this downtime is not being applied
- end Number
- Optionally specify an end date when this downtime should expire. Accepts a Unix timestamp in UTC.
- end
Date String - String representing date and time to end the downtime in RFC3339 format.
- message String
- An optional message to provide when creating the downtime, can include notification handles
- monitor
Id Number - When specified, this downtime will only apply to this monitor
- List<String>
- A list of monitor tags (up to 32) to base the scheduled downtime on. Only monitors that have all selected tags are silenced
- mute
First BooleanRecovery Notification - When true the first recovery notification during the downtime will be muted Defaults to
false
. - recurrence Property Map
- Optional recurring schedule for this downtime
- scopes List<String>
- specify the group scope to which this downtime applies. For everything use '*'
- start Number
- Specify when this downtime should start. Accepts a Unix timestamp in UTC.
- start
Date String - String representing date and time to start the downtime in RFC3339 format.
- timezone String
- The timezone for the downtime. Follows IANA timezone database identifiers. Defaults to
"UTC"
.
Supporting Types
DowntimeRecurrence, DowntimeRecurrenceArgs
- Type string
- One of
days
,weeks
,months
,years
, orrrule
. - Period int
- How often to repeat as an integer. For example to repeat every 3 days, select a
type
ofdays
and aperiod
of3
. - Rrule string
- The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use
FREQ=MONTHLY;INTERVAL=1
. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example,DTSTART
,DTEND
,DURATION
). Only applicable whentype
isrrule
. - Until
Date int - The date at which the recurrence should end as a POSIX timestamp.
until_occurrences
anduntil_date
are mutually exclusive. - Until
Occurrences int - How many times the downtime will be rescheduled.
until_occurrences
anduntil_date
are mutually exclusive. - Week
Days List<string> - A list of week days to repeat on. Choose from:
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable whentype
isweeks
. First letter must be capitalized.
- Type string
- One of
days
,weeks
,months
,years
, orrrule
. - Period int
- How often to repeat as an integer. For example to repeat every 3 days, select a
type
ofdays
and aperiod
of3
. - Rrule string
- The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use
FREQ=MONTHLY;INTERVAL=1
. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example,DTSTART
,DTEND
,DURATION
). Only applicable whentype
isrrule
. - Until
Date int - The date at which the recurrence should end as a POSIX timestamp.
until_occurrences
anduntil_date
are mutually exclusive. - Until
Occurrences int - How many times the downtime will be rescheduled.
until_occurrences
anduntil_date
are mutually exclusive. - Week
Days []string - A list of week days to repeat on. Choose from:
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable whentype
isweeks
. First letter must be capitalized.
- type String
- One of
days
,weeks
,months
,years
, orrrule
. - period Integer
- How often to repeat as an integer. For example to repeat every 3 days, select a
type
ofdays
and aperiod
of3
. - rrule String
- The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use
FREQ=MONTHLY;INTERVAL=1
. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example,DTSTART
,DTEND
,DURATION
). Only applicable whentype
isrrule
. - until
Date Integer - The date at which the recurrence should end as a POSIX timestamp.
until_occurrences
anduntil_date
are mutually exclusive. - until
Occurrences Integer - How many times the downtime will be rescheduled.
until_occurrences
anduntil_date
are mutually exclusive. - week
Days List<String> - A list of week days to repeat on. Choose from:
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable whentype
isweeks
. First letter must be capitalized.
- type string
- One of
days
,weeks
,months
,years
, orrrule
. - period number
- How often to repeat as an integer. For example to repeat every 3 days, select a
type
ofdays
and aperiod
of3
. - rrule string
- The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use
FREQ=MONTHLY;INTERVAL=1
. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example,DTSTART
,DTEND
,DURATION
). Only applicable whentype
isrrule
. - until
Date number - The date at which the recurrence should end as a POSIX timestamp.
until_occurrences
anduntil_date
are mutually exclusive. - until
Occurrences number - How many times the downtime will be rescheduled.
until_occurrences
anduntil_date
are mutually exclusive. - week
Days string[] - A list of week days to repeat on. Choose from:
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable whentype
isweeks
. First letter must be capitalized.
- type str
- One of
days
,weeks
,months
,years
, orrrule
. - period int
- How often to repeat as an integer. For example to repeat every 3 days, select a
type
ofdays
and aperiod
of3
. - rrule str
- The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use
FREQ=MONTHLY;INTERVAL=1
. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example,DTSTART
,DTEND
,DURATION
). Only applicable whentype
isrrule
. - until_
date int - The date at which the recurrence should end as a POSIX timestamp.
until_occurrences
anduntil_date
are mutually exclusive. - until_
occurrences int - How many times the downtime will be rescheduled.
until_occurrences
anduntil_date
are mutually exclusive. - week_
days Sequence[str] - A list of week days to repeat on. Choose from:
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable whentype
isweeks
. First letter must be capitalized.
- type String
- One of
days
,weeks
,months
,years
, orrrule
. - period Number
- How often to repeat as an integer. For example to repeat every 3 days, select a
type
ofdays
and aperiod
of3
. - rrule String
- The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use
FREQ=MONTHLY;INTERVAL=1
. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example,DTSTART
,DTEND
,DURATION
). Only applicable whentype
isrrule
. - until
Date Number - The date at which the recurrence should end as a POSIX timestamp.
until_occurrences
anduntil_date
are mutually exclusive. - until
Occurrences Number - How many times the downtime will be rescheduled.
until_occurrences
anduntil_date
are mutually exclusive. - week
Days List<String> - A list of week days to repeat on. Choose from:
Mon
,Tue
,Wed
,Thu
,Fri
,Sat
orSun
. Only applicable whentype
isweeks
. First letter must be capitalized.
Import
$ pulumi import datadog:index/downtime:Downtime bytes_received_localhost 2081
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.