IWebAppsOperations.ListUsagesSlotWithHttpMessagesAsync 메서드

정의

앱의 할당량 사용량 정보(또는 지정된 경우 배포 슬롯)를 가져옵니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.CsmUsageQuota>>> ListUsagesSlotWithHttpMessagesAsync (string resourceGroupName, string name, string slot, string filter = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListUsagesSlotWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.CsmUsageQuota>>>
Public Function ListUsagesSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, slot As String, Optional filter As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of CsmUsageQuota)))

매개 변수

resourceGroupName
String

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

name
String

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

slot
String

배포 슬롯의 이름입니다. 슬롯을 지정하지 않으면 API는 프로덕션 슬롯의 할당량 정보를 가져옵니다.

filter
String

필터에 지정된 정보만 반환합니다(OData 구문 사용). 예: $filter=(name.value eq 'Metric1' 또는 name.value eq 'Metric2') 및 startTime eq 2014-01-01T00:00:00Z 및 endTime eq 2014-12-31T23:59:59Z 및 timeGrain eq duration'[Hour| Minute| 일]'.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

응답을 역직렬화할 수 없을 때 throw됨

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

설명

설명 앱의 할당량 사용량 정보(또는 지정된 경우 배포 슬롯)를 가져옵니다.

적용 대상