IWebAppsOperations.DeleteWithHttpMessagesAsync 메서드

정의

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync (string resourceGroupName, string name, 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 DeleteWithHttpMessagesAsync : 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 DeleteWithHttpMessagesAsync (resourceGroupName As String, name 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

삭제할 앱의 이름입니다.

deleteMetrics
Nullable<Boolean>

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

deleteEmptyServerFarm
Nullable<Boolean>

빈 App Service 계획을 유지하려면 false를 지정합니다. 기본적으로 빈 App Service 계획이 삭제됩니다.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

설명

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

적용 대상