public sealed class DeprecationStatus : IMessage<DeprecationStatus>, IEquatable<DeprecationStatus>, IDeepCloneable<DeprecationStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class DeprecationStatus.
Deprecation status for a public resource.
Implements
IMessageDeprecationStatus, IEquatableDeprecationStatus, IDeepCloneableDeprecationStatus, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
DeprecationStatus()
public DeprecationStatus()
DeprecationStatus(DeprecationStatus)
public DeprecationStatus(DeprecationStatus other)
Parameter | |
---|---|
Name | Description |
other | DeprecationStatus |
Properties
Deleted
public string Deleted { get; set; }
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
Property Value | |
---|---|
Type | Description |
string |
Deprecated
public string Deprecated { get; set; }
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
Property Value | |
---|---|
Type | Description |
string |
HasDeleted
public bool HasDeleted { get; }
Gets whether the "deleted" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDeprecated
public bool HasDeprecated { get; }
Gets whether the "deprecated" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasObsolete
public bool HasObsolete { get; }
Gets whether the "obsolete" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasReplacement
public bool HasReplacement { get; }
Gets whether the "replacement" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasState
public bool HasState { get; }
Gets whether the "state" field is set
Property Value | |
---|---|
Type | Description |
bool |
Obsolete
public string Obsolete { get; set; }
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
Property Value | |
---|---|
Type | Description |
string |
Replacement
public string Replacement { get; set; }
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
Property Value | |
---|---|
Type | Description |
string |
State
public string State { get; set; }
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |