Microsoft.Network serviceEndpointPolicies/serviceEndpointPolicyDefinitions template reference

Template format

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

  "name": "string",
  "type": "Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions",
  "apiVersion": "2019-08-01",
  "properties": {
    "description": "string",
    "service": "string",
    "serviceResources": [

Property values

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

Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions object


In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the service endpoint policy definition name.
type enum Yes For JSON -serviceEndpointPolicyDefinitions

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2019-08-01
properties object Yes Properties of the service endpoint policy definition. - ServiceEndpointPolicyDefinitionPropertiesFormat object

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