共用方式為


VirtualNetworkGateway interface

一般資源資訊的通用類別。

Extends

屬性

active

ActiveActive 旗標。

adminState

屬性,指出 Express Route 閘道在 vnet 中有多個 Express Route 閘道時是否提供流量

allowRemoteVnetTraffic

設定此閘道以接受來自其他 Azure 虛擬網路的流量。 此設定不支持連線到 Azure 虛擬 WAN。

allowVirtualWanTraffic

設定此閘道以接受來自遠端虛擬網路的流量。

autoScaleConfiguration

virutal 網路閘道的自動調整設定

bgpSettings

虛擬網路閘道的 BGP 喇叭設定。

customRoutes

位址空間資源的參考,代表客戶針對虛擬網路網關和 VpnClient 所指定的自定義路由地址空間。

disableIPSecReplayProtection

disableIPSecReplayProtection 旗標。

enableBgp

是否為此虛擬網路閘道啟用 BGP。

enableBgpRouteTranslationForNat

EnableBgpRouteTranslationForNat 旗標。

enableDnsForwarding

是否啟用 DNS 轉送。

enablePrivateIpAddress

是否需要在此閘道上啟用私人IP以進行連線。

etag

每當更新資源時變更的唯一隻讀字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。

extendedLocation

本機虛擬網路閘道類型的擴充位置。

gatewayDefaultSite

LocalNetworkGateway 資源的參考,代表具有預設路由的局域網路網站。 如果移除現有的默認網站設定,請指派 Null 值。

gatewayType

此虛擬網路閘道的類型。

identity

如果已設定,則為虛擬網路網關的身分識別。

inboundDnsForwardingEndpoint

網關所配置的IP位址,DNS要求可以傳送至該閘道。 注意:這個屬性不會串行化。 它只能由伺服器填入。

ipConfigurations

虛擬網路閘道的IP組態。

natRules

虛擬網路閘道的 NatRules。

provisioningState

虛擬網路閘道資源的布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resiliencyModel

屬性,指出 Express Route 閘道是否有 MultiHomed 或 SingleHomed 的復原模型

resourceGuid

虛擬網路閘道資源的資源 GUID 屬性。 注意:這個屬性不會串行化。 它只能由伺服器填入。

sku

VirtualNetworkGatewaySku 資源的參考,代表為虛擬網路網關選取的 SKU。

virtualNetworkGatewayPolicyGroups

VirtualNetworkGatewayPolicyGroup 資源的參考,代表網關可用的 VirtualNetworkGatewayPolicyGroup。

vNetExtendedLocationResourceId

客戶 vnet 資源標識碼。本機閘道類型的 VirtualNetworkGateway 會與客戶 vnet 相關聯。

vpnClientConfiguration

代表 P2S VpnClient 組態之 VpnClientConfiguration 資源的參考。

vpnGatewayGeneration

此 VirtualNetworkGateway 的世代。 如果 gatewayType 不是 VPN,則必須是 None。

vpnType

此虛擬網路閘道的類型。

繼承的屬性

id

資源標識碼。

location

資源位置。

name

資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tags

資源標籤。

type

資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

active

ActiveActive 旗標。

active?: boolean

屬性值

boolean

adminState

屬性,指出 Express Route 閘道在 vnet 中有多個 Express Route 閘道時是否提供流量

adminState?: string

屬性值

string

allowRemoteVnetTraffic

設定此閘道以接受來自其他 Azure 虛擬網路的流量。 此設定不支持連線到 Azure 虛擬 WAN。

allowRemoteVnetTraffic?: boolean

屬性值

boolean

allowVirtualWanTraffic

設定此閘道以接受來自遠端虛擬網路的流量。

allowVirtualWanTraffic?: boolean

屬性值

boolean

autoScaleConfiguration

virutal 網路閘道的自動調整設定

autoScaleConfiguration?: VirtualNetworkGatewayAutoScaleConfiguration

屬性值

bgpSettings

虛擬網路閘道的 BGP 喇叭設定。

bgpSettings?: BgpSettings

