Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.UpdateWindows
Explore with Pulumi AI
Create UpdateWindows Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UpdateWindows(name: string, args: UpdateWindowsArgs, opts?: CustomResourceOptions);
@overload
def UpdateWindows(resource_name: str,
args: UpdateWindowsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UpdateWindows(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
recurrence: Optional[str] = None,
daily_recurrence: Optional[UpdateWindowsDailyRecurrenceArgs] = None,
monthly_recurrence: Optional[UpdateWindowsMonthlyRecurrenceArgs] = None,
name: Optional[str] = None,
once_recurrence: Optional[UpdateWindowsOnceRecurrenceArgs] = None,
weekly_recurrence: Optional[UpdateWindowsWeeklyRecurrenceArgs] = None)
func NewUpdateWindows(ctx *Context, name string, args UpdateWindowsArgs, opts ...ResourceOption) (*UpdateWindows, error)
public UpdateWindows(string name, UpdateWindowsArgs args, CustomResourceOptions? opts = null)
public UpdateWindows(String name, UpdateWindowsArgs args)
public UpdateWindows(String name, UpdateWindowsArgs args, CustomResourceOptions options)
type: dynatrace:UpdateWindows
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 UpdateWindowsArgs
- 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 UpdateWindowsArgs
- 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 UpdateWindowsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UpdateWindowsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UpdateWindowsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var updateWindowsResource = new Dynatrace.UpdateWindows("updateWindowsResource", new()
{
Enabled = false,
Recurrence = "string",
DailyRecurrence = new Dynatrace.Inputs.UpdateWindowsDailyRecurrenceArgs
{
Every = 0,
RecurrenceRange = new Dynatrace.Inputs.UpdateWindowsDailyRecurrenceRecurrenceRangeArgs
{
End = "string",
Start = "string",
},
UpdateTime = new Dynatrace.Inputs.UpdateWindowsDailyRecurrenceUpdateTimeArgs
{
Duration = 0,
StartTime = "string",
TimeZone = "string",
},
},
MonthlyRecurrence = new Dynatrace.Inputs.UpdateWindowsMonthlyRecurrenceArgs
{
Every = 0,
RecurrenceRange = new Dynatrace.Inputs.UpdateWindowsMonthlyRecurrenceRecurrenceRangeArgs
{
End = "string",
Start = "string",
},
SelectedMonthDay = 0,
UpdateTime = new Dynatrace.Inputs.UpdateWindowsMonthlyRecurrenceUpdateTimeArgs
{
Duration = 0,
StartTime = "string",
TimeZone = "string",
},
},
Name = "string",
OnceRecurrence = new Dynatrace.Inputs.UpdateWindowsOnceRecurrenceArgs
{
RecurrenceRange = new Dynatrace.Inputs.UpdateWindowsOnceRecurrenceRecurrenceRangeArgs
{
End = "string",
Start = "string",
},
},
WeeklyRecurrence = new Dynatrace.Inputs.UpdateWindowsWeeklyRecurrenceArgs
{
Every = 0,
RecurrenceRange = new Dynatrace.Inputs.UpdateWindowsWeeklyRecurrenceRecurrenceRangeArgs
{
End = "string",
Start = "string",
},
SelectedWeekDays = new Dynatrace.Inputs.UpdateWindowsWeeklyRecurrenceSelectedWeekDaysArgs
{
Friday = false,
Monday = false,
Saturday = false,
Sunday = false,
Thursday = false,
Tuesday = false,
Wednesday = false,
},
UpdateTime = new Dynatrace.Inputs.UpdateWindowsWeeklyRecurrenceUpdateTimeArgs
{
Duration = 0,
StartTime = "string",
TimeZone = "string",
},
},
});
example, err := dynatrace.NewUpdateWindows(ctx, "updateWindowsResource", &dynatrace.UpdateWindowsArgs{
Enabled: pulumi.Bool(false),
Recurrence: pulumi.String("string"),
DailyRecurrence: &dynatrace.UpdateWindowsDailyRecurrenceArgs{
Every: pulumi.Int(0),
RecurrenceRange: &dynatrace.UpdateWindowsDailyRecurrenceRecurrenceRangeArgs{
End: pulumi.String("string"),
Start: pulumi.String("string"),
},
UpdateTime: &dynatrace.UpdateWindowsDailyRecurrenceUpdateTimeArgs{
Duration: pulumi.Int(0),
StartTime: pulumi.String("string"),
TimeZone: pulumi.String("string"),
},
},
MonthlyRecurrence: &dynatrace.UpdateWindowsMonthlyRecurrenceArgs{
Every: pulumi.Int(0),
RecurrenceRange: &dynatrace.UpdateWindowsMonthlyRecurrenceRecurrenceRangeArgs{
End: pulumi.String("string"),
Start: pulumi.String("string"),
},
SelectedMonthDay: pulumi.Int(0),
UpdateTime: &dynatrace.UpdateWindowsMonthlyRecurrenceUpdateTimeArgs{
Duration: pulumi.Int(0),
StartTime: pulumi.String("string"),
TimeZone: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
OnceRecurrence: &dynatrace.UpdateWindowsOnceRecurrenceArgs{
RecurrenceRange: &dynatrace.UpdateWindowsOnceRecurrenceRecurrenceRangeArgs{
End: pulumi.String("string"),
Start: pulumi.String("string"),
},
},
WeeklyRecurrence: &dynatrace.UpdateWindowsWeeklyRecurrenceArgs{
Every: pulumi.Int(0),
RecurrenceRange: &dynatrace.UpdateWindowsWeeklyRecurrenceRecurrenceRangeArgs{
End: pulumi.String("string"),
Start: pulumi.String("string"),
},
SelectedWeekDays: &dynatrace.UpdateWindowsWeeklyRecurrenceSelectedWeekDaysArgs{
Friday: pulumi.Bool(false),
Monday: pulumi.Bool(false),
Saturday: pulumi.Bool(false),
Sunday: pulumi.Bool(false),
Thursday: pulumi.Bool(false),
Tuesday: pulumi.Bool(false),
Wednesday: pulumi.Bool(false),
},
UpdateTime: &dynatrace.UpdateWindowsWeeklyRecurrenceUpdateTimeArgs{
Duration: pulumi.Int(0),
StartTime: pulumi.String("string"),
TimeZone: pulumi.String("string"),
},
},
})
var updateWindowsResource = new UpdateWindows("updateWindowsResource", UpdateWindowsArgs.builder()
.enabled(false)
.recurrence("string")
.dailyRecurrence(UpdateWindowsDailyRecurrenceArgs.builder()
.every(0)
.recurrenceRange(UpdateWindowsDailyRecurrenceRecurrenceRangeArgs.builder()
.end("string")
.start("string")
.build())
.updateTime(UpdateWindowsDailyRecurrenceUpdateTimeArgs.builder()
.duration(0)
.startTime("string")
.timeZone("string")
.build())
.build())
.monthlyRecurrence(UpdateWindowsMonthlyRecurrenceArgs.builder()
.every(0)
.recurrenceRange(UpdateWindowsMonthlyRecurrenceRecurrenceRangeArgs.builder()
.end("string")
.start("string")
.build())
.selectedMonthDay(0)
.updateTime(UpdateWindowsMonthlyRecurrenceUpdateTimeArgs.builder()
.duration(0)
.startTime("string")
.timeZone("string")
.build())
.build())
.name("string")
.onceRecurrence(UpdateWindowsOnceRecurrenceArgs.builder()
.recurrenceRange(UpdateWindowsOnceRecurrenceRecurrenceRangeArgs.builder()
.end("string")
.start("string")
.build())
.build())
.weeklyRecurrence(UpdateWindowsWeeklyRecurrenceArgs.builder()
.every(0)
.recurrenceRange(UpdateWindowsWeeklyRecurrenceRecurrenceRangeArgs.builder()
.end("string")
.start("string")
.build())
.selectedWeekDays(UpdateWindowsWeeklyRecurrenceSelectedWeekDaysArgs.builder()
.friday(false)
.monday(false)
.saturday(false)
.sunday(false)
.thursday(false)
.tuesday(false)
.wednesday(false)
.build())
.updateTime(UpdateWindowsWeeklyRecurrenceUpdateTimeArgs.builder()
.duration(0)
.startTime("string")
.timeZone("string")
.build())
.build())
.build());
update_windows_resource = dynatrace.UpdateWindows("updateWindowsResource",
enabled=False,
recurrence="string",
daily_recurrence=dynatrace.UpdateWindowsDailyRecurrenceArgs(
every=0,
recurrence_range=dynatrace.UpdateWindowsDailyRecurrenceRecurrenceRangeArgs(
end="string",
start="string",
),
update_time=dynatrace.UpdateWindowsDailyRecurrenceUpdateTimeArgs(
duration=0,
start_time="string",
time_zone="string",
),
),
monthly_recurrence=dynatrace.UpdateWindowsMonthlyRecurrenceArgs(
every=0,
recurrence_range=dynatrace.UpdateWindowsMonthlyRecurrenceRecurrenceRangeArgs(
end="string",
start="string",
),
selected_month_day=0,
update_time=dynatrace.UpdateWindowsMonthlyRecurrenceUpdateTimeArgs(
duration=0,
start_time="string",
time_zone="string",
),
),
name="string",
once_recurrence=dynatrace.UpdateWindowsOnceRecurrenceArgs(
recurrence_range=dynatrace.UpdateWindowsOnceRecurrenceRecurrenceRangeArgs(
end="string",
start="string",
),
),
weekly_recurrence=dynatrace.UpdateWindowsWeeklyRecurrenceArgs(
every=0,
recurrence_range=dynatrace.UpdateWindowsWeeklyRecurrenceRecurrenceRangeArgs(
end="string",
start="string",
),
selected_week_days=dynatrace.UpdateWindowsWeeklyRecurrenceSelectedWeekDaysArgs(
friday=False,
monday=False,
saturday=False,
sunday=False,
thursday=False,
tuesday=False,
wednesday=False,
),
update_time=dynatrace.UpdateWindowsWeeklyRecurrenceUpdateTimeArgs(
duration=0,
start_time="string",
time_zone="string",
),
))
const updateWindowsResource = new dynatrace.UpdateWindows("updateWindowsResource", {
enabled: false,
recurrence: "string",
dailyRecurrence: {
every: 0,
recurrenceRange: {
end: "string",
start: "string",
},
updateTime: {
duration: 0,
startTime: "string",
timeZone: "string",
},
},
monthlyRecurrence: {
every: 0,
recurrenceRange: {
end: "string",
start: "string",
},
selectedMonthDay: 0,
updateTime: {
duration: 0,
startTime: "string",
timeZone: "string",
},
},
name: "string",
onceRecurrence: {
recurrenceRange: {
end: "string",
start: "string",
},
},
weeklyRecurrence: {
every: 0,
recurrenceRange: {
end: "string",
start: "string",
},
selectedWeekDays: {
friday: false,
monday: false,
saturday: false,
sunday: false,
thursday: false,
tuesday: false,
wednesday: false,
},
updateTime: {
duration: 0,
startTime: "string",
timeZone: "string",
},
},
});
type: dynatrace:UpdateWindows
properties:
dailyRecurrence:
every: 0
recurrenceRange:
end: string
start: string
updateTime:
duration: 0
startTime: string
timeZone: string
enabled: false
monthlyRecurrence:
every: 0
recurrenceRange:
end: string
start: string
selectedMonthDay: 0
updateTime:
duration: 0
startTime: string
timeZone: string
name: string
onceRecurrence:
recurrenceRange:
end: string
start: string
recurrence: string
weeklyRecurrence:
every: 0
recurrenceRange:
end: string
start: string
selectedWeekDays:
friday: false
monday: false
saturday: false
sunday: false
thursday: false
tuesday: false
wednesday: false
updateTime:
duration: 0
startTime: string
timeZone: string
UpdateWindows 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 UpdateWindows resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Recurrence string
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- Daily
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Daily Recurrence - no documentation available
- Monthly
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Monthly Recurrence - no documentation available
- Name string
- Name
- Once
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Once Recurrence - no documentation available
- Weekly
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Weekly Recurrence - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Recurrence string
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- Daily
Recurrence UpdateWindows Daily Recurrence Args - no documentation available
- Monthly
Recurrence UpdateWindows Monthly Recurrence Args - no documentation available
- Name string
- Name
- Once
Recurrence UpdateWindows Once Recurrence Args - no documentation available
- Weekly
Recurrence UpdateWindows Weekly Recurrence Args - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - recurrence String
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- daily
Recurrence UpdateWindows Daily Recurrence - no documentation available
- monthly
Recurrence UpdateWindows Monthly Recurrence - no documentation available
- name String
- Name
- once
Recurrence UpdateWindows Once Recurrence - no documentation available
- weekly
Recurrence UpdateWindows Weekly Recurrence - no documentation available
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - recurrence string
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- daily
Recurrence UpdateWindows Daily Recurrence - no documentation available
- monthly
Recurrence UpdateWindows Monthly Recurrence - no documentation available
- name string
- Name
- once
Recurrence UpdateWindows Once Recurrence - no documentation available
- weekly
Recurrence UpdateWindows Weekly Recurrence - no documentation available
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - recurrence str
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- daily_
recurrence UpdateWindows Daily Recurrence Args - no documentation available
- monthly_
recurrence UpdateWindows Monthly Recurrence Args - no documentation available
- name str
- Name
- once_
recurrence UpdateWindows Once Recurrence Args - no documentation available
- weekly_
recurrence UpdateWindows Weekly Recurrence Args - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - recurrence String
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- daily
Recurrence Property Map - no documentation available
- monthly
Recurrence Property Map - no documentation available
- name String
- Name
- once
Recurrence Property Map - no documentation available
- weekly
Recurrence Property Map - no documentation available
Outputs
All input properties are implicitly available as output properties. Additionally, the UpdateWindows 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 UpdateWindows Resource
Get an existing UpdateWindows 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?: UpdateWindowsState, opts?: CustomResourceOptions): UpdateWindows
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
daily_recurrence: Optional[UpdateWindowsDailyRecurrenceArgs] = None,
enabled: Optional[bool] = None,
monthly_recurrence: Optional[UpdateWindowsMonthlyRecurrenceArgs] = None,
name: Optional[str] = None,
once_recurrence: Optional[UpdateWindowsOnceRecurrenceArgs] = None,
recurrence: Optional[str] = None,
weekly_recurrence: Optional[UpdateWindowsWeeklyRecurrenceArgs] = None) -> UpdateWindows
func GetUpdateWindows(ctx *Context, name string, id IDInput, state *UpdateWindowsState, opts ...ResourceOption) (*UpdateWindows, error)
public static UpdateWindows Get(string name, Input<string> id, UpdateWindowsState? state, CustomResourceOptions? opts = null)
public static UpdateWindows get(String name, Output<String> id, UpdateWindowsState 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.
- Daily
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Daily Recurrence - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Monthly
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Monthly Recurrence - no documentation available
- Name string
- Name
- Once
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Once Recurrence - no documentation available
- Recurrence string
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- Weekly
Recurrence Lbrlabs.Pulumi Package. Dynatrace. Inputs. Update Windows Weekly Recurrence - no documentation available
- Daily
Recurrence UpdateWindows Daily Recurrence Args - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Monthly
Recurrence UpdateWindows Monthly Recurrence Args - no documentation available
- Name string
- Name
- Once
Recurrence UpdateWindows Once Recurrence Args - no documentation available
- Recurrence string
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- Weekly
Recurrence UpdateWindows Weekly Recurrence Args - no documentation available
- daily
Recurrence UpdateWindows Daily Recurrence - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - monthly
Recurrence UpdateWindows Monthly Recurrence - no documentation available
- name String
- Name
- once
Recurrence UpdateWindows Once Recurrence - no documentation available
- recurrence String
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- weekly
Recurrence UpdateWindows Weekly Recurrence - no documentation available
- daily
Recurrence UpdateWindows Daily Recurrence - no documentation available
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - monthly
Recurrence UpdateWindows Monthly Recurrence - no documentation available
- name string
- Name
- once
Recurrence UpdateWindows Once Recurrence - no documentation available
- recurrence string
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- weekly
Recurrence UpdateWindows Weekly Recurrence - no documentation available
- daily_
recurrence UpdateWindows Daily Recurrence Args - no documentation available
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - monthly_
recurrence UpdateWindows Monthly Recurrence Args - no documentation available
- name str
- Name
- once_
recurrence UpdateWindows Once Recurrence Args - no documentation available
- recurrence str
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- weekly_
recurrence UpdateWindows Weekly Recurrence Args - no documentation available
- daily
Recurrence Property Map - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - monthly
Recurrence Property Map - no documentation available
- name String
- Name
- once
Recurrence Property Map - no documentation available
- recurrence String
- Possible Values:
MONTHLY
,ONCE
,DAILY
,WEEKLY
- weekly
Recurrence Property Map - no documentation available
Supporting Types
UpdateWindowsDailyRecurrence, UpdateWindowsDailyRecurrenceArgs
UpdateWindowsDailyRecurrenceRecurrenceRange, UpdateWindowsDailyRecurrenceRecurrenceRangeArgs
UpdateWindowsDailyRecurrenceUpdateTime, UpdateWindowsDailyRecurrenceUpdateTimeArgs
- duration int
- start_
time str - time_
zone str
UpdateWindowsMonthlyRecurrence, UpdateWindowsMonthlyRecurrenceArgs
UpdateWindowsMonthlyRecurrenceRecurrenceRange, UpdateWindowsMonthlyRecurrenceRecurrenceRangeArgs
UpdateWindowsMonthlyRecurrenceUpdateTime, UpdateWindowsMonthlyRecurrenceUpdateTimeArgs
- duration int
- start_
time str - time_
zone str
UpdateWindowsOnceRecurrence, UpdateWindowsOnceRecurrenceArgs
UpdateWindowsOnceRecurrenceRecurrenceRange, UpdateWindowsOnceRecurrenceRecurrenceRangeArgs
UpdateWindowsWeeklyRecurrence, UpdateWindowsWeeklyRecurrenceArgs
UpdateWindowsWeeklyRecurrenceRecurrenceRange, UpdateWindowsWeeklyRecurrenceRecurrenceRangeArgs
UpdateWindowsWeeklyRecurrenceSelectedWeekDays, UpdateWindowsWeeklyRecurrenceSelectedWeekDaysArgs
UpdateWindowsWeeklyRecurrenceUpdateTime, UpdateWindowsWeeklyRecurrenceUpdateTimeArgs
- duration int
- 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.