Microsoft.Network serviceEndpointPolicies

The serviceEndpointPolicies resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Network/serviceEndpointPolicies resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Network/serviceEndpointPolicies@2021-02-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    serviceEndpointPolicyDefinitions: [
      {
        id: 'string'
        name: 'string'
        properties: {
          description: 'string'
          service: 'string'
          serviceResources: [ 'string' ]
        }
      }
    ]
  }
}

Property values

serviceEndpointPolicies

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Network/serviceEndpointPolicies'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-02-01'
name The resource name string (required)
location Resource location. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties Service Endpoint Policy resource. ServiceEndpointPolicyPropertiesFormat

ServiceEndpointPolicyPropertiesFormat

Name Description Value
serviceEndpointPolicyDefinitions A collection of service endpoint policy definitions of the service endpoint policy. ServiceEndpointPolicyDefinition[]

ServiceEndpointPolicyDefinition

Name Description Value
id Resource ID. string
name The name of the resource that is unique within a resource group. This name can be used to access the resource. string
properties Service Endpoint policy definition resource. ServiceEndpointPolicyDefinitionPropertiesFormat

ServiceEndpointPolicyDefinitionPropertiesFormat

Name Description Value
description A description for this rule. Restricted to 140 chars. string
service Service endpoint name. string
serviceResources A list of service resources. string[]