@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a HypervHost
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-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 getHypervHostController(args: GetHypervHostControllerArgs, opts?: pulumi.InvokeOptions): Promise<GetHypervHostControllerResult>;
export interface GetHypervHostControllerArgs {
/**
* Host name
*/
hostName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Site name
*/
siteName: string;
}
/**
* A host resource belonging to a site resource.
*/
export interface GetHypervHostControllerResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets the timestamp marking Hyper-V host creation.
*/
readonly createdTimestamp: string;
/**
* Gets the errors.
*/
readonly errors: outputs.offazure.HealthErrorDetailsResponse[];
/**
* Gets or sets the FQDN/IPAddress of the Hyper-V host.
*/
readonly fqdn?: 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 the run as account ID of the Hyper-V host.
*/
readonly runAsAccountId?: 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 host.
*/
readonly updatedTimestamp: string;
/**
* Gets the version of the Hyper-V host.
*/
readonly version: string;
}
/**
* Get a HypervHost
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-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 getHypervHostControllerOutput(args: GetHypervHostControllerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHypervHostControllerResult>;
export interface GetHypervHostControllerOutputArgs {
/**
* Host name
*/
hostName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Site name
*/
siteName: pulumi.Input<string>;
}