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 fabric computes. * * **Fabric compute data source by Id:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.fabric.getCompute({ * id: _var.fabric_compute_id, * }); * ``` * * **Fabric compute data source by filter query:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * // Lookup fabric compute using its name * const thisCompute = pulumi.output(vra.fabric.getCompute({ * filter: `name eq '${var_fabric_compute_name}'`, * })); * ``` * * A fabric compute data source supports the following arguments: */ export declare function getCompute(args?: GetComputeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCompute. */ export interface GetComputeArgs { /** * Search criteria to narrow down the fabric compute resource instance. Only one of 'id' or 'filter' must be specified. */ filter?: string; /** * The id of the fabric compute 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.GetComputeTag[]; } /** * A collection of values returned by getCompute. */ export interface GetComputeResult { /** * Date when the entity was created. The date is in ISO 8601 and UTC. */ readonly createdAt: string; /** * A list of key value pair of custom properties for the fabric compute resource. */ readonly customProperties: { [key: string]: any; }; /** * A human-friendly description. */ readonly description: string; /** * The id of the external entity on the provider side. */ readonly externalId: string; /** * The external region id of the fabric compute. */ readonly externalRegionId: string; /** * The external zone id of the fabric compute. */ readonly externalZoneId: string; readonly filter?: string; readonly id: string; /** * Lifecycle status of the compute instance. */ readonly lifecycleState: string; /** * HATEOAS of the entity. */ readonly links: outputs.fabric.GetComputeLink[]; /** * A human-friendly name used as an identifier for the fabric compute 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; /** * Power state of fabric compute instance. */ readonly powerState: string; /** * A set of tag keys and optional values that were set on this resource: */ readonly tags: outputs.fabric.GetComputeTag[]; /** * Type of the fabric compute instance. */ readonly type: string; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getComputeOutput(args?: GetComputeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getCompute. */ export interface GetComputeOutputArgs { /** * Search criteria to narrow down the fabric compute resource instance. Only one of 'id' or 'filter' must be specified. */ filter?: pulumi.Input; /** * The id of the fabric compute 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[]>; }