CustomRecommendations Interface
public interface CustomRecommendations
Resource collection API of CustomRecommendations.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Custom |
| abstract void |
deleteById(String id)
Delete a custom recommendation over a given scope. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Delete a custom recommendation over a given scope. |
| abstract void |
deleteByResourceGroup(String scope, String customRecommendationName)
Delete a custom recommendation over a given scope. |
| abstract Response<Void> |
deleteByResourceGroupWithResponse(String scope, String customRecommendationName, Context context)
Delete a custom recommendation over a given scope. |
|
abstract
Custom |
get(String scope, String customRecommendationName)
Get a specific custom recommendation for the requested scope by custom |
|
abstract
Custom |
getById(String id)
Get a specific custom recommendation for the requested scope by custom |
|
abstract
Response<Custom |
getByIdWithResponse(String id, Context context)
Get a specific custom recommendation for the requested scope by custom |
|
abstract
Response<Custom |
getWithResponse(String scope, String customRecommendationName, Context context)
Get a specific custom recommendation for the requested scope by custom |
|
abstract
Paged |
list(String scope)
Get a list of all relevant custom recommendations over a scope. |
|
abstract
Paged |
list(String scope, Context context)
Get a list of all relevant custom recommendations over a scope. |
Method Details
define
public abstract CustomRecommendation.DefinitionStages.Blank define(String name)
Begins definition for a new CustomRecommendation resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Delete a custom recommendation over a given scope.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Delete a custom recommendation over a given scope.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String scope, String customRecommendationName)
Delete a custom recommendation over a given scope.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(String scope, String customRecommendationName, Context context)
Delete a custom recommendation over a given scope.
Parameters:
Returns:
get
public abstract CustomRecommendation get(String scope, String customRecommendationName)
Get a specific custom recommendation for the requested scope by customRecommendationName.
Parameters:
Returns:
getById
public abstract CustomRecommendation getById(String id)
Get a specific custom recommendation for the requested scope by customRecommendationName.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<CustomRecommendation> getByIdWithResponse(String id, Context context)
Get a specific custom recommendation for the requested scope by customRecommendationName.
Parameters:
Returns:
getWithResponse
public abstract Response<CustomRecommendation> getWithResponse(String scope, String customRecommendationName, Context context)
Get a specific custom recommendation for the requested scope by customRecommendationName.
Parameters:
Returns:
list
public abstract PagedIterable<CustomRecommendation> list(String scope)
Get a list of all relevant custom recommendations over a scope.
Parameters:
Returns:
list
public abstract PagedIterable<CustomRecommendation> list(String scope, Context context)
Get a list of all relevant custom recommendations over a scope.
Parameters:
Returns: