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

IVirtualNetworkGatewayConnection 接口

定义

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

public interface IVirtualNetworkGatewayConnection : Microsoft.Azure.Management.Network.Fluent.IUpdatableWithTags<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnection>, 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.VirtualNetworkGatewayConnectionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGateway>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChild<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChildResource<Microsoft.Azure.Management.Network.Fluent.INetworkManager,Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnection>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGatewayConnection.Update.IUpdate>
type IVirtualNetworkGatewayConnection = interface
    interface IBeta
    interface IIndependentChildResource<INetworkManager, VirtualNetworkGatewayConnectionInner>
    interface IGroupableResource<INetworkManager, VirtualNetworkGatewayConnectionInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<INetworkManager>
    interface IHasInner<VirtualNetworkGatewayConnectionInner>
    interface IIndependentChild<INetworkManager>
    interface IRefreshable<IVirtualNetworkGatewayConnection>
    interface IUpdatable<IUpdate>
    interface IUpdatableWithTags<IVirtualNetworkGatewayConnection>
    interface IHasParent<IVirtualNetworkGateway>
Public Interface IVirtualNetworkGatewayConnection
Implements IBeta, IGroupableResource(Of INetworkManager, VirtualNetworkGatewayConnectionInner), IHasInner(Of VirtualNetworkGatewayConnectionInner), IHasManager(Of INetworkManager), IHasParent(Of IVirtualNetworkGateway), IIndependentChild(Of INetworkManager), IIndependentChildResource(Of INetworkManager, VirtualNetworkGatewayConnectionInner), IRefreshable(Of IVirtualNetworkGatewayConnection), IUpdatable(Of IUpdate), IUpdatableWithTags(Of IVirtualNetworkGatewayConnection)
实现

属性

AuthorizationKey

获取 authorizationKey 值。

ConnectionStatus

获取虚拟网络网关连接状态。

ConnectionType

获取网关连接类型。

EgressBytesTransferred

获取在此连接中传输的出口字节数。

Id

获取资源 ID 字符串

(继承自 IHasId)
IngressBytesTransferred

获取在此连接中传输的出口字节数。

Inner

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IHasInner<T>)
IpsecPolicies

获取此连接要考虑的 IPSec 策略。

IsBgpEnabled

获取 enableBgp 标志。

Key

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IIndexable)
LocalNetworkGateway2Id

获取对本地网关资源的引用。

Manager

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

(继承自 IHasManager<ManagerT>)
Name

获取资源的名称

(继承自 IHasName)
Parent

获取此子资源的父级。

(继承自 IHasParent<ParentT>)
PeerId

获取对对等互连资源的引用。

ProvisioningState

获取 VirtualNetworkGatewayConnection 资源的预配状态。

Region

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IResource)
RegionName

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IResource)
ResourceGroupName

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IHasResourceGroup)
RoutingWeight

获取路由权重。

SharedKey

获取 IPSec 共享密钥。

Tags

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IResource)
TunnelConnectionStatus

获取 tunnelConnectionStatus 值。

Type

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

(继承自 IResource)
UsePolicyBasedTrafficSelectors

获取是否启用了基于策略的流量选择器。

VirtualNetworkGateway1Id

获取对虚拟网络网关资源的引用。

VirtualNetworkGateway2Id

获取对虚拟网络网关资源的引用。

方法

Refresh()

刷新资源以与 Azure 同步。

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

刷新资源以与 Azure 同步。

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

与 虚拟网络 网关关联的 虚拟网络 网关连接对象的客户端表示形式。

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

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

(继承自 IUpdatableWithTags<T>)

适用于