NetworkPeerings Interface

Implements

public interface NetworkPeerings
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<NetworkPeering>, SupportsBatchCreation<NetworkPeering>, SupportsDeletingByParent, SupportsListing<NetworkPeering>, HasManager<NetworkManager>

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 Mono<NetworkPeering> getByRemoteNetworkAsync(Network network)

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

abstract Mono<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 Mono 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 Mono 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