Interface RecommendationsClient
public interface RecommendationsClient
An instance of this class provides access to all the operations defined in RecommendationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disableAllForHostingEnvironment
(String resourceGroupName, String environmentName, String hostingEnvironmentName) Description for Disable all recommendations for an app.disableAllForHostingEnvironmentAsync
(String resourceGroupName, String environmentName, String hostingEnvironmentName) Description for Disable all recommendations for an app.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.disableAllForHostingEnvironmentWithResponseAsync
(String resourceGroupName, String environmentName, String hostingEnvironmentName) Description for Disable all recommendations for an app.void
disableAllForWebApp
(String resourceGroupName, String siteName) Description for Disable all recommendations for an app.disableAllForWebAppAsync
(String resourceGroupName, String siteName) Description for Disable all recommendations for an app.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.disableAllForWebAppWithResponseAsync
(String resourceGroupName, String siteName) Description for Disable all recommendations for an app.void
disableRecommendationForHostingEnvironment
(String resourceGroupName, String environmentName, String name, String hostingEnvironmentName) Description for Disables the specific rule for a web site permanently.disableRecommendationForHostingEnvironmentAsync
(String resourceGroupName, String environmentName, String name, String hostingEnvironmentName) Description for Disables the specific rule for a web site permanently.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.disableRecommendationForHostingEnvironmentWithResponseAsync
(String resourceGroupName, String environmentName, String name, String hostingEnvironmentName) Description for Disables the specific rule for a web site permanently.void
disableRecommendationForSite
(String resourceGroupName, String siteName, String name) Description for Disables the specific rule for a web site permanently.disableRecommendationForSiteAsync
(String resourceGroupName, String siteName, String name) Description for Disables the specific rule for a web site permanently.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.disableRecommendationForSiteWithResponseAsync
(String resourceGroupName, String siteName, String name) Description for Disables the specific rule for a web site permanently.void
Description for Disables the specified rule so it will not apply to a subscription in the future.Description for Disables the specified rule so it will not apply to a subscription in the future.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.Description for Disables the specified rule so it will not apply to a subscription in the future.getRuleDetailsByHostingEnvironment
(String resourceGroupName, String hostingEnvironmentName, String name) Description for Get a recommendation rule for an app.getRuleDetailsByHostingEnvironmentAsync
(String resourceGroupName, String hostingEnvironmentName, String name) Description for Get a recommendation rule for an app.getRuleDetailsByHostingEnvironmentAsync
(String resourceGroupName, String hostingEnvironmentName, String name, Boolean updateSeen, String recommendationId) Description for Get a recommendation rule for an app.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.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.getRuleDetailsByWebApp
(String resourceGroupName, String siteName, String name) Description for Get a recommendation rule for an app.getRuleDetailsByWebAppAsync
(String resourceGroupName, String siteName, String name) Description for Get a recommendation rule for an app.getRuleDetailsByWebAppAsync
(String resourceGroupName, String siteName, String name, Boolean updateSeen, String recommendationId) Description for Get a recommendation rule for an app.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.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.com.azure.core.http.rest.PagedIterable<RecommendationInner>
list()
Description for List all recommendations for a subscription.com.azure.core.http.rest.PagedIterable<RecommendationInner>
Description for List all recommendations for a subscription.com.azure.core.http.rest.PagedFlux<RecommendationInner>
Description for List all recommendations for a subscription.com.azure.core.http.rest.PagedFlux<RecommendationInner>
Description for List all recommendations for a subscription.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.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.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.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.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.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.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.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.com.azure.core.http.rest.PagedIterable<RecommendationInner>
listRecommendedRulesForHostingEnvironment
(String resourceGroupName, String hostingEnvironmentName) Description for Get all recommendations for a hosting environment.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.com.azure.core.http.rest.PagedFlux<RecommendationInner>
listRecommendedRulesForHostingEnvironmentAsync
(String resourceGroupName, String hostingEnvironmentName) Description for Get all recommendations for a hosting environment.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.com.azure.core.http.rest.PagedIterable<RecommendationInner>
listRecommendedRulesForWebApp
(String resourceGroupName, String siteName) Description for Get all recommendations for an app.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.com.azure.core.http.rest.PagedFlux<RecommendationInner>
listRecommendedRulesForWebAppAsync
(String resourceGroupName, String siteName) Description for Get all recommendations for an app.com.azure.core.http.rest.PagedFlux<RecommendationInner>
listRecommendedRulesForWebAppAsync
(String resourceGroupName, String siteName, Boolean featured, String filter) Description for Get all recommendations for an app.void
Description for Reset all recommendation opt-out settings for a subscription.Description for Reset all recommendation opt-out settings for a subscription.void
resetAllFiltersForHostingEnvironment
(String resourceGroupName, String environmentName, String hostingEnvironmentName) Description for Reset all recommendation opt-out settings for an app.resetAllFiltersForHostingEnvironmentAsync
(String resourceGroupName, String environmentName, String hostingEnvironmentName) Description for Reset all recommendation opt-out settings for an app.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.resetAllFiltersForHostingEnvironmentWithResponseAsync
(String resourceGroupName, String environmentName, String hostingEnvironmentName) Description for Reset all recommendation opt-out settings for an app.void
resetAllFiltersForWebApp
(String resourceGroupName, String siteName) Description for Reset all recommendation opt-out settings for an app.resetAllFiltersForWebAppAsync
(String resourceGroupName, String siteName) Description for Reset all recommendation opt-out settings for an app.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.resetAllFiltersForWebAppWithResponseAsync
(String resourceGroupName, String siteName) Description for Reset all recommendation opt-out settings for an app.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.Description for Reset all recommendation opt-out settings for a subscription.
-
Method Details
-
listAsync
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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedIterable
. - 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
Description for Reset all recommendation opt-out settings for a subscription.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resetAllFiltersAsync
Description for Reset all recommendation opt-out settings for a subscription.- Returns:
- A
Mono
that completes when a successful response is received. - 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
Response
on successful completion ofMono
. - 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
Description for Disables the specified rule so it will not apply to a subscription in the future.- Parameters:
name
- Rule name.- Returns:
- A
Mono
that completes when a successful response is received. - 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
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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedIterable
. - 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
Response
on successful completion ofMono
. - 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:
- A
Mono
that completes when a successful response is received. - 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
Response
on successful completion ofMono
. - 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:
- A
Mono
that completes when a successful response is received. - 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 along with
Response
on successful completion ofMono
. - 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 on successful completion of
Mono
. - 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 on successful completion of
Mono
. - 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 along with
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.
-
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
Response
on successful completion ofMono
. - 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:
- A
Mono
that completes when a successful response is received. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedFlux
. - 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 as paginated response with
PagedIterable
. - 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 as paginated response with
PagedIterable
. - 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
Response
on successful completion ofMono
. - 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
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:
- A
Mono
that completes when a successful response is received. - 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
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
Response
on successful completion ofMono
. - 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
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:
- A
Mono
that completes when a successful response is received. - 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
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 along with
Response
on successful completion ofMono
. - 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 on successful completion of
Mono
. - 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 on successful completion of
Mono
. - 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 along with
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.
-
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
Response
on successful completion ofMono
. - 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:
- A
Mono
that completes when a successful response is received. - 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
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.
-