IWebAppsOperations.DeleteSlotWithHttpMessagesAsync 메서드

정의

웹, 모바일 또는 API 앱 또는 배포 슬롯 중 하나를 삭제합니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteSlotWithHttpMessagesAsync (string resourceGroupName, string name, string slot, bool? deleteMetrics = default, bool? deleteEmptyServerFarm = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteSlotWithHttpMessagesAsync : string * string * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function DeleteSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, slot As String, Optional deleteMetrics As Nullable(Of Boolean) = Nothing, Optional deleteEmptyServerFarm As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

매개 변수

resourceGroupName
String

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

name
String

삭제할 앱의 이름입니다.

slot
String

삭제할 배포 슬롯의 이름입니다. 기본적으로 API는 프로덕션 슬롯을 삭제합니다.

deleteMetrics
Nullable<Boolean>

true이면 웹앱 메트릭도 삭제됩니다.

deleteEmptyServerFarm
Nullable<Boolean>

앱 삭제 후 App Service 계획이 비어 있고 빈 App Service 계획을 삭제하려면 true를 지정합니다. 기본적으로 빈 App Service 계획은 삭제되지 않습니다.

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

작업이 잘못된 상태 코드를 반환할 때 throw됨

필수 매개 변수가 null일 때 throw됨

설명

웹, 모바일 또는 API 앱 또는 배포 슬롯 중 하나를 삭제하는 것에 대한 설명입니다.

적용 대상