backup

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerStorageAccount

type ContainerStorageAccount struct {
	// contains filtered or unexported fields
}

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 `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](https://docs.microsoft.com/en-us/azure/backup/backup-azure-files#limitations-for-azure-file-share-backup-during-preview)

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/backup_container_storage_account.html.markdown.

func GetContainerStorageAccount

func GetContainerStorageAccount(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ContainerStorageAccountState, opts ...pulumi.ResourceOpt) (*ContainerStorageAccount, error)

GetContainerStorageAccount gets an existing ContainerStorageAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewContainerStorageAccount

func NewContainerStorageAccount(ctx *pulumi.Context,
	name string, args *ContainerStorageAccountArgs, opts ...pulumi.ResourceOpt) (*ContainerStorageAccount, error)

NewContainerStorageAccount registers a new resource with the given unique name, arguments, and options.

func (*ContainerStorageAccount) ID

ID is this resource's unique identifier assigned by its provider.

func (*ContainerStorageAccount) RecoveryVaultName

func (r *ContainerStorageAccount) RecoveryVaultName() pulumi.StringOutput

The name of the vault where the storage account will be registered.

func (*ContainerStorageAccount) ResourceGroupName

func (r *ContainerStorageAccount) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault is located.

func (*ContainerStorageAccount) StorageAccountId

func (r *ContainerStorageAccount) StorageAccountId() pulumi.StringOutput

Azure Resource ID of the storage account to be registered

func (*ContainerStorageAccount) URN

URN is this resource's unique name assigned by Pulumi.

type ContainerStorageAccountArgs

type ContainerStorageAccountArgs struct {
	// The name of the vault where the storage account will be registered.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault is located.
	ResourceGroupName interface{}
	// Azure Resource ID of the storage account to be registered
	StorageAccountId interface{}
}

The set of arguments for constructing a ContainerStorageAccount resource.

type ContainerStorageAccountState

type ContainerStorageAccountState struct {
	// The name of the vault where the storage account will be registered.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault is located.
	ResourceGroupName interface{}
	// Azure Resource ID of the storage account to be registered
	StorageAccountId interface{}
}

Input properties used for looking up and filtering ContainerStorageAccount resources.

type PolicyFileShare

type PolicyFileShare struct {
	// contains filtered or unexported fields
}

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](https://docs.microsoft.com/en-us/azure/backup/backup-azure-files#limitations-for-azure-file-share-backup-during-preview)

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/backup_policy_file_share.html.markdown.

func GetPolicyFileShare

func GetPolicyFileShare(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyFileShareState, opts ...pulumi.ResourceOpt) (*PolicyFileShare, error)

GetPolicyFileShare gets an existing PolicyFileShare resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicyFileShare

func NewPolicyFileShare(ctx *pulumi.Context,
	name string, args *PolicyFileShareArgs, opts ...pulumi.ResourceOpt) (*PolicyFileShare, error)

NewPolicyFileShare registers a new resource with the given unique name, arguments, and options.

func (*PolicyFileShare) Backup

func (r *PolicyFileShare) Backup() pulumi.Output

Configures the Policy backup frequency and times as documented in the `backup` block below.

func (*PolicyFileShare) ID

ID is this resource's unique identifier assigned by its provider.

func (*PolicyFileShare) Name

Specifies the name of the policy. Changing this forces a new resource to be created.

func (*PolicyFileShare) RecoveryVaultName

func (r *PolicyFileShare) RecoveryVaultName() pulumi.StringOutput

Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

func (*PolicyFileShare) ResourceGroupName

func (r *PolicyFileShare) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the policy. Changing this forces a new resource to be created.

func (*PolicyFileShare) RetentionDaily

func (r *PolicyFileShare) RetentionDaily() pulumi.Output

Configures the policy daily retention as documented in the `retentionDaily` block below.

func (*PolicyFileShare) Timezone

func (r *PolicyFileShare) Timezone() pulumi.StringOutput

Specifies the timezone. Defaults to `UTC`

func (*PolicyFileShare) URN

func (r *PolicyFileShare) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PolicyFileShareArgs

type PolicyFileShareArgs struct {
	// Configures the Policy backup frequency and times as documented in the `backup` block below.
	Backup interface{}
	// Specifies the name of the policy. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Configures the policy daily retention as documented in the `retentionDaily` block below.
	RetentionDaily interface{}
	// Specifies the timezone. Defaults to `UTC`
	Timezone interface{}
}

The set of arguments for constructing a PolicyFileShare resource.

type PolicyFileShareState

type PolicyFileShareState struct {
	// Configures the Policy backup frequency and times as documented in the `backup` block below.
	Backup interface{}
	// Specifies the name of the policy. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Configures the policy daily retention as documented in the `retentionDaily` block below.
	RetentionDaily interface{}
	// Specifies the timezone. Defaults to `UTC`
	Timezone interface{}
}

Input properties used for looking up and filtering PolicyFileShare resources.

type PolicyVM

type PolicyVM struct {
	// contains filtered or unexported fields
}

Manages an Azure Backup VM Backup Policy.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/backup_policy_vm.html.markdown.

func GetPolicyVM

func GetPolicyVM(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyVMState, opts ...pulumi.ResourceOpt) (*PolicyVM, error)

GetPolicyVM gets an existing PolicyVM resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicyVM

func NewPolicyVM(ctx *pulumi.Context,
	name string, args *PolicyVMArgs, opts ...pulumi.ResourceOpt) (*PolicyVM, error)

NewPolicyVM registers a new resource with the given unique name, arguments, and options.

func (*PolicyVM) Backup

func (r *PolicyVM) Backup() pulumi.Output

Configures the Policy backup frequency, times & days as documented in the `backup` block below.

func (*PolicyVM) ID

func (r *PolicyVM) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*PolicyVM) Name

func (r *PolicyVM) Name() pulumi.StringOutput

Specifies the name of the Backup Policy. Changing this forces a new resource to be created.

func (*PolicyVM) RecoveryVaultName

func (r *PolicyVM) RecoveryVaultName() pulumi.StringOutput

Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

func (*PolicyVM) ResourceGroupName

func (r *PolicyVM) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the policy. Changing this forces a new resource to be created.

func (*PolicyVM) RetentionDaily

func (r *PolicyVM) RetentionDaily() pulumi.Output

Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`.

func (*PolicyVM) RetentionMonthly

func (r *PolicyVM) RetentionMonthly() pulumi.Output

Configures the policy monthly retention as documented in the `retentionMonthly` block below.

func (*PolicyVM) RetentionWeekly

func (r *PolicyVM) RetentionWeekly() pulumi.Output

Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`.

func (*PolicyVM) RetentionYearly

func (r *PolicyVM) RetentionYearly() pulumi.Output

Configures the policy yearly retention as documented in the `retentionYearly` block below.

func (*PolicyVM) Tags

func (r *PolicyVM) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*PolicyVM) Timezone

func (r *PolicyVM) Timezone() pulumi.StringOutput

Specifies the timezone. Defaults to `UTC`

func (*PolicyVM) URN

func (r *PolicyVM) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PolicyVMArgs

type PolicyVMArgs struct {
	// Configures the Policy backup frequency, times & days as documented in the `backup` block below.
	Backup interface{}
	// Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`.
	RetentionDaily interface{}
	// Configures the policy monthly retention as documented in the `retentionMonthly` block below.
	RetentionMonthly interface{}
	// Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`.
	RetentionWeekly interface{}
	// Configures the policy yearly retention as documented in the `retentionYearly` block below.
	RetentionYearly interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the timezone. Defaults to `UTC`
	Timezone interface{}
}

The set of arguments for constructing a PolicyVM resource.

type PolicyVMState

type PolicyVMState struct {
	// Configures the Policy backup frequency, times & days as documented in the `backup` block below.
	Backup interface{}
	// Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`.
	RetentionDaily interface{}
	// Configures the policy monthly retention as documented in the `retentionMonthly` block below.
	RetentionMonthly interface{}
	// Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`.
	RetentionWeekly interface{}
	// Configures the policy yearly retention as documented in the `retentionYearly` block below.
	RetentionYearly interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the timezone. Defaults to `UTC`
	Timezone interface{}
}

Input properties used for looking up and filtering PolicyVM resources.

type ProtectedFileShare

type ProtectedFileShare struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/backup_protected_file_share.html.markdown.

func GetProtectedFileShare

func GetProtectedFileShare(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProtectedFileShareState, opts ...pulumi.ResourceOpt) (*ProtectedFileShare, error)

GetProtectedFileShare gets an existing ProtectedFileShare resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProtectedFileShare

func NewProtectedFileShare(ctx *pulumi.Context,
	name string, args *ProtectedFileShareArgs, opts ...pulumi.ResourceOpt) (*ProtectedFileShare, error)

NewProtectedFileShare registers a new resource with the given unique name, arguments, and options.

func (*ProtectedFileShare) BackupPolicyId

func (r *ProtectedFileShare) BackupPolicyId() pulumi.StringOutput

Specifies the ID of the backup policy to use. The policy must be an Azure File Share backup policy. Other types are not supported.

func (*ProtectedFileShare) ID

ID is this resource's unique identifier assigned by its provider.

func (*ProtectedFileShare) RecoveryVaultName

func (r *ProtectedFileShare) RecoveryVaultName() pulumi.StringOutput

Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

func (*ProtectedFileShare) ResourceGroupName

func (r *ProtectedFileShare) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Azure Backup Protected File Share. Changing this forces a new resource to be created.

func (*ProtectedFileShare) SourceFileShareName

func (r *ProtectedFileShare) SourceFileShareName() pulumi.StringOutput

Specifies the name of the file share to backup. Changing this forces a new resource to be created.

func (*ProtectedFileShare) SourceStorageAccountId

func (r *ProtectedFileShare) SourceStorageAccountId() pulumi.StringOutput

Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.

func (*ProtectedFileShare) URN

URN is this resource's unique name assigned by Pulumi.

type ProtectedFileShareArgs

type ProtectedFileShareArgs struct {
	// Specifies the ID of the backup policy to use. The policy must be an Azure File Share backup policy. Other types are not supported.
	BackupPolicyId interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the Azure Backup Protected File Share. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the file share to backup. Changing this forces a new resource to be created.
	SourceFileShareName interface{}
	// Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.
	SourceStorageAccountId interface{}
}

The set of arguments for constructing a ProtectedFileShare resource.

type ProtectedFileShareState

type ProtectedFileShareState struct {
	// Specifies the ID of the backup policy to use. The policy must be an Azure File Share backup policy. Other types are not supported.
	BackupPolicyId interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the Azure Backup Protected File Share. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the name of the file share to backup. Changing this forces a new resource to be created.
	SourceFileShareName interface{}
	// Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.
	SourceStorageAccountId interface{}
}

Input properties used for looking up and filtering ProtectedFileShare resources.

type ProtectedVM

type ProtectedVM struct {
	// contains filtered or unexported fields
}

Manages Azure Backup for an Azure VM

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/backup_protected_vm.html.markdown.

func GetProtectedVM

func GetProtectedVM(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProtectedVMState, opts ...pulumi.ResourceOpt) (*ProtectedVM, error)

GetProtectedVM gets an existing ProtectedVM resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProtectedVM

func NewProtectedVM(ctx *pulumi.Context,
	name string, args *ProtectedVMArgs, opts ...pulumi.ResourceOpt) (*ProtectedVM, error)

NewProtectedVM registers a new resource with the given unique name, arguments, and options.

func (*ProtectedVM) BackupPolicyId

func (r *ProtectedVM) BackupPolicyId() pulumi.StringOutput

Specifies the id of the backup policy to use.

func (*ProtectedVM) ID

func (r *ProtectedVM) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ProtectedVM) RecoveryVaultName

func (r *ProtectedVM) RecoveryVaultName() pulumi.StringOutput

Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.

func (*ProtectedVM) ResourceGroupName

func (r *ProtectedVM) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.

func (*ProtectedVM) SourceVmId

func (r *ProtectedVM) SourceVmId() pulumi.StringOutput

Specifies the ID of the VM to backup. Changing this forces a new resource to be created.

func (*ProtectedVM) Tags

func (r *ProtectedVM) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*ProtectedVM) URN

func (r *ProtectedVM) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ProtectedVMArgs

type ProtectedVMArgs struct {
	// Specifies the id of the backup policy to use.
	BackupPolicyId interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
	SourceVmId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a ProtectedVM resource.

type ProtectedVMState

type ProtectedVMState struct {
	// Specifies the id of the backup policy to use.
	BackupPolicyId interface{}
	// Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
	RecoveryVaultName interface{}
	// The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
	SourceVmId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering ProtectedVM resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL