Interface ResourceGuardProxyOperations


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

    • getWithResponse

      com.azure.core.http.rest.Response<ResourceGuardProxyBaseResource> getWithResponse(String vaultName, String resourceGroupName, String resourceGuardProxyName, com.azure.core.util.Context context)
      Returns ResourceGuardProxy under vault and with the name referenced in request.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      resourceGuardProxyName - The resourceGuardProxyName parameter.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • get

      ResourceGuardProxyBaseResource get(String vaultName, String resourceGroupName, String resourceGuardProxyName)
      Returns ResourceGuardProxy under vault and with the name referenced in request.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      resourceGuardProxyName - The resourceGuardProxyName parameter.
      Returns:
      the 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String vaultName, String resourceGroupName, String resourceGuardProxyName, com.azure.core.util.Context context)
      Delete ResourceGuardProxy under vault.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      resourceGuardProxyName - The resourceGuardProxyName parameter.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • delete

      void delete(String vaultName, String resourceGroupName, String resourceGuardProxyName)
      Delete ResourceGuardProxy under vault.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      resourceGuardProxyName - The resourceGuardProxyName parameter.
      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.
    • unlockDeleteWithResponse

      com.azure.core.http.rest.Response<UnlockDeleteResponse> unlockDeleteWithResponse(String vaultName, String resourceGroupName, String resourceGuardProxyName, UnlockDeleteRequest parameters, com.azure.core.util.Context context)
      Secures delete ResourceGuardProxy operations.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      resourceGuardProxyName - The resourceGuardProxyName parameter.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      response of Unlock Delete 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.
    • unlockDelete

      UnlockDeleteResponse unlockDelete(String vaultName, String resourceGroupName, String resourceGuardProxyName, UnlockDeleteRequest parameters)
      Secures delete ResourceGuardProxy operations.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      resourceGuardProxyName - The resourceGuardProxyName parameter.
      parameters - Request body for operation.
      Returns:
      response of Unlock Delete 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.
    • getById

      Returns ResourceGuardProxy under vault and with the name referenced in request.
      Parameters:
      id - the resource ID.
      Returns:
      the response body 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ResourceGuardProxyBaseResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns ResourceGuardProxy under vault and with the name referenced in request.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • deleteById

      void deleteById(String id)
      Delete ResourceGuardProxy under vault.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete ResourceGuardProxy under vault.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • define

      Begins definition for a new ResourceGuardProxyBaseResource resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new ResourceGuardProxyBaseResource definition.