Microsoft.Network serviceEndpointPolicies 2022-01-01
- Article
-
-
Bicep resource definition
The serviceEndpointPolicies 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.Network/serviceEndpointPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/serviceEndpointPolicies@2022-01-01' = {
location: 'string'
name: 'string'
properties: {
contextualServiceEndpointPolicies: [
'string'
]
serviceAlias: 'string'
serviceEndpointPolicyDefinitions: [
{
id: 'string'
name: 'string'
properties: {
description: 'string'
service: 'string'
serviceResources: [
'string'
]
}
type: 'string'
}
]
}
tags: {
{customized property}: 'string'
}
}
Property values
Microsoft.Network/serviceEndpointPolicies
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 |
Properties of the service endpoint policy definition. |
ServiceEndpointPolicyDefinitionPropertiesFormat |
type |
The type of the resource. |
string |
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[] |
Name |
Description |
Value |
contextualServiceEndpointPolicies |
A collection of contextual service endpoint policy. |
string[] |
serviceAlias |
The alias indicating if the policy belongs to a service |
string |
serviceEndpointPolicyDefinitions |
A collection of service endpoint policy definitions of the service endpoint policy. |
ServiceEndpointPolicyDefinition[] |
ARM template resource definition
The serviceEndpointPolicies 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.Network/serviceEndpointPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.Network/serviceEndpointPolicies",
"apiVersion": "2022-01-01",
"name": "string",
"location": "string",
"properties": {
"contextualServiceEndpointPolicies": [ "string" ],
"serviceAlias": "string",
"serviceEndpointPolicyDefinitions": [
{
"id": "string",
"name": "string",
"properties": {
"description": "string",
"service": "string",
"serviceResources": [ "string" ]
},
"type": "string"
}
]
},
"tags": {
"{customized property}": "string"
}
}
Property values
Microsoft.Network/serviceEndpointPolicies
Name |
Description |
Value |
apiVersion |
The api version |
'2022-01-01' |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
Properties of the service end point policy. |
ServiceEndpointPolicyPropertiesFormat |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
type |
The resource type |
'Microsoft.Network/serviceEndpointPolicies' |
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 |
Properties of the service endpoint policy definition. |
ServiceEndpointPolicyDefinitionPropertiesFormat |
type |
The type of the resource. |
string |
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[] |
Name |
Description |
Value |
contextualServiceEndpointPolicies |
A collection of contextual service endpoint policy. |
string[] |
serviceAlias |
The alias indicating if the policy belongs to a service |
string |
serviceEndpointPolicyDefinitions |
A collection of service endpoint policy definitions of the service endpoint policy. |
ServiceEndpointPolicyDefinition[] |
Quickstart templates
The following quickstart templates deploy this resource type.
The serviceEndpointPolicies 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.Network/serviceEndpointPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/serviceEndpointPolicies@2022-01-01"
name = "string"
location = "string"
body = jsonencode({
properties = {
contextualServiceEndpointPolicies = [
"string"
]
serviceAlias = "string"
serviceEndpointPolicyDefinitions = [
{
id = "string"
name = "string"
properties = {
description = "string"
service = "string"
serviceResources = [
"string"
]
}
type = "string"
}
]
}
})
tags = {
{customized property} = "string"
}
}
Property values
Microsoft.Network/serviceEndpointPolicies
Name |
Description |
Value |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
Properties of the service end point policy. |
ServiceEndpointPolicyPropertiesFormat |
tags |
Resource tags |
Dictionary of tag names and values. |
type |
The resource type |
"Microsoft.Network/serviceEndpointPolicies@2022-01-01" |
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 |
Properties of the service endpoint policy definition. |
ServiceEndpointPolicyDefinitionPropertiesFormat |
type |
The type of the resource. |
string |
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[] |
Name |
Description |
Value |
contextualServiceEndpointPolicies |
A collection of contextual service endpoint policy. |
string[] |
serviceAlias |
The alias indicating if the policy belongs to a service |
string |
serviceEndpointPolicyDefinitions |
A collection of service endpoint policy definitions of the service endpoint policy. |
ServiceEndpointPolicyDefinition[] |