Microsoft.Network ExpressRoutePorts 2018-10-01
ExpressRoutePorts 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/ExpressRoutePorts 資源,請將下列 Bicep 新增至範本。
Bicep
resource symbolicname 'Microsoft.Network/ExpressRoutePorts@2018-10-01' = {
location: 'string'
name: 'string'
properties: {
bandwidthInGbps: int
encapsulation: 'string'
links: [
{
id: 'string'
name: 'string'
properties: {
adminState: 'string'
}
}
]
peeringLocation: 'string'
resourceGuid: 'string'
}
tags: {
{customized property}: 'string'
}
}
名字 | 描述 | 價值 |
---|---|---|
id | 資源標識碼。 | 字串 |
名字 | 父系子埠資源之間唯一的子埠資源名稱。 | 字串 |
性能 | ExpressRouteLink 屬性 | ExpressRouteLinkPropertiesFormat |
名字 | 描述 | 價值 |
---|---|---|
adminState | 實體埠的系統管理狀態 | 'Disabled' 'Enabled' |
名字 | 描述 | 價值 |
---|---|---|
bandwidthIn Gbps | Gbps 中採購的埠頻寬 | int |
封裝 | 實體埠上的封裝方法。 | 'Dot1Q' 'QinQ' |
連結 | ExpressRoutePort 資源的實體連結集 | ExpressRouteLink[] |
peeringLocation | ExpressRoutePort 實際對應至的對等互連位置名稱。 | 字串 |
resourceGuid | ExpressRoutePort 資源的資源 GUID 屬性。 | 字串 |
名字 | 描述 | 價值 |
---|---|---|
位置 | 資源位置。 | 字串 |
名字 | 資源名稱 | 字串 (必要) |
性能 | ExpressRoutePort 屬性 | ExpressRoutePortPropertiesFormat |
標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
名字 | 描述 | 價值 |
---|
下列 Azure 驗證模組 可用來部署此資源類型。
模組 | 描述 |
---|---|
ExpressRoute 埠 | ExpressRoute 埠的 AVM 資源模組 |
ExpressRoutePorts 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/ExpressRoutePorts 資源,請將下列 JSON 新增至範本。
JSON
{
"type": "Microsoft.Network/ExpressRoutePorts",
"apiVersion": "2018-10-01",
"name": "string",
"location": "string",
"properties": {
"bandwidthInGbps": "int",
"encapsulation": "string",
"links": [
{
"id": "string",
"name": "string",
"properties": {
"adminState": "string"
}
}
],
"peeringLocation": "string",
"resourceGuid": "string"
},
"tags": {
"{customized property}": "string"
}
}
名字 | 描述 | 價值 |
---|---|---|
id | 資源標識碼。 | 字串 |
名字 | 父系子埠資源之間唯一的子埠資源名稱。 | 字串 |
性能 | ExpressRouteLink 屬性 | ExpressRouteLinkPropertiesFormat |
名字 | 描述 | 價值 |
---|---|---|
adminState | 實體埠的系統管理狀態 | 'Disabled' 'Enabled' |
名字 | 描述 | 價值 |
---|---|---|
bandwidthIn Gbps | Gbps 中採購的埠頻寬 | int |
封裝 | 實體埠上的封裝方法。 | 'Dot1Q' 'QinQ' |
連結 | ExpressRoutePort 資源的實體連結集 | ExpressRouteLink[] |
peeringLocation | ExpressRoutePort 實際對應至的對等互連位置名稱。 | 字串 |
resourceGuid | ExpressRoutePort 資源的資源 GUID 屬性。 | 字串 |
名字 | 描述 | 價值 |
---|---|---|
apiVersion | API 版本 | '2018-10-01' |
位置 | 資源位置。 | 字串 |
名字 | 資源名稱 | 字串 (必要) |
性能 | ExpressRoutePort 屬性 | ExpressRoutePortPropertiesFormat |
標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
類型 | 資源類型 | 'Microsoft.Network/ExpressRoutePorts' |
名字 | 描述 | 價值 |
---|
ExpressRoutePorts 資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/ExpressRoutePorts 資源,請將下列 Terraform 新增至範本。
Terraform
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/ExpressRoutePorts@2018-10-01"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
bandwidthInGbps = int
encapsulation = "string"
links = [
{
id = "string"
name = "string"
properties = {
adminState = "string"
}
}
]
peeringLocation = "string"
resourceGuid = "string"
}
})
}
名字 | 描述 | 價值 |
---|---|---|
id | 資源標識碼。 | 字串 |
名字 | 父系子埠資源之間唯一的子埠資源名稱。 | 字串 |
性能 | ExpressRouteLink 屬性 | ExpressRouteLinkPropertiesFormat |
名字 | 描述 | 價值 |
---|---|---|
adminState | 實體埠的系統管理狀態 | 'Disabled' 'Enabled' |
名字 | 描述 | 價值 |
---|---|---|
bandwidthIn Gbps | Gbps 中採購的埠頻寬 | int |
封裝 | 實體埠上的封裝方法。 | 'Dot1Q' 'QinQ' |
連結 | ExpressRoutePort 資源的實體連結集 | ExpressRouteLink[] |
peeringLocation | ExpressRoutePort 實際對應至的對等互連位置名稱。 | 字串 |
resourceGuid | ExpressRoutePort 資源的資源 GUID 屬性。 | 字串 |
名字 | 描述 | 價值 |
---|---|---|
位置 | 資源位置。 | 字串 |
名字 | 資源名稱 | 字串 (必要) |
性能 | ExpressRoutePort 屬性 | ExpressRoutePortPropertiesFormat |
標籤 | 資源標籤 | 標記名稱和值的字典。 |
類型 | 資源類型 | “Microsoft.Network/ExpressRoutePorts@2018-10-01” |
名字 | 描述 | 價值 |
---|