capabilities.work

Azure API Management Configure Product Policy

A 3-step recipe with Microsoft Azure API Management. We can help you get access.

Recipe · 3 steps

Azure API Management Configure Product Policy

Set a product-scoped policy and confirm it.

  1. Read the product to confirm it exists before applying a policy to it.
  2. Create or update the product-scoped policy with the supplied document.
  3. Read the policy back to confirm the document was stored on the product.
What you'll need to have ready
  • subscriptionId: The Azure subscription identifier.
  • resourceGroupName: The resource group containing the service.
  • serviceName: The API Management service name.
  • productId: The product identifier to apply the policy to.
  • policyId: The policy identifier (typically "policy").
  • policyContent: The policy document content.
  • policyFormat: The policy content format (e.g. xml or rawxml).
For your developer

Arazzo workflow microsoft-azure-api-management:configure-product-policy, 3 operations: Product_Get → ProductPolicy_CreateOrUpdate → ProductPolicy_Get. Specs on APIs.io.