Interface ExpressRouteCrossConnectionPeeringsClient
public interface ExpressRouteCrossConnectionPeeringsClient
An instance of this class provides access to all the operations defined in ExpressRouteCrossConnectionPeeringsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteCrossConnectionPeeringInner>, ExpressRouteCrossConnectionPeeringInner> beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteCrossConnectionPeeringInner>, ExpressRouteCrossConnectionPeeringInner> beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified ExpressRouteCrossConnection.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteCrossConnectionPeeringInner>, ExpressRouteCrossConnectionPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.beginDelete(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.beginDelete(String resourceGroupName, String crossConnectionName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the ExpressRouteCrossConnection.beginDeleteAsync(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.createOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.createOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified ExpressRouteCrossConnection.createOrUpdateAsync(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.voidDeletes the specified peering from the ExpressRouteCrossConnection.voiddelete(String resourceGroupName, String crossConnectionName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the ExpressRouteCrossConnection.deleteAsync(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.Gets the specified peering for the ExpressRouteCrossConnection.Gets the specified peering for the ExpressRouteCrossConnection.com.azure.core.http.rest.Response<ExpressRouteCrossConnectionPeeringInner> getWithResponse(String resourceGroupName, String crossConnectionName, String peeringName, com.azure.core.util.Context context) Gets the specified peering for the ExpressRouteCrossConnection.Mono<com.azure.core.http.rest.Response<ExpressRouteCrossConnectionPeeringInner>> getWithResponseAsync(String resourceGroupName, String crossConnectionName, String peeringName) Gets the specified peering for the ExpressRouteCrossConnection.com.azure.core.http.rest.PagedIterable<ExpressRouteCrossConnectionPeeringInner> Gets all peerings in a specified ExpressRouteCrossConnection.com.azure.core.http.rest.PagedIterable<ExpressRouteCrossConnectionPeeringInner> Gets all peerings in a specified ExpressRouteCrossConnection.com.azure.core.http.rest.PagedFlux<ExpressRouteCrossConnectionPeeringInner> Gets all peerings in a specified ExpressRouteCrossConnection.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ExpressRouteCrossConnectionPeeringInner> listAsync(String resourceGroupName, String crossConnectionName) Gets all peerings in a specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.- Returns:
- all peerings in a specified ExpressRouteCrossConnection as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ExpressRouteCrossConnectionPeeringInner> list(String resourceGroupName, String crossConnectionName) Gets all peerings in a specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.- Returns:
- all peerings in a specified ExpressRouteCrossConnection as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ExpressRouteCrossConnectionPeeringInner> list(String resourceGroupName, String crossConnectionName, com.azure.core.util.Context context) Gets all peerings in a specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.context- The context to associate with this operation.- Returns:
- all peerings in a specified ExpressRouteCrossConnection as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String crossConnectionName, String peeringName) Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String crossConnectionName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String crossConnectionName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ExpressRouteCrossConnectionPeeringInner>> getWithResponseAsync(String resourceGroupName, String crossConnectionName, String peeringName) Gets the specified peering for the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- the specified peering for the ExpressRouteCrossConnection along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ExpressRouteCrossConnectionPeeringInner> getAsync(String resourceGroupName, String crossConnectionName, String peeringName) Gets the specified peering for the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- the specified peering for the ExpressRouteCrossConnection on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ExpressRouteCrossConnectionPeeringInner> getWithResponse(String resourceGroupName, String crossConnectionName, String peeringName, com.azure.core.util.Context context) Gets the specified peering for the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.context- The context to associate with this operation.- Returns:
- the specified peering for the ExpressRouteCrossConnection along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
ExpressRouteCrossConnectionPeeringInner get(String resourceGroupName, String crossConnectionName, String peeringName) Gets the specified peering for the ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.- Returns:
- the specified peering for the ExpressRouteCrossConnection.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.- Returns:
- peering in an ExpressRoute Cross Connection resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteCrossConnectionPeeringInner>,ExpressRouteCrossConnectionPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.- Returns:
- the
PollerFluxfor polling of peering in an ExpressRoute Cross Connection resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteCrossConnectionPeeringInner>,ExpressRouteCrossConnectionPeeringInner> beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.- Returns:
- the
SyncPollerfor polling of peering in an ExpressRoute Cross Connection resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteCrossConnectionPeeringInner>,ExpressRouteCrossConnectionPeeringInner> beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of peering in an ExpressRoute Cross Connection resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ExpressRouteCrossConnectionPeeringInner> createOrUpdateAsync(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.- Returns:
- peering in an ExpressRoute Cross Connection resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ExpressRouteCrossConnectionPeeringInner createOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.- Returns:
- peering in an ExpressRoute Cross Connection resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ExpressRouteCrossConnectionPeeringInner createOrUpdate(String resourceGroupName, String crossConnectionName, String peeringName, ExpressRouteCrossConnectionPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified ExpressRouteCrossConnection.- Parameters:
resourceGroupName- The name of the resource group.crossConnectionName- The name of the ExpressRouteCrossConnection.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.context- The context to associate with this operation.- Returns:
- peering in an ExpressRoute Cross Connection resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-