PhoneNumbersClient.GetReservation(Guid, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the reservation with the given ID, including all of the phone numbers associated with it.
public virtual Azure.Response<Azure.Communication.PhoneNumbers.PhoneNumbersReservation> GetReservation(Guid id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservation : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.PhoneNumbers.PhoneNumbersReservation>
override this.GetReservation : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.PhoneNumbers.PhoneNumbersReservation>
Public Overridable Function GetReservation (id As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PhoneNumbersReservation)
Parameters
- id
- Guid
The id of the reservation to retrieve.
- cancellationToken
- CancellationToken
The cancellation token to use.