Class Instance (0.4.3)

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

Attributes

Name Description
name str
Identifier. The name of the instance.
filesystem str
Required. Immutable. The filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be eight characters or less and can only contain letters and numbers.
capacity_gib int
Required. The storage capacity of the instance in gibibytes (GiB). Allowed values depend on the perUnitStorageThroughput. See `Performance tiers
network str
Required. Immutable. The full name of the VPC network to which the instance is connected. Must be in the format projects/{project_id}/global/networks/{network_name}.
state google.cloud.lustre_v1.types.Instance.State
Output only. The state of the instance.
mount_point str
Output only. Mount point of the instance in the format IP_ADDRESS@tcp:/FILESYSTEM.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the instance was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the instance was last updated.
description str
Optional. A user-readable description of the instance.
labels MutableMapping[str, str]
Optional. Labels as key value pairs.
per_unit_storage_throughput int
Optional. The throughput of the instance in MBps per TiB. Valid values are 0, 125, 250, 500, 1000. See `Performance tiers
gke_support_enabled bool
Optional. Deprecated: No longer required for GKE instance creation. Indicates whether you want to enable support for GKE clients. By default, GKE clients are not supported.
kms_key str
Optional. Immutable. The Cloud KMS key name to use for data encryption. If not set, the instance will use Google-managed encryption keys. If set, the instance will use customer-managed encryption keys. The key must be in the same region as the instance. The key format is: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}
state_reason str
Output only. The reason why the instance is in a certain state (e.g. SUSPENDED).
placement_policy str
Optional. The placement policy name for the instance in the format of projects/{project}/locations/{location}/resourcePolicies/{resource_policy}
access_rules_options google.cloud.lustre_v1.types.AccessRulesOptions
Optional. The access rules options for the instance.
uid str
Output only. Unique ID of the resource. This is unrelated to the access rules which allow specifying the root squash uid.
maintenance_policy google.cloud.lustre_v1.types.MaintenancePolicy
Optional. The maintenance policy for the instance to determine when to allow or exclude the instance from maintenance updates.
upcoming_maintenance_schedule google.cloud.lustre_v1.types.MaintenanceSchedule
Output only. Date and time of upcoming maintenance for the instance, if a maintenance policy is set.
dynamic_tier_options google.cloud.lustre_v1.types.DynamicTierOptions
Optional. Immutable. Specifies whether the instance is on the Dynamic tier. See `Performance tiers
available_version str
Output only. The available version that this instance can be upgraded to. Format: Lustre_YYYYMMDD.NN_pXX This field is a member of oneof_ _available_version.
target_version str
Optional. The target version of the instance. Setting this field triggers a self-service update to the specified version. Format: Lustre_YYYYMMDD.NN_pXX or latest This field is a member of oneof_ _target_version.
effective_version str
Output only. The effective version of the instance. Format: Lustre_YYYYMMDD.NN_pXX This field is a member of oneof_ _effective_version.

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.

State

State(value)

The possible states of an instance.