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 auto-generated 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 for the size_gib 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? |