import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a PersistentResource. */ export declare class PersistentResource extends pulumi.CustomResource { /** * Get an existing PersistentResource resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PersistentResource; /** * Returns true if the given object is an instance of PersistentResource. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PersistentResource; /** * Time when the PersistentResource was created. */ readonly createTime: pulumi.Output; /** * Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. */ readonly displayName: pulumi.Output; /** * 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. */ readonly encryptionSpec: pulumi.Output; /** * Only populated when persistent resource's state is `STOPPING` or `ERROR`. */ readonly error: pulumi.Output; /** * 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. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Immutable. Resource name of a PersistentResource. */ readonly name: pulumi.Output; /** * Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) 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](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. */ readonly network: pulumi.Output; /** * 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])?$/`. */ readonly persistentResourceId: pulumi.Output; readonly project: pulumi.Output; /** * 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']. */ readonly reservedIpRanges: pulumi.Output; /** * The spec of the pools of different resources. */ readonly resourcePools: pulumi.Output; /** * Runtime information of the Persistent Resource. */ readonly resourceRuntime: pulumi.Output; /** * Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. */ readonly resourceRuntimeSpec: pulumi.Output; /** * Time when the PersistentResource for the first time entered the `RUNNING` state. */ readonly startTime: pulumi.Output; /** * The detailed state of a Study. */ readonly state: pulumi.Output; /** * Time when the PersistentResource was most recently updated. */ readonly updateTime: pulumi.Output; /** * Create a PersistentResource resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PersistentResourceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PersistentResource resource. */ export interface PersistentResourceArgs { /** * Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. */ displayName?: pulumi.Input; /** * 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. */ encryptionSpec?: pulumi.Input; /** * 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. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Immutable. Resource name of a PersistentResource. */ name?: pulumi.Input; /** * Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) 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](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. */ network?: pulumi.Input; /** * 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])?$/`. */ persistentResourceId: pulumi.Input; project?: pulumi.Input; /** * 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']. */ reservedIpRanges?: pulumi.Input[]>; /** * The spec of the pools of different resources. */ resourcePools: pulumi.Input[]>; /** * Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. */ resourceRuntimeSpec?: pulumi.Input; }