Class PolicyVMState
Inherited Members
Namespace: Pulumi.Azure.Backup
Assembly: Pulumi.Azure.dll
Syntax
public sealed class PolicyVMState : ResourceArgs
Constructors
View SourcePolicyVMState()
Declaration
public PolicyVMState()
Properties
View SourceBackup
Configures the Policy backup frequency, times & days as documented in the backup block below.
Declaration
public Input<PolicyVMBackupGetArgs> Backup { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMBackupGetArgs> |
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<PolicyVMRetentionDailyGetArgs> RetentionDaily { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionDailyGetArgs> |
RetentionMonthly
Configures the policy monthly retention as documented in the retention_monthly block below.
Declaration
public Input<PolicyVMRetentionMonthlyGetArgs> RetentionMonthly { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionMonthlyGetArgs> |
RetentionWeekly
Configures the policy weekly retention as documented in the retention_weekly block below. Required when backup frequency is Weekly.
Declaration
public Input<PolicyVMRetentionWeeklyGetArgs> RetentionWeekly { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionWeeklyGetArgs> |
RetentionYearly
Configures the policy yearly retention as documented in the retention_yearly block below.
Declaration
public Input<PolicyVMRetentionYearlyGetArgs> RetentionYearly { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyVMRetentionYearlyGetArgs> |
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> |