import * as pulumi from "@pulumi/pulumi"; /** * Creates a specified version. */ export declare class Version extends pulumi.CustomResource { /** * Get an existing Version 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): Version; /** * Returns true if the given object is an instance of Version. 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 Version; /** * Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; readonly apiId: pulumi.Output; /** * Required. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. */ readonly apiVersionId: pulumi.Output; /** * Creation timestamp. */ readonly createTime: pulumi.Output; /** * A detailed description. */ readonly description: pulumi.Output; /** * Human-meaningful name. */ readonly displayName: pulumi.Output; /** * Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. 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 resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Resource name. */ readonly name: pulumi.Output; /** * The primary spec for this version. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec} */ readonly primarySpec: pulumi.Output; readonly project: pulumi.Output; /** * A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". */ readonly state: pulumi.Output; /** * Last update timestamp. */ readonly updateTime: pulumi.Output; /** * Create a Version 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: VersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Version resource. */ export interface VersionArgs { /** * Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; apiId: pulumi.Input; /** * Required. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID. */ apiVersionId: pulumi.Input; /** * A detailed description. */ description?: pulumi.Input; /** * Human-meaningful name. */ displayName?: pulumi.Input; /** * Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. 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 resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Resource name. */ name?: pulumi.Input; /** * The primary spec for this version. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec} */ primarySpec?: pulumi.Input; project?: pulumi.Input; /** * A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". */ state?: pulumi.Input; }