Interface ResourceGuardProxyOperationsClient
public interface ResourceGuardProxyOperationsClient
An instance of this class provides access to all the operations defined in ResourceGuardProxyOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete ResourceGuardProxy under vault.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String vaultName, String resourceGroupName, String resourceGuardProxyName, com.azure.core.util.Context context) Delete ResourceGuardProxy under vault.Returns ResourceGuardProxy under vault and with the name referenced in request.com.azure.core.http.rest.Response<ResourceGuardProxyBaseResourceInner>
getWithResponse
(String vaultName, String resourceGroupName, String resourceGuardProxyName, com.azure.core.util.Context context) Returns ResourceGuardProxy under vault and with the name referenced in request.put
(String vaultName, String resourceGroupName, String resourceGuardProxyName, ResourceGuardProxyBaseResourceInner parameters) Add or Update ResourceGuardProxy under vault Secures vault critical operations.com.azure.core.http.rest.Response<ResourceGuardProxyBaseResourceInner>
putWithResponse
(String vaultName, String resourceGroupName, String resourceGuardProxyName, ResourceGuardProxyBaseResourceInner parameters, com.azure.core.util.Context context) Add or Update ResourceGuardProxy under vault Secures vault critical operations.unlockDelete
(String vaultName, String resourceGroupName, String resourceGuardProxyName, UnlockDeleteRequest parameters) Secures delete ResourceGuardProxy operations.com.azure.core.http.rest.Response<UnlockDeleteResponseInner>
unlockDeleteWithResponse
(String vaultName, String resourceGroupName, String resourceGuardProxyName, UnlockDeleteRequest parameters, com.azure.core.util.Context context) Secures delete ResourceGuardProxy operations.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ResourceGuardProxyBaseResourceInner> 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
ResourceGuardProxyBaseResourceInner 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.
-
putWithResponse
com.azure.core.http.rest.Response<ResourceGuardProxyBaseResourceInner> putWithResponse(String vaultName, String resourceGroupName, String resourceGuardProxyName, ResourceGuardProxyBaseResourceInner parameters, com.azure.core.util.Context context) Add or Update ResourceGuardProxy under vault Secures vault critical 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:
- 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.
-
put
ResourceGuardProxyBaseResourceInner put(String vaultName, String resourceGroupName, String resourceGuardProxyName, ResourceGuardProxyBaseResourceInner parameters) Add or Update ResourceGuardProxy under vault Secures vault critical 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:
- 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
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<UnlockDeleteResponseInner> 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
UnlockDeleteResponseInner 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.
-