Microsoft.Network serviceEndpointPolicies/serviceEndpointPolicyDefinitions 2020-07-01

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": "2020-07-01",
  "properties": {
    "description": "string",
    "service": "string",
    "serviceResources": [
      "string"
    ]
  }
}

Property values

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

Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions object

Note

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
-or-
Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-07-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