Interface NetAppResources
-
public interface NetAppResources
Resource collection API of NetAppResources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckAvailabilityResponse
checkFilePathAvailability(String location, FilePathAvailabilityRequest body)
Check if a file path is available.com.azure.core.http.rest.Response<CheckAvailabilityResponse>
checkFilePathAvailabilityWithResponse(String location, FilePathAvailabilityRequest body, com.azure.core.util.Context context)
Check if a file path is available.CheckAvailabilityResponse
checkNameAvailability(String location, ResourceNameAvailabilityRequest body)
Check if a resource name is available.com.azure.core.http.rest.Response<CheckAvailabilityResponse>
checkNameAvailabilityWithResponse(String location, ResourceNameAvailabilityRequest body, com.azure.core.util.Context context)
Check if a resource name is available.CheckAvailabilityResponse
checkQuotaAvailability(String location, QuotaAvailabilityRequest body)
Check if a quota is available.com.azure.core.http.rest.Response<CheckAvailabilityResponse>
checkQuotaAvailabilityWithResponse(String location, QuotaAvailabilityRequest body, com.azure.core.util.Context context)
Check if a quota is available.
-
-
-
Method Detail
-
checkNameAvailability
CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body)
Check 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 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 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 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
CheckAvailabilityResponse checkQuotaAvailability(String location, QuotaAvailabilityRequest body)
Check 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 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.
-
-