Interface BackupProtectionIntents


  • public interface BackupProtectionIntents
    Resource collection API of BackupProtectionIntents.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ProtectionIntentResource> list​(String vaultName,
                                                                              String resourceGroupName)
        Provides a pageable list of all intents that are present within a vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        Returns:
        list of ProtectionIntent resources as paginated response with PagedIterable.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<ProtectionIntentResource> list​(String vaultName,
                                                                              String resourceGroupName,
                                                                              String filter,
                                                                              String skipToken,
                                                                              com.azure.core.util.Context context)
        Provides a pageable list of all intents that are present within a vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        filter - OData filter options.
        skipToken - skipToken Filter.
        context - The context to associate with this operation.
        Returns:
        list of ProtectionIntent resources as paginated response with PagedIterable.
        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.