Compute Engine v1 API - Class DeprecationStatus (2.12.0)

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.

Inheritance

object > DeprecationStatus

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

DeprecationStatus()

public DeprecationStatus()

DeprecationStatus(DeprecationStatus)

public DeprecationStatus(DeprecationStatus other)
Parameter
NameDescription
otherDeprecationStatus

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
TypeDescription
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
TypeDescription
string

HasDeleted

public bool HasDeleted { get; }

Gets whether the "deleted" field is set

Property Value
TypeDescription
bool

HasDeprecated

public bool HasDeprecated { get; }

Gets whether the "deprecated" field is set

Property Value
TypeDescription
bool

HasObsolete

public bool HasObsolete { get; }

Gets whether the "obsolete" field is set

Property Value
TypeDescription
bool

HasReplacement

public bool HasReplacement { get; }

Gets whether the "replacement" field is set

Property Value
TypeDescription
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string