다음을 통해 공유


ServiceUnitsOperationsExtensions.GetAsync Method

Definition

Gets the service unit.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource> GetAsync (this Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations operations, string resourceGroupName, string serviceTopologyName, string serviceName, string serviceUnitName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource>
<Extension()>
Public Function GetAsync (operations As IServiceUnitsOperations, resourceGroupName As String, serviceTopologyName As String, serviceName As String, serviceUnitName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceUnitResource)

Parameters

operations
IServiceUnitsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serviceTopologyName
String

The name of the service topology .

serviceName
String

The name of the service resource.

serviceUnitName
String

The name of the service unit resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to