Microsoft。網路服務EndpointPolicies 2020-11-01
Bicep 資源定義
serviceEndpointPolicies 資源類型可以部署至:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立Microsoft。Network/serviceEndpointPolicies 資源,將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.Network/serviceEndpointPolicies@2020-11-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
properties: {
serviceEndpointPolicyDefinitions: [
{
id: 'string'
name: 'string'
properties: {
description: 'string'
service: 'string'
serviceResources: [
'string'
]
}
}
]
}
}
屬性值
serviceEndpointPolicies
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 | 字串 (必要) 字元限制:1-80 有效字元: 英數字元、底線、句號和連字號。 以英數字元開頭。 以英數字元或底線結尾。 |
location | 資源位置。 | 字串 |
tags | 資源標籤。 | 標記名稱和值的字典。 請參閱 範本中的標記 |
properties | 服務端點原則的屬性。 | ServiceEndpointPolicyPropertiesFormat |
ServiceEndpointPolicyPropertiesFormat
名稱 | 描述 | 值 |
---|---|---|
serviceEndpointPolicyDefinitions | 服務端點原則的服務端點原則定義集合。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名稱 | 描述 | 值 |
---|---|---|
id | 資源識別碼。 | 字串 |
NAME | 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 | 字串 |
properties | 服務端點原則定義的屬性。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
ServiceEndpointPolicyDefinitionPropertiesFormat
名稱 | 描述 | 值 |
---|---|---|
description | 此規則的說明。 限制為 140 個字元。 | 字串 |
服務 | 服務端點名稱。 | 字串 |
serviceResources | 服務資源的清單。 | string[] |
ARM 範本資源定義
serviceEndpointPolicies 資源類型可以部署至:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立Microsoft。網路/serviceEndpointPolicies 資源,將下列 JSON 新增至您的範本。
{
"type": "Microsoft.Network/serviceEndpointPolicies",
"apiVersion": "2020-11-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"serviceEndpointPolicyDefinitions": [
{
"id": "string",
"name": "string",
"properties": {
"description": "string",
"service": "string",
"serviceResources": [ "string" ]
}
}
]
}
}
屬性值
serviceEndpointPolicies
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 'Microsoft。Network/serviceEndpointPolicies' |
apiVersion | 資源 API 版本 | '2020-11-01' |
NAME | 資源名稱 | 字串 (必要) 字元限制:1-80 有效字元: 英數字元、底線、句號和連字號。 以英數字元開頭。 以英數字元或底線結尾。 |
location | 資源位置。 | 字串 |
tags | 資源標籤。 | 標記名稱和值的字典。 請參閱 範本中的標記 |
properties | 服務端點原則的屬性。 | ServiceEndpointPolicyPropertiesFormat |
ServiceEndpointPolicyPropertiesFormat
名稱 | 描述 | 值 |
---|---|---|
serviceEndpointPolicyDefinitions | 服務端點原則的服務端點原則定義集合。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名稱 | 描述 | 值 |
---|---|---|
id | 資源識別碼。 | 字串 |
NAME | 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 | 字串 |
properties | 服務端點原則定義的屬性。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
ServiceEndpointPolicyDefinitionPropertiesFormat
名稱 | 描述 | 值 |
---|---|---|
description | 此規則的說明。 限制為 140 個字元。 | 字串 |
服務 | 服務端點名稱。 | 字串 |
serviceResources | 服務資源的清單。 | string[] |
Terraform (AzAPI 提供者) 資源定義
serviceEndpointPolicies 資源類型可以部署至:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立Microsoft。Network/serviceEndpointPolicies 資源,將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/serviceEndpointPolicies@2020-11-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
serviceEndpointPolicyDefinitions = [
{
id = "string"
name = "string"
properties = {
description = "string"
service = "string"
serviceResources = [
"string"
]
}
}
]
}
})
}
屬性值
serviceEndpointPolicies
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 「Microsoft。網路/serviceEndpointPolicies@2020-11-01」 |
NAME | 資源名稱 | 字串 (必要) 字元限制:1-80 有效字元: 英數字元、底線、句號和連字號。 以英數字元開頭。 以英數字元或底線結尾。 |
location | 資源位置。 | 字串 |
parent_id | 若要部署至資源群組,請使用該資源群組的識別碼。 | 字串 (必要) |
tags | 資源標籤。 | 標記名稱和值的字典。 |
properties | 服務端點原則的屬性。 | ServiceEndpointPolicyPropertiesFormat |
ServiceEndpointPolicyPropertiesFormat
名稱 | 描述 | 值 |
---|---|---|
serviceEndpointPolicyDefinitions | 服務端點原則的服務端點原則定義集合。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名稱 | 描述 | 值 |
---|---|---|
id | 資源識別碼。 | 字串 |
NAME | 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 | 字串 |
properties | 服務端點原則定義的屬性。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
ServiceEndpointPolicyDefinitionPropertiesFormat
名稱 | 描述 | 值 |
---|---|---|
description | 此規則的說明。 限制為 140 個字元。 | 字串 |
服務 | 服務端點名稱。 | 字串 |
serviceResources | 服務資源清單。 | string[] |