Class PolicyVMArgs
Inherited Members
Namespace: Pulumi.Azure.Backup
Assembly: Pulumi.Azure.dll
Syntax
public sealed class PolicyVMArgs : ResourceArgs
Constructors
View SourcePolicyVMArgs()
Declaration
public PolicyVMArgs()
Properties
View SourceBackup
Configures the Policy backup frequency, times & days as documented in the backup block below.
Declaration
public Input<PolicyVMBackupArgs> Backup { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMBackupArgs> |
Name
Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RecoveryVaultName
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
Declaration
public Input<string> RecoveryVaultName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RetentionDaily
Configures the policy daily retention as documented in the retention_daily block below. Required when backup frequency is Daily.
Declaration
public Input<PolicyVMRetentionDailyArgs> RetentionDaily { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionDailyArgs> |
RetentionMonthly
Configures the policy monthly retention as documented in the retention_monthly block below.
Declaration
public Input<PolicyVMRetentionMonthlyArgs> RetentionMonthly { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionMonthlyArgs> |
RetentionWeekly
Configures the policy weekly retention as documented in the retention_weekly block below. Required when backup frequency is Weekly.
Declaration
public Input<PolicyVMRetentionWeeklyArgs> RetentionWeekly { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionWeeklyArgs> |
RetentionYearly
Configures the policy yearly retention as documented in the retention_yearly block below.
Declaration
public Input<PolicyVMRetentionYearlyArgs> RetentionYearly { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionYearlyArgs> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Timezone
Specifies the timezone. Defaults to UTC
Declaration
public Input<string> Timezone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |