共用方式為


IVirtualNetworkGateway Interface

Definition

Entry point for Virtual Network Gateway management API in Azure.

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)
Implements

Properties

ActiveActive

Gets activeActive flag.

BgpSettings

Gets virtual network gateway's BGP speaker settings.

Connections

Gets the entry point to virtual network gateway connections management API for this virtual network gateway.

GatewayDefaultSiteResourceId

Gets the resource id of the LocalNetworkGateway resource which represents local network site having default routes.

GatewayType

Gets the gatewayType value.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IPConfigurations

Gets IP configurations for virtual network gateway.

IsBgpEnabled

Gets whether BGP is enabled for this virtual network gateway or not.

Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
Sku

Gets the SKU of this virtual network gateway.

Tags (Inherited from IResource)
Type (Inherited from IResource)
VpnClientConfiguration

Gets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations.

VpnType

Gets the type of this virtual network gateway.

Methods

GenerateVpnProfile()

Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

GenerateVpnProfileAsync(CancellationToken)

Generates asynchronously VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

ListConnections()
ListConnectionsAsync(CancellationToken)

Get all the connections associated with this virtual network gateway asynchronously.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Reset()

Resets the primary of the virtual network gateway.

ResetAsync(CancellationToken)

Resets the primary of the virtual network gateway asynchronously.

Update() (Inherited from IUpdatable<T>)
UpdateTags()

Begins a tags update for a resource. This is the beginning of the builder pattern used to update tags for a resources in Azure. The final method completing the definition and starting the actual resource update process in Azure is AppliableWithTags.applyTags().

(Inherited from IUpdatableWithTags<T>)

Applies to