import * as pulumi from "@pulumi/pulumi"; /** * The `vsphere.CustomAttribute` data source can be used to reference custom * attributes that are not managed by this provider. Its attributes are exactly the * same as the `vsphere.CustomAttribute` resource, * and, like importing, the data source takes a name argument for the search. The * `id` and other attributes are then populated with the data found by the search. * * > **NOTE:** Custom attributes are unsupported on direct ESXi host connections * and require vCenter Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const attribute = vsphere.getCustomAttribute({ * name: "test-attribute", * }); * ``` */ export declare function getCustomAttribute(args: GetCustomAttributeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCustomAttribute. */ export interface GetCustomAttributeArgs { /** * The name of the custom attribute. */ name: string; } /** * A collection of values returned by getCustomAttribute. */ export interface GetCustomAttributeResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly managedObjectType: string; readonly name: string; } /** * The `vsphere.CustomAttribute` data source can be used to reference custom * attributes that are not managed by this provider. Its attributes are exactly the * same as the `vsphere.CustomAttribute` resource, * and, like importing, the data source takes a name argument for the search. The * `id` and other attributes are then populated with the data found by the search. * * > **NOTE:** Custom attributes are unsupported on direct ESXi host connections * and require vCenter Server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const attribute = vsphere.getCustomAttribute({ * name: "test-attribute", * }); * ``` */ export declare function getCustomAttributeOutput(args: GetCustomAttributeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCustomAttribute. */ export interface GetCustomAttributeOutputArgs { /** * The name of the custom attribute. */ name: pulumi.Input; }