import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * ## Example Usage * ### S * This is an example of how to lookup vSphere fabric datastores. * * **vSphere fabric datastore data source by Id:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.fabric.getDatastoreVSphere({ * id: _var.fabric_datastore_vsphere_id, * }); * ``` * * **vSphere fabric datastore data source by filter query:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * // Lookup vSphere fabric datastore using its name * const thisDatastoreVSphere = pulumi.output(vra.fabric.getDatastoreVSphere({ * filter: `name eq '${var_datastore_name}'`, * })); * ``` * * A vSphere fabric datastore data source supports the following arguments: */ export declare function getDatastoreVSphere(args?: GetDatastoreVSphereArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatastoreVSphere. */ export interface GetDatastoreVSphereArgs { /** * Search criteria to narrow down the vSphere fabric datastore resource instance. Only one of 'id' or 'filter' must be specified. */ filter?: string; /** * The id of the vSphere fabric datastore resource instance. Only one of 'id' or 'filter' must be specified. */ id?: string; /** * A set of tag keys and optional values that were set on this resource: */ tags?: inputs.fabric.GetDatastoreVSphereTag[]; } /** * A collection of values returned by getDatastoreVSphere. */ export interface GetDatastoreVSphereResult { /** * 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 8601 and UTC. */ readonly createdAt: string; /** * A human-friendly description. */ readonly description: string; /** * External entity Id on the provider side. */ readonly externalId: string; /** * Id of datacenter in which the datastore is present. */ readonly externalRegionId: string; readonly filter?: string; /** * Indicates free size available in datastore. */ readonly freeSizeGb: string; readonly id: string; /** * HATEOAS of the entity */ readonly links: outputs.fabric.GetDatastoreVSphereLink[]; /** * A human-friendly name used as an identifier for the vSphere fabric datastore resource instance. */ readonly name: string; /** * The id of the organization this entity belongs to. */ readonly orgId: string; /** * Email of the user that owns the entity. */ readonly owner: string; /** * A set of tag keys and optional values that were set on this resource: */ readonly tags: outputs.fabric.GetDatastoreVSphereTag[]; /** * Type of datastore. */ readonly type: string; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getDatastoreVSphereOutput(args?: GetDatastoreVSphereOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getDatastoreVSphere. */ export interface GetDatastoreVSphereOutputArgs { /** * Search criteria to narrow down the vSphere fabric datastore resource instance. Only one of 'id' or 'filter' must be specified. */ filter?: pulumi.Input; /** * The id of the vSphere fabric datastore resource instance. Only one of 'id' or 'filter' must be specified. */ id?: pulumi.Input; /** * A set of tag keys and optional values that were set on this resource: */ tags?: pulumi.Input[]>; }