Interface DdosProtectionPlansClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String ddosProtectionPlanName)
        Deletes the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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 ddosProtectionPlanName)
        Deletes the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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 ddosProtectionPlanName)
        Deletes the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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 ddosProtectionPlanName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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 ddosProtectionPlanName)
        Deletes the specified DDoS protection plan.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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 ddosProtectionPlanName)
        Deletes the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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 ddosProtectionPlanName,
                    com.azure.core.util.Context context)
        Deletes the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        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<DdosProtectionPlanInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                             String ddosProtectionPlanName)
        Gets information about the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        Returns:
        information about the specified DDoS protection plan 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<DdosProtectionPlanInner> getByResourceGroupAsync​(String resourceGroupName,
                                                              String ddosProtectionPlanName)
        Gets information about the specified DDoS protection plan.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<DdosProtectionPlanInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        Returns:
        information about the specified DDoS protection plan 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

        DdosProtectionPlanInner getByResourceGroup​(String resourceGroupName,
                                                   String ddosProtectionPlanName)
        Gets information about the specified DDoS protection plan.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<DdosProtectionPlanInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        Returns:
        information about the specified DDoS protection plan.
        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<DdosProtectionPlanInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                  String ddosProtectionPlanName,
                                                                                                  com.azure.core.util.Context context)
        Gets information about the specified DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        context - The context to associate with this operation.
        Returns:
        information about the specified DDoS protection plan 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 ddosProtectionPlanName,
                                                                                                  DdosProtectionPlanInner parameters)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        Returns:
        a DDoS protection plan in a 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.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DdosProtectionPlanInner>,​DdosProtectionPlanInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                             String ddosProtectionPlanName,
                                                                                                                                                                             DdosProtectionPlanInner parameters)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        Returns:
        the PollerFlux for polling of a DDoS protection plan in a 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosProtectionPlanInner>,​DdosProtectionPlanInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String ddosProtectionPlanName,
                                                                                                                                                                        DdosProtectionPlanInner parameters)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        Returns:
        the SyncPoller for polling of a DDoS protection plan in a 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosProtectionPlanInner>,​DdosProtectionPlanInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String ddosProtectionPlanName,
                                                                                                                                                                        DdosProtectionPlanInner parameters,
                                                                                                                                                                        com.azure.core.util.Context context)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of a DDoS protection plan in a 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.
      • createOrUpdateAsync

        Mono<DdosProtectionPlanInner> createOrUpdateAsync​(String resourceGroupName,
                                                          String ddosProtectionPlanName,
                                                          DdosProtectionPlanInner parameters)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        Returns:
        a DDoS protection plan in a 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.
      • createOrUpdate

        DdosProtectionPlanInner createOrUpdate​(String resourceGroupName,
                                               String ddosProtectionPlanName,
                                               DdosProtectionPlanInner parameters)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        Returns:
        a DDoS protection plan in a 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.
      • createOrUpdate

        DdosProtectionPlanInner createOrUpdate​(String resourceGroupName,
                                               String ddosProtectionPlanName,
                                               DdosProtectionPlanInner parameters,
                                               com.azure.core.util.Context context)
        Creates or updates a DDoS protection plan.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the create or update operation.
        context - The context to associate with this operation.
        Returns:
        a DDoS protection plan in a 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.
      • updateTagsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DdosProtectionPlanInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                                     String ddosProtectionPlanName,
                                                                                                     TagsObject parameters)
        Update a DDoS protection plan tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the update DDoS protection plan resource tags.
        Returns:
        a DDoS protection plan in a 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.
      • updateTagsAsync

        Mono<DdosProtectionPlanInner> updateTagsAsync​(String resourceGroupName,
                                                      String ddosProtectionPlanName,
                                                      TagsObject parameters)
        Update a DDoS protection plan tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the update DDoS protection plan resource tags.
        Returns:
        a DDoS protection plan in a 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.
      • updateTags

        DdosProtectionPlanInner updateTags​(String resourceGroupName,
                                           String ddosProtectionPlanName,
                                           TagsObject parameters)
        Update a DDoS protection plan tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the update DDoS protection plan resource tags.
        Returns:
        a DDoS protection plan in a 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.
      • updateTagsWithResponse

        com.azure.core.http.rest.Response<DdosProtectionPlanInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                          String ddosProtectionPlanName,
                                                                                          TagsObject parameters,
                                                                                          com.azure.core.util.Context context)
        Update a DDoS protection plan tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        ddosProtectionPlanName - The name of the DDoS protection plan.
        parameters - Parameters supplied to the update DDoS protection plan resource tags.
        context - The context to associate with this operation.
        Returns:
        a DDoS protection plan in a 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> listAsync()
        Gets all DDoS protection plans in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<DdosProtectionPlanInner>
        Returns:
        all DDoS protection plans 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<DdosProtectionPlanInner> list()
        Gets all DDoS protection plans in a subscription.
        Specified by:
        list in interface InnerSupportsListing<DdosProtectionPlanInner>
        Returns:
        all DDoS protection plans 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<DdosProtectionPlanInner> list​(com.azure.core.util.Context context)
        Gets all DDoS protection plans in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all DDoS protection plans 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<DdosProtectionPlanInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets all the DDoS protection plans in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<DdosProtectionPlanInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all the DDoS protection plans 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<DdosProtectionPlanInner> listByResourceGroup​(String resourceGroupName)
        Gets all the DDoS protection plans in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<DdosProtectionPlanInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all the DDoS protection plans 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<DdosProtectionPlanInner> listByResourceGroup​(String resourceGroupName,
                                                                                            com.azure.core.util.Context context)
        Gets all the DDoS protection plans in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all the DDoS protection plans 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.