Interface IpGroupsClient

    • Method Detail

      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<IpGroupInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                  String ipGroupsName,
                                                                                                  String expand)
        Gets the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        expand - Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.
        Returns:
        the specified ipGroups along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupAsync

        Mono<IpGroupInner> getByResourceGroupAsync​(String resourceGroupName,
                                                   String ipGroupsName,
                                                   String expand)
        Gets the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        expand - Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.
        Returns:
        the specified ipGroups on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                       String ipGroupsName,
                                                                                       String expand,
                                                                                       com.azure.core.util.Context context)
        Gets the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        expand - Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.
        context - The context to associate with this operation.
        Returns:
        the specified ipGroups along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName,
                                                                                                  IpGroupInner parameters)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        Returns:
        the IpGroups resource information along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner>,​IpGroupInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                       String ipGroupsName,
                                                                                                                                                       IpGroupInner parameters)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        Returns:
        the PollerFlux for polling of the IpGroups resource information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner>,​IpGroupInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                  String ipGroupsName,
                                                                                                                                                  IpGroupInner parameters)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        Returns:
        the SyncPoller for polling of the IpGroups resource information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner>,​IpGroupInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                  String ipGroupsName,
                                                                                                                                                  IpGroupInner parameters,
                                                                                                                                                  com.azure.core.util.Context context)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the IpGroups resource information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<IpGroupInner> createOrUpdateAsync​(String resourceGroupName,
                                               String ipGroupsName,
                                               IpGroupInner parameters)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        Returns:
        the IpGroups resource information on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        IpGroupInner createOrUpdate​(String resourceGroupName,
                                    String ipGroupsName,
                                    IpGroupInner parameters)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        Returns:
        the IpGroups resource information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        IpGroupInner createOrUpdate​(String resourceGroupName,
                                    String ipGroupsName,
                                    IpGroupInner parameters,
                                    com.azure.core.util.Context context)
        Creates or updates an ipGroups in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the create or update IpGroups operation.
        context - The context to associate with this operation.
        Returns:
        the IpGroups resource information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateGroupsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<IpGroupInner>> updateGroupsWithResponseAsync​(String resourceGroupName,
                                                                                            String ipGroupsName,
                                                                                            TagsObject parameters)
        Updates tags of an IpGroups resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the update ipGroups operation.
        Returns:
        the IpGroups resource information along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateGroupsAsync

        Mono<IpGroupInner> updateGroupsAsync​(String resourceGroupName,
                                             String ipGroupsName,
                                             TagsObject parameters)
        Updates tags of an IpGroups resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the update ipGroups operation.
        Returns:
        the IpGroups resource information on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateGroups

        IpGroupInner updateGroups​(String resourceGroupName,
                                  String ipGroupsName,
                                  TagsObject parameters)
        Updates tags of an IpGroups resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the update ipGroups operation.
        Returns:
        the IpGroups resource information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateGroupsWithResponse

        com.azure.core.http.rest.Response<IpGroupInner> updateGroupsWithResponse​(String resourceGroupName,
                                                                                 String ipGroupsName,
                                                                                 TagsObject parameters,
                                                                                 com.azure.core.util.Context context)
        Updates tags of an IpGroups resource.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        parameters - Parameters supplied to the update ipGroups operation.
        context - The context to associate with this operation.
        Returns:
        the IpGroups resource information along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName)
        Deletes the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName)
        Deletes the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName)
        Deletes the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        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.
        ErrorException - 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 ipGroupsName)
        Deletes the specified ipGroups.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName)
        Deletes the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 ipGroupsName,
                    com.azure.core.util.Context context)
        Deletes the specified ipGroups.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipGroupsName - The name of the ipGroups.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner> listByResourceGroup​(String resourceGroupName)
        Gets all IpGroups in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<IpGroupInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all IpGroups in a resource group as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner> listByResourceGroup​(String resourceGroupName,
                                                                                 com.azure.core.util.Context context)
        Gets all IpGroups in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all IpGroups in a resource group as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<IpGroupInner> listAsync()
        Gets all IpGroups in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<IpGroupInner>
        Returns:
        all IpGroups in a subscription as paginated response with PagedFlux.
        Throws:
        ErrorException - 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<IpGroupInner> list()
        Gets all IpGroups in a subscription.
        Specified by:
        list in interface InnerSupportsListing<IpGroupInner>
        Returns:
        all IpGroups in a subscription as paginated response with PagedIterable.
        Throws:
        ErrorException - 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<IpGroupInner> list​(com.azure.core.util.Context context)
        Gets all IpGroups in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all IpGroups in a subscription as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.