Class BlockDevice
Block device represents the device(s) which are stored in the block volume.
Implements
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1.Data
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class BlockDevice : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HostGroups
Optional. A list of host groups that identify hosts that can mount the block volume. Format:
projects/{project_id}/locations/{location}/hostGroups/{host_group_id} This field can be updated after the
block device is created.
Declaration
[JsonProperty("hostGroups")]
public virtual IList<string> HostGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Identifier
Output only. Device identifier of the Block volume. This represents lun_serial_number for iSCSI volumes
Declaration
[JsonProperty("identifier")]
public virtual string Identifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Optional. User-defined name for the block device, unique within the Volume. In case no user input is provided, name will be autogenerated in the backend. The name must meet the following requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{", ".". * Spaces are not allowed.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OsType
Required. Immutable. The OS type of the volume. This field can't be changed after the block device is created.
Declaration
[JsonProperty("osType")]
public virtual string OsType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SizeGib
Optional. The size of the block device in GiB. Any value provided in this field during Volume creation is
IGNORED. The block device's size is system-managed and will be set to match the parent Volume's
capacity_gib.
Declaration
[JsonProperty("sizeGib")]
public virtual long? SizeGib { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |