Interface BestPracticesVersionsClient
public interface BestPracticesVersionsClient
An instance of this class provides access to all the operations defined in BestPracticesVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet information about a Automanage best practice version.com.azure.core.http.rest.Response<BestPracticeInner>
getWithResponse
(String bestPracticeName, String versionName, com.azure.core.util.Context context) Get information about a Automanage best practice version.com.azure.core.http.rest.PagedIterable<BestPracticeInner>
listByTenant
(String bestPracticeName) Retrieve a list of Automanage best practices versions.com.azure.core.http.rest.PagedIterable<BestPracticeInner>
listByTenant
(String bestPracticeName, com.azure.core.util.Context context) Retrieve a list of Automanage best practices versions.
-
Method Details
-
get
Get information about a Automanage best practice version.- Parameters:
bestPracticeName
- The Automanage best practice name.versionName
- The Automanage best practice version name.- Returns:
- information about a Automanage best practice version.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<BestPracticeInner> getWithResponse(String bestPracticeName, String versionName, com.azure.core.util.Context context) Get information about a Automanage best practice version.- Parameters:
bestPracticeName
- The Automanage best practice name.versionName
- The Automanage best practice version name.context
- The context to associate with this operation.- Returns:
- information about a Automanage best practice version 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.
-
listByTenant
Retrieve a list of Automanage best practices versions.- Parameters:
bestPracticeName
- The Automanage best practice name.- Returns:
- the response of the list best practice operation 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.
-
listByTenant
com.azure.core.http.rest.PagedIterable<BestPracticeInner> listByTenant(String bestPracticeName, com.azure.core.util.Context context) Retrieve a list of Automanage best practices versions.- Parameters:
bestPracticeName
- The Automanage best practice name.context
- The context to associate with this operation.- Returns:
- the response of the list best practice operation 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.
-