Interface NetAppResources


public interface NetAppResources
Resource collection API of NetAppResources.
  • Method Details

    • checkNameAvailability

      CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body)
      Check resource name availability

      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 resource name availability

      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 file path availability

      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 file path availability

      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 quota availability

      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 quota availability

      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.
    • queryRegionInfo

      RegionInfo queryRegionInfo(String location)
      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.