import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * Creates an Artifact associated with a MetadataStore. * Auto-naming is currently not supported for this resource. */ export declare class Artifact extends pulumi.CustomResource { /** * Get an existing Artifact 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): Artifact; /** * Returns true if the given object is an instance of Artifact. 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 Artifact; /** * The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.) */ readonly artifactId: pulumi.Output; /** * Timestamp when this Artifact was created. */ readonly createTime: pulumi.Output; /** * Description of the Artifact */ readonly description: pulumi.Output; /** * User provided display name of the Artifact. May be up to 128 Unicode characters. */ readonly displayName: pulumi.Output; /** * An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */ readonly etag: pulumi.Output; /** * The labels with user-defined metadata to organize your Artifacts. 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. No more than 64 user labels can be associated with one Artifact (System labels are excluded). */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; readonly metadataStoreId: pulumi.Output; /** * The resource name of the Artifact. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. */ readonly schemaTitle: pulumi.Output; /** * The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. */ readonly schemaVersion: pulumi.Output; /** * The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions. */ readonly state: pulumi.Output; /** * Timestamp when this Artifact was last updated. */ readonly updateTime: pulumi.Output; /** * The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file. */ readonly uri: pulumi.Output; /** * Create a Artifact 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: ArtifactArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Artifact resource. */ export interface ArtifactArgs { /** * The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.) */ artifactId?: pulumi.Input; /** * Description of the Artifact */ description?: pulumi.Input; /** * User provided display name of the Artifact. May be up to 128 Unicode characters. */ displayName?: pulumi.Input; /** * An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */ etag?: pulumi.Input; /** * The labels with user-defined metadata to organize your Artifacts. 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. No more than 64 user labels can be associated with one Artifact (System labels are excluded). */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; metadataStoreId: pulumi.Input; project?: pulumi.Input; /** * The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. */ schemaTitle?: pulumi.Input; /** * The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. */ schemaVersion?: pulumi.Input; /** * The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions. */ state?: pulumi.Input; /** * The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file. */ uri?: pulumi.Input; }