Compute Engine v1 API - Class ResourcePolicyInstanceSchedulePolicy (2.15.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

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ResourcePolicyInstanceSchedulePolicy()

public ResourcePolicyInstanceSchedulePolicy()

ResourcePolicyInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy)

public ResourcePolicyInstanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicy other)
Parameter
Name Description
other ResourcePolicyInstanceSchedulePolicy

Properties

ExpirationTime

public string ExpirationTime { get; set; }

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

Property Value
Type Description
string

HasExpirationTime

public bool HasExpirationTime { get; }

Gets whether the "expiration_time" field is set

Property Value
Type Description
bool

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
Type Description
bool

HasTimeZone

public bool HasTimeZone { get; }

Gets whether the "time_zone" field is set

Property Value
Type Description
bool

StartTime

public string StartTime { get; set; }

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

Property Value
Type Description
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
Type Description
string

VmStartSchedule

public ResourcePolicyInstanceSchedulePolicySchedule VmStartSchedule { get; set; }

Specifies the schedule for starting instances.

Property Value
Type Description
ResourcePolicyInstanceSchedulePolicySchedule

VmStopSchedule

public ResourcePolicyInstanceSchedulePolicySchedule VmStopSchedule { get; set; }

Specifies the schedule for stopping instances.

Property Value
Type Description
ResourcePolicyInstanceSchedulePolicySchedule