Interface NetworkPeerings

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<NetworkManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<NetworkPeering>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<NetworkPeering.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByParent, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<NetworkPeering>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<NetworkPeering>

public interface NetworkPeerings extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<NetworkPeering.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<NetworkPeering>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<NetworkPeering>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByParent, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<NetworkPeering>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<NetworkManager>
Entry point to network peering management API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds the peering, if any, that is associated with the specified network.
    getByRemoteNetwork(String remoteNetworkResourceId)
    Finds the peering, if any, that is associated with the specified network.
    Asynchronously finds the peering, if any, that is associated with the specified network.
    getByRemoteNetworkAsync(String remoteNetworkResourceId)
    Asynchronously finds the peering, if any, that is associated with the specified network.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation

    create, create, createAsync, createAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByParent

    deleteByParent, deleteByParentAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing

    list, listAsync
  • Method Details

    • 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