다음을 통해 공유


ReservationDetailResource.GetAvailableScopesAsync 메서드

정의

요청의 범위가 에 유효한지 확인합니다 Reservation.

  • 요청 경로/공급자/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/availableScopes
  • 작업 IdReservation_AvailableScopes
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.Models.AvailableScopesProperties>> GetAvailableScopesAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Reservations.Models.AvailableScopesContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableScopesAsync : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.AvailableScopesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.Models.AvailableScopesProperties>>
override this.GetAvailableScopesAsync : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.AvailableScopesContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Reservations.Models.AvailableScopesProperties>>
Public Overridable Function GetAvailableScopesAsync (waitUntil As WaitUntil, content As AvailableScopesContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AvailableScopesProperties))

매개 변수

waitUntil
WaitUntil

Completed 메서드가 서비스에서 장기 실행 작업이 완료될 때까지 반환될 때까지 기다려야 하면 이고, Started 작업을 시작한 후 를 반환해야 하는 경우 입니다. 장기 실행 작업에 대한 자세한 내용은 Azure.Core Long-Running 작업 샘플을 참조하세요.

content
AvailableScopesContent

자격을 확인할 범위입니다.

cancellationToken
CancellationToken

사용할 취소 토큰입니다.

반환

예외

content가 null입니다.

적용 대상