import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new preference set in a given project and location. * Auto-naming is currently not supported for this resource. */ export declare class PreferenceSet extends pulumi.CustomResource { /** * Get an existing PreferenceSet 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): PreferenceSet; /** * Returns true if the given object is an instance of PreferenceSet. 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 PreferenceSet; /** * The timestamp when the preference set was created. */ readonly createTime: pulumi.Output; /** * A description of the preference set. */ readonly description: pulumi.Output; /** * User-friendly display name. Maximum length is 63 characters. */ readonly displayName: pulumi.Output; readonly location: pulumi.Output; /** * Name of the preference set. */ readonly name: pulumi.Output; /** * Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. */ readonly preferenceSetId: pulumi.Output; readonly project: pulumi.Output; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * The timestamp when the preference set was last updated. */ readonly updateTime: pulumi.Output; /** * A set of preferences that applies to all virtual machines in the context. */ readonly virtualMachinePreferences: pulumi.Output; /** * Create a PreferenceSet 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: PreferenceSetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PreferenceSet resource. */ export interface PreferenceSetArgs { /** * A description of the preference set. */ description?: pulumi.Input; /** * User-friendly display name. Maximum length is 63 characters. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. */ preferenceSetId: pulumi.Input; project?: pulumi.Input; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * A set of preferences that applies to all virtual machines in the context. */ virtualMachinePreferences?: pulumi.Input; }