Microsoft.Network expressRouteGateways 2021-03-01
Bicep 資源定義
expressRouteGateways 資源類型可以使用目標作業進行部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/expressRouteGateways 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.Network/expressRouteGateways@2021-03-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
properties: {
autoScaleConfiguration: {
bounds: {
max: int
min: int
}
}
virtualHub: {
id: 'string'
}
}
}
屬性值
expressRouteGateways
ExpressRouteGatewayProperties
ExpressRouteGatewayPropertiesAutoScaleConfiguration
ExpressRouteGatewayPropertiesAutoScaleConfigurationB...
名稱 |
描述 |
值 |
最大值 |
為 ExpressRoute 閘道部署的縮放單位數目上限。 |
int |
分鐘 |
為 ExpressRoute 閘道部署的縮放單位數目下限。 |
int |
VirtualHubId
名稱 |
描述 |
值 |
id |
ExpressRoute 閘道所在的虛擬中樞資源 URI,或將會部署。 虛擬中樞資源和 ExpressRoute 閘道資源位於相同的訂用帳戶中。 |
字串 |
快速入門範本
下列快速入門範本會部署此資源類型。
ARM 範本資源定義
expressRouteGateways 資源類型可以使用目標作業進行部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/expressRouteGateways 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.Network/expressRouteGateways",
"apiVersion": "2021-03-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"autoScaleConfiguration": {
"bounds": {
"max": "int",
"min": "int"
}
},
"virtualHub": {
"id": "string"
}
}
}
屬性值
expressRouteGateways
名稱 |
描述 |
值 |
類型 |
資源類型 |
'Microsoft.Network/expressRouteGateways' |
apiVersion |
資源 API 版本 |
'2021-03-01' |
NAME |
資源名稱 |
字串 (必要) |
location |
資源位置。 |
字串 |
tags |
資源標籤。 |
標記名稱和值的字典。 請參閱 範本中的標記 |
properties |
快速路由閘道的屬性。 |
ExpressRouteGatewayProperties |
ExpressRouteGatewayProperties
ExpressRouteGatewayPropertiesAutoScaleConfiguration
ExpressRouteGatewayPropertiesAutoScaleConfigurationB...
名稱 |
描述 |
值 |
最大值 |
針對 ExpressRoute 閘道部署的縮放單位數目上限。 |
int |
分鐘 |
針對 ExpressRoute 閘道部署的縮放單位數目下限。 |
int |
VirtualHubId
名稱 |
描述 |
值 |
id |
ExpressRoute 閘道所在的虛擬中樞資源 URI,或將會部署。 虛擬中樞資源和 ExpressRoute 閘道資源位於相同的訂用帳戶中。 |
字串 |
快速入門範本
下列快速入門範本會部署此資源類型。
expressRouteGateways 資源類型可以使用目標作業進行部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
若要建立 Microsoft.Network/expressRouteGateways 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/expressRouteGateways@2021-03-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
autoScaleConfiguration = {
bounds = {
max = int
min = int
}
}
virtualHub = {
id = "string"
}
}
})
}
屬性值
expressRouteGateways
名稱 |
描述 |
值 |
類型 |
資源類型 |
“Microsoft.Network/expressRouteGateways@2021-03-01” |
NAME |
資源名稱 |
字串 (必要) |
location |
資源位置。 |
字串 |
parent_id |
若要部署至資源群組,請使用該資源群組的標識碼。 |
字串 (必要) |
tags |
資源標籤。 |
標記名稱和值的字典。 |
properties |
快速路由閘道的屬性。 |
ExpressRouteGatewayProperties |
ExpressRouteGatewayProperties
ExpressRouteGatewayPropertiesAutoScaleConfiguration
ExpressRouteGatewayPropertiesAutoScaleConfigurationB...
名稱 |
描述 |
值 |
最大值 |
為 ExpressRoute 閘道部署的縮放單位數目上限。 |
int |
分鐘 |
為 ExpressRoute 閘道部署的縮放單位數目下限。 |
int |
VirtualHubId
名稱 |
描述 |
值 |
id |
ExpressRoute 閘道所在的虛擬中樞資源 URI,或將會部署。 虛擬中樞資源和 ExpressRoute 閘道資源位於相同的訂用帳戶中。 |
字串 |