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