Interface ExpressRouteCircuitPeeringsClient
public interface ExpressRouteCircuitPeeringsClient
An instance of this class provides access to all the operations defined in ExpressRouteCircuitPeeringsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteCircuitPeeringInner>, ExpressRouteCircuitPeeringInner> beginCreateOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteCircuitPeeringInner>, ExpressRouteCircuitPeeringInner> beginCreateOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified express route circuits.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteCircuitPeeringInner>, ExpressRouteCircuitPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.beginDelete(String resourceGroupName, String circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.beginDelete(String resourceGroupName, String circuitName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the specified express route circuit.beginDeleteAsync(String resourceGroupName, String circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.createOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.createOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified express route circuits.createOrUpdateAsync(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.voidDeletes the specified peering from the specified express route circuit.voiddelete(String resourceGroupName, String circuitName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the specified express route circuit.deleteAsync(String resourceGroupName, String circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.Gets the specified peering for the express route circuit.Gets the specified peering for the express route circuit.com.azure.core.http.rest.Response<ExpressRouteCircuitPeeringInner> getWithResponse(String resourceGroupName, String circuitName, String peeringName, com.azure.core.util.Context context) Gets the specified peering for the express route circuit.Mono<com.azure.core.http.rest.Response<ExpressRouteCircuitPeeringInner>> getWithResponseAsync(String resourceGroupName, String circuitName, String peeringName) Gets the specified peering for the express route circuit.com.azure.core.http.rest.PagedIterable<ExpressRouteCircuitPeeringInner> Gets all peerings in a specified express route circuit.com.azure.core.http.rest.PagedIterable<ExpressRouteCircuitPeeringInner> Gets all peerings in a specified express route circuit.com.azure.core.http.rest.PagedFlux<ExpressRouteCircuitPeeringInner> Gets all peerings in a specified express route circuit.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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 circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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 circuitName, String peeringName) Deletes the specified peering from the specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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 circuitName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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 specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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 specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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 circuitName, String peeringName, com.azure.core.util.Context context) Deletes the specified peering from the specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.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<ExpressRouteCircuitPeeringInner>> getWithResponseAsync(String resourceGroupName, String circuitName, String peeringName) Gets the specified peering for the express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.- Returns:
- the specified peering for the express route circuit 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<ExpressRouteCircuitPeeringInner> getAsync(String resourceGroupName, String circuitName, String peeringName) Gets the specified peering for the express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.- Returns:
- the specified peering for the express route circuit 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<ExpressRouteCircuitPeeringInner> getWithResponse(String resourceGroupName, String circuitName, String peeringName, com.azure.core.util.Context context) Gets the specified peering for the express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.context- The context to associate with this operation.- Returns:
- the specified peering for the express route circuit 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
ExpressRouteCircuitPeeringInner get(String resourceGroupName, String circuitName, String peeringName) Gets the specified peering for the express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.- Returns:
- the specified peering for the express route circuit.
- 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 circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.- Returns:
- peering in an ExpressRouteCircuit 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<ExpressRouteCircuitPeeringInner>,ExpressRouteCircuitPeeringInner> beginCreateOrUpdateAsync(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.- Returns:
- the
PollerFluxfor polling of peering in an ExpressRouteCircuit 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<ExpressRouteCircuitPeeringInner>,ExpressRouteCircuitPeeringInner> beginCreateOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.- Returns:
- the
SyncPollerfor polling of peering in an ExpressRouteCircuit 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<ExpressRouteCircuitPeeringInner>,ExpressRouteCircuitPeeringInner> beginCreateOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of peering in an ExpressRouteCircuit 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<ExpressRouteCircuitPeeringInner> createOrUpdateAsync(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.- Returns:
- peering in an ExpressRouteCircuit 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
ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.- Returns:
- peering in an ExpressRouteCircuit 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
ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String circuitName, String peeringName, ExpressRouteCircuitPeeringInner peeringParameters, com.azure.core.util.Context context) Creates or updates a peering in the specified express route circuits.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.peeringName- The name of the peering.peeringParameters- Parameters supplied to the create or update express route circuit peering operation.context- The context to associate with this operation.- Returns:
- peering in an ExpressRouteCircuit 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ExpressRouteCircuitPeeringInner> listAsync(String resourceGroupName, String circuitName) Gets all peerings in a specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.- Returns:
- all peerings in a specified express route circuit 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<ExpressRouteCircuitPeeringInner> list(String resourceGroupName, String circuitName) Gets all peerings in a specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.- Returns:
- all peerings in a specified express route circuit 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<ExpressRouteCircuitPeeringInner> list(String resourceGroupName, String circuitName, com.azure.core.util.Context context) Gets all peerings in a specified express route circuit.- Parameters:
resourceGroupName- The name of the resource group.circuitName- The name of the express route circuit.context- The context to associate with this operation.- Returns:
- all peerings in a specified express route circuit 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.
-