Microsoft.ApiManagement service/apis/policies 2019-12-01

Template format

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

  "name": "policy",
  "type": "Microsoft.ApiManagement/service/apis/policies",
  "apiVersion": "2019-12-01",
  "properties": {
    "value": "string",
    "format": "string"

Property values

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

Microsoft.ApiManagement/service/apis/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 2019-12-01
properties object Yes Properties of the Policy. - PolicyContractProperties object

PolicyContractProperties object

Name Type Required Value
value string Yes Contents of the Policy as defined by the format.
format enum No Format of the policyContent. - xml, xml-link, rawxml, rawxml-link