All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesdatareplication.models.RecoveryPoints Maven / Gradle / Ivy

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

package com.azure.resourcemanager.recoveryservicesdatareplication.models;

import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;

/**
 * Resource collection API of RecoveryPoints.
 */
public interface RecoveryPoints {
    /**
     * Gets the recovery point.
     * 
     * Gets the details of the recovery point of a protected item.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param vaultName The vault name.
     * @param protectedItemName The protected item name.
     * @param recoveryPointName The recovery point name.
     * @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 details of the recovery point of a protected item along with {@link Response}.
     */
    Response getWithResponse(String resourceGroupName, String vaultName, String protectedItemName,
        String recoveryPointName, Context context);

    /**
     * Gets the recovery point.
     * 
     * Gets the details of the recovery point of a protected item.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param vaultName The vault name.
     * @param protectedItemName The protected item name.
     * @param recoveryPointName The recovery point name.
     * @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 details of the recovery point of a protected item.
     */
    RecoveryPointModel get(String resourceGroupName, String vaultName, String protectedItemName,
        String recoveryPointName);

    /**
     * Lists the recovery points.
     * 
     * Gets the list of recovery points of the given protected item.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param vaultName The vault name.
     * @param protectedItemName The protected item name.
     * @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 list of recovery points of the given protected item as paginated response with {@link PagedIterable}.
     */
    PagedIterable list(String resourceGroupName, String vaultName, String protectedItemName);

    /**
     * Lists the recovery points.
     * 
     * Gets the list of recovery points of the given protected item.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param vaultName The vault name.
     * @param protectedItemName The protected item name.
     * @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 list of recovery points of the given protected item as paginated response with {@link PagedIterable}.
     */
    PagedIterable list(String resourceGroupName, String vaultName, String protectedItemName,
        Context context);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy