Interface ResourceGuardsClient


  • public interface ResourceGuardsClient
    An instance of this class provides access to all the operations defined in ResourceGuardsClient.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ResourceGuardResourceInner> list()
        Returns ResourceGuards collection belonging to a subscription.
        Returns:
        list of ResourceGuard resources.
        Throws:
        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.
      • list

        com.azure.core.http.rest.PagedIterable<ResourceGuardResourceInner> list​(com.azure.core.util.Context context)
        Returns ResourceGuards collection belonging to a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        list of ResourceGuard resources.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ResourceGuardResourceInner> listByResourceGroup​(String resourceGroupName)
        Returns ResourceGuards collection belonging to a ResourceGroup.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        Returns:
        list of ResourceGuard resources.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ResourceGuardResourceInner> listByResourceGroup​(String resourceGroupName,
                                                                                               com.azure.core.util.Context context)
        Returns ResourceGuards collection belonging to a ResourceGroup.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        context - The context to associate with this operation.
        Returns:
        list of ResourceGuard resources.
        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

        ResourceGuardResourceInner put​(String resourceGroupName,
                                       String resourceGuardsName,
                                       ResourceGuardResourceInner parameters)
        Creates or updates a ResourceGuard resource belonging to a resource group.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        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.
      • putWithResponse

        com.azure.core.http.rest.Response<ResourceGuardResourceInner> putWithResponse​(String resourceGroupName,
                                                                                      String resourceGuardsName,
                                                                                      ResourceGuardResourceInner parameters,
                                                                                      com.azure.core.util.Context context)
        Creates or updates a ResourceGuard resource belonging to a resource group.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        parameters - Request body for operation.
        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.
      • getByResourceGroup

        ResourceGuardResourceInner getByResourceGroup​(String resourceGroupName,
                                                      String resourceGuardsName)
        Returns a ResourceGuard belonging to a resource group.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<ResourceGuardResourceInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                     String resourceGuardsName,
                                                                                                     com.azure.core.util.Context context)
        Returns a ResourceGuard belonging to a resource group.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        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 resourceGroupName,
                    String resourceGuardsName)
        Deletes a ResourceGuard resource from the resource group.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        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 resourceGroupName,
                                                                   String resourceGuardsName,
                                                                   com.azure.core.util.Context context)
        Deletes a ResourceGuard resource from the resource group.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        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.
      • patch

        ResourceGuardResourceInner patch​(String resourceGroupName,
                                         String resourceGuardsName,
                                         PatchResourceRequestInput parameters)
        Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        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.
      • patchWithResponse

        com.azure.core.http.rest.Response<ResourceGuardResourceInner> patchWithResponse​(String resourceGroupName,
                                                                                        String resourceGuardsName,
                                                                                        PatchResourceRequestInput parameters,
                                                                                        com.azure.core.util.Context context)
        Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The name of ResourceGuard.
        parameters - Request body for operation.
        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.
      • getDisableSoftDeleteRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getDisableSoftDeleteRequestsObjects​(String resourceGroupName,
                                                                                                         String resourceGuardsName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        Returns:
        base for all lists of V2 resources.
        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.
      • getDisableSoftDeleteRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getDisableSoftDeleteRequestsObjects​(String resourceGroupName,
                                                                                                         String resourceGuardsName,
                                                                                                         com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        context - The context to associate with this operation.
        Returns:
        base for all lists of V2 resources.
        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.
      • getDeleteResourceGuardProxyRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getDeleteResourceGuardProxyRequestsObjects​(String resourceGroupName,
                                                                                                                String resourceGuardsName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        Returns:
        base for all lists of V2 resources.
        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.
      • getDeleteResourceGuardProxyRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getDeleteResourceGuardProxyRequestsObjects​(String resourceGroupName,
                                                                                                                String resourceGuardsName,
                                                                                                                com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        context - The context to associate with this operation.
        Returns:
        base for all lists of V2 resources.
        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.
      • getBackupSecurityPinRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getBackupSecurityPinRequestsObjects​(String resourceGroupName,
                                                                                                         String resourceGuardsName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        Returns:
        base for all lists of V2 resources.
        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.
      • getBackupSecurityPinRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getBackupSecurityPinRequestsObjects​(String resourceGroupName,
                                                                                                         String resourceGuardsName,
                                                                                                         com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        context - The context to associate with this operation.
        Returns:
        base for all lists of V2 resources.
        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.
      • getDeleteProtectedItemRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getDeleteProtectedItemRequestsObjects​(String resourceGroupName,
                                                                                                           String resourceGuardsName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        Returns:
        base for all lists of V2 resources.
        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.
      • getDeleteProtectedItemRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getDeleteProtectedItemRequestsObjects​(String resourceGroupName,
                                                                                                           String resourceGuardsName,
                                                                                                           com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        context - The context to associate with this operation.
        Returns:
        base for all lists of V2 resources.
        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.
      • getUpdateProtectionPolicyRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getUpdateProtectionPolicyRequestsObjects​(String resourceGroupName,
                                                                                                              String resourceGuardsName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        Returns:
        base for all lists of V2 resources.
        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.
      • getUpdateProtectionPolicyRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getUpdateProtectionPolicyRequestsObjects​(String resourceGroupName,
                                                                                                              String resourceGuardsName,
                                                                                                              com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        context - The context to associate with this operation.
        Returns:
        base for all lists of V2 resources.
        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.
      • getUpdateProtectedItemRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getUpdateProtectedItemRequestsObjects​(String resourceGroupName,
                                                                                                           String resourceGuardsName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        Returns:
        base for all lists of V2 resources.
        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.
      • getUpdateProtectedItemRequestsObjects

        com.azure.core.http.rest.PagedIterable<DppBaseResourceInner> getUpdateProtectedItemRequestsObjects​(String resourceGroupName,
                                                                                                           String resourceGuardsName,
                                                                                                           com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        context - The context to associate with this operation.
        Returns:
        base for all lists of V2 resources.
        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.
      • getDefaultDisableSoftDeleteRequestsObject

        DppBaseResourceInner getDefaultDisableSoftDeleteRequestsObject​(String resourceGroupName,
                                                                       String resourceGuardsName,
                                                                       String requestName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultDisableSoftDeleteRequestsObjectWithResponse

        com.azure.core.http.rest.Response<DppBaseResourceInner> getDefaultDisableSoftDeleteRequestsObjectWithResponse​(String resourceGroupName,
                                                                                                                      String resourceGuardsName,
                                                                                                                      String requestName,
                                                                                                                      com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        context - The context to associate with this operation.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultDeleteResourceGuardProxyRequestsObject

        DppBaseResourceInner getDefaultDeleteResourceGuardProxyRequestsObject​(String resourceGroupName,
                                                                              String resourceGuardsName,
                                                                              String requestName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultDeleteResourceGuardProxyRequestsObjectWithResponse

        com.azure.core.http.rest.Response<DppBaseResourceInner> getDefaultDeleteResourceGuardProxyRequestsObjectWithResponse​(String resourceGroupName,
                                                                                                                             String resourceGuardsName,
                                                                                                                             String requestName,
                                                                                                                             com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        context - The context to associate with this operation.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultBackupSecurityPinRequestsObject

        DppBaseResourceInner getDefaultBackupSecurityPinRequestsObject​(String resourceGroupName,
                                                                       String resourceGuardsName,
                                                                       String requestName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultBackupSecurityPinRequestsObjectWithResponse

        com.azure.core.http.rest.Response<DppBaseResourceInner> getDefaultBackupSecurityPinRequestsObjectWithResponse​(String resourceGroupName,
                                                                                                                      String resourceGuardsName,
                                                                                                                      String requestName,
                                                                                                                      com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        context - The context to associate with this operation.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultDeleteProtectedItemRequestsObject

        DppBaseResourceInner getDefaultDeleteProtectedItemRequestsObject​(String resourceGroupName,
                                                                         String resourceGuardsName,
                                                                         String requestName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultDeleteProtectedItemRequestsObjectWithResponse

        com.azure.core.http.rest.Response<DppBaseResourceInner> getDefaultDeleteProtectedItemRequestsObjectWithResponse​(String resourceGroupName,
                                                                                                                        String resourceGuardsName,
                                                                                                                        String requestName,
                                                                                                                        com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        context - The context to associate with this operation.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultUpdateProtectionPolicyRequestsObject

        DppBaseResourceInner getDefaultUpdateProtectionPolicyRequestsObject​(String resourceGroupName,
                                                                            String resourceGuardsName,
                                                                            String requestName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultUpdateProtectionPolicyRequestsObjectWithResponse

        com.azure.core.http.rest.Response<DppBaseResourceInner> getDefaultUpdateProtectionPolicyRequestsObjectWithResponse​(String resourceGroupName,
                                                                                                                           String resourceGuardsName,
                                                                                                                           String requestName,
                                                                                                                           com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        context - The context to associate with this operation.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultUpdateProtectedItemRequestsObject

        DppBaseResourceInner getDefaultUpdateProtectedItemRequestsObject​(String resourceGroupName,
                                                                         String resourceGuardsName,
                                                                         String requestName)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.
      • getDefaultUpdateProtectedItemRequestsObjectWithResponse

        com.azure.core.http.rest.Response<DppBaseResourceInner> getDefaultUpdateProtectedItemRequestsObjectWithResponse​(String resourceGroupName,
                                                                                                                        String resourceGuardsName,
                                                                                                                        String requestName,
                                                                                                                        com.azure.core.util.Context context)
        Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        resourceGuardsName - The resourceGuardsName parameter.
        requestName - The requestName parameter.
        context - The context to associate with this operation.
        Returns:
        base resource under Microsoft.DataProtection provider namespace.
        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.