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 Network domain objects. * * **Network Domain by filter query:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * // Lookup network domain using its name * const thisDomain = pulumi.output(vra.network.getDomain({ * filter: `name eq '${var_name}'`, * })); * ``` * * A network domain object supports the following arguments: */ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomain. */ export interface GetDomainArgs { /** * Search criteria to narrow down the network domain objects. */ filter: string; /** * Set of tag keys and values to apply to the resource. * Example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: inputs.network.GetDomainTag[]; } /** * A collection of values returned by getDomain. */ export interface GetDomainResult { readonly cidr: string; /** * 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; readonly customProperties: { [key: string]: any; }; /** * A human-friendly description of the fabric vSphere storage account. */ readonly description: 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; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * HATEOAS of the entity */ readonly links: outputs.network.GetDomainLink[]; /** * Name of the network domain. */ readonly name: string; readonly organizationId: string; /** * Email of the user that owns the entity. */ readonly owner: string; /** * Set of tag keys and values to apply to the resource. * Example:[ { "key" : "vmware", "value": "provider" } ] */ readonly tags: outputs.network.GetDomainTag[]; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getDomain. */ export interface GetDomainOutputArgs { /** * Search criteria to narrow down the network domain objects. */ filter: pulumi.Input; /** * Set of tag keys and values to apply to the resource. * Example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: pulumi.Input[]>; }