INetworkPeering Interface

Definition

An client-side representation of a network peering.

public interface INetworkPeering : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkPeeringInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChild<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.INetworkPeering>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Update.IUpdate>
type INetworkPeering = interface
    interface IBeta
    interface IIndependentChild<INetworkManager>
    interface IHasName
    interface IHasId
    interface IHasResourceGroup
    interface IHasManager<INetworkManager>
    interface IHasInner<VirtualNetworkPeeringInner>
    interface IRefreshable<INetworkPeering>
    interface IUpdatable<IUpdate>
Public Interface INetworkPeering
Implements IBeta, IHasInner(Of VirtualNetworkPeeringInner), IHasManager(Of INetworkManager), IIndependentChild(Of INetworkManager), IRefreshable(Of INetworkPeering), IUpdatable(Of IUpdate)
Implements

Properties

GatewayUse

Gets the type of gateway use enabled for this network.

Id

Gets the resource id string

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

Gets true if the peered networks are in the same subscription, otherwise false.

IsTrafficForwardingFromRemoteNetworkAllowed

Gets true if traffic forwarding from the remote network is allowed into this network.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
NetworkId

Gets the local virtual network's ID.

RemoteNetworkId

Gets the associated remote virtual network's ID.

ResourceGroupName (Inherited from IHasResourceGroup)
State

Gets the state of the peering between the two networks.

Methods

CheckAccessBetweenNetworks()
GetRemoteNetwork()
GetRemoteNetworkAsync(CancellationToken)

Gets the remote network associated with this peering asynchronously.

GetRemotePeering()
GetRemotePeeringAsync(CancellationToken)

Gets the associated matching peering on the remote network if it is in the same subscription.

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>)
Update() (Inherited from IUpdatable<T>)

Applies to