DedicatedHostsOperations.GetAsync(String, String, String, CancellationToken) Method

Definition

Retrieves information about a dedicated host.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.Models.DedicatedHost>> GetAsync (string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.Models.DedicatedHost>>
override this.GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.Models.DedicatedHost>>
Public Overridable Function GetAsync (resourceGroupName As String, hostGroupName As String, hostName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DedicatedHost))

Parameters

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

hostName
String

The name of the dedicated host.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Task<Response<DedicatedHost>>

Applies to