getAvailabilitySet

Retrieves information about an availability set. Azure REST API version: 2023-03-01. Other available API versions: 2016-04-30-preview, 2023-07-01.

Return

Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Availability sets overview. For more information on Azure planned maintenance, see Maintenance and updates for Virtual Machines in Azure. Currently, a VM can only be added to an availability set at creation time. An existing VM cannot be added to an availability set.

Parameters

argument

null


suspend fun getAvailabilitySet(availabilitySetName: String, resourceGroupName: String): GetAvailabilitySetResult

Return

Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Availability sets overview. For more information on Azure planned maintenance, see Maintenance and updates for Virtual Machines in Azure. Currently, a VM can only be added to an availability set at creation time. An existing VM cannot be added to an availability set.

See also

Parameters

availabilitySetName

The name of the availability set.

resourceGroupName

The name of the resource group.


Return

Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Availability sets overview. For more information on Azure planned maintenance, see Maintenance and updates for Virtual Machines in Azure. Currently, a VM can only be added to an availability set at creation time. An existing VM cannot be added to an availability set.

See also

Parameters

argument

Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetAvailabilitySetPlainArgs.