Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type ContainerStorageAccount
- type ContainerStorageAccountArgs
- type ContainerStorageAccountState
- type LookupPolicyVMArgs
- type LookupPolicyVMResult
- type PolicyFileShare
- type PolicyFileShareArgs
- type PolicyFileShareBackup
- type PolicyFileShareBackupArgs
- func (PolicyFileShareBackupArgs) ElementType() reflect.Type
- func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupOutput() PolicyFileShareBackupOutput
- func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupOutputWithContext(ctx context.Context) PolicyFileShareBackupOutput
- func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
- func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
- type PolicyFileShareBackupInput
- type PolicyFileShareBackupOutput
- func (PolicyFileShareBackupOutput) ElementType() reflect.Type
- func (o PolicyFileShareBackupOutput) Frequency() pulumi.StringOutput
- func (o PolicyFileShareBackupOutput) Time() pulumi.StringOutput
- func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupOutput() PolicyFileShareBackupOutput
- func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupOutputWithContext(ctx context.Context) PolicyFileShareBackupOutput
- func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
- func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
- type PolicyFileShareBackupPtrInput
- type PolicyFileShareBackupPtrOutput
- func (o PolicyFileShareBackupPtrOutput) Elem() PolicyFileShareBackupOutput
- func (PolicyFileShareBackupPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareBackupPtrOutput) Frequency() pulumi.StringOutput
- func (o PolicyFileShareBackupPtrOutput) Time() pulumi.StringOutput
- func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
- func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
- type PolicyFileShareRetentionDaily
- type PolicyFileShareRetentionDailyArgs
- func (PolicyFileShareRetentionDailyArgs) ElementType() reflect.Type
- func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyOutput() PolicyFileShareRetentionDailyOutput
- func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyOutput
- func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
- func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
- type PolicyFileShareRetentionDailyInput
- type PolicyFileShareRetentionDailyOutput
- func (o PolicyFileShareRetentionDailyOutput) Count() pulumi.IntOutput
- func (PolicyFileShareRetentionDailyOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyOutput() PolicyFileShareRetentionDailyOutput
- func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyOutput
- func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
- func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
- type PolicyFileShareRetentionDailyPtrInput
- type PolicyFileShareRetentionDailyPtrOutput
- func (o PolicyFileShareRetentionDailyPtrOutput) Count() pulumi.IntOutput
- func (o PolicyFileShareRetentionDailyPtrOutput) Elem() PolicyFileShareRetentionDailyOutput
- func (PolicyFileShareRetentionDailyPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
- func (o PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
- type PolicyFileShareState
- type PolicyVM
- type PolicyVMArgs
- type PolicyVMBackup
- type PolicyVMBackupArgs
- func (PolicyVMBackupArgs) ElementType() reflect.Type
- func (i PolicyVMBackupArgs) ToPolicyVMBackupOutput() PolicyVMBackupOutput
- func (i PolicyVMBackupArgs) ToPolicyVMBackupOutputWithContext(ctx context.Context) PolicyVMBackupOutput
- func (i PolicyVMBackupArgs) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
- func (i PolicyVMBackupArgs) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
- type PolicyVMBackupInput
- type PolicyVMBackupOutput
- func (PolicyVMBackupOutput) ElementType() reflect.Type
- func (o PolicyVMBackupOutput) Frequency() pulumi.StringOutput
- func (o PolicyVMBackupOutput) Time() pulumi.StringOutput
- func (o PolicyVMBackupOutput) ToPolicyVMBackupOutput() PolicyVMBackupOutput
- func (o PolicyVMBackupOutput) ToPolicyVMBackupOutputWithContext(ctx context.Context) PolicyVMBackupOutput
- func (o PolicyVMBackupOutput) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
- func (o PolicyVMBackupOutput) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
- func (o PolicyVMBackupOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMBackupPtrInput
- type PolicyVMBackupPtrOutput
- func (o PolicyVMBackupPtrOutput) Elem() PolicyVMBackupOutput
- func (PolicyVMBackupPtrOutput) ElementType() reflect.Type
- func (o PolicyVMBackupPtrOutput) Frequency() pulumi.StringOutput
- func (o PolicyVMBackupPtrOutput) Time() pulumi.StringOutput
- func (o PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
- func (o PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
- func (o PolicyVMBackupPtrOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMRetentionDaily
- type PolicyVMRetentionDailyArgs
- func (PolicyVMRetentionDailyArgs) ElementType() reflect.Type
- func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyOutput() PolicyVMRetentionDailyOutput
- func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyOutputWithContext(ctx context.Context) PolicyVMRetentionDailyOutput
- func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput
- func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionDailyPtrOutput
- type PolicyVMRetentionDailyInput
- type PolicyVMRetentionDailyOutput
- func (o PolicyVMRetentionDailyOutput) Count() pulumi.IntOutput
- func (PolicyVMRetentionDailyOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyOutput() PolicyVMRetentionDailyOutput
- func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyOutputWithContext(ctx context.Context) PolicyVMRetentionDailyOutput
- func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput
- func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionDailyPtrOutput
- type PolicyVMRetentionDailyPtrInput
- type PolicyVMRetentionDailyPtrOutput
- func (o PolicyVMRetentionDailyPtrOutput) Count() pulumi.IntOutput
- func (o PolicyVMRetentionDailyPtrOutput) Elem() PolicyVMRetentionDailyOutput
- func (PolicyVMRetentionDailyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionDailyPtrOutput) ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput
- func (o PolicyVMRetentionDailyPtrOutput) ToPolicyVMRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionDailyPtrOutput
- type PolicyVMRetentionMonthly
- type PolicyVMRetentionMonthlyArgs
- func (PolicyVMRetentionMonthlyArgs) ElementType() reflect.Type
- func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyOutput() PolicyVMRetentionMonthlyOutput
- func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyOutput
- func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput
- func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyPtrOutput
- type PolicyVMRetentionMonthlyInput
- type PolicyVMRetentionMonthlyOutput
- func (o PolicyVMRetentionMonthlyOutput) Count() pulumi.IntOutput
- func (PolicyVMRetentionMonthlyOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyOutput() PolicyVMRetentionMonthlyOutput
- func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyOutput
- func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput
- func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyPtrOutput
- func (o PolicyVMRetentionMonthlyOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMRetentionMonthlyOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMRetentionMonthlyPtrInput
- type PolicyVMRetentionMonthlyPtrOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) Count() pulumi.IntOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) Elem() PolicyVMRetentionMonthlyOutput
- func (PolicyVMRetentionMonthlyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionMonthlyPtrOutput) ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) ToPolicyVMRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyPtrOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMRetentionWeekly
- type PolicyVMRetentionWeeklyArgs
- func (PolicyVMRetentionWeeklyArgs) ElementType() reflect.Type
- func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyOutput() PolicyVMRetentionWeeklyOutput
- func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyOutput
- func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput
- func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyPtrOutput
- type PolicyVMRetentionWeeklyInput
- type PolicyVMRetentionWeeklyOutput
- func (o PolicyVMRetentionWeeklyOutput) Count() pulumi.IntOutput
- func (PolicyVMRetentionWeeklyOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyOutput() PolicyVMRetentionWeeklyOutput
- func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyOutput
- func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput
- func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyPtrOutput
- func (o PolicyVMRetentionWeeklyOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMRetentionWeeklyPtrInput
- type PolicyVMRetentionWeeklyPtrOutput
- func (o PolicyVMRetentionWeeklyPtrOutput) Count() pulumi.IntOutput
- func (o PolicyVMRetentionWeeklyPtrOutput) Elem() PolicyVMRetentionWeeklyOutput
- func (PolicyVMRetentionWeeklyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionWeeklyPtrOutput) ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput
- func (o PolicyVMRetentionWeeklyPtrOutput) ToPolicyVMRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyPtrOutput
- func (o PolicyVMRetentionWeeklyPtrOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMRetentionYearly
- type PolicyVMRetentionYearlyArgs
- func (PolicyVMRetentionYearlyArgs) ElementType() reflect.Type
- func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyOutput() PolicyVMRetentionYearlyOutput
- func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyOutput
- func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput
- func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyPtrOutput
- type PolicyVMRetentionYearlyInput
- type PolicyVMRetentionYearlyOutput
- func (o PolicyVMRetentionYearlyOutput) Count() pulumi.IntOutput
- func (PolicyVMRetentionYearlyOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionYearlyOutput) Months() pulumi.StringArrayOutput
- func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyOutput() PolicyVMRetentionYearlyOutput
- func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyOutput
- func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput
- func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyPtrOutput
- func (o PolicyVMRetentionYearlyOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMRetentionYearlyOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMRetentionYearlyPtrInput
- type PolicyVMRetentionYearlyPtrOutput
- func (o PolicyVMRetentionYearlyPtrOutput) Count() pulumi.IntOutput
- func (o PolicyVMRetentionYearlyPtrOutput) Elem() PolicyVMRetentionYearlyOutput
- func (PolicyVMRetentionYearlyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionYearlyPtrOutput) Months() pulumi.StringArrayOutput
- func (o PolicyVMRetentionYearlyPtrOutput) ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput
- func (o PolicyVMRetentionYearlyPtrOutput) ToPolicyVMRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyPtrOutput
- func (o PolicyVMRetentionYearlyPtrOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMRetentionYearlyPtrOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMState
- type ProtectedFileShare
- type ProtectedFileShareArgs
- type ProtectedFileShareState
- type ProtectedVM
- 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 { pulumi.CustomResourceState // The name of the vault where the storage account will be registered. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Azure Resource ID of the storage account to be registered StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"` }
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.IDInput, state *ContainerStorageAccountState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ContainerStorageAccount, error)
NewContainerStorageAccount registers a new resource with the given unique name, arguments, and options.
type ContainerStorageAccountArgs ¶
type ContainerStorageAccountArgs struct { // The name of the vault where the storage account will be registered. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault is located. ResourceGroupName pulumi.StringInput // Azure Resource ID of the storage account to be registered StorageAccountId pulumi.StringInput }
The set of arguments for constructing a ContainerStorageAccount resource.
func (ContainerStorageAccountArgs) ElementType ¶
func (ContainerStorageAccountArgs) ElementType() reflect.Type
type ContainerStorageAccountState ¶
type ContainerStorageAccountState struct { // The name of the vault where the storage account will be registered. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault is located. ResourceGroupName pulumi.StringPtrInput // Azure Resource ID of the storage account to be registered StorageAccountId pulumi.StringPtrInput }
func (ContainerStorageAccountState) ElementType ¶
func (ContainerStorageAccountState) ElementType() reflect.Type
type LookupPolicyVMArgs ¶
type LookupPolicyVMArgs struct { // Specifies the name of the VM Backup Policy. Name string `pulumi:"name"` // Specifies the name of the Recovery Services Vault. RecoveryVaultName string `pulumi:"recoveryVaultName"` // The name of the resource group in which the VM Backup Policy resides. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getPolicyVM.
type LookupPolicyVMResult ¶
type LookupPolicyVMResult struct { // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` RecoveryVaultName string `pulumi:"recoveryVaultName"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getPolicyVM.
func LookupPolicyVM ¶
func LookupPolicyVM(ctx *pulumi.Context, args *LookupPolicyVMArgs, opts ...pulumi.InvokeOption) (*LookupPolicyVMResult, error)
Use this data source to access information about an existing VM Backup Policy.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/backup_policy_vm.markdown.
type PolicyFileShare ¶
type PolicyFileShare struct { PolicyFileShareBackupOutput `pulumi:"backup"` Name pulumi.StringOutput `pulumi:"name"` RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` RetentionDaily PolicyFileShareRetentionDailyOutput `pulumi:"retentionDaily"` Timezone pulumi.StringPtrOutput `pulumi:"timezone"` }Backup
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.markdown.
func GetPolicyFileShare ¶
func GetPolicyFileShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyFileShareState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*PolicyFileShare, error)
NewPolicyFileShare registers a new resource with the given unique name, arguments, and options.
type PolicyFileShareArgs ¶
type PolicyFileShareArgs struct { PolicyFileShareBackupInput Name pulumi.StringPtrInput RecoveryVaultName pulumi.StringInput ResourceGroupName pulumi.StringInput RetentionDaily PolicyFileShareRetentionDailyInput Timezone pulumi.StringPtrInput }Backup
The set of arguments for constructing a PolicyFileShare resource.
func (PolicyFileShareArgs) ElementType ¶
func (PolicyFileShareArgs) ElementType() reflect.Type
type PolicyFileShareBackup ¶
type PolicyFileShareBackup struct { // Sets the backup frequency. Currently, only `Daily` is supported }
type PolicyFileShareBackupArgs ¶
type PolicyFileShareBackupArgs struct { // Sets the backup frequency. Currently, only `Daily` is supported }
func (PolicyFileShareBackupArgs) ElementType ¶
func (PolicyFileShareBackupArgs) ElementType() reflect.Type
func (PolicyFileShareBackupArgs) ToPolicyFileShareBackupOutput ¶
func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupOutput() PolicyFileShareBackupOutput
func (PolicyFileShareBackupArgs) ToPolicyFileShareBackupOutputWithContext ¶
func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupOutputWithContext(ctx context.Context) PolicyFileShareBackupOutput
func (PolicyFileShareBackupArgs) ToPolicyFileShareBackupPtrOutput ¶
func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
func (PolicyFileShareBackupArgs) ToPolicyFileShareBackupPtrOutputWithContext ¶
func (i PolicyFileShareBackupArgs) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
type PolicyFileShareBackupOutput ¶
func (PolicyFileShareBackupOutput) ElementType ¶
func (PolicyFileShareBackupOutput) ElementType() reflect.Type
func (PolicyFileShareBackupOutput) Frequency ¶
func (o PolicyFileShareBackupOutput) Frequency() pulumi.StringOutput
Sets the backup frequency. Currently, only `Daily` is supported
func (PolicyFileShareBackupOutput) Time ¶
func (o PolicyFileShareBackupOutput) Time() pulumi.StringOutput
func (PolicyFileShareBackupOutput) ToPolicyFileShareBackupOutput ¶
func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupOutput() PolicyFileShareBackupOutput
func (PolicyFileShareBackupOutput) ToPolicyFileShareBackupOutputWithContext ¶
func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupOutputWithContext(ctx context.Context) PolicyFileShareBackupOutput
func (PolicyFileShareBackupOutput) ToPolicyFileShareBackupPtrOutput ¶
func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
func (PolicyFileShareBackupOutput) ToPolicyFileShareBackupPtrOutputWithContext ¶
func (o PolicyFileShareBackupOutput) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
type PolicyFileShareBackupPtrInput ¶
func PolicyFileShareBackupPtr ¶
func PolicyFileShareBackupPtr(v *PolicyFileShareBackupArgs) PolicyFileShareBackupPtrInput
type PolicyFileShareBackupPtrOutput ¶
func (PolicyFileShareBackupPtrOutput) Elem ¶
func (o PolicyFileShareBackupPtrOutput) Elem() PolicyFileShareBackupOutput
func (PolicyFileShareBackupPtrOutput) ElementType ¶
func (PolicyFileShareBackupPtrOutput) ElementType() reflect.Type
func (PolicyFileShareBackupPtrOutput) Frequency ¶
func (o PolicyFileShareBackupPtrOutput) Frequency() pulumi.StringOutput
Sets the backup frequency. Currently, only `Daily` is supported
func (PolicyFileShareBackupPtrOutput) Time ¶
func (o PolicyFileShareBackupPtrOutput) Time() pulumi.StringOutput
func (PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutput ¶
func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
func (PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutputWithContext ¶
func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
type PolicyFileShareRetentionDaily ¶
type PolicyFileShareRetentionDaily struct { int `pulumi:"count"` }Count
type PolicyFileShareRetentionDailyArgs ¶
func (PolicyFileShareRetentionDailyArgs) ElementType ¶
func (PolicyFileShareRetentionDailyArgs) ElementType() reflect.Type
func (PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyOutput ¶
func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyOutput() PolicyFileShareRetentionDailyOutput
func (PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyOutputWithContext ¶
func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyOutput
func (PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyPtrOutput ¶
func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
func (PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyPtrOutputWithContext ¶
func (i PolicyFileShareRetentionDailyArgs) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
type PolicyFileShareRetentionDailyOutput ¶
func (PolicyFileShareRetentionDailyOutput) Count ¶
func (o PolicyFileShareRetentionDailyOutput) Count() pulumi.IntOutput
The number of daily backups to keep. Must be between `1` and `180` (inclusive)
func (PolicyFileShareRetentionDailyOutput) ElementType ¶
func (PolicyFileShareRetentionDailyOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyOutput ¶
func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyOutput() PolicyFileShareRetentionDailyOutput
func (PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyOutputWithContext ¶
func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyOutput
func (PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyPtrOutput ¶
func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
func (PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionDailyOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
type PolicyFileShareRetentionDailyPtrInput ¶
func PolicyFileShareRetentionDailyPtr ¶
func PolicyFileShareRetentionDailyPtr(v *PolicyFileShareRetentionDailyArgs) PolicyFileShareRetentionDailyPtrInput
type PolicyFileShareRetentionDailyPtrOutput ¶
func (PolicyFileShareRetentionDailyPtrOutput) Count ¶
func (o PolicyFileShareRetentionDailyPtrOutput) Count() pulumi.IntOutput
The number of daily backups to keep. Must be between `1` and `180` (inclusive)
func (PolicyFileShareRetentionDailyPtrOutput) ElementType ¶
func (PolicyFileShareRetentionDailyPtrOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutput ¶
func (o PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
func (PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
type PolicyFileShareState ¶
type PolicyFileShareState struct { PolicyFileShareBackupPtrInput Name pulumi.StringPtrInput RecoveryVaultName pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput RetentionDaily PolicyFileShareRetentionDailyPtrInput Timezone pulumi.StringPtrInput }Backup
func (PolicyFileShareState) ElementType ¶
func (PolicyFileShareState) ElementType() reflect.Type
type PolicyVM ¶
type PolicyVM struct { pulumi.CustomResourceState // Configures the Policy backup frequency, times & days as documented in the `backup` block below. Backup PolicyVMBackupOutput `pulumi:"backup"` // Specifies the name of the Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // The name of the resource group in which to create the policy. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`. RetentionDaily PolicyVMRetentionDailyPtrOutput `pulumi:"retentionDaily"` // Configures the policy monthly retention as documented in the `retentionMonthly` block below. RetentionMonthly PolicyVMRetentionMonthlyPtrOutput `pulumi:"retentionMonthly"` // Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`. RetentionWeekly PolicyVMRetentionWeeklyPtrOutput `pulumi:"retentionWeekly"` // Configures the policy yearly retention as documented in the `retentionYearly` block below. RetentionYearly PolicyVMRetentionYearlyPtrOutput `pulumi:"retentionYearly"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the timezone. Defaults to `UTC` Timezone pulumi.StringPtrOutput `pulumi:"timezone"` }
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.markdown.
func GetPolicyVM ¶
func GetPolicyVM(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyVMState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*PolicyVM, error)
NewPolicyVM registers a new resource with the given unique name, arguments, and options.
type PolicyVMArgs ¶
type PolicyVMArgs struct { // Configures the Policy backup frequency, times & days as documented in the `backup` block below. Backup PolicyVMBackupInput // Specifies the name of the Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringInput // The name of the resource group in which to create the policy. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`. RetentionDaily PolicyVMRetentionDailyPtrInput // Configures the policy monthly retention as documented in the `retentionMonthly` block below. RetentionMonthly PolicyVMRetentionMonthlyPtrInput // Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`. RetentionWeekly PolicyVMRetentionWeeklyPtrInput // Configures the policy yearly retention as documented in the `retentionYearly` block below. RetentionYearly PolicyVMRetentionYearlyPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies the timezone. Defaults to `UTC` Timezone pulumi.StringPtrInput }
The set of arguments for constructing a PolicyVM resource.
func (PolicyVMArgs) ElementType ¶
func (PolicyVMArgs) ElementType() reflect.Type
type PolicyVMBackup ¶
type PolicyVMBackup struct { // Sets the backup frequency. Must be either `Daily` or`Weekly`. Frequency string `pulumi:"frequency"` // The time of day to perform the backup in 24hour format. Time string `pulumi:"time"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` }
type PolicyVMBackupArgs ¶
type PolicyVMBackupArgs struct { // Sets the backup frequency. Must be either `Daily` or`Weekly`. Frequency pulumi.StringInput `pulumi:"frequency"` // The time of day to perform the backup in 24hour format. Time pulumi.StringInput `pulumi:"time"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` }
func (PolicyVMBackupArgs) ElementType ¶
func (PolicyVMBackupArgs) ElementType() reflect.Type
func (PolicyVMBackupArgs) ToPolicyVMBackupOutput ¶
func (i PolicyVMBackupArgs) ToPolicyVMBackupOutput() PolicyVMBackupOutput
func (PolicyVMBackupArgs) ToPolicyVMBackupOutputWithContext ¶
func (i PolicyVMBackupArgs) ToPolicyVMBackupOutputWithContext(ctx context.Context) PolicyVMBackupOutput
func (PolicyVMBackupArgs) ToPolicyVMBackupPtrOutput ¶
func (i PolicyVMBackupArgs) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
func (PolicyVMBackupArgs) ToPolicyVMBackupPtrOutputWithContext ¶
func (i PolicyVMBackupArgs) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
type PolicyVMBackupInput ¶
type PolicyVMBackupInput interface { pulumi.Input ToPolicyVMBackupOutput() PolicyVMBackupOutput ToPolicyVMBackupOutputWithContext(context.Context) PolicyVMBackupOutput }
type PolicyVMBackupOutput ¶
type PolicyVMBackupOutput struct{ *pulumi.OutputState }
func (PolicyVMBackupOutput) ElementType ¶
func (PolicyVMBackupOutput) ElementType() reflect.Type
func (PolicyVMBackupOutput) Frequency ¶
func (o PolicyVMBackupOutput) Frequency() pulumi.StringOutput
Sets the backup frequency. Must be either `Daily` or`Weekly`.
func (PolicyVMBackupOutput) Time ¶
func (o PolicyVMBackupOutput) Time() pulumi.StringOutput
The time of day to perform the backup in 24hour format.
func (PolicyVMBackupOutput) ToPolicyVMBackupOutput ¶
func (o PolicyVMBackupOutput) ToPolicyVMBackupOutput() PolicyVMBackupOutput
func (PolicyVMBackupOutput) ToPolicyVMBackupOutputWithContext ¶
func (o PolicyVMBackupOutput) ToPolicyVMBackupOutputWithContext(ctx context.Context) PolicyVMBackupOutput
func (PolicyVMBackupOutput) ToPolicyVMBackupPtrOutput ¶
func (o PolicyVMBackupOutput) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
func (PolicyVMBackupOutput) ToPolicyVMBackupPtrOutputWithContext ¶
func (o PolicyVMBackupOutput) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
func (PolicyVMBackupOutput) Weekdays ¶
func (o PolicyVMBackupOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMBackupPtrInput ¶
type PolicyVMBackupPtrInput interface { pulumi.Input ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput ToPolicyVMBackupPtrOutputWithContext(context.Context) PolicyVMBackupPtrOutput }
func PolicyVMBackupPtr ¶
func PolicyVMBackupPtr(v *PolicyVMBackupArgs) PolicyVMBackupPtrInput
type PolicyVMBackupPtrOutput ¶
type PolicyVMBackupPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMBackupPtrOutput) Elem ¶
func (o PolicyVMBackupPtrOutput) Elem() PolicyVMBackupOutput
func (PolicyVMBackupPtrOutput) ElementType ¶
func (PolicyVMBackupPtrOutput) ElementType() reflect.Type
func (PolicyVMBackupPtrOutput) Frequency ¶
func (o PolicyVMBackupPtrOutput) Frequency() pulumi.StringOutput
Sets the backup frequency. Must be either `Daily` or`Weekly`.
func (PolicyVMBackupPtrOutput) Time ¶
func (o PolicyVMBackupPtrOutput) Time() pulumi.StringOutput
The time of day to perform the backup in 24hour format.
func (PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutput ¶
func (o PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
func (PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutputWithContext ¶
func (o PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
func (PolicyVMBackupPtrOutput) Weekdays ¶
func (o PolicyVMBackupPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMRetentionDaily ¶
type PolicyVMRetentionDaily struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count int `pulumi:"count"` }
type PolicyVMRetentionDailyArgs ¶
type PolicyVMRetentionDailyArgs struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count pulumi.IntInput `pulumi:"count"` }
func (PolicyVMRetentionDailyArgs) ElementType ¶
func (PolicyVMRetentionDailyArgs) ElementType() reflect.Type
func (PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyOutput ¶
func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyOutput() PolicyVMRetentionDailyOutput
func (PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyOutputWithContext ¶
func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyOutputWithContext(ctx context.Context) PolicyVMRetentionDailyOutput
func (PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyPtrOutput ¶
func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput
func (PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyPtrOutputWithContext ¶
func (i PolicyVMRetentionDailyArgs) ToPolicyVMRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionDailyPtrOutput
type PolicyVMRetentionDailyInput ¶
type PolicyVMRetentionDailyInput interface { pulumi.Input ToPolicyVMRetentionDailyOutput() PolicyVMRetentionDailyOutput ToPolicyVMRetentionDailyOutputWithContext(context.Context) PolicyVMRetentionDailyOutput }
type PolicyVMRetentionDailyOutput ¶
type PolicyVMRetentionDailyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionDailyOutput) Count ¶
func (o PolicyVMRetentionDailyOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionDailyOutput) ElementType ¶
func (PolicyVMRetentionDailyOutput) ElementType() reflect.Type
func (PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyOutput ¶
func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyOutput() PolicyVMRetentionDailyOutput
func (PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyOutputWithContext ¶
func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyOutputWithContext(ctx context.Context) PolicyVMRetentionDailyOutput
func (PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyPtrOutput ¶
func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput
func (PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyPtrOutputWithContext ¶
func (o PolicyVMRetentionDailyOutput) ToPolicyVMRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionDailyPtrOutput
type PolicyVMRetentionDailyPtrInput ¶
type PolicyVMRetentionDailyPtrInput interface { pulumi.Input ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput ToPolicyVMRetentionDailyPtrOutputWithContext(context.Context) PolicyVMRetentionDailyPtrOutput }
func PolicyVMRetentionDailyPtr ¶
func PolicyVMRetentionDailyPtr(v *PolicyVMRetentionDailyArgs) PolicyVMRetentionDailyPtrInput
type PolicyVMRetentionDailyPtrOutput ¶
type PolicyVMRetentionDailyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionDailyPtrOutput) Count ¶
func (o PolicyVMRetentionDailyPtrOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionDailyPtrOutput) Elem ¶
func (o PolicyVMRetentionDailyPtrOutput) Elem() PolicyVMRetentionDailyOutput
func (PolicyVMRetentionDailyPtrOutput) ElementType ¶
func (PolicyVMRetentionDailyPtrOutput) ElementType() reflect.Type
func (PolicyVMRetentionDailyPtrOutput) ToPolicyVMRetentionDailyPtrOutput ¶
func (o PolicyVMRetentionDailyPtrOutput) ToPolicyVMRetentionDailyPtrOutput() PolicyVMRetentionDailyPtrOutput
func (PolicyVMRetentionDailyPtrOutput) ToPolicyVMRetentionDailyPtrOutputWithContext ¶
func (o PolicyVMRetentionDailyPtrOutput) ToPolicyVMRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionDailyPtrOutput
type PolicyVMRetentionMonthly ¶
type PolicyVMRetentionMonthly struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count int `pulumi:"count"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` // The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`. Weeks []string `pulumi:"weeks"` }
type PolicyVMRetentionMonthlyArgs ¶
type PolicyVMRetentionMonthlyArgs struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count pulumi.IntInput `pulumi:"count"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` // The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`. Weeks pulumi.StringArrayInput `pulumi:"weeks"` }
func (PolicyVMRetentionMonthlyArgs) ElementType ¶
func (PolicyVMRetentionMonthlyArgs) ElementType() reflect.Type
func (PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyOutput ¶
func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyOutput() PolicyVMRetentionMonthlyOutput
func (PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyOutputWithContext ¶
func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyOutput
func (PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyPtrOutput ¶
func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput
func (PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyPtrOutputWithContext ¶
func (i PolicyVMRetentionMonthlyArgs) ToPolicyVMRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyPtrOutput
type PolicyVMRetentionMonthlyInput ¶
type PolicyVMRetentionMonthlyInput interface { pulumi.Input ToPolicyVMRetentionMonthlyOutput() PolicyVMRetentionMonthlyOutput ToPolicyVMRetentionMonthlyOutputWithContext(context.Context) PolicyVMRetentionMonthlyOutput }
type PolicyVMRetentionMonthlyOutput ¶
type PolicyVMRetentionMonthlyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionMonthlyOutput) Count ¶
func (o PolicyVMRetentionMonthlyOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionMonthlyOutput) ElementType ¶
func (PolicyVMRetentionMonthlyOutput) ElementType() reflect.Type
func (PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyOutput ¶
func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyOutput() PolicyVMRetentionMonthlyOutput
func (PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyOutputWithContext ¶
func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyOutput
func (PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyPtrOutput ¶
func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput
func (PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyPtrOutputWithContext ¶
func (o PolicyVMRetentionMonthlyOutput) ToPolicyVMRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyPtrOutput
func (PolicyVMRetentionMonthlyOutput) Weekdays ¶
func (o PolicyVMRetentionMonthlyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyVMRetentionMonthlyOutput) Weeks ¶
func (o PolicyVMRetentionMonthlyOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyVMRetentionMonthlyPtrInput ¶
type PolicyVMRetentionMonthlyPtrInput interface { pulumi.Input ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput ToPolicyVMRetentionMonthlyPtrOutputWithContext(context.Context) PolicyVMRetentionMonthlyPtrOutput }
func PolicyVMRetentionMonthlyPtr ¶
func PolicyVMRetentionMonthlyPtr(v *PolicyVMRetentionMonthlyArgs) PolicyVMRetentionMonthlyPtrInput
type PolicyVMRetentionMonthlyPtrOutput ¶
type PolicyVMRetentionMonthlyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionMonthlyPtrOutput) Count ¶
func (o PolicyVMRetentionMonthlyPtrOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionMonthlyPtrOutput) Elem ¶
func (o PolicyVMRetentionMonthlyPtrOutput) Elem() PolicyVMRetentionMonthlyOutput
func (PolicyVMRetentionMonthlyPtrOutput) ElementType ¶
func (PolicyVMRetentionMonthlyPtrOutput) ElementType() reflect.Type
func (PolicyVMRetentionMonthlyPtrOutput) ToPolicyVMRetentionMonthlyPtrOutput ¶
func (o PolicyVMRetentionMonthlyPtrOutput) ToPolicyVMRetentionMonthlyPtrOutput() PolicyVMRetentionMonthlyPtrOutput
func (PolicyVMRetentionMonthlyPtrOutput) ToPolicyVMRetentionMonthlyPtrOutputWithContext ¶
func (o PolicyVMRetentionMonthlyPtrOutput) ToPolicyVMRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionMonthlyPtrOutput
func (PolicyVMRetentionMonthlyPtrOutput) Weekdays ¶
func (o PolicyVMRetentionMonthlyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyVMRetentionMonthlyPtrOutput) Weeks ¶
func (o PolicyVMRetentionMonthlyPtrOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyVMRetentionWeekly ¶
type PolicyVMRetentionWeekly struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count int `pulumi:"count"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` }
type PolicyVMRetentionWeeklyArgs ¶
type PolicyVMRetentionWeeklyArgs struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count pulumi.IntInput `pulumi:"count"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` }
func (PolicyVMRetentionWeeklyArgs) ElementType ¶
func (PolicyVMRetentionWeeklyArgs) ElementType() reflect.Type
func (PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyOutput ¶
func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyOutput() PolicyVMRetentionWeeklyOutput
func (PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyOutputWithContext ¶
func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyOutput
func (PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyPtrOutput ¶
func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput
func (PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyPtrOutputWithContext ¶
func (i PolicyVMRetentionWeeklyArgs) ToPolicyVMRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyPtrOutput
type PolicyVMRetentionWeeklyInput ¶
type PolicyVMRetentionWeeklyInput interface { pulumi.Input ToPolicyVMRetentionWeeklyOutput() PolicyVMRetentionWeeklyOutput ToPolicyVMRetentionWeeklyOutputWithContext(context.Context) PolicyVMRetentionWeeklyOutput }
type PolicyVMRetentionWeeklyOutput ¶
type PolicyVMRetentionWeeklyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionWeeklyOutput) Count ¶
func (o PolicyVMRetentionWeeklyOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionWeeklyOutput) ElementType ¶
func (PolicyVMRetentionWeeklyOutput) ElementType() reflect.Type
func (PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyOutput ¶
func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyOutput() PolicyVMRetentionWeeklyOutput
func (PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyOutputWithContext ¶
func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyOutput
func (PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyPtrOutput ¶
func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput
func (PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyPtrOutputWithContext ¶
func (o PolicyVMRetentionWeeklyOutput) ToPolicyVMRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyPtrOutput
func (PolicyVMRetentionWeeklyOutput) Weekdays ¶
func (o PolicyVMRetentionWeeklyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMRetentionWeeklyPtrInput ¶
type PolicyVMRetentionWeeklyPtrInput interface { pulumi.Input ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput ToPolicyVMRetentionWeeklyPtrOutputWithContext(context.Context) PolicyVMRetentionWeeklyPtrOutput }
func PolicyVMRetentionWeeklyPtr ¶
func PolicyVMRetentionWeeklyPtr(v *PolicyVMRetentionWeeklyArgs) PolicyVMRetentionWeeklyPtrInput
type PolicyVMRetentionWeeklyPtrOutput ¶
type PolicyVMRetentionWeeklyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionWeeklyPtrOutput) Count ¶
func (o PolicyVMRetentionWeeklyPtrOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionWeeklyPtrOutput) Elem ¶
func (o PolicyVMRetentionWeeklyPtrOutput) Elem() PolicyVMRetentionWeeklyOutput
func (PolicyVMRetentionWeeklyPtrOutput) ElementType ¶
func (PolicyVMRetentionWeeklyPtrOutput) ElementType() reflect.Type
func (PolicyVMRetentionWeeklyPtrOutput) ToPolicyVMRetentionWeeklyPtrOutput ¶
func (o PolicyVMRetentionWeeklyPtrOutput) ToPolicyVMRetentionWeeklyPtrOutput() PolicyVMRetentionWeeklyPtrOutput
func (PolicyVMRetentionWeeklyPtrOutput) ToPolicyVMRetentionWeeklyPtrOutputWithContext ¶
func (o PolicyVMRetentionWeeklyPtrOutput) ToPolicyVMRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionWeeklyPtrOutput
func (PolicyVMRetentionWeeklyPtrOutput) Weekdays ¶
func (o PolicyVMRetentionWeeklyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMRetentionYearly ¶
type PolicyVMRetentionYearly struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count int `pulumi:"count"` // The months of the year to retain backups of. Must be one of `January`, `February`, `March`, `April`, `May`, `June`, `July`, `Augest`, `September`, `October`, `November` and `December`. Months []string `pulumi:"months"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` // The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`. Weeks []string `pulumi:"weeks"` }
type PolicyVMRetentionYearlyArgs ¶
type PolicyVMRetentionYearlyArgs struct { // The number of yearly backups to keep. Must be between `1` and `9999` Count pulumi.IntInput `pulumi:"count"` // The months of the year to retain backups of. Must be one of `January`, `February`, `March`, `April`, `May`, `June`, `July`, `Augest`, `September`, `October`, `November` and `December`. Months pulumi.StringArrayInput `pulumi:"months"` // The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` // The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`. Weeks pulumi.StringArrayInput `pulumi:"weeks"` }
func (PolicyVMRetentionYearlyArgs) ElementType ¶
func (PolicyVMRetentionYearlyArgs) ElementType() reflect.Type
func (PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyOutput ¶
func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyOutput() PolicyVMRetentionYearlyOutput
func (PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyOutputWithContext ¶
func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyOutput
func (PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyPtrOutput ¶
func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput
func (PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyPtrOutputWithContext ¶
func (i PolicyVMRetentionYearlyArgs) ToPolicyVMRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyPtrOutput
type PolicyVMRetentionYearlyInput ¶
type PolicyVMRetentionYearlyInput interface { pulumi.Input ToPolicyVMRetentionYearlyOutput() PolicyVMRetentionYearlyOutput ToPolicyVMRetentionYearlyOutputWithContext(context.Context) PolicyVMRetentionYearlyOutput }
type PolicyVMRetentionYearlyOutput ¶
type PolicyVMRetentionYearlyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionYearlyOutput) Count ¶
func (o PolicyVMRetentionYearlyOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionYearlyOutput) ElementType ¶
func (PolicyVMRetentionYearlyOutput) ElementType() reflect.Type
func (PolicyVMRetentionYearlyOutput) Months ¶
func (o PolicyVMRetentionYearlyOutput) Months() pulumi.StringArrayOutput
The months of the year to retain backups of. Must be one of `January`, `February`, `March`, `April`, `May`, `June`, `July`, `Augest`, `September`, `October`, `November` and `December`.
func (PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyOutput ¶
func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyOutput() PolicyVMRetentionYearlyOutput
func (PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyOutputWithContext ¶
func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyOutput
func (PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyPtrOutput ¶
func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput
func (PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyPtrOutputWithContext ¶
func (o PolicyVMRetentionYearlyOutput) ToPolicyVMRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyPtrOutput
func (PolicyVMRetentionYearlyOutput) Weekdays ¶
func (o PolicyVMRetentionYearlyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyVMRetentionYearlyOutput) Weeks ¶
func (o PolicyVMRetentionYearlyOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyVMRetentionYearlyPtrInput ¶
type PolicyVMRetentionYearlyPtrInput interface { pulumi.Input ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput ToPolicyVMRetentionYearlyPtrOutputWithContext(context.Context) PolicyVMRetentionYearlyPtrOutput }
func PolicyVMRetentionYearlyPtr ¶
func PolicyVMRetentionYearlyPtr(v *PolicyVMRetentionYearlyArgs) PolicyVMRetentionYearlyPtrInput
type PolicyVMRetentionYearlyPtrOutput ¶
type PolicyVMRetentionYearlyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionYearlyPtrOutput) Count ¶
func (o PolicyVMRetentionYearlyPtrOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionYearlyPtrOutput) Elem ¶
func (o PolicyVMRetentionYearlyPtrOutput) Elem() PolicyVMRetentionYearlyOutput
func (PolicyVMRetentionYearlyPtrOutput) ElementType ¶
func (PolicyVMRetentionYearlyPtrOutput) ElementType() reflect.Type
func (PolicyVMRetentionYearlyPtrOutput) Months ¶
func (o PolicyVMRetentionYearlyPtrOutput) Months() pulumi.StringArrayOutput
The months of the year to retain backups of. Must be one of `January`, `February`, `March`, `April`, `May`, `June`, `July`, `Augest`, `September`, `October`, `November` and `December`.
func (PolicyVMRetentionYearlyPtrOutput) ToPolicyVMRetentionYearlyPtrOutput ¶
func (o PolicyVMRetentionYearlyPtrOutput) ToPolicyVMRetentionYearlyPtrOutput() PolicyVMRetentionYearlyPtrOutput
func (PolicyVMRetentionYearlyPtrOutput) ToPolicyVMRetentionYearlyPtrOutputWithContext ¶
func (o PolicyVMRetentionYearlyPtrOutput) ToPolicyVMRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMRetentionYearlyPtrOutput
func (PolicyVMRetentionYearlyPtrOutput) Weekdays ¶
func (o PolicyVMRetentionYearlyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyVMRetentionYearlyPtrOutput) Weeks ¶
func (o PolicyVMRetentionYearlyPtrOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyVMState ¶
type PolicyVMState struct { // Configures the Policy backup frequency, times & days as documented in the `backup` block below. Backup PolicyVMBackupPtrInput // Specifies the name of the Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringPtrInput // The name of the resource group in which to create the policy. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`. RetentionDaily PolicyVMRetentionDailyPtrInput // Configures the policy monthly retention as documented in the `retentionMonthly` block below. RetentionMonthly PolicyVMRetentionMonthlyPtrInput // Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`. RetentionWeekly PolicyVMRetentionWeeklyPtrInput // Configures the policy yearly retention as documented in the `retentionYearly` block below. RetentionYearly PolicyVMRetentionYearlyPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies the timezone. Defaults to `UTC` Timezone pulumi.StringPtrInput }
func (PolicyVMState) ElementType ¶
func (PolicyVMState) ElementType() reflect.Type
type ProtectedFileShare ¶
type ProtectedFileShare struct { pulumi.StringOutput `pulumi:"backupPolicyId"` RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` SourceFileShareName pulumi.StringOutput `pulumi:"sourceFileShareName"` SourceStorageAccountId pulumi.StringOutput `pulumi:"sourceStorageAccountId"` }BackupPolicyId
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](https://docs.microsoft.com/en-us/azure/backup/backup-azure-files#limitations-for-azure-file-share-backup-during-preview)
> **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`](https://www.pulumi.com/docs/intro/concepts/programming-model/#protect) to guard against accidental deletion.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/backup_protected_file_share.markdown.
func GetProtectedFileShare ¶
func GetProtectedFileShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProtectedFileShareState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ProtectedFileShare, error)
NewProtectedFileShare registers a new resource with the given unique name, arguments, and options.
type ProtectedFileShareArgs ¶
type ProtectedFileShareArgs struct { pulumi.StringInput RecoveryVaultName pulumi.StringInput ResourceGroupName pulumi.StringInput SourceFileShareName pulumi.StringInput SourceStorageAccountId pulumi.StringInput }BackupPolicyId
The set of arguments for constructing a ProtectedFileShare resource.
func (ProtectedFileShareArgs) ElementType ¶
func (ProtectedFileShareArgs) ElementType() reflect.Type
type ProtectedFileShareState ¶
type ProtectedFileShareState struct { pulumi.StringPtrInput RecoveryVaultName pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput SourceFileShareName pulumi.StringPtrInput SourceStorageAccountId pulumi.StringPtrInput }BackupPolicyId
func (ProtectedFileShareState) ElementType ¶
func (ProtectedFileShareState) ElementType() reflect.Type
type ProtectedVM ¶
type ProtectedVM struct { pulumi.CustomResourceState // Specifies the id of the backup policy to use. BackupPolicyId pulumi.StringOutput `pulumi:"backupPolicyId"` // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // 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 pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the ID of the VM to backup. Changing this forces a new resource to be created. SourceVmId pulumi.StringOutput `pulumi:"sourceVmId"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
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.markdown.
func GetProtectedVM ¶
func GetProtectedVM(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProtectedVMState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ProtectedVM, error)
NewProtectedVM registers a new resource with the given unique name, arguments, and options.
type ProtectedVMArgs ¶
type ProtectedVMArgs struct { // Specifies the id of the backup policy to use. BackupPolicyId pulumi.StringInput // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringInput // 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 pulumi.StringInput // Specifies the ID of the VM to backup. Changing this forces a new resource to be created. SourceVmId pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a ProtectedVM resource.
func (ProtectedVMArgs) ElementType ¶
func (ProtectedVMArgs) ElementType() reflect.Type
type ProtectedVMState ¶
type ProtectedVMState struct { // Specifies the id of the backup policy to use. BackupPolicyId pulumi.StringPtrInput // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringPtrInput // 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 pulumi.StringPtrInput // Specifies the ID of the VM to backup. Changing this forces a new resource to be created. SourceVmId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (ProtectedVMState) ElementType ¶
func (ProtectedVMState) ElementType() reflect.Type