public sealed class Zone : IMessage<Zone>, IEquatable<Zone>, IDeepCloneable<Zone>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class Zone.
Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
Zone()
public Zone()
Zone(Zone)
public Zone(Zone other)
Parameter | |
---|---|
Name | Description |
other |
Zone |
Properties
AvailableCpuPlatforms
public RepeatedField<string> AvailableCpuPlatforms { get; }
[Output Only] Available cpu/platform selections for the zone.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
CreationTimestamp
public string CreationTimestamp { get; set; }
[Output Only] Creation timestamp in RFC3339 text format.
Property Value | |
---|---|
Type | Description |
string |
Deprecated
public DeprecationStatus Deprecated { get; set; }
[Output Only] The deprecation status associated with this zone.
Property Value | |
---|---|
Type | Description |
DeprecationStatus |
Description
public string Description { get; set; }
[Output Only] Textual description of the resource.
Property Value | |
---|---|
Type | Description |
string |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRegion
public bool HasRegion { get; }
Gets whether the "region" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasStatus
public bool HasStatus { get; }
Gets whether the "status" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSupportsPzs
public bool HasSupportsPzs { get; }
Gets whether the "supports_pzs" field is set
Property Value | |
---|---|
Type | Description |
bool |
Id
public ulong Id { get; set; }
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Property Value | |
---|---|
Type | Description |
ulong |
Kind
public string Kind { get; set; }
[Output Only] Type of the resource. Always compute#zone for zones.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
[Output Only] Name of the resource.
Property Value | |
---|---|
Type | Description |
string |
Region
public string Region { get; set; }
[Output Only] Full URL reference to the region which hosts the zone.
Property Value | |
---|---|
Type | Description |
string |
SelfLink
public string SelfLink { get; set; }
[Output Only] Server-defined URL for the resource.
Property Value | |
---|---|
Type | Description |
string |
Status
public string Status { get; set; }
[Output Only] Status of the zone, either UP or DOWN. Check the Status enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |
SupportsPzs
public bool SupportsPzs { get; set; }
[Output Only] Reserved for future use.
Property Value | |
---|---|
Type | Description |
bool |