Interface RoutingIntentsClient


  • public interface RoutingIntentsClient
    An instance of this class provides access to all the operations defined in RoutingIntentsClient.
    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String virtualHubName,
                                                                                                  String routingIntentName,
                                                                                                  RoutingIntentInner routingIntentParameters)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        Returns:
        the routing intent child resource of a Virtual hub 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<RoutingIntentInner>,​RoutingIntentInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                   String virtualHubName,
                                                                                                                                                                   String routingIntentName,
                                                                                                                                                                   RoutingIntentInner routingIntentParameters)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        Returns:
        the PollerFlux for polling of the routing intent child resource of a Virtual hub.
        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<RoutingIntentInner>,​RoutingIntentInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String virtualHubName,
                                                                                                                                                              String routingIntentName,
                                                                                                                                                              RoutingIntentInner routingIntentParameters)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        Returns:
        the SyncPoller for polling of the routing intent child resource of a Virtual hub.
        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<RoutingIntentInner>,​RoutingIntentInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String virtualHubName,
                                                                                                                                                              String routingIntentName,
                                                                                                                                                              RoutingIntentInner routingIntentParameters,
                                                                                                                                                              com.azure.core.util.Context context)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the routing intent child resource of a Virtual hub.
        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<RoutingIntentInner> createOrUpdateAsync​(String resourceGroupName,
                                                     String virtualHubName,
                                                     String routingIntentName,
                                                     RoutingIntentInner routingIntentParameters)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        Returns:
        the routing intent child resource of a Virtual hub 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

        RoutingIntentInner createOrUpdate​(String resourceGroupName,
                                          String virtualHubName,
                                          String routingIntentName,
                                          RoutingIntentInner routingIntentParameters)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        Returns:
        the routing intent child resource of a Virtual hub.
        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

        RoutingIntentInner createOrUpdate​(String resourceGroupName,
                                          String virtualHubName,
                                          String routingIntentName,
                                          RoutingIntentInner routingIntentParameters,
                                          com.azure.core.util.Context context)
        Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the per VirtualHub singleton Routing Intent resource.
        routingIntentParameters - Parameters supplied to create or update RoutingIntent.
        context - The context to associate with this operation.
        Returns:
        the routing intent child resource of a Virtual hub.
        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<RoutingIntentInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                         String virtualHubName,
                                                                                         String routingIntentName)
        Retrieves the details of a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        Returns:
        the routing intent child resource of a Virtual hub 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.
      • getAsync

        Mono<RoutingIntentInner> getAsync​(String resourceGroupName,
                                          String virtualHubName,
                                          String routingIntentName)
        Retrieves the details of a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        Returns:
        the routing intent child resource of a Virtual hub 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.
      • get

        RoutingIntentInner get​(String resourceGroupName,
                               String virtualHubName,
                               String routingIntentName)
        Retrieves the details of a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        Returns:
        the routing intent child resource of a Virtual hub.
        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<RoutingIntentInner> getWithResponse​(String resourceGroupName,
                                                                              String virtualHubName,
                                                                              String routingIntentName,
                                                                              com.azure.core.util.Context context)
        Retrieves the details of a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        context - The context to associate with this operation.
        Returns:
        the routing intent child resource of a Virtual hub 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 virtualHubName,
                                                                                          String routingIntentName)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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 virtualHubName,
                                                                                                                               String routingIntentName)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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 virtualHubName,
                                                                                                                          String routingIntentName)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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 virtualHubName,
                                                                                                                          String routingIntentName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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 virtualHubName,
                               String routingIntentName)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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 virtualHubName,
                    String routingIntentName)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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 virtualHubName,
                    String routingIntentName,
                    com.azure.core.util.Context context)
        Deletes a RoutingIntent.
        Parameters:
        resourceGroupName - The resource group name of the RoutingIntent.
        virtualHubName - The name of the VirtualHub.
        routingIntentName - The name of the RoutingIntent.
        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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<RoutingIntentInner> listAsync​(String resourceGroupName,
                                                                         String virtualHubName)
        Retrieves the details of all RoutingIntent child resources of the VirtualHub.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        Returns:
        list of the routing intent result and a URL nextLink to get the next set of results 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<RoutingIntentInner> list​(String resourceGroupName,
                                                                        String virtualHubName)
        Retrieves the details of all RoutingIntent child resources of the VirtualHub.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        Returns:
        list of the routing intent result and a URL nextLink to get the next set of results 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<RoutingIntentInner> list​(String resourceGroupName,
                                                                        String virtualHubName,
                                                                        com.azure.core.util.Context context)
        Retrieves the details of all RoutingIntent child resources of the VirtualHub.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        context - The context to associate with this operation.
        Returns:
        list of the routing intent result and a URL nextLink to get the next set of results 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.