Interface CloudValidations
public interface CloudValidations
Resource collection API of CloudValidations.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new CloudValidation resource.voidDelete a cloud validation.voiddeleteById(String id) Delete a cloud validation.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete a cloud validation.voiddeleteByResourceGroup(String resourceGroupName, String cloudValidationName) Delete a cloud validation.Get a cloud validation.com.azure.core.http.rest.Response<CloudValidation> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a cloud validation.getByResourceGroup(String resourceGroupName, String cloudValidationName) Get a cloud validation.com.azure.core.http.rest.Response<CloudValidation> getByResourceGroupWithResponse(String resourceGroupName, String cloudValidationName, com.azure.core.util.Context context) Get a cloud validation.com.azure.core.http.rest.PagedIterable<CloudValidation> list()List cloud validations by subscription.com.azure.core.http.rest.PagedIterable<CloudValidation> List cloud validations by subscription.com.azure.core.http.rest.PagedIterable<CloudValidation> listByResourceGroup(String resourceGroupName) List cloud validations by resource group.com.azure.core.http.rest.PagedIterable<CloudValidation> listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context) List cloud validations by resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CloudValidation> getByResourceGroupWithResponse(String resourceGroupName, String cloudValidationName, com.azure.core.util.Context context) Get a cloud validation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.cloudValidationName- The name of the CloudValidation.context- The context to associate with this operation.- Returns:
- a cloud validation 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.
-
getByResourceGroup
Get a cloud validation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.cloudValidationName- The name of the CloudValidation.- Returns:
- a cloud validation.
- 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.
-
deleteByResourceGroup
Delete a cloud validation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.cloudValidationName- The name of the CloudValidation.- 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.
-
delete
void delete(String resourceGroupName, String cloudValidationName, com.azure.core.util.Context context) Delete a cloud validation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.cloudValidationName- The name of the CloudValidation.context- The context to associate with this operation.- 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CloudValidation> listByResourceGroup(String resourceGroupName) List cloud validations by resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the response of a CloudValidation 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CloudValidation> listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context) List cloud validations by resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.filter- The OData filter expression to apply to the list operation.context- The context to associate with this operation.- Returns:
- the response of a CloudValidation 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.
-
list
com.azure.core.http.rest.PagedIterable<CloudValidation> list()List cloud validations by subscription.- Returns:
- the response of a CloudValidation 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<CloudValidation> list(String filter, com.azure.core.util.Context context) List cloud validations by subscription.- Parameters:
filter- The OData filter expression to apply to the list operation.context- The context to associate with this operation.- Returns:
- the response of a CloudValidation 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.
-
getById
Get a cloud validation.- Parameters:
id- the resource ID.- Returns:
- a cloud validation 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<CloudValidation> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a cloud validation.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- a cloud validation 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.
-
deleteById
Delete a cloud validation.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
Delete a cloud validation.- Parameters:
id- the resource ID.context- The context to associate with this operation.- 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.
-
define
Begins definition for a new CloudValidation resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new CloudValidation definition.
-