Interface DataProtections
public interface DataProtections
Resource collection API of DataProtections.
-
Method Summary
Modifier and TypeMethodDescriptioncheckFeatureSupport
(String location, FeatureValidationRequestBase parameters) Validates if a feature is supported.com.azure.core.http.rest.Response<FeatureValidationResponseBase>
checkFeatureSupportWithResponse
(String location, FeatureValidationRequestBase parameters, com.azure.core.util.Context context) Validates if a feature is supported.
-
Method Details
-
checkFeatureSupportWithResponse
com.azure.core.http.rest.Response<FeatureValidationResponseBase> checkFeatureSupportWithResponse(String location, FeatureValidationRequestBase parameters, com.azure.core.util.Context context) Validates if a feature is supported.- Parameters:
location
- The location parameter.parameters
- Feature support request object.context
- The context to associate with this operation.- Returns:
- base class for Backup Feature support 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.
-
checkFeatureSupport
FeatureValidationResponseBase checkFeatureSupport(String location, FeatureValidationRequestBase parameters) Validates if a feature is supported.- Parameters:
location
- The location parameter.parameters
- Feature support request object.- Returns:
- base class for Backup Feature support.
- 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.
-