import * as pulumi from "@pulumi/pulumi"; /** * The `vsphere.VappContainer` data source can be used to discover the ID of a * vApp container in vSphere. This is useful to return the ID of a vApp container * that you want to use to create virtual machines in using the * [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource. * * [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const datacenter = vsphere.getDatacenter({ * name: "dc-01", * }); * const pool = datacenter.then(datacenter => vsphere.getVappContainer({ * name: "vapp-container-01", * datacenterId: datacenter.id, * })); * ``` */ export declare function getVappContainer(args: GetVappContainerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVappContainer. */ export interface GetVappContainerArgs { /** * The * [managed object reference ID][docs-about-morefs] of the datacenter in which * the vApp container is located. * * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider */ datacenterId: string; /** * The name of the vApp container. This can be a name or * path. */ name: string; } /** * A collection of values returned by getVappContainer. */ export interface GetVappContainerResult { readonly datacenterId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; } /** * The `vsphere.VappContainer` data source can be used to discover the ID of a * vApp container in vSphere. This is useful to return the ID of a vApp container * that you want to use to create virtual machines in using the * [`vsphere.VirtualMachine`][docs-virtual-machine-resource] resource. * * [docs-virtual-machine-resource]: /docs/providers/vsphere/r/virtual_machine.html * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const datacenter = vsphere.getDatacenter({ * name: "dc-01", * }); * const pool = datacenter.then(datacenter => vsphere.getVappContainer({ * name: "vapp-container-01", * datacenterId: datacenter.id, * })); * ``` */ export declare function getVappContainerOutput(args: GetVappContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVappContainer. */ export interface GetVappContainerOutputArgs { /** * The * [managed object reference ID][docs-about-morefs] of the datacenter in which * the vApp container is located. * * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider */ datacenterId: pulumi.Input; /** * The name of the vApp container. This can be a name or * path. */ name: pulumi.Input; }