Bagikan melalui


SqlTimeZoneCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of managed instance time zones by location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/timeZones
  • Operation Id: TimeZones_ListByLocation
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlTimeZoneResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlTimeZoneResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlTimeZoneResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlTimeZoneResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlTimeZoneResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SqlTimeZoneResource that may take multiple service requests to iterate over.

Applies to