Interface RecommendationMetadatasClient
public interface RecommendationMetadatasClient
An instance of this class provides access to all the operations defined in RecommendationMetadatasClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the metadata entity.com.azure.core.http.rest.Response<MetadataEntityInner>
getWithResponse
(String name, com.azure.core.util.Context context) Gets the metadata entity.com.azure.core.http.rest.PagedIterable<MetadataEntityInner>
list()
Gets the list of metadata entities.com.azure.core.http.rest.PagedIterable<MetadataEntityInner>
list
(com.azure.core.util.Context context) Gets the list of metadata entities.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<MetadataEntityInner> getWithResponse(String name, com.azure.core.util.Context context) Gets the metadata entity.- Parameters:
name
- Name of metadata entity.context
- The context to associate with this operation.- Returns:
- the metadata entity along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets the metadata entity.- Parameters:
name
- Name of metadata entity.- Returns:
- the metadata entity.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MetadataEntityInner> list()Gets the list of metadata entities.- Returns:
- the list of metadata entities as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MetadataEntityInner> list(com.azure.core.util.Context context) Gets the list of metadata entities.- Parameters:
context
- The context to associate with this operation.- Returns:
- the list of metadata entities as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-