Share via


ServiceUnitsOperationsExtensions.DeleteAsync Method

Definition

Deletes the service unit.

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

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