Documentation ¶
Index ¶
- type ContainerStorageAccount
- func (r *ContainerStorageAccount) ID() pulumi.IDOutput
- func (r *ContainerStorageAccount) RecoveryVaultName() pulumi.StringOutput
- func (r *ContainerStorageAccount) ResourceGroupName() pulumi.StringOutput
- func (r *ContainerStorageAccount) StorageAccountId() pulumi.StringOutput
- func (r *ContainerStorageAccount) URN() pulumi.URNOutput
- type ContainerStorageAccountArgs
- type ContainerStorageAccountState
- type PolicyFileShare
- func (r *PolicyFileShare) Backup() pulumi.Output
- func (r *PolicyFileShare) ID() pulumi.IDOutput
- func (r *PolicyFileShare) Name() pulumi.StringOutput
- func (r *PolicyFileShare) RecoveryVaultName() pulumi.StringOutput
- func (r *PolicyFileShare) ResourceGroupName() pulumi.StringOutput
- func (r *PolicyFileShare) RetentionDaily() pulumi.Output
- func (r *PolicyFileShare) Timezone() pulumi.StringOutput
- func (r *PolicyFileShare) URN() pulumi.URNOutput
- type PolicyFileShareArgs
- type PolicyFileShareState
- type PolicyVM
- func (r *PolicyVM) Backup() pulumi.Output
- func (r *PolicyVM) ID() pulumi.IDOutput
- func (r *PolicyVM) Name() pulumi.StringOutput
- func (r *PolicyVM) RecoveryVaultName() pulumi.StringOutput
- func (r *PolicyVM) ResourceGroupName() pulumi.StringOutput
- func (r *PolicyVM) RetentionDaily() pulumi.Output
- func (r *PolicyVM) RetentionMonthly() pulumi.Output
- func (r *PolicyVM) RetentionWeekly() pulumi.Output
- func (r *PolicyVM) RetentionYearly() pulumi.Output
- func (r *PolicyVM) Tags() pulumi.MapOutput
- func (r *PolicyVM) Timezone() pulumi.StringOutput
- func (r *PolicyVM) URN() pulumi.URNOutput
- type PolicyVMArgs
- type PolicyVMState
- type ProtectedFileShare
- func (r *ProtectedFileShare) BackupPolicyId() pulumi.StringOutput
- func (r *ProtectedFileShare) ID() pulumi.IDOutput
- func (r *ProtectedFileShare) RecoveryVaultName() pulumi.StringOutput
- func (r *ProtectedFileShare) ResourceGroupName() pulumi.StringOutput
- func (r *ProtectedFileShare) SourceFileShareName() pulumi.StringOutput
- func (r *ProtectedFileShare) SourceStorageAccountId() pulumi.StringOutput
- func (r *ProtectedFileShare) URN() pulumi.URNOutput
- type ProtectedFileShareArgs
- type ProtectedFileShareState
- type ProtectedVM
- func (r *ProtectedVM) BackupPolicyId() pulumi.StringOutput
- func (r *ProtectedVM) ID() pulumi.IDOutput
- func (r *ProtectedVM) RecoveryVaultName() pulumi.StringOutput
- func (r *ProtectedVM) ResourceGroupName() pulumi.StringOutput
- func (r *ProtectedVM) SourceVmId() pulumi.StringOutput
- func (r *ProtectedVM) Tags() pulumi.MapOutput
- func (r *ProtectedVM) URN() pulumi.URNOutput
- type ProtectedVMArgs
- type ProtectedVMState
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 ¶
func (r *ContainerStorageAccount) ID() pulumi.IDOutput
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 ¶
func (r *ContainerStorageAccount) URN() pulumi.URNOutput
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 ¶
func (r *PolicyFileShare) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*PolicyFileShare) Name ¶
func (r *PolicyFileShare) Name() pulumi.StringOutput
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 {Backup interface{} Name interface{} RecoveryVaultName interface{} ResourceGroupName interface{} RetentionDaily interface{} Timezone interface{} }
The set of arguments for constructing a PolicyFileShare resource.
type PolicyFileShareState ¶
type PolicyFileShareState struct {Backup interface{} Name interface{} RecoveryVaultName interface{} ResourceGroupName interface{} RetentionDaily interface{} 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 ¶
Configures the Policy backup frequency, times & days as documented in the `backup` block below.
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 ¶
Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`.
func (*PolicyVM) RetentionMonthly ¶
Configures the policy monthly retention as documented in the `retentionMonthly` block below.
func (*PolicyVM) RetentionWeekly ¶
Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`.
func (*PolicyVM) RetentionYearly ¶
Configures the policy yearly retention as documented in the `retentionYearly` block below.
func (*PolicyVM) Timezone ¶
func (r *PolicyVM) Timezone() pulumi.StringOutput
Specifies the timezone. Defaults to `UTC`
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 ¶
func (r *ProtectedFileShare) ID() pulumi.IDOutput
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 ¶
func (r *ProtectedFileShare) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ProtectedFileShareArgs ¶
type ProtectedFileShareArgs struct {BackupPolicyId interface{} RecoveryVaultName interface{} ResourceGroupName interface{} SourceFileShareName interface{} SourceStorageAccountId interface{} }
The set of arguments for constructing a ProtectedFileShare resource.
type ProtectedFileShareState ¶
type ProtectedFileShareState struct {BackupPolicyId interface{} RecoveryVaultName interface{} ResourceGroupName interface{} SourceFileShareName interface{} 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.