Interface CustomIpPrefixesClient

    • Method Detail

      • deleteWithResponseAsync

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

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

        CustomIpPrefixInner createOrUpdate​(String resourceGroupName,
                                           String customIpPrefixName,
                                           CustomIpPrefixInner parameters)
        Creates or updates a custom IP prefix.
        Parameters:
        resourceGroupName - The name of the resource group.
        customIpPrefixName - The name of the custom IP prefix.
        parameters - Parameters supplied to the create or update custom IP prefix operation.
        Returns:
        custom IP prefix 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

        CustomIpPrefixInner createOrUpdate​(String resourceGroupName,
                                           String customIpPrefixName,
                                           CustomIpPrefixInner parameters,
                                           com.azure.core.util.Context context)
        Creates or updates a custom IP prefix.
        Parameters:
        resourceGroupName - The name of the resource group.
        customIpPrefixName - The name of the custom IP prefix.
        parameters - Parameters supplied to the create or update custom IP prefix operation.
        context - The context to associate with this operation.
        Returns:
        custom IP prefix 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<CustomIpPrefixInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                                 String customIpPrefixName,
                                                                                                 TagsObject parameters)
        Updates custom IP prefix tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        customIpPrefixName - The name of the custom IP prefix.
        parameters - Parameters supplied to update custom IP prefix tags.
        Returns:
        custom IP prefix 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<CustomIpPrefixInner> updateTagsAsync​(String resourceGroupName,
                                                  String customIpPrefixName,
                                                  TagsObject parameters)
        Updates custom IP prefix tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        customIpPrefixName - The name of the custom IP prefix.
        parameters - Parameters supplied to update custom IP prefix tags.
        Returns:
        custom IP prefix 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

        CustomIpPrefixInner updateTags​(String resourceGroupName,
                                       String customIpPrefixName,
                                       TagsObject parameters)
        Updates custom IP prefix tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        customIpPrefixName - The name of the custom IP prefix.
        parameters - Parameters supplied to update custom IP prefix tags.
        Returns:
        custom IP prefix 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<CustomIpPrefixInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                      String customIpPrefixName,
                                                                                      TagsObject parameters,
                                                                                      com.azure.core.util.Context context)
        Updates custom IP prefix tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        customIpPrefixName - The name of the custom IP prefix.
        parameters - Parameters supplied to update custom IP prefix tags.
        context - The context to associate with this operation.
        Returns:
        custom IP prefix 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<CustomIpPrefixInner> listAsync()
        Gets all the custom IP prefixes in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<CustomIpPrefixInner>
        Returns:
        all the custom IP prefixes 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<CustomIpPrefixInner> list()
        Gets all the custom IP prefixes in a subscription.
        Specified by:
        list in interface InnerSupportsListing<CustomIpPrefixInner>
        Returns:
        all the custom IP prefixes 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<CustomIpPrefixInner> list​(com.azure.core.util.Context context)
        Gets all the custom IP prefixes in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all the custom IP prefixes 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<CustomIpPrefixInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets all custom IP prefixes in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<CustomIpPrefixInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all custom IP prefixes 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<CustomIpPrefixInner> listByResourceGroup​(String resourceGroupName)
        Gets all custom IP prefixes in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<CustomIpPrefixInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all custom IP prefixes 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<CustomIpPrefixInner> listByResourceGroup​(String resourceGroupName,
                                                                                        com.azure.core.util.Context context)
        Gets all custom IP prefixes in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all custom IP prefixes 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.