The service/policyRestrictions resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.ApiManagement/service/policyRestrictions resource, add the following JSON to your template.
{
"type": "Microsoft.ApiManagement/service/policyRestrictions",
"apiVersion": "2023-05-01-preview",
"name": "string",
"properties": {
"requireBase": "string",
"scope": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ApiManagement/service/policyRestrictions' |
apiVersion | The resource api version | '2023-05-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Properties of the Policy Restriction. | PolicyRestrictionContractProperties |
Name | Description | Value |
---|---|---|
requireBase | Indicates if base policy should be enforced for the policy document. | 'false' 'true' |
scope | Path to the policy document. | string |