Interface NetworkPeerings

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkPeeringsInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation<NetworkPeering>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<NetworkPeering.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByParent, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<NetworkPeering>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<NetworkPeering>

    @Beta(V1_3_0)
    public interface NetworkPeerings
    extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<NetworkPeering.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<NetworkPeering>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation<NetworkPeering>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByParent, com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<NetworkPeering>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkPeeringsInner>
    Entry point to network peering management API.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      NetworkPeering getByRemoteNetwork​(Network network)
      Finds the peering, if any, that is associated with the specified network.
      NetworkPeering getByRemoteNetwork​(String remoteNetworkResourceId)
      Finds the peering, if any, that is associated with the specified network.
      rx.Observable<NetworkPeering> getByRemoteNetworkAsync​(Network network)
      Asynchronously finds the peering, if any, that is associated with the specified network.
      rx.Observable<NetworkPeering> getByRemoteNetworkAsync​(String remoteNetworkResourceId)
      Asynchronously finds the peering, if any, that is associated with the specified network.
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner

        inner
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager

        manager
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation

        create, create, createAsync, createAsync, createAsync, createAsync
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating

        define
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById

        deleteById, deleteByIdAsync, deleteByIdAsync
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByParent

        deleteByParent, deleteByParentAsync, deleteByParentAsync
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById

        getById, getByIdAsync, getByIdAsync
      • Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing

        list, listAsync
    • 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

        rx.Observable<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

        rx.Observable<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