Microsoft.ApiManagement service/policies 2017-03-01

Template format

To create a Microsoft.ApiManagement/service/policies resource, add the following JSON to the resources section of your template.

  "name": "policy",
  "type": "Microsoft.ApiManagement/service/policies",
  "apiVersion": "2017-03-01",
  "properties": {
    "policyContent": "string"

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ApiManagement/service/policies object

Name Type Required Value
name enum Yes The identifier of the Policy. - policy
type enum Yes policies

See Set name and type for child resources.
apiVersion enum Yes 2017-03-01
properties object Yes Properties of the Policy. - PolicyContractProperties object

PolicyContractProperties object

Name Type Required Value
policyContent string Yes Json escaped Xml Encoded contents of the Policy.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create an API Management instance and all sub resources using template

Deploy to Azure
This template demonstrates how to create a API Management service and configure sub-entities