Interface NetworkPeerings
-
- All Superinterfaces:
HasManager<NetworkManager>,SupportsBatchCreation<NetworkPeering>,SupportsCreating<NetworkPeering.DefinitionStages.Blank>,SupportsDeletingById,SupportsDeletingByParent,SupportsGettingById<NetworkPeering>,SupportsListing<NetworkPeering>
public interface NetworkPeerings extends SupportsCreating<NetworkPeering.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<NetworkPeering>, SupportsBatchCreation<NetworkPeering>, SupportsDeletingByParent, SupportsListing<NetworkPeering>, HasManager<NetworkManager>
Entry point to network peering management API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkPeeringgetByRemoteNetwork(Network network)Finds the peering, if any, that is associated with the specified network.NetworkPeeringgetByRemoteNetwork(String remoteNetworkResourceId)Finds the peering, if any, that is associated with the specified network.Mono<NetworkPeering>getByRemoteNetworkAsync(Network network)Asynchronously finds the peering, if any, that is associated with the specified network.Mono<NetworkPeering>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 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
-
-