import * as pulumi from "@pulumi/pulumi"; /** * The `vsphere.getPolicy` data source can be used to discover the UUID of a * storage policy. This can then be used with other resources or data sources that * use a storage policy. * * > **NOTE:** Storage policies are not supported on direct ESXi hosts and * requires vCenter Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const prodPlatinumReplicated = vsphere.getPolicy({ * name: "prod_platinum_replicated", * }); * const devSilverNonreplicated = vsphere.getPolicy({ * name: "dev_silver_nonreplicated", * }); * ``` */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPolicy. */ export interface GetPolicyArgs { /** * The name of the storage policy. */ name: string; } /** * A collection of values returned by getPolicy. */ export interface GetPolicyResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; } /** * The `vsphere.getPolicy` data source can be used to discover the UUID of a * storage policy. This can then be used with other resources or data sources that * use a storage policy. * * > **NOTE:** Storage policies are not supported on direct ESXi hosts and * requires vCenter Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const prodPlatinumReplicated = vsphere.getPolicy({ * name: "prod_platinum_replicated", * }); * const devSilverNonreplicated = vsphere.getPolicy({ * name: "dev_silver_nonreplicated", * }); * ``` */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPolicy. */ export interface GetPolicyOutputArgs { /** * The name of the storage policy. */ name: pulumi.Input; }