Interface ExpressRouteGatewaysClient

    • Method Detail

      • listBySubscriptionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayListInner>> listBySubscriptionWithResponseAsync()
        Lists ExpressRoute gateways under a given subscription.
        Returns:
        list of ExpressRoute gateways along with Response on successful completion of Mono.
        Throws:
        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.
      • listBySubscriptionAsync

        Mono<ExpressRouteGatewayListInner> listBySubscriptionAsync()
        Lists ExpressRoute gateways under a given subscription.
        Returns:
        list of ExpressRoute gateways on successful completion of Mono.
        Throws:
        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.
      • listBySubscription

        ExpressRouteGatewayListInner listBySubscription()
        Lists ExpressRoute gateways under a given subscription.
        Returns:
        list of ExpressRoute gateways.
        Throws:
        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.
      • listBySubscriptionWithResponse

        com.azure.core.http.rest.Response<ExpressRouteGatewayListInner> listBySubscriptionWithResponse​(com.azure.core.util.Context context)
        Lists ExpressRoute gateways under a given subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        list of ExpressRoute gateways 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.
      • listByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayListInner>> listByResourceGroupWithResponseAsync​(String resourceGroupName)
        Lists ExpressRoute gateways in a given resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        list of ExpressRoute gateways along with Response 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.
      • listByResourceGroupAsync

        Mono<ExpressRouteGatewayListInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists ExpressRoute gateways in a given resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        list of ExpressRoute gateways 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.
      • listByResourceGroup

        ExpressRouteGatewayListInner listByResourceGroup​(String resourceGroupName)
        Lists ExpressRoute gateways in a given resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        list of ExpressRoute gateways.
        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.
      • listByResourceGroupWithResponse

        com.azure.core.http.rest.Response<ExpressRouteGatewayListInner> listByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                        com.azure.core.util.Context context)
        Lists ExpressRoute gateways in a given resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        list of ExpressRoute gateways 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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String expressRouteGatewayName,
                                                                                                  ExpressRouteGatewayInner putExpressRouteGatewayParameters)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        Returns:
        expressRoute gateway resource along with Response 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.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,​ExpressRouteGatewayInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                               String expressRouteGatewayName,
                                                                                                                                                                               ExpressRouteGatewayInner putExpressRouteGatewayParameters)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        Returns:
        the PollerFlux for polling of expressRoute gateway 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<ExpressRouteGatewayInner>,​ExpressRouteGatewayInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String expressRouteGatewayName,
                                                                                                                                                                          ExpressRouteGatewayInner putExpressRouteGatewayParameters)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        Returns:
        the SyncPoller for polling of expressRoute gateway 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<ExpressRouteGatewayInner>,​ExpressRouteGatewayInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String expressRouteGatewayName,
                                                                                                                                                                          ExpressRouteGatewayInner putExpressRouteGatewayParameters,
                                                                                                                                                                          com.azure.core.util.Context context)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of expressRoute gateway 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<ExpressRouteGatewayInner> createOrUpdateAsync​(String resourceGroupName,
                                                           String expressRouteGatewayName,
                                                           ExpressRouteGatewayInner putExpressRouteGatewayParameters)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        Returns:
        expressRoute gateway 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

        ExpressRouteGatewayInner createOrUpdate​(String resourceGroupName,
                                                String expressRouteGatewayName,
                                                ExpressRouteGatewayInner putExpressRouteGatewayParameters)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        Returns:
        expressRoute gateway 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

        ExpressRouteGatewayInner createOrUpdate​(String resourceGroupName,
                                                String expressRouteGatewayName,
                                                ExpressRouteGatewayInner putExpressRouteGatewayParameters,
                                                com.azure.core.util.Context context)
        Creates or updates a ExpressRoute gateway in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        putExpressRouteGatewayParameters - Parameters required in an ExpressRoute gateway PUT operation.
        context - The context to associate with this operation.
        Returns:
        expressRoute gateway 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.
      • updateTagsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                              String expressRouteGatewayName,
                                                                                              TagsObject expressRouteGatewayParameters)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        Returns:
        expressRoute gateway resource along with Response 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.
      • beginUpdateTagsAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,​ExpressRouteGatewayInner> beginUpdateTagsAsync​(String resourceGroupName,
                                                                                                                                                                           String expressRouteGatewayName,
                                                                                                                                                                           TagsObject expressRouteGatewayParameters)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        Returns:
        the PollerFlux for polling of expressRoute gateway 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.
      • beginUpdateTags

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,​ExpressRouteGatewayInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                                      String expressRouteGatewayName,
                                                                                                                                                                      TagsObject expressRouteGatewayParameters)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        Returns:
        the SyncPoller for polling of expressRoute gateway 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.
      • beginUpdateTags

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteGatewayInner>,​ExpressRouteGatewayInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                                      String expressRouteGatewayName,
                                                                                                                                                                      TagsObject expressRouteGatewayParameters,
                                                                                                                                                                      com.azure.core.util.Context context)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of expressRoute gateway 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.
      • updateTagsAsync

        Mono<ExpressRouteGatewayInner> updateTagsAsync​(String resourceGroupName,
                                                       String expressRouteGatewayName,
                                                       TagsObject expressRouteGatewayParameters)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        Returns:
        expressRoute gateway 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.
      • updateTags

        ExpressRouteGatewayInner updateTags​(String resourceGroupName,
                                            String expressRouteGatewayName,
                                            TagsObject expressRouteGatewayParameters)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        Returns:
        expressRoute gateway 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.
      • updateTags

        ExpressRouteGatewayInner updateTags​(String resourceGroupName,
                                            String expressRouteGatewayName,
                                            TagsObject expressRouteGatewayParameters,
                                            com.azure.core.util.Context context)
        Updates express route gateway tags.
        Parameters:
        resourceGroupName - The resource group name of the ExpressRouteGateway.
        expressRouteGatewayName - The name of the gateway.
        expressRouteGatewayParameters - Parameters supplied to update a virtual wan express route gateway tags.
        context - The context to associate with this operation.
        Returns:
        expressRoute gateway 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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ExpressRouteGatewayInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                              String expressRouteGatewayName)
        Fetches the details of a ExpressRoute gateway in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        expressRoute gateway resource along with Response 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.
      • getByResourceGroupAsync

        Mono<ExpressRouteGatewayInner> getByResourceGroupAsync​(String resourceGroupName,
                                                               String expressRouteGatewayName)
        Fetches the details of a ExpressRoute gateway in a resource group.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<ExpressRouteGatewayInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        expressRoute gateway 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.
      • getByResourceGroup

        ExpressRouteGatewayInner getByResourceGroup​(String resourceGroupName,
                                                    String expressRouteGatewayName)
        Fetches the details of a ExpressRoute gateway in a resource group.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<ExpressRouteGatewayInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        expressRoute gateway 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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<ExpressRouteGatewayInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                   String expressRouteGatewayName,
                                                                                                   com.azure.core.util.Context context)
        Fetches the details of a ExpressRoute gateway in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        context - The context to associate with this operation.
        Returns:
        expressRoute gateway resource 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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String expressRouteGatewayName)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        the Response 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.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String expressRouteGatewayName)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        the PollerFlux for 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 expressRouteGatewayName)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        the SyncPoller for 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 expressRouteGatewayName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for 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 expressRouteGatewayName)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        Returns:
        A Mono that 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

        void delete​(String resourceGroupName,
                    String expressRouteGatewayName)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        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 expressRouteGatewayName,
                    com.azure.core.util.Context context)
        Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.
        Parameters:
        resourceGroupName - The name of the resource group.
        expressRouteGatewayName - The name of the ExpressRoute gateway.
        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.