Udostępnij za pośrednictwem


DeploymentsOperationsExtensions.BeginRestartAsync Method

Definition

Restart the deployment.

public static System.Threading.Tasks.Task BeginRestartAsync (this Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations operations, string resourceGroupName, string serviceName, string appName, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member BeginRestartAsync : Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginRestartAsync (operations As IDeploymentsOperations, resourceGroupName As String, serviceName As String, appName As String, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

appName
String

The name of the App resource.

deploymentName
String

The name of the Deployment resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to