The ApiManagementClient API exposes REST operations for managing global policy definitions within an Azure API Management service, allowing you to list all policies, retrieve a specific policy (including its ETag), create or update a policy, and delete a policy, all scoped by subscription, resource group, and service name.
Lists all the Global Policy definitions of the Api Management service.
resourceGroupName(path, required) — The name of the resource group.
serviceName(path, required) — The name of the API Management service.
api-version(query, required) — Version of the API to be used with the client request.
subscriptionId(path, required) — Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Deletes the global policy configuration of the Api Management Service.
resourceGroupName(path, required) — The name of the resource group.
serviceName(path, required) — The name of the API Management service.
policyId(path, required) — The identifier of the Policy.
If-Match(header, required) — ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
api-version(query, required) — Version of the API to be used with the client request.
subscriptionId(path, required) — Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Get the Global policy definition of the Api Management service.
resourceGroupName(path, required) — The name of the resource group.
serviceName(path, required) — The name of the API Management service.
policyId(path, required) — The identifier of the Policy.
format(query) — Policy Export Format.
api-version(query, required) — Version of the API to be used with the client request.
subscriptionId(path, required) — Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Gets the entity state (Etag) version of the Global policy definition in the Api Management service.
resourceGroupName(path, required) — The name of the resource group.
serviceName(path, required) — The name of the API Management service.
policyId(path, required) — The identifier of the Policy.
api-version(query, required) — Version of the API to be used with the client request.
subscriptionId(path, required) — Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Creates or updates the global policy configuration of the Api Management service.
resourceGroupName(path, required) — The name of the resource group.
serviceName(path, required) — The name of the API Management service.
policyId(path, required) — The identifier of the Policy.
If-Match(header) — ETag of the Entity. Not required when creating an entity, but required when updating an entity.
api-version(query, required) — Version of the API to be used with the client request.
subscriptionId(path, required) — Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
5 endpoints auto-detected
Authentication
This API requires authentication: OAuth.
curl -X GET \
"https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies"