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.
Implements
IMessage<ResourcePolicyInstanceSchedulePolicy>, IEquatable<ResourcePolicyInstanceSchedulePolicy>, IDeepCloneable<ResourcePolicyInstanceSchedulePolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
Boolean |
HasStartTime
public bool HasStartTime { get; }
Gets whether the "start_time" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasTimeZone
public bool HasTimeZone { get; }
Gets whether the "time_zone" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
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: http://en.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 |