getDedicatedHostGroup

Retrieves information about a dedicated host group. Uses Azure REST API version 2024-11-01. Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native compute [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Specifies information about the dedicated host group that the dedicated hosts should be assigned to. Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.

Parameters

argument

null


suspend fun getDedicatedHostGroup(expand: String? = null, hostGroupName: String, resourceGroupName: String): GetDedicatedHostGroupResult

Return

Specifies information about the dedicated host group that the dedicated hosts should be assigned to. Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.

Parameters

expand

The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated hosts under the dedicated host group. 'UserData' is not supported for dedicated host group.

hostGroupName

The name of the dedicated host group.

resourceGroupName

The name of the resource group.

See also


Return

Specifies information about the dedicated host group that the dedicated hosts should be assigned to. Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.

Parameters

argument

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

See also