Interface ValidationTests
public interface ValidationTests
Resource collection API of ValidationTests.
-
Method Summary
Modifier and TypeMethodDescriptionGet a validation test catalog entry.com.azure.core.http.rest.Response<ValidationTest> getWithResponse(String validationTestName, com.azure.core.util.Context context) Get a validation test catalog entry.com.azure.core.http.rest.PagedIterable<ValidationTest> list()List validation test catalog entries for a subscription.com.azure.core.http.rest.PagedIterable<ValidationTest> List validation test catalog entries for a subscription.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ValidationTest> getWithResponse(String validationTestName, com.azure.core.util.Context context) Get a validation test catalog entry.- Parameters:
validationTestName- The name of the ValidationTest.context- The context to associate with this operation.- Returns:
- a validation test catalog entry 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
Get a validation test catalog entry.- Parameters:
validationTestName- The name of the ValidationTest.- Returns:
- a validation test catalog entry.
- 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<ValidationTest> list()List validation test catalog entries for a subscription.- Returns:
- the response of a ValidationTest list operation 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<ValidationTest> list(String filter, com.azure.core.util.Context context) List validation test catalog entries for a subscription.- Parameters:
filter- Filter expression used to constrain the returned items.context- The context to associate with this operation.- Returns:
- the response of a ValidationTest list 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.
-