Interface RecoveryServices


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

    • checkNameAvailability

      CheckNameAvailabilityResult checkNameAvailability(String resourceGroupName, String location, CheckNameAvailabilityParameters input)
      API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      location - Location of the resource.
      input - Contains information about Resource type and Resource name.
      Returns:
      response for check name availability API.
      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<CheckNameAvailabilityResult> checkNameAvailabilityWithResponse(String resourceGroupName, String location, CheckNameAvailabilityParameters input, com.azure.core.util.Context context)
      API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      location - Location of the resource.
      input - Contains information about Resource type and Resource name.
      context - The context to associate with this operation.
      Returns:
      response for check name availability API 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.