@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.86 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Implements vCenter GET method.
*
* Uses Azure REST API version 2023-12-01.
*
* Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native connectedvmwarevsphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getVCenter(args: GetVCenterArgs, opts?: pulumi.InvokeOptions): Promise<GetVCenterResult>;
export interface GetVCenterArgs {
/**
* The Resource Group Name.
*/
resourceGroupName: string;
/**
* Name of the vCenter.
*/
vcenterName: string;
}
/**
* Defines the vCenter.
*/
export interface GetVCenterResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the connection status to the vCenter.
*/
readonly connectionStatus: string;
/**
* Username / Password Credentials to connect to vcenter.
*/
readonly credentials?: outputs.connectedvmwarevsphere.VICredentialResponse;
/**
* Gets the name of the corresponding resource in Kubernetes.
*/
readonly customResourceName: string;
/**
* Gets or sets the extended location.
*/
readonly extendedLocation?: outputs.connectedvmwarevsphere.ExtendedLocationResponse;
/**
* Gets or sets the FQDN/IPAddress of the vCenter.
*/
readonly fqdn: string;
/**
* Gets or sets the Id.
*/
readonly id: string;
/**
* Gets or sets the instance UUID of the vCenter.
*/
readonly instanceUuid: string;
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*/
readonly kind?: string;
/**
* Gets or sets the location.
*/
readonly location: string;
/**
* Gets or sets the name.
*/
readonly name: string;
/**
* Gets or sets the port of the vCenter.
*/
readonly port?: number;
/**
* Gets the provisioning state.
*/
readonly provisioningState: string;
/**
* The resource status information.
*/
readonly statuses: outputs.connectedvmwarevsphere.ResourceStatusResponse[];
/**
* The system data.
*/
readonly systemData: outputs.connectedvmwarevsphere.SystemDataResponse;
/**
* Gets or sets the Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Gets or sets the type of the resource.
*/
readonly type: string;
/**
* Gets or sets a unique identifier for this resource.
*/
readonly uuid: string;
/**
* Gets or sets the version of the vCenter.
*/
readonly version: string;
}
/**
* Implements vCenter GET method.
*
* Uses Azure REST API version 2023-12-01.
*
* Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native connectedvmwarevsphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getVCenterOutput(args: GetVCenterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVCenterResult>;
export interface GetVCenterOutputArgs {
/**
* The Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the vCenter.
*/
vcenterName: pulumi.Input<string>;
}