Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.MaintenanceWindow
Explore with Pulumi AI
Create MaintenanceWindow Resource
new MaintenanceWindow(name: string, args: MaintenanceWindowArgs, opts?: CustomResourceOptions);
@overload
def MaintenanceWindow(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
schedule: Optional[MaintenanceWindowScheduleArgs] = None,
scope: Optional[MaintenanceWindowScopeArgs] = None,
suppress_synth_mon_exec: Optional[bool] = None,
suppression: Optional[str] = None,
type: Optional[str] = None,
unknowns: Optional[str] = None)
@overload
def MaintenanceWindow(resource_name: str,
args: MaintenanceWindowArgs,
opts: Optional[ResourceOptions] = None)
func NewMaintenanceWindow(ctx *Context, name string, args MaintenanceWindowArgs, opts ...ResourceOption) (*MaintenanceWindow, error)
public MaintenanceWindow(string name, MaintenanceWindowArgs args, CustomResourceOptions? opts = null)
public MaintenanceWindow(String name, MaintenanceWindowArgs args)
public MaintenanceWindow(String name, MaintenanceWindowArgs args, CustomResourceOptions options)
type: dynatrace:MaintenanceWindow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceWindowArgs
- 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 MaintenanceWindowArgs
- 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 MaintenanceWindowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MaintenanceWindowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MaintenanceWindow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MaintenanceWindow resource accepts the following input properties:
- Suppression string
- The type of suppression of alerting and problem detection during the maintenance
- Type string
- The type of the maintenance: planned or unplanned
- Description string
- A short description of the maintenance purpose
- Enabled bool
- The Maintenance Window is enabled or disabled
- Name string
- The name of the maintenance window, displayed in the UI
- Schedule
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Schedule - The schedule of the maintenance window
- Scope
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Scope - the tiles this Dashboard consist of
- Suppress
Synth boolMon Exec - Suppress execution of synthetic monitors during the maintenance
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- Suppression string
- The type of suppression of alerting and problem detection during the maintenance
- Type string
- The type of the maintenance: planned or unplanned
- Description string
- A short description of the maintenance purpose
- Enabled bool
- The Maintenance Window is enabled or disabled
- Name string
- The name of the maintenance window, displayed in the UI
- Schedule
Maintenance
Window Schedule Args - The schedule of the maintenance window
- Scope
Maintenance
Window Scope Args - the tiles this Dashboard consist of
- Suppress
Synth boolMon Exec - Suppress execution of synthetic monitors during the maintenance
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- suppression String
- The type of suppression of alerting and problem detection during the maintenance
- type String
- The type of the maintenance: planned or unplanned
- description String
- A short description of the maintenance purpose
- enabled Boolean
- The Maintenance Window is enabled or disabled
- name String
- The name of the maintenance window, displayed in the UI
- schedule
Maintenance
Window Schedule - The schedule of the maintenance window
- scope
Maintenance
Window Scope - the tiles this Dashboard consist of
- suppress
Synth BooleanMon Exec - Suppress execution of synthetic monitors during the maintenance
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
- suppression string
- The type of suppression of alerting and problem detection during the maintenance
- type string
- The type of the maintenance: planned or unplanned
- description string
- A short description of the maintenance purpose
- enabled boolean
- The Maintenance Window is enabled or disabled
- name string
- The name of the maintenance window, displayed in the UI
- schedule
Maintenance
Window Schedule - The schedule of the maintenance window
- scope
Maintenance
Window Scope - the tiles this Dashboard consist of
- suppress
Synth booleanMon Exec - Suppress execution of synthetic monitors during the maintenance
- unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- suppression str
- The type of suppression of alerting and problem detection during the maintenance
- type str
- The type of the maintenance: planned or unplanned
- description str
- A short description of the maintenance purpose
- enabled bool
- The Maintenance Window is enabled or disabled
- name str
- The name of the maintenance window, displayed in the UI
- schedule
Maintenance
Window Schedule Args - The schedule of the maintenance window
- scope
Maintenance
Window Scope Args - the tiles this Dashboard consist of
- suppress_
synth_ boolmon_ exec - Suppress execution of synthetic monitors during the maintenance
- unknowns str
- allows for configuring properties that are not explicitly supported by the current version of this provider
- suppression String
- The type of suppression of alerting and problem detection during the maintenance
- type String
- The type of the maintenance: planned or unplanned
- description String
- A short description of the maintenance purpose
- enabled Boolean
- The Maintenance Window is enabled or disabled
- name String
- The name of the maintenance window, displayed in the UI
- schedule Property Map
- The schedule of the maintenance window
- scope Property Map
- the tiles this Dashboard consist of
- suppress
Synth BooleanMon Exec - Suppress execution of synthetic monitors during the maintenance
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
Outputs
All input properties are implicitly available as output properties. Additionally, the MaintenanceWindow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MaintenanceWindow Resource
Get an existing MaintenanceWindow 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?: MaintenanceWindowState, opts?: CustomResourceOptions): MaintenanceWindow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
schedule: Optional[MaintenanceWindowScheduleArgs] = None,
scope: Optional[MaintenanceWindowScopeArgs] = None,
suppress_synth_mon_exec: Optional[bool] = None,
suppression: Optional[str] = None,
type: Optional[str] = None,
unknowns: Optional[str] = None) -> MaintenanceWindow
func GetMaintenanceWindow(ctx *Context, name string, id IDInput, state *MaintenanceWindowState, opts ...ResourceOption) (*MaintenanceWindow, error)
public static MaintenanceWindow Get(string name, Input<string> id, MaintenanceWindowState? state, CustomResourceOptions? opts = null)
public static MaintenanceWindow get(String name, Output<String> id, MaintenanceWindowState 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.
- Description string
- A short description of the maintenance purpose
- Enabled bool
- The Maintenance Window is enabled or disabled
- Name string
- The name of the maintenance window, displayed in the UI
- Schedule
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Schedule - The schedule of the maintenance window
- Scope
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Scope - the tiles this Dashboard consist of
- Suppress
Synth boolMon Exec - Suppress execution of synthetic monitors during the maintenance
- Suppression string
- The type of suppression of alerting and problem detection during the maintenance
- Type string
- The type of the maintenance: planned or unplanned
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- Description string
- A short description of the maintenance purpose
- Enabled bool
- The Maintenance Window is enabled or disabled
- Name string
- The name of the maintenance window, displayed in the UI
- Schedule
Maintenance
Window Schedule Args - The schedule of the maintenance window
- Scope
Maintenance
Window Scope Args - the tiles this Dashboard consist of
- Suppress
Synth boolMon Exec - Suppress execution of synthetic monitors during the maintenance
- Suppression string
- The type of suppression of alerting and problem detection during the maintenance
- Type string
- The type of the maintenance: planned or unplanned
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- description String
- A short description of the maintenance purpose
- enabled Boolean
- The Maintenance Window is enabled or disabled
- name String
- The name of the maintenance window, displayed in the UI
- schedule
Maintenance
Window Schedule - The schedule of the maintenance window
- scope
Maintenance
Window Scope - the tiles this Dashboard consist of
- suppress
Synth BooleanMon Exec - Suppress execution of synthetic monitors during the maintenance
- suppression String
- The type of suppression of alerting and problem detection during the maintenance
- type String
- The type of the maintenance: planned or unplanned
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
- description string
- A short description of the maintenance purpose
- enabled boolean
- The Maintenance Window is enabled or disabled
- name string
- The name of the maintenance window, displayed in the UI
- schedule
Maintenance
Window Schedule - The schedule of the maintenance window
- scope
Maintenance
Window Scope - the tiles this Dashboard consist of
- suppress
Synth booleanMon Exec - Suppress execution of synthetic monitors during the maintenance
- suppression string
- The type of suppression of alerting and problem detection during the maintenance
- type string
- The type of the maintenance: planned or unplanned
- unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- description str
- A short description of the maintenance purpose
- enabled bool
- The Maintenance Window is enabled or disabled
- name str
- The name of the maintenance window, displayed in the UI
- schedule
Maintenance
Window Schedule Args - The schedule of the maintenance window
- scope
Maintenance
Window Scope Args - the tiles this Dashboard consist of
- suppress_
synth_ boolmon_ exec - Suppress execution of synthetic monitors during the maintenance
- suppression str
- The type of suppression of alerting and problem detection during the maintenance
- type str
- The type of the maintenance: planned or unplanned
- unknowns str
- allows for configuring properties that are not explicitly supported by the current version of this provider
- description String
- A short description of the maintenance purpose
- enabled Boolean
- The Maintenance Window is enabled or disabled
- name String
- The name of the maintenance window, displayed in the UI
- schedule Property Map
- The schedule of the maintenance window
- scope Property Map
- the tiles this Dashboard consist of
- suppress
Synth BooleanMon Exec - Suppress execution of synthetic monitors during the maintenance
- suppression String
- The type of suppression of alerting and problem detection during the maintenance
- type String
- The type of the maintenance: planned or unplanned
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
Supporting Types
MaintenanceWindowSchedule, MaintenanceWindowScheduleArgs
- End string
- The end date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- Recurrence
Type string - The type of the schedule recurrence. Possible values are
DAILY
,MONTHLY
,ONCE
andWEEKLY
- Start string
- The start date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- Zone
Id string - The time zone of the start and end time. Default time zone is UTC. You can use either UTC offset
UTC+01:00
format or the IANA Time Zone Database format (for example,Europe/Vienna
) - Recurrence
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Schedule Recurrence - The recurrence of the maintenance window
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- End string
- The end date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- Recurrence
Type string - The type of the schedule recurrence. Possible values are
DAILY
,MONTHLY
,ONCE
andWEEKLY
- Start string
- The start date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- Zone
Id string - The time zone of the start and end time. Default time zone is UTC. You can use either UTC offset
UTC+01:00
format or the IANA Time Zone Database format (for example,Europe/Vienna
) - Recurrence
Maintenance
Window Schedule Recurrence - The recurrence of the maintenance window
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- end String
- The end date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- recurrence
Type String - The type of the schedule recurrence. Possible values are
DAILY
,MONTHLY
,ONCE
andWEEKLY
- start String
- The start date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- zone
Id String - The time zone of the start and end time. Default time zone is UTC. You can use either UTC offset
UTC+01:00
format or the IANA Time Zone Database format (for example,Europe/Vienna
) - recurrence
Maintenance
Window Schedule Recurrence - The recurrence of the maintenance window
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
- end string
- The end date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- recurrence
Type string - The type of the schedule recurrence. Possible values are
DAILY
,MONTHLY
,ONCE
andWEEKLY
- start string
- The start date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- zone
Id string - The time zone of the start and end time. Default time zone is UTC. You can use either UTC offset
UTC+01:00
format or the IANA Time Zone Database format (for example,Europe/Vienna
) - recurrence
Maintenance
Window Schedule Recurrence - The recurrence of the maintenance window
- unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- end str
- The end date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- recurrence_
type str - The type of the schedule recurrence. Possible values are
DAILY
,MONTHLY
,ONCE
andWEEKLY
- start str
- The start date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- zone_
id str - The time zone of the start and end time. Default time zone is UTC. You can use either UTC offset
UTC+01:00
format or the IANA Time Zone Database format (for example,Europe/Vienna
) - recurrence
Maintenance
Window Schedule Recurrence - The recurrence of the maintenance window
- unknowns str
- allows for configuring properties that are not explicitly supported by the current version of this provider
- end String
- The end date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- recurrence
Type String - The type of the schedule recurrence. Possible values are
DAILY
,MONTHLY
,ONCE
andWEEKLY
- start String
- The start date and time of the maintenance window validity period in yyyy-mm-dd HH:mm format
- zone
Id String - The time zone of the start and end time. Default time zone is UTC. You can use either UTC offset
UTC+01:00
format or the IANA Time Zone Database format (for example,Europe/Vienna
) - recurrence Property Map
- The recurrence of the maintenance window
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
MaintenanceWindowScheduleRecurrence, MaintenanceWindowScheduleRecurrenceArgs
- Duration
Minutes int - Start
Time string - Day
Of intMonth - Day
Of stringWeek - Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- Duration
Minutes int - Start
Time string - Day
Of intMonth - Day
Of stringWeek - Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- duration
Minutes Integer - start
Time String - day
Of IntegerMonth - day
Of StringWeek - unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
- duration
Minutes number - start
Time string - day
Of numberMonth - day
Of stringWeek - unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- duration_
minutes int - start_
time str - day_
of_ intmonth - day_
of_ strweek - unknowns str
- allows for configuring properties that are not explicitly supported by the current version of this provider
- duration
Minutes Number - start
Time String - day
Of NumberMonth - day
Of StringWeek - unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
MaintenanceWindowScope, MaintenanceWindowScopeArgs
- Entities List<string>
- A list of Dynatrace entities (for example, hosts or services) to be included in the scope. Allowed values are Dynatrace entity IDs
- Matches
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Scope Match> - A list of matching rules for dynamic scope formation. If several rules are set, the OR logic applies
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- Entities []string
- A list of Dynatrace entities (for example, hosts or services) to be included in the scope. Allowed values are Dynatrace entity IDs
- Matches
[]Maintenance
Window Scope Match - A list of matching rules for dynamic scope formation. If several rules are set, the OR logic applies
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- entities List<String>
- A list of Dynatrace entities (for example, hosts or services) to be included in the scope. Allowed values are Dynatrace entity IDs
- matches
List<Maintenance
Window Scope Match> - A list of matching rules for dynamic scope formation. If several rules are set, the OR logic applies
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
- entities string[]
- A list of Dynatrace entities (for example, hosts or services) to be included in the scope. Allowed values are Dynatrace entity IDs
- matches
Maintenance
Window Scope Match[] - A list of matching rules for dynamic scope formation. If several rules are set, the OR logic applies
- unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- entities Sequence[str]
- A list of Dynatrace entities (for example, hosts or services) to be included in the scope. Allowed values are Dynatrace entity IDs
- matches
Sequence[Maintenance
Window Scope Match] - A list of matching rules for dynamic scope formation. If several rules are set, the OR logic applies
- unknowns str
- allows for configuring properties that are not explicitly supported by the current version of this provider
- entities List<String>
- A list of Dynatrace entities (for example, hosts or services) to be included in the scope. Allowed values are Dynatrace entity IDs
- matches List<Property Map>
- A list of matching rules for dynamic scope formation. If several rules are set, the OR logic applies
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
MaintenanceWindowScopeMatch, MaintenanceWindowScopeMatchArgs
- Mz
Id string - Tag
Combination string - List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Window Scope Match Tag> - Type string
- The type of the maintenance: planned or unplanned
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- Mz
Id string - Tag
Combination string - []Maintenance
Window Scope Match Tag - Type string
- The type of the maintenance: planned or unplanned
- Unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- mz
Id String - tag
Combination String - List<Maintenance
Window Scope Match Tag> - type String
- The type of the maintenance: planned or unplanned
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
- mz
Id string - tag
Combination string - Maintenance
Window Scope Match Tag[] - type string
- The type of the maintenance: planned or unplanned
- unknowns string
- allows for configuring properties that are not explicitly supported by the current version of this provider
- mz_
id str - tag_
combination str - Sequence[Maintenance
Window Scope Match Tag] - type str
- The type of the maintenance: planned or unplanned
- unknowns str
- allows for configuring properties that are not explicitly supported by the current version of this provider
- mz
Id String - tag
Combination String - List<Property Map>
- type String
- The type of the maintenance: planned or unplanned
- unknowns String
- allows for configuring properties that are not explicitly supported by the current version of this provider
MaintenanceWindowScopeMatchTag, MaintenanceWindowScopeMatchTagArgs
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.