Microsoft.Network serviceEndpointPolicies template reference

Template format

To create a Microsoft.Network/serviceEndpointPolicies resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/serviceEndpointPolicies",
  "apiVersion": "2019-09-01",
  "location": "string",
  "tags": {},
  "properties": {
    "serviceEndpointPolicyDefinitions": [
      {
        "id": "string",
        "properties": {
          "description": "string",
          "service": "string",
          "serviceResources": [
            "string"
          ]
        },
        "name": "string"
      }
    ]
  },
  "resources": []
}

Property values

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

Microsoft.Network/serviceEndpointPolicies object

Name Type Required Value
name string Yes The name of the service endpoint policy.
type enum Yes Microsoft.Network/serviceEndpointPolicies
apiVersion enum Yes 2019-09-01
location string Yes Resource location.
tags object No Resource tags.
properties object Yes Properties of the service end point policy. - ServiceEndpointPolicyPropertiesFormat object
resources array No serviceEndpointPolicyDefinitions

ServiceEndpointPolicyPropertiesFormat object

Name Type Required Value
serviceEndpointPolicyDefinitions array No A collection of service endpoint policy definitions of the service endpoint policy. - ServiceEndpointPolicyDefinition object

ServiceEndpointPolicyDefinition object

Name Type Required Value
id string No Resource ID.
properties object No Properties of the service endpoint policy definition. - ServiceEndpointPolicyDefinitionPropertiesFormat object
name string No The name of the resource that is unique within a resource group. This name can be used to access the resource.

ServiceEndpointPolicyDefinitionPropertiesFormat object

Name Type Required Value
description string No A description for this rule. Restricted to 140 chars.
service string No Service endpoint name.
serviceResources array No A list of service resources. - string