Class ResourcePolicyInstanceSchedulePolicy (1.3.0)

public sealed class ResourcePolicyInstanceSchedulePolicy : IMessage<ResourcePolicyInstanceSchedulePolicy>, IEquatable<ResourcePolicyInstanceSchedulePolicy>, IDeepCloneable<ResourcePolicyInstanceSchedulePolicy>, IBufferMessage, IMessage

An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.

Inheritance

Object > ResourcePolicyInstanceSchedulePolicy

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ResourcePolicyInstanceSchedulePolicy()

public ResourcePolicyInstanceSchedulePolicy()

ResourcePolicyInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy)

public ResourcePolicyInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy other)
Parameter
NameDescription
otherResourcePolicyInstanceSchedulePolicy

Properties

ExpirationTime

public string ExpirationTime { get; set; }

The expiration time of the schedule. The timestamp is an RFC3339 string.

Property Value
TypeDescription
String

HasExpirationTime

public bool HasExpirationTime { get; }

Gets whether the "expiration_time" field is set

Property Value
TypeDescription
Boolean

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
TypeDescription
Boolean

HasTimeZone

public bool HasTimeZone { get; }

Gets whether the "time_zone" field is set

Property Value
TypeDescription
Boolean

StartTime

public string StartTime { get; set; }

The start time of the schedule. The timestamp is an RFC3339 string.

Property Value
TypeDescription
String

TimeZone

public string TimeZone { get; set; }

Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.

Property Value
TypeDescription
String

VmStartSchedule

public ResourcePolicyInstanceSchedulePolicySchedule VmStartSchedule { get; set; }

Specifies the schedule for starting instances.

Property Value
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule

VmStopSchedule

public ResourcePolicyInstanceSchedulePolicySchedule VmStopSchedule { get; set; }

Specifies the schedule for stopping instances.

Property Value
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule