ApiManagementServiceResource.GetRegions(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.Pageable<Azure.ResourceManager.ApiManagement.Models.RegionContract> GetRegions (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRegions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.RegionContract>
override this.GetRegions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.RegionContract>
Public Overridable Function GetRegions (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RegionContract)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A 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