@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Implements AvailabilitySet GET method.
*
* Uses Azure REST API version 2023-04-01-preview.
*
* Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01, 2025-03-13. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native scvmm [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAvailabilitySet(args: GetAvailabilitySetArgs, opts?: pulumi.InvokeOptions): Promise<GetAvailabilitySetResult>;
export interface GetAvailabilitySetArgs {
/**
* Name of the AvailabilitySet.
*/
availabilitySetName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* The AvailabilitySets resource definition.
*/
export interface GetAvailabilitySetResult {
/**
* Name of the availability set.
*/
readonly availabilitySetName?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The extended location.
*/
readonly extendedLocation?: outputs.scvmm.ExtendedLocationResponse;
/**
* Resource Id
*/
readonly id: string;
/**
* Gets or sets the location.
*/
readonly location?: string;
/**
* Resource Name
*/
readonly name: string;
/**
* Gets or sets the provisioning state.
*/
readonly provisioningState: string;
/**
* The system data.
*/
readonly systemData: outputs.scvmm.SystemDataResponse;
/**
* Resource tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource Type
*/
readonly type: string;
/**
* ARM Id of the vmmServer resource in which this resource resides.
*/
readonly vmmServerId?: string;
}
/**
* Implements AvailabilitySet GET method.
*
* Uses Azure REST API version 2023-04-01-preview.
*
* Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01, 2025-03-13. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native scvmm [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAvailabilitySetOutput(args: GetAvailabilitySetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAvailabilitySetResult>;
export interface GetAvailabilitySetOutputArgs {
/**
* Name of the AvailabilitySet.
*/
availabilitySetName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}