Compute Engine v1 API - Class ResourcePolicyInstanceSchedulePolicy (2.9.0)

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

Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicyInstanceSchedulePolicy.

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

Inheritance

object > ResourcePolicyInstanceSchedulePolicy

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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
bool

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
TypeDescription
bool

HasTimeZone

public bool HasTimeZone { get; }

Gets whether the "time_zone" field is set

Property Value
TypeDescription
bool

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: https://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