Class GlobalVMShutdownSchedule
Manages automated shutdown schedules for Azure VMs that are not within an Azure DevTest Lab. While this is part of the DevTest Labs service in Azure,
this resource applies only to standard VMs, not DevTest Lab VMs. To manage automated shutdown schedules for DevTest Lab VMs, reference the
azure.devtest.Schedule resource
Inherited Members
Namespace: Pulumi.Azure.DevTest
Assembly: Pulumi.Azure.dll
Syntax
public class GlobalVMShutdownSchedule : CustomResource
Constructors
View SourceGlobalVMShutdownSchedule(String, GlobalVMShutdownScheduleArgs, CustomResourceOptions)
Create a GlobalVMShutdownSchedule resource with the given unique name, arguments, and options.
Declaration
public GlobalVMShutdownSchedule(string name, GlobalVMShutdownScheduleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| GlobalVMShutdownScheduleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDailyRecurrenceTime
The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.)
Declaration
public Output<string> DailyRecurrenceTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Enabled
Whether to enable the schedule. Possible values are true and false. Defaults to true.
Declaration
public Output<bool?> Enabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Location
The location where the schedule is created. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NotificationSettings
Declaration
public Output<GlobalVMShutdownScheduleNotificationSettings> NotificationSettings { get; }
Property Value
| Type | Description |
|---|---|
| Output<GlobalVMShutdownScheduleNotificationSettings> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Timezone
The time zone ID (e.g. Pacific Standard time). Refer to this guide for a full list of accepted time zone names.
Declaration
public Output<string> Timezone { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VirtualMachineId
The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created.
Declaration
public Output<string> VirtualMachineId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, GlobalVMShutdownScheduleState, CustomResourceOptions)
Get an existing GlobalVMShutdownSchedule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static GlobalVMShutdownSchedule Get(string name, Input<string> id, GlobalVMShutdownScheduleState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| GlobalVMShutdownScheduleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| GlobalVMShutdownSchedule |