import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a datasource to Fetch the configuration details of the existing Storage Policy identified by the {policyExtId}. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const get_storage_policy = nutanix.getStoragePolicyV2({ * extId: "1891fd3a-1ef7-4947-af56-9ee4b973c6fd", * }); * ``` * */ export declare function getStoragePolicyV2(args: GetStoragePolicyV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStoragePolicyV2. */ export interface GetStoragePolicyV2Args { /** * The external identifier of the Storage Policy. */ extId: string; } /** * A collection of values returned by getStoragePolicyV2. */ export interface GetStoragePolicyV2Result { /** * - List of external identifiers for Categories included in the Storage Policy. */ readonly categoryExtIds: string[]; /** * - Compression parameters for entities governed by the Storage Policy. */ readonly compressionSpecs: outputs.GetStoragePolicyV2CompressionSpec[]; /** * - Encryption parameters for entities governed by the Storage Policy. */ readonly encryptionSpecs: outputs.GetStoragePolicyV2EncryptionSpec[]; /** * - External identifier of the Storage Policy. */ readonly extId: string; /** * - Fault Tolerance parameters for the entities. */ readonly faultToleranceSpecs: outputs.GetStoragePolicyV2FaultToleranceSpec[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ readonly links: outputs.GetStoragePolicyV2Link[]; /** * - Storage Policy name. */ readonly name: string; /** * - Indicates whether the policy is user-created or system-created. Valid values: `"USER"`, `"SYSTEM"`. */ readonly policyType: string; /** * - Storage Quality of Service (QOS) parameters for the entities. */ readonly qosSpecs: outputs.GetStoragePolicyV2QosSpec[]; /** * - A globally unique identifier that represents the tenant that owns this entity. */ readonly tenantId: string; } /** * Provides a datasource to Fetch the configuration details of the existing Storage Policy identified by the {policyExtId}. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const get_storage_policy = nutanix.getStoragePolicyV2({ * extId: "1891fd3a-1ef7-4947-af56-9ee4b973c6fd", * }); * ``` * */ export declare function getStoragePolicyV2Output(args: GetStoragePolicyV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStoragePolicyV2. */ export interface GetStoragePolicyV2OutputArgs { /** * The external identifier of the Storage Policy. */ extId: pulumi.Input; } //# sourceMappingURL=getStoragePolicyV2.d.ts.map