public sealed class ResourceStatusShutdownDetails : IMessage<ResourceStatusShutdownDetails>, IEquatable<ResourceStatusShutdownDetails>, IDeepCloneable<ResourceStatusShutdownDetails>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class ResourceStatusShutdownDetails.
Specifies if the instance is in PENDING_STOP state or there is a
programmed stop scheduled.
Implements
IMessageResourceStatusShutdownDetails, IEquatableResourceStatusShutdownDetails, IDeepCloneableResourceStatusShutdownDetails, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ResourceStatusShutdownDetails()
public ResourceStatusShutdownDetails()ResourceStatusShutdownDetails(ResourceStatusShutdownDetails)
public ResourceStatusShutdownDetails(ResourceStatusShutdownDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceStatusShutdownDetails |
Properties
HasRequestTimestamp
public bool HasRequestTimestamp { get; }Gets whether the "request_timestamp" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasStopState
public bool HasStopState { get; }Gets whether the "stop_state" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasTargetState
public bool HasTargetState { get; }Gets whether the "target_state" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
MaxDuration
public Duration MaxDuration { get; set; }The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
RequestTimestamp
public string RequestTimestamp { get; set; }Past timestamp indicating the beginning of current stopState in RFC3339 text format.
| Property Value | |
|---|---|
| Type | Description |
string |
|
StopState
public string StopState { get; set; }Current stopping state of the instance. Check the StopState enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TargetState
public string TargetState { get; set; }Target instance state. Check the TargetState enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|