The service/workspaces/policyFragments 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/workspaces/policyFragments resource, add the following JSON to your template.
{
"type": "Microsoft.ApiManagement/service/workspaces/policyFragments",
"apiVersion": "2023-05-01-preview",
"name": "string",
"properties": {
"description": "string",
"format": "string",
"value": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ApiManagement/service/workspaces/policyFragments' |
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 Fragment. | PolicyFragmentContractProperties |
Name | Description | Value |
---|---|---|
description | Policy fragment description. | string |
format | Format of the policy fragment content. | 'rawxml' 'xml' |
value | Contents of the policy fragment. | string (required) |