Interface IpAllocationsClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String ipAllocationName)
        Deletes the specified IpAllocation.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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 ipAllocationName)
        Deletes the specified IpAllocation.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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 ipAllocationName)
        Deletes the specified IpAllocation.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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 ipAllocationName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified IpAllocation.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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 ipAllocationName)
        Deletes the specified IpAllocation.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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 ipAllocationName)
        Deletes the specified IpAllocation.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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 ipAllocationName,
                    com.azure.core.util.Context context)
        Deletes the specified IpAllocation.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        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<IpAllocationInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                       String ipAllocationName,
                                                                                                       String expand)
        Gets the specified IpAllocation by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        expand - Expands referenced resources.
        Returns:
        the specified IpAllocation by resource group 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<IpAllocationInner> getByResourceGroupAsync​(String resourceGroupName,
                                                        String ipAllocationName,
                                                        String expand)
        Gets the specified IpAllocation by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        expand - Expands referenced resources.
        Returns:
        the specified IpAllocation by resource group 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<IpAllocationInner> getByResourceGroupAsync​(String resourceGroupName,
                                                        String ipAllocationName)
        Gets the specified IpAllocation by resource group.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<IpAllocationInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        Returns:
        the specified IpAllocation by resource group 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

        IpAllocationInner getByResourceGroup​(String resourceGroupName,
                                             String ipAllocationName)
        Gets the specified IpAllocation by resource group.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<IpAllocationInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        Returns:
        the specified IpAllocation by resource group.
        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<IpAllocationInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                            String ipAllocationName,
                                                                                            String expand,
                                                                                            com.azure.core.util.Context context)
        Gets the specified IpAllocation by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        expand - Expands referenced resources.
        context - The context to associate with this operation.
        Returns:
        the specified IpAllocation by resource group 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 ipAllocationName,
                                                                                                  IpAllocationInner parameters)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        Returns:
        ipAllocation 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<IpAllocationInner>,​IpAllocationInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                 String ipAllocationName,
                                                                                                                                                                 IpAllocationInner parameters)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        Returns:
        the PollerFlux for polling of ipAllocation 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<IpAllocationInner>,​IpAllocationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                            String ipAllocationName,
                                                                                                                                                            IpAllocationInner parameters)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        Returns:
        the SyncPoller for polling of ipAllocation 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<IpAllocationInner>,​IpAllocationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                            String ipAllocationName,
                                                                                                                                                            IpAllocationInner parameters,
                                                                                                                                                            com.azure.core.util.Context context)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of ipAllocation 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<IpAllocationInner> createOrUpdateAsync​(String resourceGroupName,
                                                    String ipAllocationName,
                                                    IpAllocationInner parameters)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        Returns:
        ipAllocation 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

        IpAllocationInner createOrUpdate​(String resourceGroupName,
                                         String ipAllocationName,
                                         IpAllocationInner parameters)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        Returns:
        ipAllocation 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

        IpAllocationInner createOrUpdate​(String resourceGroupName,
                                         String ipAllocationName,
                                         IpAllocationInner parameters,
                                         com.azure.core.util.Context context)
        Creates or updates an IpAllocation in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to the create or update virtual network operation.
        context - The context to associate with this operation.
        Returns:
        ipAllocation 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<IpAllocationInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                               String ipAllocationName,
                                                                                               TagsObject parameters)
        Updates a IpAllocation tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to update IpAllocation tags.
        Returns:
        ipAllocation 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.
      • updateTagsAsync

        Mono<IpAllocationInner> updateTagsAsync​(String resourceGroupName,
                                                String ipAllocationName,
                                                TagsObject parameters)
        Updates a IpAllocation tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to update IpAllocation tags.
        Returns:
        ipAllocation 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

        IpAllocationInner updateTags​(String resourceGroupName,
                                     String ipAllocationName,
                                     TagsObject parameters)
        Updates a IpAllocation tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to update IpAllocation tags.
        Returns:
        ipAllocation 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.
      • updateTagsWithResponse

        com.azure.core.http.rest.Response<IpAllocationInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                    String ipAllocationName,
                                                                                    TagsObject parameters,
                                                                                    com.azure.core.util.Context context)
        Updates a IpAllocation tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ipAllocationName - The name of the IpAllocation.
        parameters - Parameters supplied to update IpAllocation tags.
        context - The context to associate with this operation.
        Returns:
        ipAllocation 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<IpAllocationInner> listAsync()
        Gets all IpAllocations in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<IpAllocationInner>
        Returns:
        all IpAllocations 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<IpAllocationInner> list()
        Gets all IpAllocations in a subscription.
        Specified by:
        list in interface InnerSupportsListing<IpAllocationInner>
        Returns:
        all IpAllocations 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<IpAllocationInner> list​(com.azure.core.util.Context context)
        Gets all IpAllocations in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all IpAllocations 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.
      • listByResourceGroupAsync

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

        com.azure.core.http.rest.PagedIterable<IpAllocationInner> listByResourceGroup​(String resourceGroupName)
        Gets all IpAllocations in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<IpAllocationInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all IpAllocations in a resource group 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<IpAllocationInner> listByResourceGroup​(String resourceGroupName,
                                                                                      com.azure.core.util.Context context)
        Gets all IpAllocations in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all IpAllocations in a resource group 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.