共用方式為


IDefinition Interface

Definition

The entirety of the network peering definition.

public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Definition.IBlank, Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Definition.IWithCreate, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkPeering>
type IDefinition = interface
    interface IBlank
    interface IWithRemoteNetwork
    interface IWithCreate
    interface ICreatable<INetworkPeering>
    interface IIndexable
    interface IWithGatewayUse
    interface IWithTrafficForwarding
    interface IWithAccess
Public Interface IDefinition
Implements IBlank, ICreatable(Of INetworkPeering), IWithCreate
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithGatewayUseByRemoteNetworkAllowed()

Allows the remote network to use this network's gateway (a.k.a. gateway transit), but does not start the use of the gateway by the remote network. If this network is currently configured to use the remote network's gateway, that use will be automatically disabled, as these two settings cannot be used together.

(Inherited from IWithGatewayUse)
WithGatewayUseByRemoteNetworkStarted()

Allows and starts the use of this network's gateway by the remote network (a.k.a. gateway transit). If the remote network is not in the same subscription as this network, then gateway use by the remote gateway will only be allowed on this network, but not started. The matching peering on the remote network must be modified explicitly to start it. If this network is currently configured to use the remote network's gateway, that use will be automatically disabled, as these two settings cannot be used together. Before gateway use by a remote network can be started, a working gateway must already be in place within this network.

(Inherited from IWithGatewayUse)
WithGatewayUseOnRemoteNetworkStarted()

Starts the use of the remote network's gateway. If the remote network is in the same subscription, remote gateway use by this network (a.k.a. gateway transit) will also be automatically allowed on the remote network's side. Otherwise, this network will only be configured to use the remote gateway, but the matching peering on the remote network must still be additionally modified explicitly to allow gateway use by this network. If this network is currently configured to allow the remote network to use its gateway, that use will be automatically disabled, as these two settings cannot be used together. Before gateway use on a remote network can be started, a working gateway must already be in place within the remote network.

(Inherited from IWithGatewayUse)
WithoutAccessFromEitherNetwork()

Disallows access to either peered network from the other. This setting will have effect on the remote network only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding access setting on the remote network's matching peering explicitly.

(Inherited from IWithAccess)
WithoutAnyGatewayUse()

Disables any gateway use by this network and the remote one.

(Inherited from IWithGatewayUse)
WithRemoteNetwork(INetwork)

Specifies the remote network to peer with. The remote network will have the matching peering associated with it automatically.

(Inherited from IWithRemoteNetwork)
WithRemoteNetwork(String)

Specifies the remote network to peer with. The remote network will have the matching peering associated with it automatically.

(Inherited from IWithRemoteNetwork)
WithTrafficForwardingBetweenBothNetworks()

Allows traffic forwarding both from either peered network into the other. This setting will have effect on the remote network only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding traffic forwarding setting on the remote network's matching peering explicitly.

(Inherited from IWithTrafficForwarding)
WithTrafficForwardingFromRemoteNetwork()

Allows traffic forwarded from the remote network.

(Inherited from IWithTrafficForwarding)
WithTrafficForwardingToRemoteNetwork()

Allows traffic forwarding from this network to the remote network. This setting will have effect only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding traffic forwarding setting on the remote network's matching peering explicitly.

(Inherited from IWithTrafficForwarding)

Applies to