@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Method to get a Hyper-V cluster.
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-01-preview, 2024-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native offazure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getHypervClusterControllerCluster(args: GetHypervClusterControllerClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetHypervClusterControllerClusterResult>;
export interface GetHypervClusterControllerClusterArgs {
/**
* Cluster ARM name
*/
clusterName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Site name
*/
siteName: string;
}
/**
* A cluster resource belonging to a site resource.
*/
export interface GetHypervClusterControllerClusterResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets the timestamp marking Hyper-V cluster creation.
*/
readonly createdTimestamp: string;
/**
* Gets the errors.
*/
readonly errors: outputs.offazure.HealthErrorDetailsResponse[];
/**
* Gets or sets the FQDN/IPAddress of the Hyper-V cluster.
*/
readonly fqdn?: string;
/**
* Gets the functional level of the Hyper-V cluster.
*/
readonly functionalLevel: number;
/**
* Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
*/
readonly hostFqdnList?: string[];
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The status of the last operation.
*/
readonly provisioningState?: string;
/**
* Gets or sets Run as account ID of the Hyper-V cluster.
*/
readonly runAsAccountId?: string;
/**
* Gets the status of the Hyper-V cluster.
*/
readonly status: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.offazure.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Gets the timestamp marking last updated on the Hyper-V cluster.
*/
readonly updatedTimestamp: string;
}
/**
* Method to get a Hyper-V cluster.
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-01-preview, 2024-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native offazure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getHypervClusterControllerClusterOutput(args: GetHypervClusterControllerClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHypervClusterControllerClusterResult>;
export interface GetHypervClusterControllerClusterOutputArgs {
/**
* Cluster ARM name
*/
clusterName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Site name
*/
siteName: pulumi.Input<string>;
}