共用方式為


Microsoft.Network NetworkProfiles 2019-02-01

Bicep 資源定義

networkProfiles 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Network/networkProfiles 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.Network/networkProfiles@2019-02-01' = {
  etag: 'string'
  location: 'string'
  name: 'string'
  properties: {
    containerNetworkInterfaceConfigurations: [
      {
        etag: 'string'
        id: 'string'
        name: 'string'
        properties: {
          containerNetworkInterfaces: [
            {
              id: 'string'
            }
          ]
          ipConfigurations: [
            {
              etag: 'string'
              id: 'string'
              name: 'string'
              properties: {
                subnet: {
                  etag: 'string'
                  id: 'string'
                  name: 'string'
                  properties: {
                    addressPrefix: 'string'
                    addressPrefixes: [
                      'string'
                    ]
                    delegations: [
                      {
                        etag: 'string'
                        id: 'string'
                        name: 'string'
                        properties: {
                          actions: [
                            'string'
                          ]
                          serviceName: 'string'
                        }
                      }
                    ]
                    natGateway: {
                      id: 'string'
                    }
                    networkSecurityGroup: {
                      etag: 'string'
                      id: 'string'
                      location: 'string'
                      properties: {
                        defaultSecurityRules: [
                          {
                            etag: 'string'
                            id: 'string'
                            name: 'string'
                            properties: {
                              access: 'string'
                              description: 'string'
                              destinationAddressPrefix: 'string'
                              destinationAddressPrefixes: [
                                'string'
                              ]
                              destinationApplicationSecurityGroups: [
                                {
                                  id: 'string'
                                  location: 'string'
                                  properties: {}
                                  tags: {
                                    {customized property}: 'string'
                                  }
                                }
                              ]
                              destinationPortRange: 'string'
                              destinationPortRanges: [
                                'string'
                              ]
                              direction: 'string'
                              priority: int
                              protocol: 'string'
                              provisioningState: 'string'
                              sourceAddressPrefix: 'string'
                              sourceAddressPrefixes: [
                                'string'
                              ]
                              sourceApplicationSecurityGroups: [
                                {
                                  id: 'string'
                                  location: 'string'
                                  properties: {}
                                  tags: {
                                    {customized property}: 'string'
                                  }
                                }
                              ]
                              sourcePortRange: 'string'
                              sourcePortRanges: [
                                'string'
                              ]
                            }
                          }
                        ]
                        provisioningState: 'string'
                        resourceGuid: 'string'
                        securityRules: [
                          {
                            etag: 'string'
                            id: 'string'
                            name: 'string'
                            properties: {
                              access: 'string'
                              description: 'string'
                              destinationAddressPrefix: 'string'
                              destinationAddressPrefixes: [
                                'string'
                              ]
                              destinationApplicationSecurityGroups: [
                                {
                                  id: 'string'
                                  location: 'string'
                                  properties: {}
                                  tags: {
                                    {customized property}: 'string'
                                  }
                                }
                              ]
                              destinationPortRange: 'string'
                              destinationPortRanges: [
                                'string'
                              ]
                              direction: 'string'
                              priority: int
                              protocol: 'string'
                              provisioningState: 'string'
                              sourceAddressPrefix: 'string'
                              sourceAddressPrefixes: [
                                'string'
                              ]
                              sourceApplicationSecurityGroups: [
                                {
                                  id: 'string'
                                  location: 'string'
                                  properties: {}
                                  tags: {
                                    {customized property}: 'string'
                                  }
                                }
                              ]
                              sourcePortRange: 'string'
                              sourcePortRanges: [
                                'string'
                              ]
                            }
                          }
                        ]
                      }
                      tags: {
                        {customized property}: 'string'
                      }
                    }
                    provisioningState: 'string'
                    resourceNavigationLinks: [
                      {
                        id: 'string'
                        name: 'string'
                        properties: {
                          link: 'string'
                          linkedResourceType: 'string'
                        }
                      }
                    ]
                    routeTable: {
                      etag: 'string'
                      id: 'string'
                      location: 'string'
                      properties: {
                        disableBgpRoutePropagation: bool
                        provisioningState: 'string'
                        routes: [
                          {
                            etag: 'string'
                            id: 'string'
                            name: 'string'
                            properties: {
                              addressPrefix: 'string'
                              nextHopIpAddress: 'string'
                              nextHopType: 'string'
                              provisioningState: 'string'
                            }
                          }
                        ]
                      }
                      tags: {
                        {customized property}: 'string'
                      }
                    }
                    serviceAssociationLinks: [
                      {
                        id: 'string'
                        name: 'string'
                        properties: {
                          link: 'string'
                          linkedResourceType: 'string'
                        }
                      }
                    ]
                    serviceEndpointPolicies: [
                      {
                        etag: 'string'
                        id: 'string'
                        location: 'string'
                        properties: {
                          serviceEndpointPolicyDefinitions: [
                            {
                              etag: 'string'
                              id: 'string'
                              name: 'string'
                              properties: {
                                description: 'string'
                                service: 'string'
                                serviceResources: [
                                  'string'
                                ]
                              }
                            }
                          ]
                        }
                        tags: {
                          {customized property}: 'string'
                        }
                      }
                    ]
                    serviceEndpoints: [
                      {
                        locations: [
                          'string'
                        ]
                        provisioningState: 'string'
                        service: 'string'
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    ]
    containerNetworkInterfaces: [
      {
        etag: 'string'
        id: 'string'
        name: 'string'
        properties: {
          container: {
            id: 'string'
          }
          containerNetworkInterfaceConfiguration: {
            etag: 'string'
            id: 'string'
            name: 'string'
            properties: {
              containerNetworkInterfaces: [
                {
                  id: 'string'
                }
              ]
              ipConfigurations: [
                {
                  etag: 'string'
                  id: 'string'
                  name: 'string'
                  properties: {
                    subnet: {
                      etag: 'string'
                      id: 'string'
                      name: 'string'
                      properties: {
                        addressPrefix: 'string'
                        addressPrefixes: [
                          'string'
                        ]
                        delegations: [
                          {
                            etag: 'string'
                            id: 'string'
                            name: 'string'
                            properties: {
                              actions: [
                                'string'
                              ]
                              serviceName: 'string'
                            }
                          }
                        ]
                        natGateway: {
                          id: 'string'
                        }
                        networkSecurityGroup: {
                          etag: 'string'
                          id: 'string'
                          location: 'string'
                          properties: {
                            defaultSecurityRules: [
                              {
                                etag: 'string'
                                id: 'string'
                                name: 'string'
                                properties: {
                                  access: 'string'
                                  description: 'string'
                                  destinationAddressPrefix: 'string'
                                  destinationAddressPrefixes: [
                                    'string'
                                  ]
                                  destinationApplicationSecurityGroups: [
                                    {
                                      id: 'string'
                                      location: 'string'
                                      properties: {}
                                      tags: {
                                        {customized property}: 'string'
                                      }
                                    }
                                  ]
                                  destinationPortRange: 'string'
                                  destinationPortRanges: [
                                    'string'
                                  ]
                                  direction: 'string'
                                  priority: int
                                  protocol: 'string'
                                  provisioningState: 'string'
                                  sourceAddressPrefix: 'string'
                                  sourceAddressPrefixes: [
                                    'string'
                                  ]
                                  sourceApplicationSecurityGroups: [
                                    {
                                      id: 'string'
                                      location: 'string'
                                      properties: {}
                                      tags: {
                                        {customized property}: 'string'
                                      }
                                    }
                                  ]
                                  sourcePortRange: 'string'
                                  sourcePortRanges: [
                                    'string'
                                  ]
                                }
                              }
                            ]
                            provisioningState: 'string'
                            resourceGuid: 'string'
                            securityRules: [
                              {
                                etag: 'string'
                                id: 'string'
                                name: 'string'
                                properties: {
                                  access: 'string'
                                  description: 'string'
                                  destinationAddressPrefix: 'string'
                                  destinationAddressPrefixes: [
                                    'string'
                                  ]
                                  destinationApplicationSecurityGroups: [
                                    {
                                      id: 'string'
                                      location: 'string'
                                      properties: {}
                                      tags: {
                                        {customized property}: 'string'
                                      }
                                    }
                                  ]
                                  destinationPortRange: 'string'
                                  destinationPortRanges: [
                                    'string'
                                  ]
                                  direction: 'string'
                                  priority: int
                                  protocol: 'string'
                                  provisioningState: 'string'
                                  sourceAddressPrefix: 'string'
                                  sourceAddressPrefixes: [
                                    'string'
                                  ]
                                  sourceApplicationSecurityGroups: [
                                    {
                                      id: 'string'
                                      location: 'string'
                                      properties: {}
                                      tags: {
                                        {customized property}: 'string'
                                      }
                                    }
                                  ]
                                  sourcePortRange: 'string'
                                  sourcePortRanges: [
                                    'string'
                                  ]
                                }
                              }
                            ]
                          }
                          tags: {
                            {customized property}: 'string'
                          }
                        }
                        provisioningState: 'string'
                        resourceNavigationLinks: [
                          {
                            id: 'string'
                            name: 'string'
                            properties: {
                              link: 'string'
                              linkedResourceType: 'string'
                            }
                          }
                        ]
                        routeTable: {
                          etag: 'string'
                          id: 'string'
                          location: 'string'
                          properties: {
                            disableBgpRoutePropagation: bool
                            provisioningState: 'string'
                            routes: [
                              {
                                etag: 'string'
                                id: 'string'
                                name: 'string'
                                properties: {
                                  addressPrefix: 'string'
                                  nextHopIpAddress: 'string'
                                  nextHopType: 'string'
                                  provisioningState: 'string'
                                }
                              }
                            ]
                          }
                          tags: {
                            {customized property}: 'string'
                          }
                        }
                        serviceAssociationLinks: [
                          {
                            id: 'string'
                            name: 'string'
                            properties: {
                              link: 'string'
                              linkedResourceType: 'string'
                            }
                          }
                        ]
                        serviceEndpointPolicies: [
                          {
                            etag: 'string'
                            id: 'string'
                            location: 'string'
                            properties: {
                              serviceEndpointPolicyDefinitions: [
                                {
                                  etag: 'string'
                                  id: 'string'
                                  name: 'string'
                                  properties: {
                                    description: 'string'
                                    service: 'string'
                                    serviceResources: [
                                      'string'
                                    ]
                                  }
                                }
                              ]
                            }
                            tags: {
                              {customized property}: 'string'
                            }
                          }
                        ]
                        serviceEndpoints: [
                          {
                            locations: [
                              'string'
                            ]
                            provisioningState: 'string'
                            service: 'string'
                          }
                        ]
                      }
                    }
                  }
                }
              ]
            }
          }
          ipConfigurations: [
            {
              etag: 'string'
              name: 'string'
              properties: {}
            }
          ]
        }
      }
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.Network/networkProfiles

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
地點 資源位置。 字串
名稱 資源名稱 字串 (必要)
屬性 網路配置檔屬性。 NetworkProfilePropertiesFormat
標記 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ApplicationSecurityGroup 應用程式安全組

名稱 說明 價值
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 應用程式安全組的屬性。 ApplicationSecurityGroupPropertiesFormat
標記 資源標籤。 資源標籤

ApplicationSecurityGroupPropertiesFormat

名稱 說明 價值

容器

名稱 說明 價值
識別碼 資源標識碼。 字串

容器網路介面

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面屬性。 ContainerNetworkInterfacePropertiesFormat

ContainerNetworkInterfaceConfiguration

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面組態屬性。 ContainerNetworkInterfaceConfigurationPropertiesFormat

ContainerNetworkInterfaceConfigurationPropertiesFormat

名稱 說明 價值
containerNetwork介面 從這個容器網路介面組態建立的容器網路介面清單。 子資源[]
ip配置 容器網路介面組態的IP組態清單。 IPConfigurationProfile[]

ContainerNetworkInterfaceIpConfiguration

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面IP組態的屬性。 ContainerNetworkInterfaceIpConfigurationPropertiesFormat

ContainerNetworkInterfaceIpConfigurationPropertiesFormat

名稱 說明 價值

ContainerNetworkInterfacePropertiesFormat

名稱 說明 價值
容器 此容器網路介面所連結之容器的參考。 容器
containerNetworkInterfaceConfiguration 建立此容器網路介面的容器網路介面組態。 ContainerNetworkInterfaceConfiguration
ip配置 此容器 nic 上的IP組態參考。 ContainerNetworkInterfaceIpConfiguration[]

代表團

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 子網內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 子網的屬性。 ServiceDelegationPropertiesFormat

IPConfigurationProfile

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 IP 組態配置檔的屬性。 IPConfigurationProfilePropertiesFormat

IPConfigurationProfilePropertiesFormat

名稱 說明 價值
子網路 用來建立容器網路介面IP組態之子網資源的參考。 子網

NetworkProfilePropertiesFormat

名稱 說明 價值
containerNetworkInterface配置 chid 容器網路介面組態的清單。 ContainerNetworkInterfaceConfiguration[]
containerNetwork介面 子容器網路介面的清單。 ContainerNetworkInterface[]

網路安全組

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 網路安全組的屬性 NetworkSecurityGroupPropertiesFormat
標記 資源標籤。 資源標籤

NetworkSecurityGroupPropertiesFormat

名稱 說明 價值
defaultSecurityRules 網路安全組的預設安全性規則。 SecurityRule[]
佈建狀態 公用IP資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
資源識別碼 網路安全組資源的資源 GUID 屬性。 字串
securityRules 安全規則 網路安全組的安全性規則集合。 SecurityRule[]
名稱 說明 價值
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 資源導覽連結屬性格式。 ResourceNavigationLinkFormat

ResourceNavigationLinkFormat

名稱 說明 價值
連結 連結至外部資源 字串
linkedResourceType 鏈接資源的資源類型。 字串

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

路線

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 路由的屬性。 RoutePropertiesFormat

RoutePropertiesFormat

名稱 說明 價值
addressPrefix 的 路由套用目的地 CIDR。 字串
nextHopIp位址 IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 字串
nextHopType 封包應傳送至的 Azure 躍點類型。 “互聯網”
“無”
“虛擬設備”
“VirtualNetworkGateway”
'VnetLocal' (必要)
佈建狀態 資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串

路由表

名稱 說明 價值
ETAG 取得唯一的唯一 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 路由表的屬性。 RouteTablePropertiesFormat
標記 資源標籤。 資源標籤

RouteTablePropertiesFormat

名稱 說明 價值
禁用 BgpRoutePropagation 取得或設定是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 布爾 (bool)
佈建狀態 資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
路線 路由表中包含的路由集合。 路由[]

SecurityRule 安全規則

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 安全性規則的屬性 SecurityRulePropertiesFormat

SecurityRulePropertiesFormat

名稱 說明 價值
訪問 允許或拒絕網路流量。 '允許'
'拒絕' (必要)
說明 此規則的描述。 限制為140個字元。 字串
destinationAddressPrefix 的 目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 字串
destinationAddress前綴 目的地位址前置詞。 CIDR 或目的地IP範圍。 字串[]
destinationApplicationSecurityGroups 指定為目的地的應用程式安全組。 ApplicationSecurityGroup[]
destinationPortRange 目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
destinationPortRanges 目的地埠範圍。 字串[]
方向 規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 “入站”
'輸出' (必要)
優先權 規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 整數 (int)
協議 此規則適用的網路協定。 可能的值為 『Tcp』、『Udp』、『Icmp』、『Esp』和 『*』。 '*'
'ESP'
“ICMP”
'tcp'
'Udp' (必要)
佈建狀態 公用IP資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
sourceAddressPrefix 的 CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 字串
sourceAddress前綴 CIDR 或來源IP範圍。 字串[]
sourceApplicationSecurityGroups 指定為來源的應用程式安全組。 ApplicationSecurityGroup[]
sourcePortRange 來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
sourcePort範圍 來源埠範圍。 字串[]
名稱 說明 價值
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 資源導覽連結屬性格式。 ServiceAssociationLinkPropertiesFormat

ServiceAssociationLinkPropertiesFormat

名稱 說明 價值
連結 連結至外部資源。 字串
linkedResourceType 鏈接資源的資源類型。 字串

ServiceDelegationPropertiesFormat

名稱 說明 價值
行動 描述委派時允許對服務執行的動作 字串[]
服務名稱 應委派子網的服務名稱(例如Microsoft.Sql/servers) 字串

ServiceEndpointPolicy

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 服務端點原則的屬性 ServiceEndpointPolicyPropertiesFormat
標記 資源標籤。 資源標籤

ServiceEndpointPolicyDefinition

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 服務端點原則定義的屬性 ServiceEndpointPolicyDefinitionPropertiesFormat

ServiceEndpointPolicyDefinitionPropertiesFormat

名稱 說明 價值
說明 此規則的描述。 限制為140個字元。 字串
服務 服務端點名稱。 字串
服務資源 服務資源清單。 字串[]

ServiceEndpointPolicyPropertiesFormat

名稱 說明 價值
serviceEndpointPolicyDefinitions 服務端點原則的服務端點原則定義集合。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPropertiesFormat

名稱 說明 價值
地點 位置清單。 字串[]
佈建狀態 資源的布建狀態。 字串
服務 端點服務的型別。 字串

子網路

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 子網的屬性。 SubnetPropertiesFormat

SubnetPropertiesFormat

名稱 說明 價值
addressPrefix 的 子網的位址前綴。 字串
address前綴 子網的位址前綴清單。 字串[]
代表團 取得對子網上委派之參考的陣列。 委派[]
natGateway 閘道 與此子網相關聯的 Nat 閘道。 子資源
networkSecurityGroup NetworkSecurityGroup 資源的參考。 網路安全組
佈建狀態 資源的布建狀態。 字串
resourceNavigationLinks 使用子網取得外部資源的參考數位。 ResourceNavigationLink[]
routeTable RouteTable 資源的參考。 路由表
serviceAssociation連結 取得插入此子網之服務的參考數位。 ServiceAssociationLink[]
服務端點策略 服務端點原則的陣列。 ServiceEndpointPolicy[]
serviceEndpoints 服務端點的陣列。 ServiceEndpointPropertiesFormat[]

子資源

名稱 說明 價值
識別碼 資源標識碼。 字串

使用範例

Azure 快速入門範例

下列 Azure 快速入門範本 包含用於部署此資源類型的 Bicep 範例。

Bicep 檔案 說明
Azure Cloud Shell - VNet 此範本會將 Azure Cloud Shell 資源部署至 Azure 虛擬網路。
Azure 容器實例 - VNet 將容器實例部署至 Azure 虛擬網路。
使用容器實例和應用程式閘道 Front Door 此範本會建立具有容器群組和應用程式閘道的 Front Door Standard/Premium。

ARM 樣本資源定義

networkProfiles 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Network/networkProfiles 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.Network/networkProfiles",
  "apiVersion": "2019-02-01",
  "name": "string",
  "etag": "string",
  "location": "string",
  "properties": {
    "containerNetworkInterfaceConfigurations": [
      {
        "etag": "string",
        "id": "string",
        "name": "string",
        "properties": {
          "containerNetworkInterfaces": [
            {
              "id": "string"
            }
          ],
          "ipConfigurations": [
            {
              "etag": "string",
              "id": "string",
              "name": "string",
              "properties": {
                "subnet": {
                  "etag": "string",
                  "id": "string",
                  "name": "string",
                  "properties": {
                    "addressPrefix": "string",
                    "addressPrefixes": [ "string" ],
                    "delegations": [
                      {
                        "etag": "string",
                        "id": "string",
                        "name": "string",
                        "properties": {
                          "actions": [ "string" ],
                          "serviceName": "string"
                        }
                      }
                    ],
                    "natGateway": {
                      "id": "string"
                    },
                    "networkSecurityGroup": {
                      "etag": "string",
                      "id": "string",
                      "location": "string",
                      "properties": {
                        "defaultSecurityRules": [
                          {
                            "etag": "string",
                            "id": "string",
                            "name": "string",
                            "properties": {
                              "access": "string",
                              "description": "string",
                              "destinationAddressPrefix": "string",
                              "destinationAddressPrefixes": [ "string" ],
                              "destinationApplicationSecurityGroups": [
                                {
                                  "id": "string",
                                  "location": "string",
                                  "properties": {
                                  },
                                  "tags": {
                                    "{customized property}": "string"
                                  }
                                }
                              ],
                              "destinationPortRange": "string",
                              "destinationPortRanges": [ "string" ],
                              "direction": "string",
                              "priority": "int",
                              "protocol": "string",
                              "provisioningState": "string",
                              "sourceAddressPrefix": "string",
                              "sourceAddressPrefixes": [ "string" ],
                              "sourceApplicationSecurityGroups": [
                                {
                                  "id": "string",
                                  "location": "string",
                                  "properties": {
                                  },
                                  "tags": {
                                    "{customized property}": "string"
                                  }
                                }
                              ],
                              "sourcePortRange": "string",
                              "sourcePortRanges": [ "string" ]
                            }
                          }
                        ],
                        "provisioningState": "string",
                        "resourceGuid": "string",
                        "securityRules": [
                          {
                            "etag": "string",
                            "id": "string",
                            "name": "string",
                            "properties": {
                              "access": "string",
                              "description": "string",
                              "destinationAddressPrefix": "string",
                              "destinationAddressPrefixes": [ "string" ],
                              "destinationApplicationSecurityGroups": [
                                {
                                  "id": "string",
                                  "location": "string",
                                  "properties": {
                                  },
                                  "tags": {
                                    "{customized property}": "string"
                                  }
                                }
                              ],
                              "destinationPortRange": "string",
                              "destinationPortRanges": [ "string" ],
                              "direction": "string",
                              "priority": "int",
                              "protocol": "string",
                              "provisioningState": "string",
                              "sourceAddressPrefix": "string",
                              "sourceAddressPrefixes": [ "string" ],
                              "sourceApplicationSecurityGroups": [
                                {
                                  "id": "string",
                                  "location": "string",
                                  "properties": {
                                  },
                                  "tags": {
                                    "{customized property}": "string"
                                  }
                                }
                              ],
                              "sourcePortRange": "string",
                              "sourcePortRanges": [ "string" ]
                            }
                          }
                        ]
                      },
                      "tags": {
                        "{customized property}": "string"
                      }
                    },
                    "provisioningState": "string",
                    "resourceNavigationLinks": [
                      {
                        "id": "string",
                        "name": "string",
                        "properties": {
                          "link": "string",
                          "linkedResourceType": "string"
                        }
                      }
                    ],
                    "routeTable": {
                      "etag": "string",
                      "id": "string",
                      "location": "string",
                      "properties": {
                        "disableBgpRoutePropagation": "bool",
                        "provisioningState": "string",
                        "routes": [
                          {
                            "etag": "string",
                            "id": "string",
                            "name": "string",
                            "properties": {
                              "addressPrefix": "string",
                              "nextHopIpAddress": "string",
                              "nextHopType": "string",
                              "provisioningState": "string"
                            }
                          }
                        ]
                      },
                      "tags": {
                        "{customized property}": "string"
                      }
                    },
                    "serviceAssociationLinks": [
                      {
                        "id": "string",
                        "name": "string",
                        "properties": {
                          "link": "string",
                          "linkedResourceType": "string"
                        }
                      }
                    ],
                    "serviceEndpointPolicies": [
                      {
                        "etag": "string",
                        "id": "string",
                        "location": "string",
                        "properties": {
                          "serviceEndpointPolicyDefinitions": [
                            {
                              "etag": "string",
                              "id": "string",
                              "name": "string",
                              "properties": {
                                "description": "string",
                                "service": "string",
                                "serviceResources": [ "string" ]
                              }
                            }
                          ]
                        },
                        "tags": {
                          "{customized property}": "string"
                        }
                      }
                    ],
                    "serviceEndpoints": [
                      {
                        "locations": [ "string" ],
                        "provisioningState": "string",
                        "service": "string"
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    ],
    "containerNetworkInterfaces": [
      {
        "etag": "string",
        "id": "string",
        "name": "string",
        "properties": {
          "container": {
            "id": "string"
          },
          "containerNetworkInterfaceConfiguration": {
            "etag": "string",
            "id": "string",
            "name": "string",
            "properties": {
              "containerNetworkInterfaces": [
                {
                  "id": "string"
                }
              ],
              "ipConfigurations": [
                {
                  "etag": "string",
                  "id": "string",
                  "name": "string",
                  "properties": {
                    "subnet": {
                      "etag": "string",
                      "id": "string",
                      "name": "string",
                      "properties": {
                        "addressPrefix": "string",
                        "addressPrefixes": [ "string" ],
                        "delegations": [
                          {
                            "etag": "string",
                            "id": "string",
                            "name": "string",
                            "properties": {
                              "actions": [ "string" ],
                              "serviceName": "string"
                            }
                          }
                        ],
                        "natGateway": {
                          "id": "string"
                        },
                        "networkSecurityGroup": {
                          "etag": "string",
                          "id": "string",
                          "location": "string",
                          "properties": {
                            "defaultSecurityRules": [
                              {
                                "etag": "string",
                                "id": "string",
                                "name": "string",
                                "properties": {
                                  "access": "string",
                                  "description": "string",
                                  "destinationAddressPrefix": "string",
                                  "destinationAddressPrefixes": [ "string" ],
                                  "destinationApplicationSecurityGroups": [
                                    {
                                      "id": "string",
                                      "location": "string",
                                      "properties": {
                                      },
                                      "tags": {
                                        "{customized property}": "string"
                                      }
                                    }
                                  ],
                                  "destinationPortRange": "string",
                                  "destinationPortRanges": [ "string" ],
                                  "direction": "string",
                                  "priority": "int",
                                  "protocol": "string",
                                  "provisioningState": "string",
                                  "sourceAddressPrefix": "string",
                                  "sourceAddressPrefixes": [ "string" ],
                                  "sourceApplicationSecurityGroups": [
                                    {
                                      "id": "string",
                                      "location": "string",
                                      "properties": {
                                      },
                                      "tags": {
                                        "{customized property}": "string"
                                      }
                                    }
                                  ],
                                  "sourcePortRange": "string",
                                  "sourcePortRanges": [ "string" ]
                                }
                              }
                            ],
                            "provisioningState": "string",
                            "resourceGuid": "string",
                            "securityRules": [
                              {
                                "etag": "string",
                                "id": "string",
                                "name": "string",
                                "properties": {
                                  "access": "string",
                                  "description": "string",
                                  "destinationAddressPrefix": "string",
                                  "destinationAddressPrefixes": [ "string" ],
                                  "destinationApplicationSecurityGroups": [
                                    {
                                      "id": "string",
                                      "location": "string",
                                      "properties": {
                                      },
                                      "tags": {
                                        "{customized property}": "string"
                                      }
                                    }
                                  ],
                                  "destinationPortRange": "string",
                                  "destinationPortRanges": [ "string" ],
                                  "direction": "string",
                                  "priority": "int",
                                  "protocol": "string",
                                  "provisioningState": "string",
                                  "sourceAddressPrefix": "string",
                                  "sourceAddressPrefixes": [ "string" ],
                                  "sourceApplicationSecurityGroups": [
                                    {
                                      "id": "string",
                                      "location": "string",
                                      "properties": {
                                      },
                                      "tags": {
                                        "{customized property}": "string"
                                      }
                                    }
                                  ],
                                  "sourcePortRange": "string",
                                  "sourcePortRanges": [ "string" ]
                                }
                              }
                            ]
                          },
                          "tags": {
                            "{customized property}": "string"
                          }
                        },
                        "provisioningState": "string",
                        "resourceNavigationLinks": [
                          {
                            "id": "string",
                            "name": "string",
                            "properties": {
                              "link": "string",
                              "linkedResourceType": "string"
                            }
                          }
                        ],
                        "routeTable": {
                          "etag": "string",
                          "id": "string",
                          "location": "string",
                          "properties": {
                            "disableBgpRoutePropagation": "bool",
                            "provisioningState": "string",
                            "routes": [
                              {
                                "etag": "string",
                                "id": "string",
                                "name": "string",
                                "properties": {
                                  "addressPrefix": "string",
                                  "nextHopIpAddress": "string",
                                  "nextHopType": "string",
                                  "provisioningState": "string"
                                }
                              }
                            ]
                          },
                          "tags": {
                            "{customized property}": "string"
                          }
                        },
                        "serviceAssociationLinks": [
                          {
                            "id": "string",
                            "name": "string",
                            "properties": {
                              "link": "string",
                              "linkedResourceType": "string"
                            }
                          }
                        ],
                        "serviceEndpointPolicies": [
                          {
                            "etag": "string",
                            "id": "string",
                            "location": "string",
                            "properties": {
                              "serviceEndpointPolicyDefinitions": [
                                {
                                  "etag": "string",
                                  "id": "string",
                                  "name": "string",
                                  "properties": {
                                    "description": "string",
                                    "service": "string",
                                    "serviceResources": [ "string" ]
                                  }
                                }
                              ]
                            },
                            "tags": {
                              "{customized property}": "string"
                            }
                          }
                        ],
                        "serviceEndpoints": [
                          {
                            "locations": [ "string" ],
                            "provisioningState": "string",
                            "service": "string"
                          }
                        ]
                      }
                    }
                  }
                }
              ]
            }
          },
          "ipConfigurations": [
            {
              "etag": "string",
              "name": "string",
              "properties": {
              }
            }
          ]
        }
      }
    ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.Network/networkProfiles

名稱 說明 價值
apiVersion API 版本 '2019-02-01'
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
地點 資源位置。 字串
名稱 資源名稱 字串 (必要)
屬性 網路配置檔屬性。 NetworkProfilePropertiesFormat
標記 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 “Microsoft.Network/networkProfiles”

ApplicationSecurityGroup 應用程式安全組

名稱 說明 價值
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 應用程式安全組的屬性。 ApplicationSecurityGroupPropertiesFormat
標記 資源標籤。 資源標籤

ApplicationSecurityGroupPropertiesFormat

名稱 說明 價值

容器

名稱 說明 價值
識別碼 資源標識碼。 字串

容器網路介面

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面屬性。 ContainerNetworkInterfacePropertiesFormat

ContainerNetworkInterfaceConfiguration

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面組態屬性。 ContainerNetworkInterfaceConfigurationPropertiesFormat

ContainerNetworkInterfaceConfigurationPropertiesFormat

名稱 說明 價值
containerNetwork介面 從這個容器網路介面組態建立的容器網路介面清單。 子資源[]
ip配置 容器網路介面組態的IP組態清單。 IPConfigurationProfile[]

ContainerNetworkInterfaceIpConfiguration

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面IP組態的屬性。 ContainerNetworkInterfaceIpConfigurationPropertiesFormat

ContainerNetworkInterfaceIpConfigurationPropertiesFormat

名稱 說明 價值

ContainerNetworkInterfacePropertiesFormat

名稱 說明 價值
容器 此容器網路介面所連結之容器的參考。 容器
containerNetworkInterfaceConfiguration 建立此容器網路介面的容器網路介面組態。 ContainerNetworkInterfaceConfiguration
ip配置 此容器 nic 上的IP組態參考。 ContainerNetworkInterfaceIpConfiguration[]

代表團

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 子網內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 子網的屬性。 ServiceDelegationPropertiesFormat

IPConfigurationProfile

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 IP 組態配置檔的屬性。 IPConfigurationProfilePropertiesFormat

IPConfigurationProfilePropertiesFormat

名稱 說明 價值
子網路 用來建立容器網路介面IP組態之子網資源的參考。 子網

NetworkProfilePropertiesFormat

名稱 說明 價值
containerNetworkInterface配置 chid 容器網路介面組態的清單。 ContainerNetworkInterfaceConfiguration[]
containerNetwork介面 子容器網路介面的清單。 ContainerNetworkInterface[]

網路安全組

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 網路安全組的屬性 NetworkSecurityGroupPropertiesFormat
標記 資源標籤。 資源標籤

NetworkSecurityGroupPropertiesFormat

名稱 說明 價值
defaultSecurityRules 網路安全組的預設安全性規則。 SecurityRule[]
佈建狀態 公用IP資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
資源識別碼 網路安全組資源的資源 GUID 屬性。 字串
securityRules 安全規則 網路安全組的安全性規則集合。 SecurityRule[]
名稱 說明 價值
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 資源導覽連結屬性格式。 ResourceNavigationLinkFormat

ResourceNavigationLinkFormat

名稱 說明 價值
連結 連結至外部資源 字串
linkedResourceType 鏈接資源的資源類型。 字串

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

路線

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 路由的屬性。 RoutePropertiesFormat

RoutePropertiesFormat

名稱 說明 價值
addressPrefix 的 路由套用目的地 CIDR。 字串
nextHopIp位址 IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 字串
nextHopType 封包應傳送至的 Azure 躍點類型。 “互聯網”
“無”
“虛擬設備”
“VirtualNetworkGateway”
'VnetLocal' (必要)
佈建狀態 資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串

路由表

名稱 說明 價值
ETAG 取得唯一的唯一 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 路由表的屬性。 RouteTablePropertiesFormat
標記 資源標籤。 資源標籤

RouteTablePropertiesFormat

名稱 說明 價值
禁用 BgpRoutePropagation 取得或設定是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 布爾 (bool)
佈建狀態 資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
路線 路由表中包含的路由集合。 路由[]

SecurityRule 安全規則

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 安全性規則的屬性 SecurityRulePropertiesFormat

SecurityRulePropertiesFormat

名稱 說明 價值
訪問 允許或拒絕網路流量。 '允許'
'拒絕' (必要)
說明 此規則的描述。 限制為140個字元。 字串
destinationAddressPrefix 的 目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 字串
destinationAddress前綴 目的地位址前置詞。 CIDR 或目的地IP範圍。 字串[]
destinationApplicationSecurityGroups 指定為目的地的應用程式安全組。 ApplicationSecurityGroup[]
destinationPortRange 目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
destinationPortRanges 目的地埠範圍。 字串[]
方向 規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 “入站”
'輸出' (必要)
優先權 規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 整數 (int)
協議 此規則適用的網路協定。 可能的值為 『Tcp』、『Udp』、『Icmp』、『Esp』和 『*』。 '*'
'ESP'
“ICMP”
'tcp'
'Udp' (必要)
佈建狀態 公用IP資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
sourceAddressPrefix 的 CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 字串
sourceAddress前綴 CIDR 或來源IP範圍。 字串[]
sourceApplicationSecurityGroups 指定為來源的應用程式安全組。 ApplicationSecurityGroup[]
sourcePortRange 來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
sourcePort範圍 來源埠範圍。 字串[]
名稱 說明 價值
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 資源導覽連結屬性格式。 ServiceAssociationLinkPropertiesFormat

ServiceAssociationLinkPropertiesFormat

名稱 說明 價值
連結 連結至外部資源。 字串
linkedResourceType 鏈接資源的資源類型。 字串

ServiceDelegationPropertiesFormat

名稱 說明 價值
行動 描述委派時允許對服務執行的動作 字串[]
服務名稱 應委派子網的服務名稱(例如Microsoft.Sql/servers) 字串

ServiceEndpointPolicy

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 服務端點原則的屬性 ServiceEndpointPolicyPropertiesFormat
標記 資源標籤。 資源標籤

ServiceEndpointPolicyDefinition

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 服務端點原則定義的屬性 ServiceEndpointPolicyDefinitionPropertiesFormat

ServiceEndpointPolicyDefinitionPropertiesFormat

名稱 說明 價值
說明 此規則的描述。 限制為140個字元。 字串
服務 服務端點名稱。 字串
服務資源 服務資源清單。 字串[]

ServiceEndpointPolicyPropertiesFormat

名稱 說明 價值
serviceEndpointPolicyDefinitions 服務端點原則的服務端點原則定義集合。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPropertiesFormat

名稱 說明 價值
地點 位置清單。 字串[]
佈建狀態 資源的布建狀態。 字串
服務 端點服務的型別。 字串

子網路

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 子網的屬性。 SubnetPropertiesFormat

SubnetPropertiesFormat

名稱 說明 價值
addressPrefix 的 子網的位址前綴。 字串
address前綴 子網的位址前綴清單。 字串[]
代表團 取得對子網上委派之參考的陣列。 委派[]
natGateway 閘道 與此子網相關聯的 Nat 閘道。 子資源
networkSecurityGroup NetworkSecurityGroup 資源的參考。 網路安全組
佈建狀態 資源的布建狀態。 字串
resourceNavigationLinks 使用子網取得外部資源的參考數位。 ResourceNavigationLink[]
routeTable RouteTable 資源的參考。 路由表
serviceAssociation連結 取得插入此子網之服務的參考數位。 ServiceAssociationLink[]
服務端點策略 服務端點原則的陣列。 ServiceEndpointPolicy[]
serviceEndpoints 服務端點的陣列。 ServiceEndpointPropertiesFormat[]

子資源

名稱 說明 價值
識別碼 資源標識碼。 字串

使用範例

Azure 快速入門範本

下列 Azure 快速入門範本 部署此資源類型。

範本 說明
Azure Cloud Shell - VNet

部署至 Azure
此範本會將 Azure Cloud Shell 資源部署至 Azure 虛擬網路。
Azure 容器實例 - VNet

部署至 Azure
將容器實例部署至 Azure 虛擬網路。
在虛擬網路中建立 WordPress 網站

部署至 Azure
此範本會在虛擬網路中的容器實例上建立 WordPress 網站。 並輸出可存取 WordPress 網站的公用網站 FQDN。
使用容器實例和應用程式閘道 Front Door

部署至 Azure
此範本會建立具有容器群組和應用程式閘道的 Front Door Standard/Premium。

Terraform (AzAPI 提供者) 資源定義

networkProfiles 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Network/networkProfiles 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/networkProfiles@2019-02-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    etag = "string"
    properties = {
      containerNetworkInterfaceConfigurations = [
        {
          etag = "string"
          id = "string"
          name = "string"
          properties = {
            containerNetworkInterfaces = [
              {
                id = "string"
              }
            ]
            ipConfigurations = [
              {
                etag = "string"
                id = "string"
                name = "string"
                properties = {
                  subnet = {
                    etag = "string"
                    id = "string"
                    name = "string"
                    properties = {
                      addressPrefix = "string"
                      addressPrefixes = [
                        "string"
                      ]
                      delegations = [
                        {
                          etag = "string"
                          id = "string"
                          name = "string"
                          properties = {
                            actions = [
                              "string"
                            ]
                            serviceName = "string"
                          }
                        }
                      ]
                      natGateway = {
                        id = "string"
                      }
                      networkSecurityGroup = {
                        etag = "string"
                        id = "string"
                        location = "string"
                        properties = {
                          defaultSecurityRules = [
                            {
                              etag = "string"
                              id = "string"
                              name = "string"
                              properties = {
                                access = "string"
                                description = "string"
                                destinationAddressPrefix = "string"
                                destinationAddressPrefixes = [
                                  "string"
                                ]
                                destinationApplicationSecurityGroups = [
                                  {
                                    id = "string"
                                    location = "string"
                                    properties = {
                                    }
                                    tags = {
                                      {customized property} = "string"
                                    }
                                  }
                                ]
                                destinationPortRange = "string"
                                destinationPortRanges = [
                                  "string"
                                ]
                                direction = "string"
                                priority = int
                                protocol = "string"
                                provisioningState = "string"
                                sourceAddressPrefix = "string"
                                sourceAddressPrefixes = [
                                  "string"
                                ]
                                sourceApplicationSecurityGroups = [
                                  {
                                    id = "string"
                                    location = "string"
                                    properties = {
                                    }
                                    tags = {
                                      {customized property} = "string"
                                    }
                                  }
                                ]
                                sourcePortRange = "string"
                                sourcePortRanges = [
                                  "string"
                                ]
                              }
                            }
                          ]
                          provisioningState = "string"
                          resourceGuid = "string"
                          securityRules = [
                            {
                              etag = "string"
                              id = "string"
                              name = "string"
                              properties = {
                                access = "string"
                                description = "string"
                                destinationAddressPrefix = "string"
                                destinationAddressPrefixes = [
                                  "string"
                                ]
                                destinationApplicationSecurityGroups = [
                                  {
                                    id = "string"
                                    location = "string"
                                    properties = {
                                    }
                                    tags = {
                                      {customized property} = "string"
                                    }
                                  }
                                ]
                                destinationPortRange = "string"
                                destinationPortRanges = [
                                  "string"
                                ]
                                direction = "string"
                                priority = int
                                protocol = "string"
                                provisioningState = "string"
                                sourceAddressPrefix = "string"
                                sourceAddressPrefixes = [
                                  "string"
                                ]
                                sourceApplicationSecurityGroups = [
                                  {
                                    id = "string"
                                    location = "string"
                                    properties = {
                                    }
                                    tags = {
                                      {customized property} = "string"
                                    }
                                  }
                                ]
                                sourcePortRange = "string"
                                sourcePortRanges = [
                                  "string"
                                ]
                              }
                            }
                          ]
                        }
                        tags = {
                          {customized property} = "string"
                        }
                      }
                      provisioningState = "string"
                      resourceNavigationLinks = [
                        {
                          id = "string"
                          name = "string"
                          properties = {
                            link = "string"
                            linkedResourceType = "string"
                          }
                        }
                      ]
                      routeTable = {
                        etag = "string"
                        id = "string"
                        location = "string"
                        properties = {
                          disableBgpRoutePropagation = bool
                          provisioningState = "string"
                          routes = [
                            {
                              etag = "string"
                              id = "string"
                              name = "string"
                              properties = {
                                addressPrefix = "string"
                                nextHopIpAddress = "string"
                                nextHopType = "string"
                                provisioningState = "string"
                              }
                            }
                          ]
                        }
                        tags = {
                          {customized property} = "string"
                        }
                      }
                      serviceAssociationLinks = [
                        {
                          id = "string"
                          name = "string"
                          properties = {
                            link = "string"
                            linkedResourceType = "string"
                          }
                        }
                      ]
                      serviceEndpointPolicies = [
                        {
                          etag = "string"
                          id = "string"
                          location = "string"
                          properties = {
                            serviceEndpointPolicyDefinitions = [
                              {
                                etag = "string"
                                id = "string"
                                name = "string"
                                properties = {
                                  description = "string"
                                  service = "string"
                                  serviceResources = [
                                    "string"
                                  ]
                                }
                              }
                            ]
                          }
                          tags = {
                            {customized property} = "string"
                          }
                        }
                      ]
                      serviceEndpoints = [
                        {
                          locations = [
                            "string"
                          ]
                          provisioningState = "string"
                          service = "string"
                        }
                      ]
                    }
                  }
                }
              }
            ]
          }
        }
      ]
      containerNetworkInterfaces = [
        {
          etag = "string"
          id = "string"
          name = "string"
          properties = {
            container = {
              id = "string"
            }
            containerNetworkInterfaceConfiguration = {
              etag = "string"
              id = "string"
              name = "string"
              properties = {
                containerNetworkInterfaces = [
                  {
                    id = "string"
                  }
                ]
                ipConfigurations = [
                  {
                    etag = "string"
                    id = "string"
                    name = "string"
                    properties = {
                      subnet = {
                        etag = "string"
                        id = "string"
                        name = "string"
                        properties = {
                          addressPrefix = "string"
                          addressPrefixes = [
                            "string"
                          ]
                          delegations = [
                            {
                              etag = "string"
                              id = "string"
                              name = "string"
                              properties = {
                                actions = [
                                  "string"
                                ]
                                serviceName = "string"
                              }
                            }
                          ]
                          natGateway = {
                            id = "string"
                          }
                          networkSecurityGroup = {
                            etag = "string"
                            id = "string"
                            location = "string"
                            properties = {
                              defaultSecurityRules = [
                                {
                                  etag = "string"
                                  id = "string"
                                  name = "string"
                                  properties = {
                                    access = "string"
                                    description = "string"
                                    destinationAddressPrefix = "string"
                                    destinationAddressPrefixes = [
                                      "string"
                                    ]
                                    destinationApplicationSecurityGroups = [
                                      {
                                        id = "string"
                                        location = "string"
                                        properties = {
                                        }
                                        tags = {
                                          {customized property} = "string"
                                        }
                                      }
                                    ]
                                    destinationPortRange = "string"
                                    destinationPortRanges = [
                                      "string"
                                    ]
                                    direction = "string"
                                    priority = int
                                    protocol = "string"
                                    provisioningState = "string"
                                    sourceAddressPrefix = "string"
                                    sourceAddressPrefixes = [
                                      "string"
                                    ]
                                    sourceApplicationSecurityGroups = [
                                      {
                                        id = "string"
                                        location = "string"
                                        properties = {
                                        }
                                        tags = {
                                          {customized property} = "string"
                                        }
                                      }
                                    ]
                                    sourcePortRange = "string"
                                    sourcePortRanges = [
                                      "string"
                                    ]
                                  }
                                }
                              ]
                              provisioningState = "string"
                              resourceGuid = "string"
                              securityRules = [
                                {
                                  etag = "string"
                                  id = "string"
                                  name = "string"
                                  properties = {
                                    access = "string"
                                    description = "string"
                                    destinationAddressPrefix = "string"
                                    destinationAddressPrefixes = [
                                      "string"
                                    ]
                                    destinationApplicationSecurityGroups = [
                                      {
                                        id = "string"
                                        location = "string"
                                        properties = {
                                        }
                                        tags = {
                                          {customized property} = "string"
                                        }
                                      }
                                    ]
                                    destinationPortRange = "string"
                                    destinationPortRanges = [
                                      "string"
                                    ]
                                    direction = "string"
                                    priority = int
                                    protocol = "string"
                                    provisioningState = "string"
                                    sourceAddressPrefix = "string"
                                    sourceAddressPrefixes = [
                                      "string"
                                    ]
                                    sourceApplicationSecurityGroups = [
                                      {
                                        id = "string"
                                        location = "string"
                                        properties = {
                                        }
                                        tags = {
                                          {customized property} = "string"
                                        }
                                      }
                                    ]
                                    sourcePortRange = "string"
                                    sourcePortRanges = [
                                      "string"
                                    ]
                                  }
                                }
                              ]
                            }
                            tags = {
                              {customized property} = "string"
                            }
                          }
                          provisioningState = "string"
                          resourceNavigationLinks = [
                            {
                              id = "string"
                              name = "string"
                              properties = {
                                link = "string"
                                linkedResourceType = "string"
                              }
                            }
                          ]
                          routeTable = {
                            etag = "string"
                            id = "string"
                            location = "string"
                            properties = {
                              disableBgpRoutePropagation = bool
                              provisioningState = "string"
                              routes = [
                                {
                                  etag = "string"
                                  id = "string"
                                  name = "string"
                                  properties = {
                                    addressPrefix = "string"
                                    nextHopIpAddress = "string"
                                    nextHopType = "string"
                                    provisioningState = "string"
                                  }
                                }
                              ]
                            }
                            tags = {
                              {customized property} = "string"
                            }
                          }
                          serviceAssociationLinks = [
                            {
                              id = "string"
                              name = "string"
                              properties = {
                                link = "string"
                                linkedResourceType = "string"
                              }
                            }
                          ]
                          serviceEndpointPolicies = [
                            {
                              etag = "string"
                              id = "string"
                              location = "string"
                              properties = {
                                serviceEndpointPolicyDefinitions = [
                                  {
                                    etag = "string"
                                    id = "string"
                                    name = "string"
                                    properties = {
                                      description = "string"
                                      service = "string"
                                      serviceResources = [
                                        "string"
                                      ]
                                    }
                                  }
                                ]
                              }
                              tags = {
                                {customized property} = "string"
                              }
                            }
                          ]
                          serviceEndpoints = [
                            {
                              locations = [
                                "string"
                              ]
                              provisioningState = "string"
                              service = "string"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
            ipConfigurations = [
              {
                etag = "string"
                name = "string"
                properties = {
                }
              }
            ]
          }
        }
      ]
    }
  }
}

屬性值

Microsoft.Network/networkProfiles

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
地點 資源位置。 字串
名稱 資源名稱 字串 (必要)
屬性 網路配置檔屬性。 NetworkProfilePropertiesFormat
標記 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.Network/networkProfiles@2019-02-01”

ApplicationSecurityGroup 應用程式安全組

名稱 說明 價值
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 應用程式安全組的屬性。 ApplicationSecurityGroupPropertiesFormat
標記 資源標籤。 資源標籤

ApplicationSecurityGroupPropertiesFormat

名稱 說明 價值

容器

名稱 說明 價值
識別碼 資源標識碼。 字串

容器網路介面

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面屬性。 ContainerNetworkInterfacePropertiesFormat

ContainerNetworkInterfaceConfiguration

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面組態屬性。 ContainerNetworkInterfaceConfigurationPropertiesFormat

ContainerNetworkInterfaceConfigurationPropertiesFormat

名稱 說明 價值
containerNetwork介面 從這個容器網路介面組態建立的容器網路介面清單。 子資源[]
ip配置 容器網路介面組態的IP組態清單。 IPConfigurationProfile[]

ContainerNetworkInterfaceIpConfiguration

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 容器網路介面IP組態的屬性。 ContainerNetworkInterfaceIpConfigurationPropertiesFormat

ContainerNetworkInterfaceIpConfigurationPropertiesFormat

名稱 說明 價值

ContainerNetworkInterfacePropertiesFormat

名稱 說明 價值
容器 此容器網路介面所連結之容器的參考。 容器
containerNetworkInterfaceConfiguration 建立此容器網路介面的容器網路介面組態。 ContainerNetworkInterfaceConfiguration
ip配置 此容器 nic 上的IP組態參考。 ContainerNetworkInterfaceIpConfiguration[]

代表團

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 子網內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 子網的屬性。 ServiceDelegationPropertiesFormat

IPConfigurationProfile

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源的名稱。 此名稱可用來存取資源。 字串
屬性 IP 組態配置檔的屬性。 IPConfigurationProfilePropertiesFormat

IPConfigurationProfilePropertiesFormat

名稱 說明 價值
子網路 用來建立容器網路介面IP組態之子網資源的參考。 子網

NetworkProfilePropertiesFormat

名稱 說明 價值
containerNetworkInterface配置 chid 容器網路介面組態的清單。 ContainerNetworkInterfaceConfiguration[]
containerNetwork介面 子容器網路介面的清單。 ContainerNetworkInterface[]

網路安全組

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 網路安全組的屬性 NetworkSecurityGroupPropertiesFormat
標記 資源標籤。 資源標籤

NetworkSecurityGroupPropertiesFormat

名稱 說明 價值
defaultSecurityRules 網路安全組的預設安全性規則。 SecurityRule[]
佈建狀態 公用IP資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
資源識別碼 網路安全組資源的資源 GUID 屬性。 字串
securityRules 安全規則 網路安全組的安全性規則集合。 SecurityRule[]
名稱 說明 價值
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 資源導覽連結屬性格式。 ResourceNavigationLinkFormat

ResourceNavigationLinkFormat

名稱 說明 價值
連結 連結至外部資源 字串
linkedResourceType 鏈接資源的資源類型。 字串

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

資源標籤

名稱 說明 價值

路線

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 路由的屬性。 RoutePropertiesFormat

RoutePropertiesFormat

名稱 說明 價值
addressPrefix 的 路由套用目的地 CIDR。 字串
nextHopIp位址 IP 位址封包應該轉送至 。 下一個躍點值只能在下一個躍點類型為 VirtualAppliance 的路由中允許。 字串
nextHopType 封包應傳送至的 Azure 躍點類型。 “互聯網”
“無”
“虛擬設備”
“VirtualNetworkGateway”
'VnetLocal' (必要)
佈建狀態 資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串

路由表

名稱 說明 價值
ETAG 取得唯一的唯一 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 路由表的屬性。 RouteTablePropertiesFormat
標記 資源標籤。 資源標籤

RouteTablePropertiesFormat

名稱 說明 價值
禁用 BgpRoutePropagation 取得或設定是否要停用 BGP 在該路由表上學習的路由。 True 表示停用。 布爾 (bool)
佈建狀態 資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
路線 路由表中包含的路由集合。 路由[]

SecurityRule 安全規則

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 安全性規則的屬性 SecurityRulePropertiesFormat

SecurityRulePropertiesFormat

名稱 說明 價值
訪問 允許或拒絕網路流量。 '允許'
'拒絕' (必要)
說明 此規則的描述。 限制為140個字元。 字串
destinationAddressPrefix 的 目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 字串
destinationAddress前綴 目的地位址前置詞。 CIDR 或目的地IP範圍。 字串[]
destinationApplicationSecurityGroups 指定為目的地的應用程式安全組。 ApplicationSecurityGroup[]
destinationPortRange 目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
destinationPortRanges 目的地埠範圍。 字串[]
方向 規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。 “入站”
'輸出' (必要)
優先權 規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。 整數 (int)
協議 此規則適用的網路協定。 可能的值為 『Tcp』、『Udp』、『Icmp』、『Esp』和 『*』。 '*'
'ESP'
“ICMP”
'tcp'
'Udp' (必要)
佈建狀態 公用IP資源的布建狀態。 可能的值為:『Updateing』、『刪除』和『Failed』。 字串
sourceAddressPrefix 的 CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。 字串
sourceAddress前綴 CIDR 或來源IP範圍。 字串[]
sourceApplicationSecurityGroups 指定為來源的應用程式安全組。 ApplicationSecurityGroup[]
sourcePortRange 來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。 字串
sourcePort範圍 來源埠範圍。 字串[]
名稱 說明 價值
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 資源導覽連結屬性格式。 ServiceAssociationLinkPropertiesFormat

ServiceAssociationLinkPropertiesFormat

名稱 說明 價值
連結 連結至外部資源。 字串
linkedResourceType 鏈接資源的資源類型。 字串

ServiceDelegationPropertiesFormat

名稱 說明 價值
行動 描述委派時允許對服務執行的動作 字串[]
服務名稱 應委派子網的服務名稱(例如Microsoft.Sql/servers) 字串

ServiceEndpointPolicy

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
地點 資源位置。 字串
屬性 服務端點原則的屬性 ServiceEndpointPolicyPropertiesFormat
標記 資源標籤。 資源標籤

ServiceEndpointPolicyDefinition

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 服務端點原則定義的屬性 ServiceEndpointPolicyDefinitionPropertiesFormat

ServiceEndpointPolicyDefinitionPropertiesFormat

名稱 說明 價值
說明 此規則的描述。 限制為140個字元。 字串
服務 服務端點名稱。 字串
服務資源 服務資源清單。 字串[]

ServiceEndpointPolicyPropertiesFormat

名稱 說明 價值
serviceEndpointPolicyDefinitions 服務端點原則的服務端點原則定義集合。 ServiceEndpointPolicyDefinition[]

ServiceEndpointPropertiesFormat

名稱 說明 價值
地點 位置清單。 字串[]
佈建狀態 資源的布建狀態。 字串
服務 端點服務的型別。 字串

子網路

名稱 說明 價值
ETAG 每當更新資源時變更的唯一隻讀字串。 字串
識別碼 資源標識碼。 字串
名稱 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
屬性 子網的屬性。 SubnetPropertiesFormat

SubnetPropertiesFormat

名稱 說明 價值
addressPrefix 的 子網的位址前綴。 字串
address前綴 子網的位址前綴清單。 字串[]
代表團 取得對子網上委派之參考的陣列。 委派[]
natGateway 閘道 與此子網相關聯的 Nat 閘道。 子資源
networkSecurityGroup NetworkSecurityGroup 資源的參考。 網路安全組
佈建狀態 資源的布建狀態。 字串
resourceNavigationLinks 使用子網取得外部資源的參考數位。 ResourceNavigationLink[]
routeTable RouteTable 資源的參考。 路由表
serviceAssociation連結 取得插入此子網之服務的參考數位。 ServiceAssociationLink[]
服務端點策略 服務端點原則的陣列。 ServiceEndpointPolicy[]
serviceEndpoints 服務端點的陣列。 ServiceEndpointPropertiesFormat[]

子資源

名稱 說明 價值
識別碼 資源標識碼。 字串