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 read a zone data source. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const test-zone = vra.zone.getZone({ * name: _var.zone_name, * }); * ``` * * A zone data source supports the following arguments: */ export declare function getZone(args?: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZone. */ export interface GetZoneArgs { /** * The id of the zone resource instance. */ id?: string; /** * A human-friendly name used as an identifier for the zone resource instance. */ name?: string; /** * A set of tag keys and optional values that were set on this resource: */ tags?: inputs.zone.GetZoneTag[]; /** * A set of tag keys and optional values for compute resource filtering: */ tagsToMatches?: inputs.zone.GetZoneTagsToMatch[]; } /** * A collection of values returned by getZone. */ export interface GetZoneResult { /** * The ID of the cloud account this zone belongs to. */ readonly cloudAccountId: string; /** * The ids of the compute resources that has been explicitly assigned to this zone. */ readonly computeIds: string[]; /** * Date when the entity was created. The date is in ISO 8601 and UTC. */ readonly createdAt: string; /** * A list of key value pair of properties that will be used. */ readonly customProperties: { [key: string]: any; }; /** * A human-friendly description. */ readonly description: string; /** * The id of the region for which this zone is defined. */ readonly externalRegionId: string; /** * The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones). */ readonly folder: string; readonly id: string; /** * HATEOAS of the entity. */ readonly links: outputs.zone.GetZoneLink[]; 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; /** * The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`. */ readonly placementPolicy: string; /** * A set of tag keys and optional values that were set on this resource: */ readonly tags: outputs.zone.GetZoneTag[]; /** * A set of tag keys and optional values for compute resource filtering: */ readonly tagsToMatches: outputs.zone.GetZoneTagsToMatch[]; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getZoneOutput(args?: GetZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getZone. */ export interface GetZoneOutputArgs { /** * The id of the zone resource instance. */ id?: pulumi.Input; /** * A human-friendly name used as an identifier for the zone resource instance. */ name?: pulumi.Input; /** * A set of tag keys and optional values that were set on this resource: */ tags?: pulumi.Input[]>; /** * A set of tag keys and optional values for compute resource filtering: */ tagsToMatches?: pulumi.Input[]>; }