你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkGateway interface

常规资源信息的通用类

扩展

属性

active

ActiveActive 标志

bgpSettings

虚拟网络网关的 BGP 扬声器设置。

enableBgp

是否为此虚拟网络网关启用了 BGP。

etag

获取在更新资源时更改的唯一只读字符串。

gatewayDefaultSite

LocalNetworkGateway 资源的引用,该资源表示具有默认路由的本地网络站点。 如果删除现有的默认站点设置,请分配 Null 值。

gatewayType

此虚拟网络网关的类型。 可能的值为:“Vpn”和“ExpressRoute”。

ipConfigurations

虚拟网络网关的 IP 配置。

provisioningState

VirtualNetworkGateway 资源的预配状态。 可能的值包括:“正在更新”、“删除”和“Failed”。 注意:此属性不会序列化。 它只能由服务器填充。

resourceGuid

VirtualNetworkGateway 资源的资源 GUID 属性。

sku

VirtualNetworkGatewaySku 资源的引用,该资源表示为虚拟网络网关选择的 SKU。

vpnClientConfiguration

表示 P2S VpnClient 配置的 VpnClientConfiguration 资源的引用。

vpnType

此虚拟网络网关的类型。 可能的值为:“PolicyBased”和“RouteBased”。

继承属性

id

资源 ID。

location

资源位置。

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

tags

资源标记。

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

active

ActiveActive 标志

active?: boolean

属性值

boolean

bgpSettings

虚拟网络网关的 BGP 扬声器设置。

bgpSettings?: BgpSettings

属性值

enableBgp

是否为此虚拟网络网关启用了 BGP。

enableBgp?: boolean

属性值

boolean

etag

获取在更新资源时更改的唯一只读字符串。

etag?: string

属性值

string

gatewayDefaultSite

LocalNetworkGateway 资源的引用,该资源表示具有默认路由的本地网络站点。 如果删除现有的默认站点设置,请分配 Null 值。

gatewayDefaultSite?: SubResource

属性值

gatewayType

此虚拟网络网关的类型。 可能的值为:“Vpn”和“ExpressRoute”。

gatewayType?: string

属性值

string

ipConfigurations

虚拟网络网关的 IP 配置。

ipConfigurations?: VirtualNetworkGatewayIPConfiguration[]

属性值

provisioningState

VirtualNetworkGateway 资源的预配状态。 可能的值包括:“正在更新”、“删除”和“Failed”。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

resourceGuid

VirtualNetworkGateway 资源的资源 GUID 属性。

resourceGuid?: string

属性值

string

sku

VirtualNetworkGatewaySku 资源的引用,该资源表示为虚拟网络网关选择的 SKU。

sku?: VirtualNetworkGatewaySku

属性值

vpnClientConfiguration

表示 P2S VpnClient 配置的 VpnClientConfiguration 资源的引用。

vpnClientConfiguration?: VpnClientConfiguration

属性值

vpnType

此虚拟网络网关的类型。 可能的值为:“PolicyBased”和“RouteBased”。

vpnType?: string

属性值

string

继承属性详细信息

id

资源 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