Interface NetAppResources
public interface NetAppResources
Resource collection API of NetAppResources.
-
Method Summary
Modifier and TypeMethodDescriptioncheckFilePathAvailability
(String location, FilePathAvailabilityRequest body) Check file path availabilitycom.azure.core.http.rest.Response<CheckAvailabilityResponse>
checkFilePathAvailabilityWithResponse
(String location, FilePathAvailabilityRequest body, com.azure.core.util.Context context) Check file path availabilitycheckNameAvailability
(String location, ResourceNameAvailabilityRequest body) Check resource name availabilitycom.azure.core.http.rest.Response<CheckAvailabilityResponse>
checkNameAvailabilityWithResponse
(String location, ResourceNameAvailabilityRequest body, com.azure.core.util.Context context) Check resource name availabilitycheckQuotaAvailability
(String location, QuotaAvailabilityRequest body) Check quota availabilitycom.azure.core.http.rest.Response<CheckAvailabilityResponse>
checkQuotaAvailabilityWithResponse
(String location, QuotaAvailabilityRequest body, com.azure.core.util.Context context) Check quota availabilityqueryRegionInfo
(String location) Describes region specific information.com.azure.core.http.rest.Response<RegionInfo>
queryRegionInfoWithResponse
(String location, com.azure.core.util.Context context) Describes region specific information.
-
Method Details
-
checkNameAvailability
CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body) Check resource name availabilityCheck if a resource name is available.
- Parameters:
location
- The location.body
- Name availability request.- Returns:
- information regarding availability of a resource.
- 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.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckAvailabilityResponse> checkNameAvailabilityWithResponse(String location, ResourceNameAvailabilityRequest body, com.azure.core.util.Context context) Check resource name availabilityCheck if a resource name is available.
- Parameters:
location
- The location.body
- Name availability request.context
- The context to associate with this operation.- Returns:
- information regarding availability of a resource 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.
-
checkFilePathAvailability
CheckAvailabilityResponse checkFilePathAvailability(String location, FilePathAvailabilityRequest body) Check file path availabilityCheck if a file path is available.
- Parameters:
location
- The location.body
- File path availability request.- Returns:
- information regarding availability of a resource.
- 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.
-
checkFilePathAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckAvailabilityResponse> checkFilePathAvailabilityWithResponse(String location, FilePathAvailabilityRequest body, com.azure.core.util.Context context) Check file path availabilityCheck if a file path is available.
- Parameters:
location
- The location.body
- File path availability request.context
- The context to associate with this operation.- Returns:
- information regarding availability of a resource 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.
-
checkQuotaAvailability
Check quota availabilityCheck if a quota is available.
- Parameters:
location
- The location.body
- Quota availability request.- Returns:
- information regarding availability of a resource.
- 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.
-
checkQuotaAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckAvailabilityResponse> checkQuotaAvailabilityWithResponse(String location, QuotaAvailabilityRequest body, com.azure.core.util.Context context) Check quota availabilityCheck if a quota is available.
- Parameters:
location
- The location.body
- Quota availability request.context
- The context to associate with this operation.- Returns:
- information regarding availability of a resource 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.
-
queryRegionInfo
Describes region specific information.Provides storage to network proximity and logical zone mapping information.
- Parameters:
location
- The location.- Returns:
- provides region specific information.
- 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.
-
queryRegionInfoWithResponse
com.azure.core.http.rest.Response<RegionInfo> queryRegionInfoWithResponse(String location, com.azure.core.util.Context context) Describes region specific information.Provides storage to network proximity and logical zone mapping information.
- Parameters:
location
- The location.context
- The context to associate with this operation.- Returns:
- provides region specific information 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.
-