import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * ## Example Usage * ### S * This is an example of how to lookup fabric vSphere storage policies. * * **Fabric vSphere storage policy by Id:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.fabric.getStoragePolicyVSphere({ * id: _var.fabric_storage_policy_vsphere_id, * }); * ``` * * **Fabric vSphere storage policy by filter query:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * // Lookup fabric vSphere storage policy using its name * const thisStoragePolicyVSphere = pulumi.output(vra.fabric.getStoragePolicyVSphere({ * filter: `name eq '${var_name}'`, * })); * ``` * * A fabric vSphere storage policy supports the following arguments: */ export declare function getStoragePolicyVSphere(args?: GetStoragePolicyVSphereArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStoragePolicyVSphere. */ export interface GetStoragePolicyVSphereArgs { /** * Search criteria to narrow down the fabric vSphere storage policy. Only one of 'filter' or 'id' must be specified. */ filter?: string; /** * The id of the fabric vSphere storage policy. Only one of 'filter' or 'id' must be specified. */ id?: string; } /** * A collection of values returned by getStoragePolicyVSphere. */ export interface GetStoragePolicyVSphereResult { /** * Set of ids of the cloud accounts this entity belongs to. */ readonly cloudAccountIds: string[]; /** * Date when the entity was created. The date is in ISO 6801 and UTC. */ readonly createdAt: string; /** * External entity Id on the provider side. */ readonly externalId: string; /** * The id of the region for which this entity is defined. */ readonly externalRegionId: string; readonly filter?: string; readonly id: string; /** * HATEOAS of the entity */ readonly links: outputs.fabric.GetStoragePolicyVSphereLink[]; /** * A human-friendly name used as an identifier in APIs that support this option. Only one of 'filter', 'id', 'name' or 'region_id' must be specified. */ readonly name: string; /** * The id of the organization this entity belongs to. */ readonly orgId: string; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getStoragePolicyVSphereOutput(args?: GetStoragePolicyVSphereOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getStoragePolicyVSphere. */ export interface GetStoragePolicyVSphereOutputArgs { /** * Search criteria to narrow down the fabric vSphere storage policy. Only one of 'filter' or 'id' must be specified. */ filter?: pulumi.Input; /** * The id of the fabric vSphere storage policy. Only one of 'filter' or 'id' must be specified. */ id?: pulumi.Input; }