public sealed class DiskType : IMessage<DiskType>, IEquatable<DiskType>, IDeepCloneable<DiskType>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class DiskType.
Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * Regional * Zonal You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.
Implements
IMessage<DiskType>, IEquatable<DiskType>, IDeepCloneable<DiskType>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
DiskType()
public DiskType()
DiskType(DiskType)
public DiskType(DiskType other)
Parameter | |
---|---|
Name | Description |
other | DiskType |
Properties
CreationTimestamp
public string CreationTimestamp { get; set; }
[Output Only] Creation timestamp in RFC3339 text format.
Property Value | |
---|---|
Type | Description |
String |
DefaultDiskSizeGb
public long DefaultDiskSizeGb { get; set; }
[Output Only] Server-defined default disk size in GB.
Property Value | |
---|---|
Type | Description |
Int64 |
Deprecated
public DeprecationStatus Deprecated { get; set; }
[Output Only] The deprecation status associated with this disk type.
Property Value | |
---|---|
Type | Description |
DeprecationStatus |
Description
public string Description { get; set; }
[Output Only] An optional description of this resource.
Property Value | |
---|---|
Type | Description |
String |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDefaultDiskSizeGb
public bool HasDefaultDiskSizeGb { get; }
Gets whether the "default_disk_size_gb" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasRegion
public bool HasRegion { get; }
Gets whether the "region" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasValidDiskSize
public bool HasValidDiskSize { get; }
Gets whether the "valid_disk_size" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasZone
public bool HasZone { get; }
Gets whether the "zone" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
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 |
UInt64 |
Kind
public string Kind { get; set; }
[Output Only] Type of the resource. Always compute#diskType for disk types.
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] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Property Value | |
---|---|
Type | Description |
String |
SelfLink
public string SelfLink { get; set; }
[Output Only] Server-defined URL for the resource.
Property Value | |
---|---|
Type | Description |
String |
ValidDiskSize
public string ValidDiskSize { get; set; }
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
Property Value | |
---|---|
Type | Description |
String |
Zone
public string Zone { get; set; }
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Property Value | |
---|---|
Type | Description |
String |