屬性值

customRoutes

位址空間資源的參考,代表客戶針對虛擬網路網關和 VpnClient 所指定的自定義路由地址空間。

customRoutes?: AddressSpace

屬性值

disableIPSecReplayProtection

disableIPSecReplayProtection 旗標。

disableIPSecReplayProtection?: boolean

屬性值

boolean

enableBgp

是否為此虛擬網路閘道啟用 BGP。

enableBgp?: boolean

屬性值

boolean

enableBgpRouteTranslationForNat

EnableBgpRouteTranslationForNat 旗標。

enableBgpRouteTranslationForNat?: boolean

屬性值

boolean

enableDnsForwarding

是否啟用 DNS 轉送。

enableDnsForwarding?: boolean

屬性值

boolean

enablePrivateIpAddress

是否需要在此閘道上啟用私人IP以進行連線。

enablePrivateIpAddress?: boolean

屬性值

boolean

etag

每當更新資源時變更的唯一隻讀字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。

etag?: string

屬性值

string

extendedLocation

本機虛擬網路閘道類型的擴充位置。

extendedLocation?: ExtendedLocation

屬性值

gatewayDefaultSite

LocalNetworkGateway 資源的參考,代表具有預設路由的局域網路網站。 如果移除現有的默認網站設定,請指派 Null 值。

gatewayDefaultSite?: SubResource

屬性值

gatewayType

此虛擬網路閘道的類型。

gatewayType?: string

屬性值

string

identity

如果已設定,則為虛擬網路網關的身分識別。

identity?: ManagedServiceIdentity

屬性值

inboundDnsForwardingEndpoint

網關所配置的IP位址,DNS要求可以傳送至該閘道。 注意:這個屬性不會串行化。 它只能由伺服器填入。

inboundDnsForwardingEndpoint?: string

屬性值

string

ipConfigurations

虛擬網路閘道的IP組態。

ipConfigurations?: VirtualNetworkGatewayIPConfiguration[]

屬性值

natRules

虛擬網路閘道的 NatRules。

natRules?: VirtualNetworkGatewayNatRule[]

屬性值

provisioningState

虛擬網路閘道資源的布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState?: string

屬性值

string

resiliencyModel

屬性,指出 Express Route 閘道是否有 MultiHomed 或 SingleHomed 的復原模型

resiliencyModel?: string

屬性值

string

resourceGuid

虛擬網路閘道資源的資源 GUID 屬性。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resourceGuid?: string

屬性值

string

sku

VirtualNetworkGatewaySku 資源的參考,代表為虛擬網路網關選取的 SKU。

sku?: VirtualNetworkGatewaySku

屬性值

virtualNetworkGatewayPolicyGroups

VirtualNetworkGatewayPolicyGroup 資源的參考,代表網關可用的 VirtualNetworkGatewayPolicyGroup。

virtualNetworkGatewayPolicyGroups?: VirtualNetworkGatewayPolicyGroup[]

屬性值

vNetExtendedLocationResourceId

客戶 vnet 資源標識碼。本機閘道類型的 VirtualNetworkGateway 會與客戶 vnet 相關聯。

vNetExtendedLocationResourceId?: string

屬性值

string

vpnClientConfiguration

代表 P2S VpnClient 組態之 VpnClientConfiguration 資源的參考。

vpnClientConfiguration?: VpnClientConfiguration

屬性值

vpnGatewayGeneration

此 VirtualNetworkGateway 的世代。 如果 gatewayType 不是 VPN,則必須是 None。

vpnGatewayGeneration?: string

屬性值

string

vpnType

此虛擬網路閘道的類型。

vpnType?: string

屬性值

string

繼承的屬性詳細資料

id

資源標識碼。

id?: string

屬性值

string

繼承自Resource.id

location

資源位置。

location?: string

屬性值

string

繼承自Resource.location

name

資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

繼承自Resource.name

tags

資源標籤。

tags?: {[propertyName: string]: string}

屬性值

{[propertyName: string]: string}

繼承自Resource.tags

type

資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string

繼承自Resource.type