Interface NetworkPeerings

    • Method Detail

      • getByRemoteNetwork

        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

        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

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

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