@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a HypervSite
*
* 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 getHypervSitesController(args: GetHypervSitesControllerArgs, opts?: pulumi.InvokeOptions): Promise<GetHypervSitesControllerResult>;
export interface GetHypervSitesControllerArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Site name
*/
siteName: string;
}
/**
* A HyperV SiteResource
*/
export interface GetHypervSitesControllerResult {
/**
* Gets or sets the on-premises agent details.
*/
readonly agentDetails?: outputs.offazure.SiteAgentPropertiesResponse;
/**
* Gets or sets the Appliance Name.
*/
readonly applianceName?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the ARM ID of migration hub solution for SDS.
*/
readonly discoverySolutionId?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Gets the Master Site this site is linked to.
*/
readonly masterSiteId: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The status of the last operation.
*/
readonly provisioningState?: string;
/**
* Gets the service endpoint.
*/
readonly serviceEndpoint: string;
/**
* Gets or sets the service principal identity details used by agent for
* communication
* to the service.
*/
readonly servicePrincipalIdentityDetails?: outputs.offazure.SiteSpnPropertiesResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.offazure.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a HypervSite
*
* 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 getHypervSitesControllerOutput(args: GetHypervSitesControllerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHypervSitesControllerResult>;
export interface GetHypervSitesControllerOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Site name
*/
siteName: pulumi.Input<string>;
}