Interface RecommendationsClient


  • public interface RecommendationsClient
    An instance of this class provides access to all the operations defined in RecommendationsClient.
    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listAsync​(Boolean featured,
                                                                          String filter)
        Description for List all recommendations for a subscription.
        Parameters:
        featured - Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.
        filter - Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D].
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<RecommendationInner> listAsync()
        Description for List all recommendations for a subscription.
        Returns:
        collection of recommendations.
        Throws:
        DefaultErrorResponseErrorException - 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<RecommendationInner> list()
        Description for List all recommendations for a subscription.
        Returns:
        collection of recommendations.
        Throws:
        DefaultErrorResponseErrorException - 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<RecommendationInner> list​(Boolean featured,
                                                                         String filter,
                                                                         com.azure.core.util.Context context)
        Description for List all recommendations for a subscription.
        Parameters:
        featured - Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.
        filter - Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D].
        context - The context to associate with this operation.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> resetAllFiltersWithResponseAsync()
        Description for Reset all recommendation opt-out settings for a subscription.
        Returns:
        the completion.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersAsync

        Mono<Void> resetAllFiltersAsync()
        Description for Reset all recommendation opt-out settings for a subscription.
        Returns:
        the completion.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFilters

        void resetAllFilters()
        Description for Reset all recommendation opt-out settings for a subscription.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersWithResponse

        com.azure.core.http.rest.Response<Void> resetAllFiltersWithResponse​(com.azure.core.util.Context context)
        Description for Reset all recommendation opt-out settings for a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSubscriptionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> disableRecommendationForSubscriptionWithResponseAsync​(String name)
        Description for Disables the specified rule so it will not apply to a subscription in the future.
        Parameters:
        name - Rule name.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSubscriptionAsync

        Mono<Void> disableRecommendationForSubscriptionAsync​(String name)
        Description for Disables the specified rule so it will not apply to a subscription in the future.
        Parameters:
        name - Rule name.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSubscription

        void disableRecommendationForSubscription​(String name)
        Description for Disables the specified rule so it will not apply to a subscription in the future.
        Parameters:
        name - Rule name.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSubscriptionWithResponse

        com.azure.core.http.rest.Response<Void> disableRecommendationForSubscriptionWithResponse​(String name,
                                                                                                 com.azure.core.util.Context context)
        Description for Disables the specified rule so it will not apply to a subscription in the future.
        Parameters:
        name - Rule name.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForHostingEnvironmentAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listHistoryForHostingEnvironmentAsync​(String resourceGroupName,
                                                                                                      String hostingEnvironmentName,
                                                                                                      Boolean expiredOnly,
                                                                                                      String filter)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        expiredOnly - Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations.
        filter - Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D].
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForHostingEnvironmentAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listHistoryForHostingEnvironmentAsync​(String resourceGroupName,
                                                                                                      String hostingEnvironmentName)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForHostingEnvironment

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listHistoryForHostingEnvironment​(String resourceGroupName,
                                                                                                     String hostingEnvironmentName)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForHostingEnvironment

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listHistoryForHostingEnvironment​(String resourceGroupName,
                                                                                                     String hostingEnvironmentName,
                                                                                                     Boolean expiredOnly,
                                                                                                     String filter,
                                                                                                     com.azure.core.util.Context context)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        expiredOnly - Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations.
        filter - Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D].
        context - The context to associate with this operation.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForHostingEnvironmentAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listRecommendedRulesForHostingEnvironmentAsync​(String resourceGroupName,
                                                                                                               String hostingEnvironmentName,
                                                                                                               Boolean featured,
                                                                                                               String filter)
        Description for Get all recommendations for a hosting environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the app.
        featured - Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.
        filter - Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForHostingEnvironmentAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listRecommendedRulesForHostingEnvironmentAsync​(String resourceGroupName,
                                                                                                               String hostingEnvironmentName)
        Description for Get all recommendations for a hosting environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the app.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForHostingEnvironment

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listRecommendedRulesForHostingEnvironment​(String resourceGroupName,
                                                                                                              String hostingEnvironmentName)
        Description for Get all recommendations for a hosting environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the app.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForHostingEnvironment

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listRecommendedRulesForHostingEnvironment​(String resourceGroupName,
                                                                                                              String hostingEnvironmentName,
                                                                                                              Boolean featured,
                                                                                                              String filter,
                                                                                                              com.azure.core.util.Context context)
        Description for Get all recommendations for a hosting environment.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the app.
        featured - Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.
        filter - Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'.
        context - The context to associate with this operation.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForHostingEnvironmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> disableAllForHostingEnvironmentWithResponseAsync​(String resourceGroupName,
                                                                                                       String environmentName,
                                                                                                       String hostingEnvironmentName)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForHostingEnvironmentAsync

        Mono<Void> disableAllForHostingEnvironmentAsync​(String resourceGroupName,
                                                        String environmentName,
                                                        String hostingEnvironmentName)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForHostingEnvironment

        void disableAllForHostingEnvironment​(String resourceGroupName,
                                             String environmentName,
                                             String hostingEnvironmentName)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForHostingEnvironmentWithResponse

        com.azure.core.http.rest.Response<Void> disableAllForHostingEnvironmentWithResponse​(String resourceGroupName,
                                                                                            String environmentName,
                                                                                            String hostingEnvironmentName,
                                                                                            com.azure.core.util.Context context)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForHostingEnvironmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> resetAllFiltersForHostingEnvironmentWithResponseAsync​(String resourceGroupName,
                                                                                                            String environmentName,
                                                                                                            String hostingEnvironmentName)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForHostingEnvironmentAsync

        Mono<Void> resetAllFiltersForHostingEnvironmentAsync​(String resourceGroupName,
                                                             String environmentName,
                                                             String hostingEnvironmentName)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForHostingEnvironment

        void resetAllFiltersForHostingEnvironment​(String resourceGroupName,
                                                  String environmentName,
                                                  String hostingEnvironmentName)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForHostingEnvironmentWithResponse

        com.azure.core.http.rest.Response<Void> resetAllFiltersForHostingEnvironmentWithResponse​(String resourceGroupName,
                                                                                                 String environmentName,
                                                                                                 String hostingEnvironmentName,
                                                                                                 com.azure.core.util.Context context)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Name of the app.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByHostingEnvironmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RecommendationRuleInner>> getRuleDetailsByHostingEnvironmentWithResponseAsync​(String resourceGroupName,
                                                                                                                             String hostingEnvironmentName,
                                                                                                                             String name,
                                                                                                                             Boolean updateSeen,
                                                                                                                             String recommendationId)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        name - Name of the recommendation.
        updateSeen - Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
        recommendationId - The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByHostingEnvironmentAsync

        Mono<RecommendationRuleInner> getRuleDetailsByHostingEnvironmentAsync​(String resourceGroupName,
                                                                              String hostingEnvironmentName,
                                                                              String name,
                                                                              Boolean updateSeen,
                                                                              String recommendationId)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        name - Name of the recommendation.
        updateSeen - Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
        recommendationId - The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByHostingEnvironmentAsync

        Mono<RecommendationRuleInner> getRuleDetailsByHostingEnvironmentAsync​(String resourceGroupName,
                                                                              String hostingEnvironmentName,
                                                                              String name)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        name - Name of the recommendation.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByHostingEnvironment

        RecommendationRuleInner getRuleDetailsByHostingEnvironment​(String resourceGroupName,
                                                                   String hostingEnvironmentName,
                                                                   String name)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        name - Name of the recommendation.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByHostingEnvironmentWithResponse

        com.azure.core.http.rest.Response<RecommendationRuleInner> getRuleDetailsByHostingEnvironmentWithResponse​(String resourceGroupName,
                                                                                                                  String hostingEnvironmentName,
                                                                                                                  String name,
                                                                                                                  Boolean updateSeen,
                                                                                                                  String recommendationId,
                                                                                                                  com.azure.core.util.Context context)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        hostingEnvironmentName - Name of the hosting environment.
        name - Name of the recommendation.
        updateSeen - Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
        recommendationId - The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
        context - The context to associate with this operation.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForHostingEnvironmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> disableRecommendationForHostingEnvironmentWithResponseAsync​(String resourceGroupName,
                                                                                                                  String environmentName,
                                                                                                                  String name,
                                                                                                                  String hostingEnvironmentName)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Site name.
        name - Rule name.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForHostingEnvironmentAsync

        Mono<Void> disableRecommendationForHostingEnvironmentAsync​(String resourceGroupName,
                                                                   String environmentName,
                                                                   String name,
                                                                   String hostingEnvironmentName)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Site name.
        name - Rule name.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForHostingEnvironment

        void disableRecommendationForHostingEnvironment​(String resourceGroupName,
                                                        String environmentName,
                                                        String name,
                                                        String hostingEnvironmentName)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Site name.
        name - Rule name.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForHostingEnvironmentWithResponse

        com.azure.core.http.rest.Response<Void> disableRecommendationForHostingEnvironmentWithResponse​(String resourceGroupName,
                                                                                                       String environmentName,
                                                                                                       String name,
                                                                                                       String hostingEnvironmentName,
                                                                                                       com.azure.core.util.Context context)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        environmentName - Site name.
        name - Rule name.
        hostingEnvironmentName - The hostingEnvironmentName parameter.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForWebAppAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listHistoryForWebAppAsync​(String resourceGroupName,
                                                                                          String siteName,
                                                                                          Boolean expiredOnly,
                                                                                          String filter)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        expiredOnly - Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations.
        filter - Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D].
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForWebAppAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listHistoryForWebAppAsync​(String resourceGroupName,
                                                                                          String siteName)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForWebApp

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listHistoryForWebApp​(String resourceGroupName,
                                                                                         String siteName)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHistoryForWebApp

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listHistoryForWebApp​(String resourceGroupName,
                                                                                         String siteName,
                                                                                         Boolean expiredOnly,
                                                                                         String filter,
                                                                                         com.azure.core.util.Context context)
        Description for Get past recommendations for an app, optionally specified by the time range.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        expiredOnly - Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations.
        filter - Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D].
        context - The context to associate with this operation.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForWebAppAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listRecommendedRulesForWebAppAsync​(String resourceGroupName,
                                                                                                   String siteName,
                                                                                                   Boolean featured,
                                                                                                   String filter)
        Description for Get all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        featured - Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.
        filter - Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForWebAppAsync

        com.azure.core.http.rest.PagedFlux<RecommendationInner> listRecommendedRulesForWebAppAsync​(String resourceGroupName,
                                                                                                   String siteName)
        Description for Get all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForWebApp

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listRecommendedRulesForWebApp​(String resourceGroupName,
                                                                                                  String siteName)
        Description for Get all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRecommendedRulesForWebApp

        com.azure.core.http.rest.PagedIterable<RecommendationInner> listRecommendedRulesForWebApp​(String resourceGroupName,
                                                                                                  String siteName,
                                                                                                  Boolean featured,
                                                                                                  String filter,
                                                                                                  com.azure.core.util.Context context)
        Description for Get all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        featured - Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.
        filter - Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'.
        context - The context to associate with this operation.
        Returns:
        collection of recommendations.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForWebAppWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> disableAllForWebAppWithResponseAsync​(String resourceGroupName,
                                                                                           String siteName)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForWebAppAsync

        Mono<Void> disableAllForWebAppAsync​(String resourceGroupName,
                                            String siteName)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForWebApp

        void disableAllForWebApp​(String resourceGroupName,
                                 String siteName)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableAllForWebAppWithResponse

        com.azure.core.http.rest.Response<Void> disableAllForWebAppWithResponse​(String resourceGroupName,
                                                                                String siteName,
                                                                                com.azure.core.util.Context context)
        Description for Disable all recommendations for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForWebAppWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> resetAllFiltersForWebAppWithResponseAsync​(String resourceGroupName,
                                                                                                String siteName)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForWebAppAsync

        Mono<Void> resetAllFiltersForWebAppAsync​(String resourceGroupName,
                                                 String siteName)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForWebApp

        void resetAllFiltersForWebApp​(String resourceGroupName,
                                      String siteName)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetAllFiltersForWebAppWithResponse

        com.azure.core.http.rest.Response<Void> resetAllFiltersForWebAppWithResponse​(String resourceGroupName,
                                                                                     String siteName,
                                                                                     com.azure.core.util.Context context)
        Description for Reset all recommendation opt-out settings for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByWebAppWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RecommendationRuleInner>> getRuleDetailsByWebAppWithResponseAsync​(String resourceGroupName,
                                                                                                                 String siteName,
                                                                                                                 String name,
                                                                                                                 Boolean updateSeen,
                                                                                                                 String recommendationId)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        name - Name of the recommendation.
        updateSeen - Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
        recommendationId - The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByWebAppAsync

        Mono<RecommendationRuleInner> getRuleDetailsByWebAppAsync​(String resourceGroupName,
                                                                  String siteName,
                                                                  String name,
                                                                  Boolean updateSeen,
                                                                  String recommendationId)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        name - Name of the recommendation.
        updateSeen - Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
        recommendationId - The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByWebAppAsync

        Mono<RecommendationRuleInner> getRuleDetailsByWebAppAsync​(String resourceGroupName,
                                                                  String siteName,
                                                                  String name)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        name - Name of the recommendation.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByWebApp

        RecommendationRuleInner getRuleDetailsByWebApp​(String resourceGroupName,
                                                       String siteName,
                                                       String name)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        name - Name of the recommendation.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRuleDetailsByWebAppWithResponse

        com.azure.core.http.rest.Response<RecommendationRuleInner> getRuleDetailsByWebAppWithResponse​(String resourceGroupName,
                                                                                                      String siteName,
                                                                                                      String name,
                                                                                                      Boolean updateSeen,
                                                                                                      String recommendationId,
                                                                                                      com.azure.core.util.Context context)
        Description for Get a recommendation rule for an app.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Name of the app.
        name - Name of the recommendation.
        updateSeen - Specify <code>true</code> to update the last-seen timestamp of the recommendation object.
        recommendationId - The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry.
        context - The context to associate with this operation.
        Returns:
        represents a recommendation rule that the recommendation engine can perform.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSiteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> disableRecommendationForSiteWithResponseAsync​(String resourceGroupName,
                                                                                                    String siteName,
                                                                                                    String name)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Site name.
        name - Rule name.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSiteAsync

        Mono<Void> disableRecommendationForSiteAsync​(String resourceGroupName,
                                                     String siteName,
                                                     String name)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Site name.
        name - Rule name.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSite

        void disableRecommendationForSite​(String resourceGroupName,
                                          String siteName,
                                          String name)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Site name.
        name - Rule name.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • disableRecommendationForSiteWithResponse

        com.azure.core.http.rest.Response<Void> disableRecommendationForSiteWithResponse​(String resourceGroupName,
                                                                                         String siteName,
                                                                                         String name,
                                                                                         com.azure.core.util.Context context)
        Description for Disables the specific rule for a web site permanently.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        siteName - Site name.
        name - Rule name.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.