ApiManagementServiceResource.GetAllPoliciesByService 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.
Status of all policies of API Management services.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/allPolicies
- Operation Id: AllPolicies_ListByService
- Default Api Version: 2024-05-01
public virtual Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.AllPoliciesContract> GetAllPoliciesByService(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllPoliciesByService : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.AllPoliciesContract>
override this.GetAllPoliciesByService : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.AllPoliciesContract>
Public Overridable Function GetAllPoliciesByService (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AllPoliciesContract)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of AllPoliciesContract that may take multiple service requests to iterate over.