ApiManagementServiceResource.GetRegionsAsync(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.
Lists all azure regions in which the service exists.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/regions
- Operation Id: Region_ListByService
- Default Api Version: 2023-03-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.RegionContract> GetRegionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRegionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.RegionContract>
override this.GetRegionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.RegionContract>
Public Overridable Function GetRegionsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RegionContract)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of RegionContract that may take multiple service requests to iterate over.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET