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 networks. * * **Fabric network by filter query:** * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * // Lookup vRA fabric network using its name and regionId * const thisNetwork = pulumi.output(vra.fabric.getNetwork({ * filter: `name eq '${var_name}' and externalRegionId eq '${var_external_region_id}'`, * })); * ``` * * A fabric network data source supports the following arguments: */ export declare function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNetwork. */ export interface GetNetworkArgs { /** * Filter query string that is supported by vRA multi-cloud IaaS API. */ filter: string; /** * Set of tag keys and values to apply to the resource. * Example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: inputs.fabric.GetNetworkTag[]; } /** * A collection of values returned by getNetwork. */ export interface GetNetworkResult { /** * Network CIDR to be used. */ 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; /** * Additional properties that may be used to extend the base resource. */ readonly customProperties: { [key: string]: any; }; /** * State object representing a network on a external cloud provider. */ readonly description: string; /** * External entity Id on the provider side. */ readonly externalId: string; /** * The id of the region for which this network is defined. */ readonly externalRegionId: string; readonly filter: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether this is the default subnet for the zone. */ readonly isDefault: boolean; /** * Indicates whether the sub-network supports public IP assignment. */ readonly isPublic: boolean; /** * HATEOAS of the entity */ readonly links: outputs.fabric.GetNetworkLink[]; /** * Name of the fabric network. */ readonly name: string; /** * ID of organization that entity belongs to. */ 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.fabric.GetNetworkTag[]; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getNetwork. */ export interface GetNetworkOutputArgs { /** * Filter query string that is supported by vRA multi-cloud IaaS API. */ filter: pulumi.Input; /** * Set of tag keys and values to apply to the resource. * Example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: pulumi.Input[]>; }