Interface DscpConfigurationsClient

    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String dscpConfigurationName,
                                                                                                  DscpConfigurationInner parameters)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        Returns:
        differentiated Services Code Point configuration for any given network interface 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<DscpConfigurationInner>,​DscpConfigurationInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                           String dscpConfigurationName,
                                                                                                                                                                           DscpConfigurationInner parameters)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        Returns:
        the PollerFlux for polling of differentiated Services Code Point configuration for any given network interface.
        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<DscpConfigurationInner>,​DscpConfigurationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                      String dscpConfigurationName,
                                                                                                                                                                      DscpConfigurationInner parameters)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        Returns:
        the SyncPoller for polling of differentiated Services Code Point configuration for any given network interface.
        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<DscpConfigurationInner>,​DscpConfigurationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                      String dscpConfigurationName,
                                                                                                                                                                      DscpConfigurationInner parameters,
                                                                                                                                                                      com.azure.core.util.Context context)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of differentiated Services Code Point configuration for any given network interface.
        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<DscpConfigurationInner> createOrUpdateAsync​(String resourceGroupName,
                                                         String dscpConfigurationName,
                                                         DscpConfigurationInner parameters)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        Returns:
        differentiated Services Code Point configuration for any given network interface 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

        DscpConfigurationInner createOrUpdate​(String resourceGroupName,
                                              String dscpConfigurationName,
                                              DscpConfigurationInner parameters)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        Returns:
        differentiated Services Code Point configuration for any given network interface.
        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

        DscpConfigurationInner createOrUpdate​(String resourceGroupName,
                                              String dscpConfigurationName,
                                              DscpConfigurationInner parameters,
                                              com.azure.core.util.Context context)
        Creates or updates a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        parameters - Parameters supplied to the create or update dscp configuration operation.
        context - The context to associate with this operation.
        Returns:
        differentiated Services Code Point configuration for any given network interface.
        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 dscpConfigurationName)
        Deletes a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        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 dscpConfigurationName)
        Deletes a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        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 dscpConfigurationName)
        Deletes a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        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 dscpConfigurationName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        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 dscpConfigurationName)
        Deletes a DSCP Configuration.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        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 dscpConfigurationName)
        Deletes a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the 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.
      • delete

        void delete​(String resourceGroupName,
                    String dscpConfigurationName,
                    com.azure.core.util.Context context)
        Deletes a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DscpConfigurationInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                            String dscpConfigurationName)
        Gets a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        Returns:
        a DSCP Configuration 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.
      • getByResourceGroup

        DscpConfigurationInner getByResourceGroup​(String resourceGroupName,
                                                  String dscpConfigurationName)
        Gets a DSCP Configuration.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<DscpConfigurationInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        Returns:
        a DSCP Configuration.
        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<DscpConfigurationInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                 String dscpConfigurationName,
                                                                                                 com.azure.core.util.Context context)
        Gets a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        dscpConfigurationName - The name of the resource.
        context - The context to associate with this operation.
        Returns:
        a DSCP Configuration 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> listByResourceGroup​(String resourceGroupName)
        Gets a DSCP Configuration.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<DscpConfigurationInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        a DSCP Configuration 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> listByResourceGroup​(String resourceGroupName,
                                                                                           com.azure.core.util.Context context)
        Gets a DSCP Configuration.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        a DSCP Configuration 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<DscpConfigurationInner> listAsync()
        Gets all dscp configurations in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<DscpConfigurationInner>
        Returns:
        all dscp configurations in a subscription as paginated response with PagedFlux.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> list()
        Gets all dscp configurations in a subscription.
        Specified by:
        list in interface InnerSupportsListing<DscpConfigurationInner>
        Returns:
        all dscp configurations in a subscription as paginated response with PagedIterable.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> list​(com.azure.core.util.Context context)
        Gets all dscp configurations in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all dscp configurations in a subscription 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.