PersistentResourceArgs constructor

const PersistentResourceArgs({
  1. Input<String>? displayName,
  2. Input<GoogleCloudAiplatformV1beta1EncryptionSpec>? encryptionSpec,
  3. Input<Map<String, String>>? labels,
  4. Input<String>? location,
  5. Input<String>? name,
  6. Input<String>? network,
  7. required Input<String> persistentResourceId,
  8. Input<String>? project,
  9. Input<List<String>>? reservedIpRanges,
  10. required Input<List<GoogleCloudAiplatformV1beta1ResourcePool>> resourcePools,
  11. 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.

Implementation

const PersistentResourceArgs({
  this.displayName,
  this.encryptionSpec,
  this.labels,
  this.location,
  this.name,
  this.network,
  required this.persistentResourceId,
  this.project,
  this.reservedIpRanges,
  required this.resourcePools,
  this.resourceRuntimeSpec,
});