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

IVirtualNetworkGateway 接口

定义

Azure 中虚拟网络网关管理 API 的入口点。

public interface IVirtualNetworkGateway : Microsoft.Azure.Management.Network.Fluent.IUpdatableWithTags<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGateway>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Network.Fluent.INetworkManager,Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGateway>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Update.IUpdate>
type IVirtualNetworkGateway = interface
    interface IBeta
    interface IGroupableResource<INetworkManager, VirtualNetworkGatewayInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<INetworkManager>
    interface IHasInner<VirtualNetworkGatewayInner>
    interface IRefreshable<IVirtualNetworkGateway>
    interface IUpdatable<IUpdate>
    interface IUpdatableWithTags<IVirtualNetworkGateway>
Public Interface IVirtualNetworkGateway
Implements IBeta, IGroupableResource(Of INetworkManager, VirtualNetworkGatewayInner), IHasInner(Of VirtualNetworkGatewayInner), IHasManager(Of INetworkManager), IRefreshable(Of IVirtualNetworkGateway), IUpdatable(Of IUpdate), IUpdatableWithTags(Of IVirtualNetworkGateway)
实现

属性

ActiveActive

获取 activeActive 标志。

BgpSettings

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

Connections

获取此虚拟网络网关的虚拟网络网关连接管理 API 的入口点。

GatewayDefaultSiteResourceId

获取 LocalNetworkGateway 资源的资源 ID,该资源表示具有默认路由的本地网络站点。

GatewayType

获取 gatewayType 值。

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IHasInner<T>)
IPConfigurations

获取虚拟网络网关的 IP 配置。

IsBgpEnabled

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

Key

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IIndexable)
Manager

获取此资源类型的管理器客户端类型。

(继承自 IHasManager<ManagerT>)
Name

获取资源的名称

(继承自 IHasName)
Region

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IResource)
RegionName

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IResource)
ResourceGroupName

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IHasResourceGroup)
Sku

获取此虚拟网络网关的 SKU。

Tags

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IResource)
Type

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IResource)
VpnClientConfiguration

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

VpnType

获取此虚拟网络网关的类型。

方法

GenerateVpnProfile()

为指定资源组中虚拟网络网关的 P2S 客户端生成 VPN 配置文件。 用于基于 IKEV2 和半径的身份验证。

GenerateVpnProfileAsync(CancellationToken)

为指定资源组中虚拟网络网关的 P2S 客户端异步生成 VPN 配置文件。 用于基于 IKEV2 和半径的身份验证。

ListConnections()

Azure 中虚拟网络网关管理 API 的入口点。

ListConnectionsAsync(CancellationToken)

异步获取与此虚拟网络网关关联的所有连接。

Refresh()

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RefreshAsync(CancellationToken)

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
Reset()

重置虚拟网络网关的主网关。

ResetAsync(CancellationToken)

异步重置虚拟网络网关的主网关。

Update()

Azure 中虚拟网络网关管理 API 的入口点。

(继承自 IUpdatable<T>)
UpdateTags()

开始对资源进行标记更新。 这是用于更新 Azure 中资源的标记的生成器模式的开始。 完成定义并启动 Azure 中实际资源更新过程的最终方法是 AppliableWithTags.applyTags () 。

(继承自 IUpdatableWithTags<T>)

适用于