// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.dataprotection.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.DppBaseResourceInner;
import com.azure.resourcemanager.dataprotection.fluent.models.ResourceGuardResourceInner;
import com.azure.resourcemanager.dataprotection.models.PatchResourceGuardInput;

/** An instance of this class provides access to all the operations defined in ResourceGuardsClient. */
public interface ResourceGuardsClient {
    /**
     * Returns ResourceGuards collection belonging to a subscription.
     *
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return list of ResourceGuard resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<ResourceGuardResourceInner> list();

    /**
     * Returns ResourceGuards collection belonging to a subscription.
     *
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return list of ResourceGuard resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<ResourceGuardResourceInner> list(Context context);

    /**
     * Returns ResourceGuards collection belonging to a ResourceGroup.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return list of ResourceGuard resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<ResourceGuardResourceInner> listByResourceGroup(String resourceGroupName);

    /**
     * Returns ResourceGuards collection belonging to a ResourceGroup.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return list of ResourceGuard resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<ResourceGuardResourceInner> listByResourceGroup(String resourceGroupName, Context context);

    /**
     * Creates or updates a ResourceGuard resource belonging to a resource group.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @param parameters Request body for operation.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the response body along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<ResourceGuardResourceInner> putWithResponse(
        String resourceGroupName, String resourceGuardsName, ResourceGuardResourceInner parameters, Context context);

    /**
     * Creates or updates a ResourceGuard resource belonging to a resource group.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @param parameters Request body for operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the response.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    ResourceGuardResourceInner put(
        String resourceGroupName, String resourceGuardsName, ResourceGuardResourceInner parameters);

    /**
     * Returns a ResourceGuard belonging to a resource group.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the response body along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<ResourceGuardResourceInner> getByResourceGroupWithResponse(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns a ResourceGuard belonging to a resource group.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the response.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    ResourceGuardResourceInner getByResourceGroup(String resourceGroupName, String resourceGuardsName);

    /**
     * Deletes a ResourceGuard resource from the resource group.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<Void> deleteWithResponse(String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Deletes a ResourceGuard resource from the resource group.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    void delete(String resourceGroupName, String resourceGuardsName);

    /**
     * Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @param parameters Request body for operation.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the response body along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<ResourceGuardResourceInner> patchWithResponse(
        String resourceGroupName, String resourceGuardsName, PatchResourceGuardInput parameters, Context context);

    /**
     * Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The name of ResourceGuard.
     * @param parameters Request body for operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return the response.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    ResourceGuardResourceInner patch(
        String resourceGroupName, String resourceGuardsName, PatchResourceGuardInput parameters);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getDisableSoftDeleteRequestsObjects(
        String resourceGroupName, String resourceGuardsName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getDisableSoftDeleteRequestsObjects(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getDeleteResourceGuardProxyRequestsObjects(
        String resourceGroupName, String resourceGuardsName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getDeleteResourceGuardProxyRequestsObjects(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getBackupSecurityPinRequestsObjects(
        String resourceGroupName, String resourceGuardsName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getBackupSecurityPinRequestsObjects(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getDeleteProtectedItemRequestsObjects(
        String resourceGroupName, String resourceGuardsName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getDeleteProtectedItemRequestsObjects(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getUpdateProtectionPolicyRequestsObjects(
        String resourceGroupName, String resourceGuardsName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getUpdateProtectionPolicyRequestsObjects(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getUpdateProtectedItemRequestsObjects(
        String resourceGroupName, String resourceGuardsName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base for all lists of V2 resources as paginated response with {@link PagedIterable}.
     */
    @ServiceMethod(returns = ReturnType.COLLECTION)
    PagedIterable<DppBaseResourceInner> getUpdateProtectedItemRequestsObjects(
        String resourceGroupName, String resourceGuardsName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<DppBaseResourceInner> getDefaultDisableSoftDeleteRequestsObjectWithResponse(
        String resourceGroupName, String resourceGuardsName, String requestName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    DppBaseResourceInner getDefaultDisableSoftDeleteRequestsObject(
        String resourceGroupName, String resourceGuardsName, String requestName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<DppBaseResourceInner> getDefaultDeleteResourceGuardProxyRequestsObjectWithResponse(
        String resourceGroupName, String resourceGuardsName, String requestName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    DppBaseResourceInner getDefaultDeleteResourceGuardProxyRequestsObject(
        String resourceGroupName, String resourceGuardsName, String requestName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<DppBaseResourceInner> getDefaultBackupSecurityPinRequestsObjectWithResponse(
        String resourceGroupName, String resourceGuardsName, String requestName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    DppBaseResourceInner getDefaultBackupSecurityPinRequestsObject(
        String resourceGroupName, String resourceGuardsName, String requestName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<DppBaseResourceInner> getDefaultDeleteProtectedItemRequestsObjectWithResponse(
        String resourceGroupName, String resourceGuardsName, String requestName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    DppBaseResourceInner getDefaultDeleteProtectedItemRequestsObject(
        String resourceGroupName, String resourceGuardsName, String requestName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<DppBaseResourceInner> getDefaultUpdateProtectionPolicyRequestsObjectWithResponse(
        String resourceGroupName, String resourceGuardsName, String requestName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    DppBaseResourceInner getDefaultUpdateProtectionPolicyRequestsObject(
        String resourceGroupName, String resourceGuardsName, String requestName);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace along with {@link Response}.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    Response<DppBaseResourceInner> getDefaultUpdateProtectedItemRequestsObjectWithResponse(
        String resourceGroupName, String resourceGuardsName, String requestName, Context context);

    /**
     * Returns collection of operation request objects for a critical operation protected by the given ResourceGuard
     * resource.
     *
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param resourceGuardsName The resourceGuardsName parameter.
     * @param requestName The requestName parameter.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return base resource under Microsoft.DataProtection provider namespace.
     */
    @ServiceMethod(returns = ReturnType.SINGLE)
    DppBaseResourceInner getDefaultUpdateProtectedItemRequestsObject(
        String resourceGroupName, String resourceGuardsName, String requestName);
}
