다음을 통해 공유


WebAppsOperationsExtensions.RestartAsync 메서드

정의

앱(또는 지정된 경우 배포 슬롯)을 다시 시작합니다.

public static System.Threading.Tasks.Task RestartAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, bool? softRestart = default, bool? synchronous = default, System.Threading.CancellationToken cancellationToken = default);
static member RestartAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RestartAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, Optional softRestart As Nullable(Of Boolean) = Nothing, Optional synchronous As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

매개 변수

operations
IWebAppsOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

리소스가 속한 리소스 그룹의 이름입니다.

name
String

응용 프로그램의 이름입니다.

softRestart
Nullable<Boolean>

구성 설정을 적용하려면 true를 지정하고 필요한 경우에만 앱을 다시 시작합니다. 기본적으로 API는 항상 앱을 다시 시작하고 다시 프로비전합니다.

synchronous
Nullable<Boolean>

앱을 다시 시작할 때까지 차단하려면 true를 지정합니다. 기본적으로 false로 설정되고 API는 즉시 응답합니다(비동기).

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

앱 다시 시작(또는 지정된 경우 배포 슬롯)에 대한 설명입니다.

적용 대상