PersistentResourceArgs class

The set of arguments for PersistentResource. The set of arguments for PersistentResource.

Constructors

PersistentResourceArgs({Input<String>? displayName, Input<GoogleCloudAiplatformV1beta1EncryptionSpec>? encryptionSpec, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? name, Input<String>? network, required Input<String> persistentResourceId, Input<String>? project, Input<List<String>>? reservedIpRanges, required Input<List<GoogleCloudAiplatformV1beta1ResourcePool>> resourcePools, Input<GoogleCloudAiplatformV1beta1ResourceRuntimeSpec>? resourceRuntimeSpec})
Creates a new PersistentResourceArgs. displayName Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. encryptionSpec Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key. labels Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. location Optional. name Immutable. Resource name of a PersistentResource. network Optional. The full name of the Compute Engine network to peered with Vertex AI to host the persistent resources. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name. To specify this field, you must have already configured VPC Network Peering for Vertex AI. If this field is left unspecified, the resources aren't peered with any network. persistentResourceId Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/. project Optional. reservedIpRanges Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: 'vertex-ai-ip-range'. resourcePools The spec of the pools of different resources. resourceRuntimeSpec Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
const
PersistentResourceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

displayName → Input<String>?
Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters.
final
encryptionSpec → Input<GoogleCloudAiplatformV1beta1EncryptionSpec>?
Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
final
location → Input<String>?
final
name → Input<String>?
Immutable. Resource name of a PersistentResource.
final
network → Input<String>?
Optional. The full name of the Compute Engine network to peered with Vertex AI to host the persistent resources. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name. To specify this field, you must have already configured VPC Network Peering for Vertex AI. If this field is left unspecified, the resources aren't peered with any network.
final
persistentResourceId → Input<String>
Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.
final
project → Input<String>?
final
reservedIpRanges → Input<List<String>>?
Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: 'vertex-ai-ip-range'.
final
resourcePools → Input<List<GoogleCloudAiplatformV1beta1ResourcePool>>
The spec of the pools of different resources.
final
resourceRuntimeSpec → Input<GoogleCloudAiplatformV1beta1ResourceRuntimeSpec>?
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited