Show / Hide Table of Contents

Namespace Pulumi.Azure.Backup

Classes

ContainerStorageAccount

Manages registration of a storage account with Azure Backup. Storage accounts must be registered with an Azure Recovery Vault in order to backup file shares within the storage account. Registering a storage account with a vault creates what is known as a protection container within Azure Recovery Services. Once the container is created, Azure file shares within the storage account can be backed up using the azure.backup.ProtectedFileShare resource.

NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var rg = new Azure.Core.ResourceGroup("rg", new Azure.Core.ResourceGroupArgs
    {
        Location = "West US",
    });
    var vault = new Azure.RecoveryServices.Vault("vault", new Azure.RecoveryServices.VaultArgs
    {
        Location = rg.Location,
        ResourceGroupName = rg.Name,
        Sku = "Standard",
    });
    var sa = new Azure.Storage.Account("sa", new Azure.Storage.AccountArgs
    {
        Location = rg.Location,
        ResourceGroupName = rg.Name,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });
    var container = new Azure.Backup.ContainerStorageAccount("container", new Azure.Backup.ContainerStorageAccountArgs
    {
        ResourceGroupName = rg.Name,
        RecoveryVaultName = vault.Name,
        StorageAccountId = sa.Id,
    });
}

}

ContainerStorageAccountArgs

ContainerStorageAccountState

GetPolicyVM

GetPolicyVMArgs

GetPolicyVMResult

PolicyFileShare

Manages an Azure File Share Backup Policy within a Recovery Services vault.

NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More

PolicyFileShareArgs

PolicyFileShareState

PolicyVM

Manages an Azure Backup VM Backup Policy.

PolicyVMArgs

PolicyVMState

ProtectedFileShare

Manages an Azure Backup Protected File Share to enable backups for file shares within an Azure Storage Account

NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More

NOTE Azure Backup for Azure File Shares does not support Soft Delete at this time. Deleting this resource will also delete all associated backup data. Please exercise caution. Consider using protect to guard against accidental deletion.

ProtectedFileShareArgs

ProtectedFileShareState

ProtectedVM

Manages Azure Backup for an Azure VM

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "West US",
    });
    var exampleVault = new Azure.RecoveryServices.Vault("exampleVault", new Azure.RecoveryServices.VaultArgs
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "Standard",
    });
    var examplePolicyVM = new Azure.Backup.PolicyVM("examplePolicyVM", new Azure.Backup.PolicyVMArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        RecoveryVaultName = exampleVault.Name,
        Backup = new Azure.Backup.Inputs.PolicyVMBackupArgs
        {
            Frequency = "Daily",
            Time = "23:00",
        },
    });
    var vm1 = new Azure.Backup.ProtectedVM("vm1", new Azure.Backup.ProtectedVMArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        RecoveryVaultName = exampleVault.Name,
        SourceVmId = azurerm_virtual_machine.Example.Id,
        BackupPolicyId = examplePolicyVM.Id,
    });
}

}

ProtectedVMArgs

ProtectedVMState

Back to top Copyright 2016-2020, Pulumi Corporation.