dynatrace.Maintenance
Create Maintenance Resource
new Maintenance(name: string, args: MaintenanceArgs, opts?: CustomResourceOptions);
@overload
def Maintenance(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
filters: Optional[Sequence[MaintenanceFilterArgs]] = None,
general_properties: Optional[MaintenanceGeneralPropertiesArgs] = None,
schedule: Optional[MaintenanceScheduleArgs] = None)
@overload
def Maintenance(resource_name: str,
args: MaintenanceArgs,
opts: Optional[ResourceOptions] = None)
func NewMaintenance(ctx *Context, name string, args MaintenanceArgs, opts ...ResourceOption) (*Maintenance, error)
public Maintenance(string name, MaintenanceArgs args, CustomResourceOptions? opts = null)
public Maintenance(String name, MaintenanceArgs args)
public Maintenance(String name, MaintenanceArgs args, CustomResourceOptions options)
type: dynatrace:Maintenance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceArgs
- 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 MaintenanceArgs
- 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 MaintenanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MaintenanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Maintenance 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 Maintenance resource accepts the following input properties:
- General
Properties Lbrlabs.Pulumi Package. Dynatrace. Inputs. Maintenance General Properties Args The general properties of the maintenance window
- Schedule
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Schedule Args The schedule of the maintenance window
- Enabled bool
The maintenance window is enabled or disabled
- Filters
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Filter Args> The filters of the maintenance window
- General
Properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- Schedule
Maintenance
Schedule Args The schedule of the maintenance window
- Enabled bool
The maintenance window is enabled or disabled
- Filters
[]Maintenance
Filter Args The filters of the maintenance window
- general
Properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled Boolean
The maintenance window is enabled or disabled
- filters
List<Maintenance
Filter Args> The filters of the maintenance window
- general
Properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled boolean
The maintenance window is enabled or disabled
- filters
Maintenance
Filter Args[] The filters of the maintenance window
- general_
properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled bool
The maintenance window is enabled or disabled
- filters
Sequence[Maintenance
Filter Args] The filters of the maintenance window
- general
Properties Property Map The general properties of the maintenance window
- schedule Property Map
The schedule of the maintenance window
- enabled Boolean
The maintenance window is enabled or disabled
- filters List<Property Map>
The filters of the maintenance window
Outputs
All input properties are implicitly available as output properties. Additionally, the Maintenance 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 Maintenance Resource
Get an existing Maintenance 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?: MaintenanceState, opts?: CustomResourceOptions): Maintenance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
filters: Optional[Sequence[MaintenanceFilterArgs]] = None,
general_properties: Optional[MaintenanceGeneralPropertiesArgs] = None,
schedule: Optional[MaintenanceScheduleArgs] = None) -> Maintenance
func GetMaintenance(ctx *Context, name string, id IDInput, state *MaintenanceState, opts ...ResourceOption) (*Maintenance, error)
public static Maintenance Get(string name, Input<string> id, MaintenanceState? state, CustomResourceOptions? opts = null)
public static Maintenance get(String name, Output<String> id, MaintenanceState 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.
- Enabled bool
The maintenance window is enabled or disabled
- Filters
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Filter Args> The filters of the maintenance window
- General
Properties Lbrlabs.Pulumi Package. Dynatrace. Inputs. Maintenance General Properties Args The general properties of the maintenance window
- Schedule
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Schedule Args The schedule of the maintenance window
- Enabled bool
The maintenance window is enabled or disabled
- Filters
[]Maintenance
Filter Args The filters of the maintenance window
- General
Properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- Schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled Boolean
The maintenance window is enabled or disabled
- filters
List<Maintenance
Filter Args> The filters of the maintenance window
- general
Properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled boolean
The maintenance window is enabled or disabled
- filters
Maintenance
Filter Args[] The filters of the maintenance window
- general
Properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled bool
The maintenance window is enabled or disabled
- filters
Sequence[Maintenance
Filter Args] The filters of the maintenance window
- general_
properties MaintenanceGeneral Properties Args The general properties of the maintenance window
- schedule
Maintenance
Schedule Args The schedule of the maintenance window
- enabled Boolean
The maintenance window is enabled or disabled
- filters List<Property Map>
The filters of the maintenance window
- general
Properties Property Map The general properties of the maintenance window
- schedule Property Map
The schedule of the maintenance window
Supporting Types
MaintenanceFilter
- Filters
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Maintenance Filter Filter> A list of matching rules for dynamic filter formation. If several rules are set, the OR logic applies
- Filters
[]Maintenance
Filter Filter A list of matching rules for dynamic filter formation. If several rules are set, the OR logic applies
- filters
List<Maintenance
Filter Filter> A list of matching rules for dynamic filter formation. If several rules are set, the OR logic applies
- filters
Maintenance
Filter Filter[] A list of matching rules for dynamic filter formation. If several rules are set, the OR logic applies
- filters
Sequence[Maintenance
Filter Filter] A list of matching rules for dynamic filter formation. If several rules are set, the OR logic applies
- filters List<Property Map>
A list of matching rules for dynamic filter formation. If several rules are set, the OR logic applies
MaintenanceFilterFilter
- Entity
Id string - List<string>
- Entity
Type string - Management
Zones List<string>
- Entity
Id string - []string
- Entity
Type string - Management
Zones []string
- entity
Id String - List<String>
- entity
Type String - management
Zones List<String>
- entity
Id string - string[]
- entity
Type string - management
Zones string[]
- entity_
id str - Sequence[str]
- entity_
type str - management_
zones Sequence[str]
- entity
Id String - List<String>
- entity
Type String - management
Zones List<String>
MaintenanceGeneralProperties
- Name string
The name of the maintenance window, displayed in the UI
- 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
- Disable
Synthetic bool Suppress execution of synthetic monitors during the maintenance
- Name string
The name of the maintenance window, displayed in the UI
- 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
- Disable
Synthetic bool Suppress execution of synthetic monitors during the maintenance
- name String
The name of the maintenance window, displayed in the UI
- 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
- disable
Synthetic Boolean Suppress execution of synthetic monitors during the maintenance
- name string
The name of the maintenance window, displayed in the UI
- 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
- disable
Synthetic boolean Suppress execution of synthetic monitors during the maintenance
- name str
The name of the maintenance window, displayed in the UI
- 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
- disable_
synthetic bool Suppress execution of synthetic monitors during the maintenance
- name String
The name of the maintenance window, displayed in the UI
- 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
- disable
Synthetic Boolean Suppress execution of synthetic monitors during the maintenance
MaintenanceSchedule
- Type string
The time window of the maintenance window
- Daily
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Maintenance Schedule Daily Recurrence The configuration for maintenance windows occuring daily
- Monthly
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Maintenance Schedule Monthly Recurrence The configuration for maintenance windows occuring monthly
- Once
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Maintenance Schedule Once Recurrence The configuration for maintenance windows occuring once
- Weekly
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Maintenance Schedule Weekly Recurrence The configuration for maintenance windows occuring weekly
- Type string
The time window of the maintenance window
- Daily
Recurrence MaintenanceSchedule Daily Recurrence The configuration for maintenance windows occuring daily
- Monthly
Recurrence MaintenanceSchedule Monthly Recurrence The configuration for maintenance windows occuring monthly
- Once
Recurrence MaintenanceSchedule Once Recurrence The configuration for maintenance windows occuring once
- Weekly
Recurrence MaintenanceSchedule Weekly Recurrence The configuration for maintenance windows occuring weekly
- type String
The time window of the maintenance window
- daily
Recurrence MaintenanceSchedule Daily Recurrence The configuration for maintenance windows occuring daily
- monthly
Recurrence MaintenanceSchedule Monthly Recurrence The configuration for maintenance windows occuring monthly
- once
Recurrence MaintenanceSchedule Once Recurrence The configuration for maintenance windows occuring once
- weekly
Recurrence MaintenanceSchedule Weekly Recurrence The configuration for maintenance windows occuring weekly
- type string
The time window of the maintenance window
- daily
Recurrence MaintenanceSchedule Daily Recurrence The configuration for maintenance windows occuring daily
- monthly
Recurrence MaintenanceSchedule Monthly Recurrence The configuration for maintenance windows occuring monthly
- once
Recurrence MaintenanceSchedule Once Recurrence The configuration for maintenance windows occuring once
- weekly
Recurrence MaintenanceSchedule Weekly Recurrence The configuration for maintenance windows occuring weekly
- type str
The time window of the maintenance window
- daily_
recurrence MaintenanceSchedule Daily Recurrence The configuration for maintenance windows occuring daily
- monthly_
recurrence MaintenanceSchedule Monthly Recurrence The configuration for maintenance windows occuring monthly
- once_
recurrence MaintenanceSchedule Once Recurrence The configuration for maintenance windows occuring once
- weekly_
recurrence MaintenanceSchedule Weekly Recurrence The configuration for maintenance windows occuring weekly
- type String
The time window of the maintenance window
- daily
Recurrence Property Map The configuration for maintenance windows occuring daily
- monthly
Recurrence Property Map The configuration for maintenance windows occuring monthly
- once
Recurrence Property Map The configuration for maintenance windows occuring once
- weekly
Recurrence Property Map The configuration for maintenance windows occuring weekly
MaintenanceScheduleDailyRecurrence
MaintenanceScheduleDailyRecurrenceRecurrenceRange
- end_
date str - start_
date str
MaintenanceScheduleDailyRecurrenceTimeWindow
- end_
time str - start_
time str - time_
zone str
MaintenanceScheduleMonthlyRecurrence
MaintenanceScheduleMonthlyRecurrenceRecurrenceRange
- end_
date str - start_
date str
MaintenanceScheduleMonthlyRecurrenceTimeWindow
- end_
time str - start_
time str - time_
zone str
MaintenanceScheduleOnceRecurrence
- end_
time str - start_
time str - time_
zone str
MaintenanceScheduleWeeklyRecurrence
MaintenanceScheduleWeeklyRecurrenceRecurrenceRange
- end_
date str - start_
date str
MaintenanceScheduleWeeklyRecurrenceTimeWindow
- end_
time str - start_
time str - time_
zone str
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.