Microsoft.ApiManagement service/apis/operations/policies 2018-06-01-preview

The service/apis/operations/policies resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.ApiManagement/service/apis/operations/policies resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.ApiManagement/service/apis/operations/policies@2018-06-01-preview' = {
  name: 'policy'
  properties: {
    contentFormat: 'string'
    policyContent: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
properties Policy contract Properties. PolicyContractProperties


Name Description Value
contentFormat Format of the policyContent. 'rawxml'
policyContent Json escaped Xml Encoded contents of the Policy. string (required)