NetworkPeerings Interface

Implements

SupportsDeletingByParent SupportsGettingById<NetworkPeering> HasManager<com.microsoft.azure.management.network.implementation.NetworkManager> SupportsBatchCreation<NetworkPeering> SupportsCreating<Blank> SupportsDeletingById SupportsListing<NetworkPeering> HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkPeeringsInner>

public interface NetworkPeerings
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<NetworkPeering>, SupportsBatchCreation<NetworkPeering>, SupportsDeletingByParent, SupportsListing<NetworkPeering>, HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>, HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkPeeringsInner>

Entry point to network peering management API.

Method Summary

Modifier and Type Method and Description
abstract NetworkPeering getByRemoteNetwork(Network network)

Finds the peering, if any, that is associated with the specified network.

abstract NetworkPeering getByRemoteNetwork(String remoteNetworkResourceId)

Finds the peering, if any, that is associated with the specified network.

abstract rx.Observable<NetworkPeering> getByRemoteNetworkAsync(Network network)

Asynchronously finds the peering, if any, that is associated with the specified network.

abstract rx.Observable<NetworkPeering> getByRemoteNetworkAsync(String remoteNetworkResourceId)

Asynchronously finds the peering, if any, that is associated with the specified network.

Method Details

getByRemoteNetwork

public abstract NetworkPeering getByRemoteNetwork(Network network)

Finds the peering, if any, that is associated with the specified network.

(Note that this makes a separate call to Azure.)

Parameters:

network - an existing network

Returns:

a network peering, or null if none exists

getByRemoteNetwork

public abstract NetworkPeering getByRemoteNetwork(String remoteNetworkResourceId)

Finds the peering, if any, that is associated with the specified network.

(Note that this makes a separate call to Azure.)

Parameters:

remoteNetworkResourceId - the resource ID of an existing network

Returns:

a network peering, or null if none exists

getByRemoteNetworkAsync

public abstract Observable getByRemoteNetworkAsync(Network network)

Asynchronously finds the peering, if any, that is associated with the specified network.

(Note that this makes a separate call to Azure.)

Parameters:

network - an existing network

Returns:

a representation of the future computation of this call, evaluating to null if no such peering is found

getByRemoteNetworkAsync

public abstract Observable getByRemoteNetworkAsync(String remoteNetworkResourceId)

Asynchronously finds the peering, if any, that is associated with the specified network.

(Note that this makes a separate call to Azure.)

Parameters:

remoteNetworkResourceId - the resource ID of an existing network

Returns:

a representation of the future computation of this call, evaluating to null if no such peering is found

Applies to