import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The `vsphere.getHostVgpuProfile` data source can be used to discover the * available vGPU profiles of a vSphere host. * * ## Example Usage * * ### To Return All VGPU Profiles * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const datacenter = vsphere.getDatacenter({ * name: "dc-01", * }); * const host = datacenter.then(datacenter => vsphere.getHost({ * name: "esxi-01.example.com", * datacenterId: datacenter.id, * })); * const vgpuProfile = host.then(host => vsphere.getHostVgpuProfile({ * hostId: host.id, * })); * ``` * * ### With VGPU Profile Name_regex * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const datacenter = vsphere.getDatacenter({ * name: "dc-01", * }); * const host = datacenter.then(datacenter => vsphere.getHost({ * name: "esxi-01.example.com", * datacenterId: datacenter.id, * })); * const vgpuProfile = host.then(host => vsphere.getHostVgpuProfile({ * hostId: host.id, * nameRegex: "a100", * })); * ``` */ export declare function getHostVgpuProfile(args: GetHostVgpuProfileArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostVgpuProfile. */ export interface GetHostVgpuProfileArgs { /** * The [managed object reference ID][docs-about-morefs] of * a host. */ hostId: string; /** * A regular expression that will be used to match the * host vGPU profile name. * * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider */ nameRegex?: string; } /** * A collection of values returned by getHostVgpuProfile. */ export interface GetHostVgpuProfileResult { /** * The [managed objectID][docs-about-morefs] of the ESXi host. */ readonly hostId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Optional) A regular expression that will be used to match the * host vGPU profile name. */ readonly nameRegex?: string; /** * The list of available vGPU profiles on the ESXi host. * This may be and empty array if no vGPU profile are identified. */ readonly vgpuProfiles: outputs.GetHostVgpuProfileVgpuProfile[]; } /** * The `vsphere.getHostVgpuProfile` data source can be used to discover the * available vGPU profiles of a vSphere host. * * ## Example Usage * * ### To Return All VGPU Profiles * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const datacenter = vsphere.getDatacenter({ * name: "dc-01", * }); * const host = datacenter.then(datacenter => vsphere.getHost({ * name: "esxi-01.example.com", * datacenterId: datacenter.id, * })); * const vgpuProfile = host.then(host => vsphere.getHostVgpuProfile({ * hostId: host.id, * })); * ``` * * ### With VGPU Profile Name_regex * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const datacenter = vsphere.getDatacenter({ * name: "dc-01", * }); * const host = datacenter.then(datacenter => vsphere.getHost({ * name: "esxi-01.example.com", * datacenterId: datacenter.id, * })); * const vgpuProfile = host.then(host => vsphere.getHostVgpuProfile({ * hostId: host.id, * nameRegex: "a100", * })); * ``` */ export declare function getHostVgpuProfileOutput(args: GetHostVgpuProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostVgpuProfile. */ export interface GetHostVgpuProfileOutputArgs { /** * The [managed object reference ID][docs-about-morefs] of * a host. */ hostId: pulumi.Input; /** * A regular expression that will be used to match the * host vGPU profile name. * * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider */ nameRegex?: pulumi.Input; }