다음을 통해 공유


WebAppsOperationsExtensions.RestartSlotAsync 메서드

정의

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

public static System.Threading.Tasks.Task RestartSlotAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string slot, bool? softRestart = default, bool? synchronous = default, System.Threading.CancellationToken cancellationToken = default);
static member RestartSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RestartSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot 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

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

slot
String

배포 슬롯의 이름입니다. 슬롯을 지정하지 않으면 API가 프로덕션 슬롯을 다시 시작합니다.

softRestart
Nullable<Boolean>

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

synchronous
Nullable<Boolean>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

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

적용 대상