Class NfsShare (1.7.3)

NfsShare(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An NFS share.

Attributes

NameDescription
name str
Immutable. The name of the NFS share.
nfs_share_id str
Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
id str
Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.
state google.cloud.bare_metal_solution_v2.types.NfsShare.State
Output only. The state of the NFS share.
volume str
Output only. The underlying volume of the share. Created automatically during provisioning.
allowed_clients MutableSequence[google.cloud.bare_metal_solution_v2.types.NfsShare.AllowedClient]
List of allowed access points.
labels MutableMapping[str, str]
Labels as key value pairs.
requested_size_gib int
The requested size, in GiB.
storage_type google.cloud.bare_metal_solution_v2.types.NfsShare.StorageType
Immutable. The storage type of the underlying volume.

Classes

AllowedClient

AllowedClient(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an 'access point' for the share.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

MountPermissions

MountPermissions(value)

The possible mount permissions.

Values: MOUNT_PERMISSIONS_UNSPECIFIED (0): Permissions were not specified. READ (1): NFS share can be mount with read-only permissions. READ_WRITE (2): NFS share can be mount with read-write permissions.

State

State(value)

The possible states for this NFS share.

Values: STATE_UNSPECIFIED (0): The share is in an unknown state. PROVISIONED (1): The share has been provisioned. CREATING (2): The NFS Share is being created. UPDATING (3): The NFS Share is being updated. DELETING (4): The NFS Share has been requested to be deleted.

StorageType

StorageType(value)

The storage type for a volume.

Values: STORAGE_TYPE_UNSPECIFIED (0): The storage type for this volume is unknown. SSD (1): The storage type for this volume is SSD. HDD (2): This storage type for this volume is HDD.