Show / Hide Table of Contents

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

Inheritance
System.Object
Resource
CustomResource
GlobalVMShutdownSchedule
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.DevTest
Assembly: Pulumi.Azure.dll
Syntax
public class GlobalVMShutdownSchedule : CustomResource

Constructors

View Source

GlobalVMShutdownSchedule(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 Source

DailyRecurrenceTime

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>
View Source

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>>
View Source

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>
View Source

NotificationSettings

Declaration
public Output<GlobalVMShutdownScheduleNotificationSettings> NotificationSettings { get; }
Property Value
Type Description
Output<GlobalVMShutdownScheduleNotificationSettings>
View Source

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>>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.