Microsoft.Network vpnSites 2018-12-01
vpnSites 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/vpnSites 資源,請將下列 Bicep 新增至範本。
Bicep
resource symbolicname 'Microsoft.Network/vpnSites@2018-12-01' = {
location: 'string'
name: 'string'
properties: {
addressSpace: {
addressPrefixes: [
'string'
]
}
bgpProperties: {
asn: int
bgpPeeringAddress: 'string'
peerWeight: int
}
deviceProperties: {
deviceModel: 'string'
deviceVendor: 'string'
linkSpeedInMbps: int
}
ipAddress: 'string'
isSecuritySite: bool
provisioningState: 'string'
siteKey: 'string'
virtualWan: {
id: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
名字 | 描述 | 價值 |
---|---|---|
addressPrefixes | 以 CIDR 表示法保留給此虛擬網路的位址區塊清單。 | string[] |
名字 | 描述 | 價值 |
---|---|---|
asn | BGP 喇叭的 ASN。 | int |
bgpPeeringAddress | 這個 BGP 說話者的 BGP 對等互連位址和 BGP 識別碼。 | 字串 |
peerWeight | 新增至此 BGP 喇叭所學習路由的權數。 | int |
名字 | 描述 | 價值 |
---|---|---|
deviceModel | 裝置的模型。 | 字串 |
deviceVendor | 裝置廠商的名稱。 | 字串 |
linkSpeedInMbps | 連結速度。 | int |
名字 | 描述 | 價值 |
---|---|---|
位置 | 資源位置。 | 字串 |
名字 | 資源名稱 | 字串 (必要) |
性能 | VpnSite 的參數 | VpnSiteProperties |
標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
名字 | 描述 | 價值 |
---|
名字 | 描述 | 價值 |
---|---|---|
id | 資源標識碼。 | 字串 |
名字 | 描述 | 價值 |
---|---|---|
addressSpace | 包含IP位址範圍數位的AddressSpace。 | AddressSpace |
bgpProperties | bgp 屬性集。 | BgpSettings |
deviceProperties | 裝置屬性 | DeviceProperties |
ipAddress | vpn-site 的 ip-address。 | 字串 |
isSecuritySite | IsSecuritySite 旗標 | bool |
provisioningState | 資源的布建狀態。 | '刪除' 'Failed' 'Succeeded' 'Updateing' |
siteKey | VPN 月臺的金鑰,可用於連線。 | 字串 |
virtualWan | vpnSite 所屬的 VirtualWAN | SubResource |
下列快速入門範例會部署此資源類型。
Bicep 檔案 | 描述 |
---|---|
建立虛擬 WAN 資源 | 此範本可讓您建立虛擬 WAN 資源,包括虛擬 WAN、虛擬中樞、VPN 閘道、VPN 網站和 VPN Connecton。 |
vpnSites 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/vpnSites 資源,請將下列 JSON 新增至範本。
JSON
{
"type": "Microsoft.Network/vpnSites",
"apiVersion": "2018-12-01",
"name": "string",
"location": "string",
"properties": {
"addressSpace": {
"addressPrefixes": [ "string" ]
},
"bgpProperties": {
"asn": "int",
"bgpPeeringAddress": "string",
"peerWeight": "int"
},
"deviceProperties": {
"deviceModel": "string",
"deviceVendor": "string",
"linkSpeedInMbps": "int"
},
"ipAddress": "string",
"isSecuritySite": "bool",
"provisioningState": "string",
"siteKey": "string",
"virtualWan": {
"id": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
名字 | 描述 | 價值 |
---|---|---|
addressPrefixes | 以 CIDR 表示法保留給此虛擬網路的位址區塊清單。 | string[] |
名字 | 描述 | 價值 |
---|---|---|
asn | BGP 喇叭的 ASN。 | int |
bgpPeeringAddress | 這個 BGP 說話者的 BGP 對等互連位址和 BGP 識別碼。 | 字串 |
peerWeight | 新增至此 BGP 喇叭所學習路由的權數。 | int |
名字 | 描述 | 價值 |
---|---|---|
deviceModel | 裝置的模型。 | 字串 |
deviceVendor | 裝置廠商的名稱。 | 字串 |
linkSpeedInMbps | 連結速度。 | int |
名字 | 描述 | 價值 |
---|---|---|
apiVersion | API 版本 | '2018-12-01' |
位置 | 資源位置。 | 字串 |
名字 | 資源名稱 | 字串 (必要) |
性能 | VpnSite 的參數 | VpnSiteProperties |
標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
類型 | 資源類型 | 'Microsoft.Network/vpnSites' |
名字 | 描述 | 價值 |
---|
名字 | 描述 | 價值 |
---|---|---|
id | 資源標識碼。 | 字串 |
名字 | 描述 | 價值 |
---|---|---|
addressSpace | 包含IP位址範圍數位的AddressSpace。 | AddressSpace |
bgpProperties | bgp 屬性集。 | BgpSettings |
deviceProperties | 裝置屬性 | DeviceProperties |
ipAddress | vpn-site 的 ip-address。 | 字串 |
isSecuritySite | IsSecuritySite 旗標 | bool |
provisioningState | 資源的布建狀態。 | '刪除' 'Failed' 'Succeeded' 'Updateing' |
siteKey | VPN 月臺的金鑰,可用於連線。 | 字串 |
virtualWan | vpnSite 所屬的 VirtualWAN | SubResource |
下列快速入門範本會部署此資源類型。
範本 | 描述 |
---|---|
建立虛擬 WAN 資源 |
此範本可讓您建立虛擬 WAN 資源,包括虛擬 WAN、虛擬中樞、VPN 閘道、VPN 網站和 VPN Connecton。 |
vpnSites 資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.Network/vpnSites 資源,請將下列 Terraform 新增至範本。
Terraform
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/vpnSites@2018-12-01"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
addressSpace = {
addressPrefixes = [
"string"
]
}
bgpProperties = {
asn = int
bgpPeeringAddress = "string"
peerWeight = int
}
deviceProperties = {
deviceModel = "string"
deviceVendor = "string"
linkSpeedInMbps = int
}
ipAddress = "string"
isSecuritySite = bool
provisioningState = "string"
siteKey = "string"
virtualWan = {
id = "string"
}
}
})
}
名字 | 描述 | 價值 |
---|---|---|
addressPrefixes | 以 CIDR 表示法保留給此虛擬網路的位址區塊清單。 | string[] |
名字 | 描述 | 價值 |
---|---|---|
asn | BGP 喇叭的 ASN。 | int |
bgpPeeringAddress | 這個 BGP 說話者的 BGP 對等互連位址和 BGP 識別碼。 | 字串 |
peerWeight | 新增至此 BGP 喇叭所學習路由的權數。 | int |
名字 | 描述 | 價值 |
---|---|---|
deviceModel | 裝置的模型。 | 字串 |
deviceVendor | 裝置廠商的名稱。 | 字串 |
linkSpeedInMbps | 連結速度。 | int |
名字 | 描述 | 價值 |
---|---|---|
位置 | 資源位置。 | 字串 |
名字 | 資源名稱 | 字串 (必要) |
性能 | VpnSite 的參數 | VpnSiteProperties |
標籤 | 資源標籤 | 標記名稱和值的字典。 |
類型 | 資源類型 | “Microsoft.Network/vpnSites@2018-12-01” |
名字 | 描述 | 價值 |
---|
名字 | 描述 | 價值 |
---|---|---|
id | 資源標識碼。 | 字串 |
名字 | 描述 | 價值 |
---|---|---|
addressSpace | 包含IP位址範圍數位的AddressSpace。 | AddressSpace |
bgpProperties | bgp 屬性集。 | BgpSettings |
deviceProperties | 裝置屬性 | DeviceProperties |
ipAddress | vpn-site 的 ip-address。 | 字串 |
isSecuritySite | IsSecuritySite 旗標 | bool |
provisioningState | 資源的布建狀態。 | '刪除' 'Failed' 'Succeeded' 'Updateing' |
siteKey | VPN 月臺的金鑰,可用於連線。 | 字串 |
virtualWan | vpnSite 所屬的 VirtualWAN | SubResource |