Microsoft.Network networkVirtualAppliances
本文內容
Bicep 資源定義
networkVirtualAppliances 資源類型可以使用目標作業進行部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄 檔。
若要建立 Microsoft.Network/networkVirtualAppliances 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.Network/networkVirtualAppliances@2023-11-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
properties: {
additionalNics: [
{
hasPublicIp: bool
name: 'string'
}
]
bootStrapConfigurationBlobs: [
'string'
]
cloudInitConfiguration: 'string'
cloudInitConfigurationBlobs: [
'string'
]
delegation: {
serviceName: 'string'
}
internetIngressPublicIps: [
{
id: 'string'
}
]
networkProfile: {
networkInterfaceConfigurations: [
{
properties: {
ipConfigurations: [
{
name: 'string'
properties: {
primary: bool
}
}
]
}
type: 'string'
}
]
}
nvaSku: {
bundledScaleUnit: 'string'
marketPlaceVersion: 'string'
vendor: 'string'
}
partnerManagedResource: {}
sshPublicKey: 'string'
virtualApplianceAsn: int
virtualHub: {
id: 'string'
}
}
}
屬性值
networkVirtualAppliances
ManagedServiceIdentity
名稱
描述
值
類型
用於資源的身分識別類型。 「SystemAssigned、UserAssigned」類型同時包含隱含建立的身分識別,和一組使用者指派的身分識別。 類型 『None』 將會從虛擬機中移除任何身分識別。
'None' 'SystemAssigned' 'SystemAssigned, UserAssigned' 'UserAssigned'
userAssignedIdentities
與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
ManagedServiceIdentityUserAssignedIdentities
ManagedServiceIdentityUserAssignedIdentities
Components1Jq1T4ISchemasManagedserviceidentityProper...
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
VirtualApplianceAdditionalNicProperties
名稱
描述
值
hasPublicIp
在額外的 nic 上針對公用 IP 意圖的旗標 (true 或 false)
bool
NAME
其他 nic 的名稱
字串
DelegationProperties
名稱
描述
值
serviceName
委派 NVA 的服務名稱。
字串
InternetIngressPublicIpsProperties
名稱
描述
值
id
公用 Ip 的資源 URI
字串
VirtualApplianceNetworkInterfaceConfiguration
VirtualApplianceNetworkInterfaceConfigurationPropert...
VirtualApplianceIPConfiguration
VirtualApplianceIPConfigurationProperties
名稱
描述
值
primary
這是否為 NIC 的主要 IP 組態。
bool
VirtualApplianceSkuProperties
名稱
描述
值
bundledScaleUnit
虛擬設備縮放單位。
字串
marketPlaceVersion
虛擬設備版本。
字串
vendor
虛擬設備廠商。
字串
PartnerManagedResourceProperties
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
SubResource
ARM 範本資源定義
networkVirtualAppliances 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄 。
若要建立 Microsoft.Network/networkVirtualAppliances 資源,請將下列 JSON 新增至您的範本。
{
"type": "Microsoft.Network/networkVirtualAppliances",
"apiVersion": "2023-11-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {}
}
},
"properties": {
"additionalNics": [
{
"hasPublicIp": "bool",
"name": "string"
}
],
"bootStrapConfigurationBlobs": [ "string" ],
"cloudInitConfiguration": "string",
"cloudInitConfigurationBlobs": [ "string" ],
"delegation": {
"serviceName": "string"
},
"internetIngressPublicIps": [
{
"id": "string"
}
],
"networkProfile": {
"networkInterfaceConfigurations": [
{
"properties": {
"ipConfigurations": [
{
"name": "string",
"properties": {
"primary": "bool"
}
}
]
},
"type": "string"
}
]
},
"nvaSku": {
"bundledScaleUnit": "string",
"marketPlaceVersion": "string",
"vendor": "string"
},
"partnerManagedResource": {},
"sshPublicKey": "string",
"virtualApplianceAsn": "int",
"virtualHub": {
"id": "string"
}
}
}
屬性值
networkVirtualAppliances
ManagedServiceIdentity
名稱
描述
值
類型
用於資源的身分識別類型。 「SystemAssigned、UserAssigned」類型同時包含隱含建立的身分識別,和一組使用者指派的身分識別。 類型 『None』 會從虛擬機中移除任何身分識別。
'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned'
userAssignedIdentities
與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
ManagedServiceIdentityUserAssignedIdentities
ManagedServiceIdentityUserAssignedIdentities
Components1Jq1T4ISchemasManagedserviceidentityProper...
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
VirtualApplianceAdditionalNicProperties
名稱
描述
值
hasPublicIp
在額外的 nic 上針對公用 IP 意圖的旗標 (true 或 false)
bool
NAME
其他 nic 的名稱
字串
DelegationProperties
名稱
描述
值
serviceName
委派 NVA 的服務名稱。
字串
InternetIngressPublicIpsProperties
名稱
描述
值
id
公用 Ip 的資源 URI
字串
VirtualApplianceNetworkInterfaceConfiguration
VirtualApplianceNetworkInterfaceConfigurationPropert...
VirtualApplianceIPConfiguration
VirtualApplianceIPConfigurationProperties
名稱
描述
值
primary
這是否為 NIC 的主要 IP 組態。
bool
VirtualApplianceSkuProperties
名稱
描述
值
bundledScaleUnit
虛擬設備縮放單位。
字串
marketPlaceVersion
虛擬設備版本。
字串
vendor
虛擬設備廠商。
字串
PartnerManagedResourceProperties
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
SubResource
networkVirtualAppliances 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄 。
若要建立 Microsoft.Network/networkVirtualAppliances 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/networkVirtualAppliances@2023-11-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
identity {
type = "string"
identity_ids = []
}
body = jsonencode({
properties = {
additionalNics = [
{
hasPublicIp = bool
name = "string"
}
]
bootStrapConfigurationBlobs = [
"string"
]
cloudInitConfiguration = "string"
cloudInitConfigurationBlobs = [
"string"
]
delegation = {
serviceName = "string"
}
internetIngressPublicIps = [
{
id = "string"
}
]
networkProfile = {
networkInterfaceConfigurations = [
{
properties = {
ipConfigurations = [
{
name = "string"
properties = {
primary = bool
}
}
]
}
type = "string"
}
]
}
nvaSku = {
bundledScaleUnit = "string"
marketPlaceVersion = "string"
vendor = "string"
}
partnerManagedResource = {}
sshPublicKey = "string"
virtualApplianceAsn = int
virtualHub = {
id = "string"
}
}
})
}
屬性值
networkVirtualAppliances
ManagedServiceIdentity
名稱
描述
值
類型
用於資源的身分識別類型。 「SystemAssigned、UserAssigned」類型同時包含隱含建立的身分識別,和一組使用者指派的身分識別。 類型 『None』 將會從虛擬機中移除任何身分識別。
“SystemAssigned” “SystemAssigned, UserAssigned” “UserAssigned”
identity_ids
與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
使用者身分識別標識碼的陣列。
ManagedServiceIdentityUserAssignedIdentities
Components1Jq1T4ISchemasManagedserviceidentityProper...
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
VirtualApplianceAdditionalNicProperties
名稱
描述
值
hasPublicIp
在額外的 nic 上針對公用 IP 意圖的旗標 (true 或 false)
bool
NAME
其他 nic 的名稱
字串
DelegationProperties
名稱
描述
值
serviceName
委派 NVA 的服務名稱。
字串
InternetIngressPublicIpsProperties
名稱
描述
值
id
公用 Ip 的資源 URI
字串
VirtualApplianceNetworkInterfaceConfiguration
VirtualApplianceNetworkInterfaceConfigurationPropert...
VirtualApplianceIPConfiguration
VirtualApplianceIPConfigurationProperties
名稱
描述
值
primary
這是否為 NIC 的主要 IP 組態。
bool
VirtualApplianceSkuProperties
名稱
描述
值
bundledScaleUnit
虛擬設備縮放單位。
字串
marketPlaceVersion
虛擬設備版本。
字串
vendor
虛擬設備廠商。
字串
PartnerManagedResourceProperties
此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。
SubResource