Documentation ¶
Index ¶
- type ContainerStorageAccount
- type ContainerStorageAccountArgs
- type ContainerStorageAccountArray
- func (ContainerStorageAccountArray) ElementType() reflect.Type
- func (i ContainerStorageAccountArray) ToContainerStorageAccountArrayOutput() ContainerStorageAccountArrayOutput
- func (i ContainerStorageAccountArray) ToContainerStorageAccountArrayOutputWithContext(ctx context.Context) ContainerStorageAccountArrayOutput
- type ContainerStorageAccountArrayInput
- type ContainerStorageAccountArrayOutput
- func (ContainerStorageAccountArrayOutput) ElementType() reflect.Type
- func (o ContainerStorageAccountArrayOutput) Index(i pulumi.IntInput) ContainerStorageAccountOutput
- func (o ContainerStorageAccountArrayOutput) ToContainerStorageAccountArrayOutput() ContainerStorageAccountArrayOutput
- func (o ContainerStorageAccountArrayOutput) ToContainerStorageAccountArrayOutputWithContext(ctx context.Context) ContainerStorageAccountArrayOutput
- type ContainerStorageAccountInput
- type ContainerStorageAccountMap
- func (ContainerStorageAccountMap) ElementType() reflect.Type
- func (i ContainerStorageAccountMap) ToContainerStorageAccountMapOutput() ContainerStorageAccountMapOutput
- func (i ContainerStorageAccountMap) ToContainerStorageAccountMapOutputWithContext(ctx context.Context) ContainerStorageAccountMapOutput
- type ContainerStorageAccountMapInput
- type ContainerStorageAccountMapOutput
- func (ContainerStorageAccountMapOutput) ElementType() reflect.Type
- func (o ContainerStorageAccountMapOutput) MapIndex(k pulumi.StringInput) ContainerStorageAccountOutput
- func (o ContainerStorageAccountMapOutput) ToContainerStorageAccountMapOutput() ContainerStorageAccountMapOutput
- func (o ContainerStorageAccountMapOutput) ToContainerStorageAccountMapOutputWithContext(ctx context.Context) ContainerStorageAccountMapOutput
- type ContainerStorageAccountOutput
- func (ContainerStorageAccountOutput) ElementType() reflect.Type
- func (o ContainerStorageAccountOutput) RecoveryVaultName() pulumi.StringOutput
- func (o ContainerStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o ContainerStorageAccountOutput) StorageAccountId() pulumi.StringOutput
- func (o ContainerStorageAccountOutput) ToContainerStorageAccountOutput() ContainerStorageAccountOutput
- func (o ContainerStorageAccountOutput) ToContainerStorageAccountOutputWithContext(ctx context.Context) ContainerStorageAccountOutput
- type ContainerStorageAccountState
- type GetPolicyFileshareArgs
- type GetPolicyFileshareOutputArgs
- type GetPolicyFileshareResult
- type GetPolicyFileshareResultOutput
- func (GetPolicyFileshareResultOutput) ElementType() reflect.Type
- func (o GetPolicyFileshareResultOutput) Id() pulumi.StringOutput
- func (o GetPolicyFileshareResultOutput) Name() pulumi.StringOutput
- func (o GetPolicyFileshareResultOutput) RecoveryVaultName() pulumi.StringOutput
- func (o GetPolicyFileshareResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetPolicyFileshareResultOutput) ToGetPolicyFileshareResultOutput() GetPolicyFileshareResultOutput
- func (o GetPolicyFileshareResultOutput) ToGetPolicyFileshareResultOutputWithContext(ctx context.Context) GetPolicyFileshareResultOutput
- type LookupPolicyVMArgs
- type LookupPolicyVMOutputArgs
- type LookupPolicyVMResult
- type LookupPolicyVMResultOutput
- func (LookupPolicyVMResultOutput) ElementType() reflect.Type
- func (o LookupPolicyVMResultOutput) Id() pulumi.StringOutput
- func (o LookupPolicyVMResultOutput) Name() pulumi.StringOutput
- func (o LookupPolicyVMResultOutput) RecoveryVaultName() pulumi.StringOutput
- func (o LookupPolicyVMResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupPolicyVMResultOutput) ToLookupPolicyVMResultOutput() LookupPolicyVMResultOutput
- func (o LookupPolicyVMResultOutput) ToLookupPolicyVMResultOutputWithContext(ctx context.Context) LookupPolicyVMResultOutput
- type PolicyFileShare
- type PolicyFileShareArgs
- type PolicyFileShareArray
- type PolicyFileShareArrayInput
- type PolicyFileShareArrayOutput
- func (PolicyFileShareArrayOutput) ElementType() reflect.Type
- func (o PolicyFileShareArrayOutput) Index(i pulumi.IntInput) PolicyFileShareOutput
- func (o PolicyFileShareArrayOutput) ToPolicyFileShareArrayOutput() PolicyFileShareArrayOutput
- func (o PolicyFileShareArrayOutput) ToPolicyFileShareArrayOutputWithContext(ctx context.Context) PolicyFileShareArrayOutput
- 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 PolicyFileShareBackupHourly
- type PolicyFileShareBackupHourlyArgs
- func (PolicyFileShareBackupHourlyArgs) ElementType() reflect.Type
- func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyOutput() PolicyFileShareBackupHourlyOutput
- func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyOutput
- func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyPtrOutput() PolicyFileShareBackupHourlyPtrOutput
- func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyPtrOutput
- type PolicyFileShareBackupHourlyInput
- type PolicyFileShareBackupHourlyOutput
- func (PolicyFileShareBackupHourlyOutput) ElementType() reflect.Type
- func (o PolicyFileShareBackupHourlyOutput) Interval() pulumi.IntOutput
- func (o PolicyFileShareBackupHourlyOutput) StartTime() pulumi.StringOutput
- func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyOutput() PolicyFileShareBackupHourlyOutput
- func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyOutput
- func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyPtrOutput() PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupHourlyOutput) WindowDuration() pulumi.IntOutput
- type PolicyFileShareBackupHourlyPtrInput
- type PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupHourlyPtrOutput) Elem() PolicyFileShareBackupHourlyOutput
- func (PolicyFileShareBackupHourlyPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareBackupHourlyPtrOutput) Interval() pulumi.IntPtrOutput
- func (o PolicyFileShareBackupHourlyPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o PolicyFileShareBackupHourlyPtrOutput) ToPolicyFileShareBackupHourlyPtrOutput() PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupHourlyPtrOutput) ToPolicyFileShareBackupHourlyPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupHourlyPtrOutput) WindowDuration() pulumi.IntPtrOutput
- type PolicyFileShareBackupInput
- type PolicyFileShareBackupOutput
- func (PolicyFileShareBackupOutput) ElementType() reflect.Type
- func (o PolicyFileShareBackupOutput) Frequency() pulumi.StringOutput
- func (o PolicyFileShareBackupOutput) Hourly() PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupOutput) Time() pulumi.StringPtrOutput
- 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.StringPtrOutput
- func (o PolicyFileShareBackupPtrOutput) Hourly() PolicyFileShareBackupHourlyPtrOutput
- func (o PolicyFileShareBackupPtrOutput) Time() pulumi.StringPtrOutput
- func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
- func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
- type PolicyFileShareInput
- type PolicyFileShareMap
- type PolicyFileShareMapInput
- type PolicyFileShareMapOutput
- func (PolicyFileShareMapOutput) ElementType() reflect.Type
- func (o PolicyFileShareMapOutput) MapIndex(k pulumi.StringInput) PolicyFileShareOutput
- func (o PolicyFileShareMapOutput) ToPolicyFileShareMapOutput() PolicyFileShareMapOutput
- func (o PolicyFileShareMapOutput) ToPolicyFileShareMapOutputWithContext(ctx context.Context) PolicyFileShareMapOutput
- type PolicyFileShareOutput
- func (o PolicyFileShareOutput) Backup() PolicyFileShareBackupOutput
- func (PolicyFileShareOutput) ElementType() reflect.Type
- func (o PolicyFileShareOutput) Name() pulumi.StringOutput
- func (o PolicyFileShareOutput) RecoveryVaultName() pulumi.StringOutput
- func (o PolicyFileShareOutput) ResourceGroupName() pulumi.StringOutput
- func (o PolicyFileShareOutput) RetentionDaily() PolicyFileShareRetentionDailyOutput
- func (o PolicyFileShareOutput) RetentionMonthly() PolicyFileShareRetentionMonthlyPtrOutput
- func (o PolicyFileShareOutput) RetentionWeekly() PolicyFileShareRetentionWeeklyPtrOutput
- func (o PolicyFileShareOutput) RetentionYearly() PolicyFileShareRetentionYearlyPtrOutput
- func (o PolicyFileShareOutput) Timezone() pulumi.StringPtrOutput
- func (o PolicyFileShareOutput) ToPolicyFileShareOutput() PolicyFileShareOutput
- func (o PolicyFileShareOutput) ToPolicyFileShareOutputWithContext(ctx context.Context) PolicyFileShareOutput
- 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.IntPtrOutput
- func (o PolicyFileShareRetentionDailyPtrOutput) Elem() PolicyFileShareRetentionDailyOutput
- func (PolicyFileShareRetentionDailyPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutput() PolicyFileShareRetentionDailyPtrOutput
- func (o PolicyFileShareRetentionDailyPtrOutput) ToPolicyFileShareRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionDailyPtrOutput
- type PolicyFileShareRetentionMonthly
- type PolicyFileShareRetentionMonthlyArgs
- func (PolicyFileShareRetentionMonthlyArgs) ElementType() reflect.Type
- func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyOutput() PolicyFileShareRetentionMonthlyOutput
- func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyOutput
- func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyPtrOutput() PolicyFileShareRetentionMonthlyPtrOutput
- func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyPtrOutput
- type PolicyFileShareRetentionMonthlyInput
- type PolicyFileShareRetentionMonthlyOutput
- func (o PolicyFileShareRetentionMonthlyOutput) Count() pulumi.IntOutput
- func (o PolicyFileShareRetentionMonthlyOutput) Days() pulumi.IntArrayOutput
- func (PolicyFileShareRetentionMonthlyOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionMonthlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
- func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyOutput() PolicyFileShareRetentionMonthlyOutput
- func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyOutput
- func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyPtrOutput() PolicyFileShareRetentionMonthlyPtrOutput
- func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyPtrOutput
- func (o PolicyFileShareRetentionMonthlyOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyFileShareRetentionMonthlyOutput) Weeks() pulumi.StringArrayOutput
- type PolicyFileShareRetentionMonthlyPtrInput
- type PolicyFileShareRetentionMonthlyPtrOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) Days() pulumi.IntArrayOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) Elem() PolicyFileShareRetentionMonthlyOutput
- func (PolicyFileShareRetentionMonthlyPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionMonthlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) ToPolicyFileShareRetentionMonthlyPtrOutput() PolicyFileShareRetentionMonthlyPtrOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyPtrOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyFileShareRetentionMonthlyPtrOutput) Weeks() pulumi.StringArrayOutput
- type PolicyFileShareRetentionWeekly
- type PolicyFileShareRetentionWeeklyArgs
- func (PolicyFileShareRetentionWeeklyArgs) ElementType() reflect.Type
- func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyOutput() PolicyFileShareRetentionWeeklyOutput
- func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyOutput
- func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyPtrOutput() PolicyFileShareRetentionWeeklyPtrOutput
- func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyPtrOutput
- type PolicyFileShareRetentionWeeklyInput
- type PolicyFileShareRetentionWeeklyOutput
- func (o PolicyFileShareRetentionWeeklyOutput) Count() pulumi.IntOutput
- func (PolicyFileShareRetentionWeeklyOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyOutput() PolicyFileShareRetentionWeeklyOutput
- func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyOutput
- func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyPtrOutput() PolicyFileShareRetentionWeeklyPtrOutput
- func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyPtrOutput
- func (o PolicyFileShareRetentionWeeklyOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyFileShareRetentionWeeklyPtrInput
- type PolicyFileShareRetentionWeeklyPtrOutput
- func (o PolicyFileShareRetentionWeeklyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyFileShareRetentionWeeklyPtrOutput) Elem() PolicyFileShareRetentionWeeklyOutput
- func (PolicyFileShareRetentionWeeklyPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionWeeklyPtrOutput) ToPolicyFileShareRetentionWeeklyPtrOutput() PolicyFileShareRetentionWeeklyPtrOutput
- func (o PolicyFileShareRetentionWeeklyPtrOutput) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyPtrOutput
- func (o PolicyFileShareRetentionWeeklyPtrOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyFileShareRetentionYearly
- type PolicyFileShareRetentionYearlyArgs
- func (PolicyFileShareRetentionYearlyArgs) ElementType() reflect.Type
- func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyOutput() PolicyFileShareRetentionYearlyOutput
- func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyOutput
- func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyPtrOutput() PolicyFileShareRetentionYearlyPtrOutput
- func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyPtrOutput
- type PolicyFileShareRetentionYearlyInput
- type PolicyFileShareRetentionYearlyOutput
- func (o PolicyFileShareRetentionYearlyOutput) Count() pulumi.IntOutput
- func (o PolicyFileShareRetentionYearlyOutput) Days() pulumi.IntArrayOutput
- func (PolicyFileShareRetentionYearlyOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionYearlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
- func (o PolicyFileShareRetentionYearlyOutput) Months() pulumi.StringArrayOutput
- func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyOutput() PolicyFileShareRetentionYearlyOutput
- func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyOutput
- func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyPtrOutput() PolicyFileShareRetentionYearlyPtrOutput
- func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyPtrOutput
- func (o PolicyFileShareRetentionYearlyOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyFileShareRetentionYearlyOutput) Weeks() pulumi.StringArrayOutput
- type PolicyFileShareRetentionYearlyPtrInput
- type PolicyFileShareRetentionYearlyPtrOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) Days() pulumi.IntArrayOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) Elem() PolicyFileShareRetentionYearlyOutput
- func (PolicyFileShareRetentionYearlyPtrOutput) ElementType() reflect.Type
- func (o PolicyFileShareRetentionYearlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) Months() pulumi.StringArrayOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) ToPolicyFileShareRetentionYearlyPtrOutput() PolicyFileShareRetentionYearlyPtrOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) ToPolicyFileShareRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyPtrOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyFileShareRetentionYearlyPtrOutput) Weeks() pulumi.StringArrayOutput
- type PolicyFileShareState
- type PolicyVM
- type PolicyVMArgs
- type PolicyVMArray
- type PolicyVMArrayInput
- type PolicyVMArrayOutput
- 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) HourDuration() pulumi.IntPtrOutput
- func (o PolicyVMBackupOutput) HourInterval() pulumi.IntPtrOutput
- 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.StringPtrOutput
- func (o PolicyVMBackupPtrOutput) HourDuration() pulumi.IntPtrOutput
- func (o PolicyVMBackupPtrOutput) HourInterval() pulumi.IntPtrOutput
- func (o PolicyVMBackupPtrOutput) Time() pulumi.StringPtrOutput
- func (o PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput
- func (o PolicyVMBackupPtrOutput) ToPolicyVMBackupPtrOutputWithContext(ctx context.Context) PolicyVMBackupPtrOutput
- func (o PolicyVMBackupPtrOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMInput
- type PolicyVMInstantRestoreResourceGroup
- type PolicyVMInstantRestoreResourceGroupArgs
- func (PolicyVMInstantRestoreResourceGroupArgs) ElementType() reflect.Type
- func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupOutput() PolicyVMInstantRestoreResourceGroupOutput
- func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupOutput
- func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput
- func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput
- type PolicyVMInstantRestoreResourceGroupInput
- type PolicyVMInstantRestoreResourceGroupOutput
- func (PolicyVMInstantRestoreResourceGroupOutput) ElementType() reflect.Type
- func (o PolicyVMInstantRestoreResourceGroupOutput) Prefix() pulumi.StringOutput
- func (o PolicyVMInstantRestoreResourceGroupOutput) Suffix() pulumi.StringPtrOutput
- func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupOutput() PolicyVMInstantRestoreResourceGroupOutput
- func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupOutput
- func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput
- func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput
- type PolicyVMInstantRestoreResourceGroupPtrInput
- type PolicyVMInstantRestoreResourceGroupPtrOutput
- func (o PolicyVMInstantRestoreResourceGroupPtrOutput) Elem() PolicyVMInstantRestoreResourceGroupOutput
- func (PolicyVMInstantRestoreResourceGroupPtrOutput) ElementType() reflect.Type
- func (o PolicyVMInstantRestoreResourceGroupPtrOutput) Prefix() pulumi.StringPtrOutput
- func (o PolicyVMInstantRestoreResourceGroupPtrOutput) Suffix() pulumi.StringPtrOutput
- func (o PolicyVMInstantRestoreResourceGroupPtrOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput
- func (o PolicyVMInstantRestoreResourceGroupPtrOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput
- type PolicyVMMap
- type PolicyVMMapInput
- type PolicyVMMapOutput
- type PolicyVMOutput
- func (o PolicyVMOutput) Backup() PolicyVMBackupOutput
- func (PolicyVMOutput) ElementType() reflect.Type
- func (o PolicyVMOutput) InstantRestoreResourceGroup() PolicyVMInstantRestoreResourceGroupPtrOutput
- func (o PolicyVMOutput) InstantRestoreRetentionDays() pulumi.IntOutput
- func (o PolicyVMOutput) Name() pulumi.StringOutput
- func (o PolicyVMOutput) PolicyType() pulumi.StringPtrOutput
- func (o PolicyVMOutput) RecoveryVaultName() pulumi.StringOutput
- func (o PolicyVMOutput) ResourceGroupName() pulumi.StringOutput
- func (o PolicyVMOutput) RetentionDaily() PolicyVMRetentionDailyPtrOutput
- func (o PolicyVMOutput) RetentionMonthly() PolicyVMRetentionMonthlyPtrOutput
- func (o PolicyVMOutput) RetentionWeekly() PolicyVMRetentionWeeklyPtrOutput
- func (o PolicyVMOutput) RetentionYearly() PolicyVMRetentionYearlyPtrOutput
- func (o PolicyVMOutput) TieringPolicy() PolicyVMTieringPolicyPtrOutput
- func (o PolicyVMOutput) Timezone() pulumi.StringPtrOutput
- func (o PolicyVMOutput) ToPolicyVMOutput() PolicyVMOutput
- func (o PolicyVMOutput) ToPolicyVMOutputWithContext(ctx context.Context) PolicyVMOutput
- 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.IntPtrOutput
- 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 (o PolicyVMRetentionMonthlyOutput) Days() pulumi.IntArrayOutput
- func (PolicyVMRetentionMonthlyOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionMonthlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
- 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.IntPtrOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) Days() pulumi.IntArrayOutput
- func (o PolicyVMRetentionMonthlyPtrOutput) Elem() PolicyVMRetentionMonthlyOutput
- func (PolicyVMRetentionMonthlyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionMonthlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
- 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.IntPtrOutput
- 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 (o PolicyVMRetentionYearlyOutput) Days() pulumi.IntArrayOutput
- func (PolicyVMRetentionYearlyOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionYearlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
- 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.IntPtrOutput
- func (o PolicyVMRetentionYearlyPtrOutput) Days() pulumi.IntArrayOutput
- func (o PolicyVMRetentionYearlyPtrOutput) Elem() PolicyVMRetentionYearlyOutput
- func (PolicyVMRetentionYearlyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMRetentionYearlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
- 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 PolicyVMTieringPolicy
- type PolicyVMTieringPolicyArchivedRestorePoint
- type PolicyVMTieringPolicyArchivedRestorePointArgs
- func (PolicyVMTieringPolicyArchivedRestorePointArgs) ElementType() reflect.Type
- func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointOutput() PolicyVMTieringPolicyArchivedRestorePointOutput
- func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointOutput
- func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- type PolicyVMTieringPolicyArchivedRestorePointInput
- type PolicyVMTieringPolicyArchivedRestorePointOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) Duration() pulumi.IntPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) DurationType() pulumi.StringPtrOutput
- func (PolicyVMTieringPolicyArchivedRestorePointOutput) ElementType() reflect.Type
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) Mode() pulumi.StringOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointOutput() PolicyVMTieringPolicyArchivedRestorePointOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- type PolicyVMTieringPolicyArchivedRestorePointPtrInput
- type PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Duration() pulumi.IntPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) DurationType() pulumi.StringPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Elem() PolicyVMTieringPolicyArchivedRestorePointOutput
- func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ElementType() reflect.Type
- func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- type PolicyVMTieringPolicyArgs
- func (PolicyVMTieringPolicyArgs) ElementType() reflect.Type
- func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyOutput() PolicyVMTieringPolicyOutput
- func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyOutputWithContext(ctx context.Context) PolicyVMTieringPolicyOutput
- func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput
- func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyPtrOutput
- type PolicyVMTieringPolicyInput
- type PolicyVMTieringPolicyOutput
- func (o PolicyVMTieringPolicyOutput) ArchivedRestorePoint() PolicyVMTieringPolicyArchivedRestorePointOutput
- func (PolicyVMTieringPolicyOutput) ElementType() reflect.Type
- func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyOutput() PolicyVMTieringPolicyOutput
- func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyOutputWithContext(ctx context.Context) PolicyVMTieringPolicyOutput
- func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput
- func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyPtrOutput
- type PolicyVMTieringPolicyPtrInput
- type PolicyVMTieringPolicyPtrOutput
- func (o PolicyVMTieringPolicyPtrOutput) ArchivedRestorePoint() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
- func (o PolicyVMTieringPolicyPtrOutput) Elem() PolicyVMTieringPolicyOutput
- func (PolicyVMTieringPolicyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMTieringPolicyPtrOutput) ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput
- func (o PolicyVMTieringPolicyPtrOutput) ToPolicyVMTieringPolicyPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyPtrOutput
- type PolicyVMWorkload
- type PolicyVMWorkloadArgs
- type PolicyVMWorkloadArray
- type PolicyVMWorkloadArrayInput
- type PolicyVMWorkloadArrayOutput
- func (PolicyVMWorkloadArrayOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadArrayOutput) Index(i pulumi.IntInput) PolicyVMWorkloadOutput
- func (o PolicyVMWorkloadArrayOutput) ToPolicyVMWorkloadArrayOutput() PolicyVMWorkloadArrayOutput
- func (o PolicyVMWorkloadArrayOutput) ToPolicyVMWorkloadArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadArrayOutput
- type PolicyVMWorkloadInput
- type PolicyVMWorkloadMap
- type PolicyVMWorkloadMapInput
- type PolicyVMWorkloadMapOutput
- func (PolicyVMWorkloadMapOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadMapOutput) MapIndex(k pulumi.StringInput) PolicyVMWorkloadOutput
- func (o PolicyVMWorkloadMapOutput) ToPolicyVMWorkloadMapOutput() PolicyVMWorkloadMapOutput
- func (o PolicyVMWorkloadMapOutput) ToPolicyVMWorkloadMapOutputWithContext(ctx context.Context) PolicyVMWorkloadMapOutput
- type PolicyVMWorkloadOutput
- func (PolicyVMWorkloadOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadOutput) Name() pulumi.StringOutput
- func (o PolicyVMWorkloadOutput) ProtectionPolicies() PolicyVMWorkloadProtectionPolicyArrayOutput
- func (o PolicyVMWorkloadOutput) RecoveryVaultName() pulumi.StringOutput
- func (o PolicyVMWorkloadOutput) ResourceGroupName() pulumi.StringOutput
- func (o PolicyVMWorkloadOutput) Settings() PolicyVMWorkloadSettingsOutput
- func (o PolicyVMWorkloadOutput) ToPolicyVMWorkloadOutput() PolicyVMWorkloadOutput
- func (o PolicyVMWorkloadOutput) ToPolicyVMWorkloadOutputWithContext(ctx context.Context) PolicyVMWorkloadOutput
- func (o PolicyVMWorkloadOutput) WorkloadType() pulumi.StringOutput
- type PolicyVMWorkloadProtectionPolicy
- type PolicyVMWorkloadProtectionPolicyArgs
- func (PolicyVMWorkloadProtectionPolicyArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyArgs) ToPolicyVMWorkloadProtectionPolicyOutput() PolicyVMWorkloadProtectionPolicyOutput
- func (i PolicyVMWorkloadProtectionPolicyArgs) ToPolicyVMWorkloadProtectionPolicyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyOutput
- type PolicyVMWorkloadProtectionPolicyArray
- func (PolicyVMWorkloadProtectionPolicyArray) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyArray) ToPolicyVMWorkloadProtectionPolicyArrayOutput() PolicyVMWorkloadProtectionPolicyArrayOutput
- func (i PolicyVMWorkloadProtectionPolicyArray) ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyArrayOutput
- type PolicyVMWorkloadProtectionPolicyArrayInput
- type PolicyVMWorkloadProtectionPolicyArrayOutput
- func (PolicyVMWorkloadProtectionPolicyArrayOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyArrayOutput) Index(i pulumi.IntInput) PolicyVMWorkloadProtectionPolicyOutput
- func (o PolicyVMWorkloadProtectionPolicyArrayOutput) ToPolicyVMWorkloadProtectionPolicyArrayOutput() PolicyVMWorkloadProtectionPolicyArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyArrayOutput) ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyArrayOutput
- type PolicyVMWorkloadProtectionPolicyBackup
- type PolicyVMWorkloadProtectionPolicyBackupArgs
- func (PolicyVMWorkloadProtectionPolicyBackupArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyBackupArgs) ToPolicyVMWorkloadProtectionPolicyBackupOutput() PolicyVMWorkloadProtectionPolicyBackupOutput
- func (i PolicyVMWorkloadProtectionPolicyBackupArgs) ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyBackupOutput
- type PolicyVMWorkloadProtectionPolicyBackupInput
- type PolicyVMWorkloadProtectionPolicyBackupOutput
- func (PolicyVMWorkloadProtectionPolicyBackupOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyBackupOutput) Frequency() pulumi.StringPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyBackupOutput) FrequencyInMinutes() pulumi.IntPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyBackupOutput) Time() pulumi.StringPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyBackupOutput) ToPolicyVMWorkloadProtectionPolicyBackupOutput() PolicyVMWorkloadProtectionPolicyBackupOutput
- func (o PolicyVMWorkloadProtectionPolicyBackupOutput) ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyBackupOutput
- func (o PolicyVMWorkloadProtectionPolicyBackupOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicyInput
- type PolicyVMWorkloadProtectionPolicyOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) Backup() PolicyVMWorkloadProtectionPolicyBackupOutput
- func (PolicyVMWorkloadProtectionPolicyOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyOutput) PolicyType() pulumi.StringOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionDaily() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionMonthly() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionWeekly() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionYearly() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) SimpleRetention() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) ToPolicyVMWorkloadProtectionPolicyOutput() PolicyVMWorkloadProtectionPolicyOutput
- func (o PolicyVMWorkloadProtectionPolicyOutput) ToPolicyVMWorkloadProtectionPolicyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyOutput
- type PolicyVMWorkloadProtectionPolicyRetentionDaily
- type PolicyVMWorkloadProtectionPolicyRetentionDailyArgs
- func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- type PolicyVMWorkloadProtectionPolicyRetentionDailyInput
- type PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) Count() pulumi.IntOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- type PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput
- type PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) Elem() PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
- type PolicyVMWorkloadProtectionPolicyRetentionMonthly
- type PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs
- func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- type PolicyVMWorkloadProtectionPolicyRetentionMonthlyInput
- type PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Count() pulumi.IntOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) FormatType() pulumi.StringOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Monthdays() pulumi.IntArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput
- type PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Elem() PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) FormatType() pulumi.StringPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Monthdays() pulumi.IntArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicyRetentionWeekly
- type PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs
- func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- type PolicyVMWorkloadProtectionPolicyRetentionWeeklyInput
- type PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) Count() pulumi.IntOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput
- type PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Elem() PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Weekdays() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicyRetentionYearly
- type PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs
- func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- type PolicyVMWorkloadProtectionPolicyRetentionYearlyInput
- type PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Count() pulumi.IntOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) FormatType() pulumi.StringOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Monthdays() pulumi.IntArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Months() pulumi.StringArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput
- type PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Elem() PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
- func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) FormatType() pulumi.StringPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Monthdays() pulumi.IntArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Months() pulumi.StringArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Weekdays() pulumi.StringArrayOutput
- func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Weeks() pulumi.StringArrayOutput
- type PolicyVMWorkloadProtectionPolicySimpleRetention
- type PolicyVMWorkloadProtectionPolicySimpleRetentionArgs
- func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
- func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
- func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- type PolicyVMWorkloadProtectionPolicySimpleRetentionInput
- type PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) Count() pulumi.IntOutput
- func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- type PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput
- type PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) Count() pulumi.IntPtrOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) Elem() PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
- func (PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
- type PolicyVMWorkloadSettings
- type PolicyVMWorkloadSettingsArgs
- func (PolicyVMWorkloadSettingsArgs) ElementType() reflect.Type
- func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsOutput() PolicyVMWorkloadSettingsOutput
- func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsOutput
- func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput
- func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsPtrOutput
- type PolicyVMWorkloadSettingsInput
- type PolicyVMWorkloadSettingsOutput
- func (o PolicyVMWorkloadSettingsOutput) CompressionEnabled() pulumi.BoolPtrOutput
- func (PolicyVMWorkloadSettingsOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadSettingsOutput) TimeZone() pulumi.StringOutput
- func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsOutput() PolicyVMWorkloadSettingsOutput
- func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsOutput
- func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput
- func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsPtrOutput
- type PolicyVMWorkloadSettingsPtrInput
- type PolicyVMWorkloadSettingsPtrOutput
- func (o PolicyVMWorkloadSettingsPtrOutput) CompressionEnabled() pulumi.BoolPtrOutput
- func (o PolicyVMWorkloadSettingsPtrOutput) Elem() PolicyVMWorkloadSettingsOutput
- func (PolicyVMWorkloadSettingsPtrOutput) ElementType() reflect.Type
- func (o PolicyVMWorkloadSettingsPtrOutput) TimeZone() pulumi.StringPtrOutput
- func (o PolicyVMWorkloadSettingsPtrOutput) ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput
- func (o PolicyVMWorkloadSettingsPtrOutput) ToPolicyVMWorkloadSettingsPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsPtrOutput
- type PolicyVMWorkloadState
- type ProtectedFileShare
- type ProtectedFileShareArgs
- type ProtectedFileShareArray
- type ProtectedFileShareArrayInput
- type ProtectedFileShareArrayOutput
- func (ProtectedFileShareArrayOutput) ElementType() reflect.Type
- func (o ProtectedFileShareArrayOutput) Index(i pulumi.IntInput) ProtectedFileShareOutput
- func (o ProtectedFileShareArrayOutput) ToProtectedFileShareArrayOutput() ProtectedFileShareArrayOutput
- func (o ProtectedFileShareArrayOutput) ToProtectedFileShareArrayOutputWithContext(ctx context.Context) ProtectedFileShareArrayOutput
- type ProtectedFileShareInput
- type ProtectedFileShareMap
- type ProtectedFileShareMapInput
- type ProtectedFileShareMapOutput
- func (ProtectedFileShareMapOutput) ElementType() reflect.Type
- func (o ProtectedFileShareMapOutput) MapIndex(k pulumi.StringInput) ProtectedFileShareOutput
- func (o ProtectedFileShareMapOutput) ToProtectedFileShareMapOutput() ProtectedFileShareMapOutput
- func (o ProtectedFileShareMapOutput) ToProtectedFileShareMapOutputWithContext(ctx context.Context) ProtectedFileShareMapOutput
- type ProtectedFileShareOutput
- func (o ProtectedFileShareOutput) BackupPolicyId() pulumi.StringOutput
- func (ProtectedFileShareOutput) ElementType() reflect.Type
- func (o ProtectedFileShareOutput) RecoveryVaultName() pulumi.StringOutput
- func (o ProtectedFileShareOutput) ResourceGroupName() pulumi.StringOutput
- func (o ProtectedFileShareOutput) SourceFileShareName() pulumi.StringOutput
- func (o ProtectedFileShareOutput) SourceStorageAccountId() pulumi.StringOutput
- func (o ProtectedFileShareOutput) ToProtectedFileShareOutput() ProtectedFileShareOutput
- func (o ProtectedFileShareOutput) ToProtectedFileShareOutputWithContext(ctx context.Context) ProtectedFileShareOutput
- type ProtectedFileShareState
- type ProtectedVM
- type ProtectedVMArgs
- type ProtectedVMArray
- type ProtectedVMArrayInput
- type ProtectedVMArrayOutput
- func (ProtectedVMArrayOutput) ElementType() reflect.Type
- func (o ProtectedVMArrayOutput) Index(i pulumi.IntInput) ProtectedVMOutput
- func (o ProtectedVMArrayOutput) ToProtectedVMArrayOutput() ProtectedVMArrayOutput
- func (o ProtectedVMArrayOutput) ToProtectedVMArrayOutputWithContext(ctx context.Context) ProtectedVMArrayOutput
- type ProtectedVMInput
- type ProtectedVMMap
- type ProtectedVMMapInput
- type ProtectedVMMapOutput
- func (ProtectedVMMapOutput) ElementType() reflect.Type
- func (o ProtectedVMMapOutput) MapIndex(k pulumi.StringInput) ProtectedVMOutput
- func (o ProtectedVMMapOutput) ToProtectedVMMapOutput() ProtectedVMMapOutput
- func (o ProtectedVMMapOutput) ToProtectedVMMapOutputWithContext(ctx context.Context) ProtectedVMMapOutput
- type ProtectedVMOutput
- func (o ProtectedVMOutput) BackupPolicyId() pulumi.StringPtrOutput
- func (ProtectedVMOutput) ElementType() reflect.Type
- func (o ProtectedVMOutput) ExcludeDiskLuns() pulumi.IntArrayOutput
- func (o ProtectedVMOutput) IncludeDiskLuns() pulumi.IntArrayOutput
- func (o ProtectedVMOutput) ProtectionState() pulumi.StringOutput
- func (o ProtectedVMOutput) RecoveryVaultName() pulumi.StringOutput
- func (o ProtectedVMOutput) ResourceGroupName() pulumi.StringOutput
- func (o ProtectedVMOutput) SourceVmId() pulumi.StringOutput
- func (o ProtectedVMOutput) ToProtectedVMOutput() ProtectedVMOutput
- func (o ProtectedVMOutput) ToProtectedVMOutputWithContext(ctx context.Context) ProtectedVMOutput
- 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. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault is located. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The ID of the Storage Account to be registered Changing this forces a new resource to be created. // // > **NOTE** Azure Backup places a Resource Lock on the storage account that will cause deletion to fail until the account is unregistered from Azure Backup 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("tfex-network-mapping-primary"), Location: pulumi.String("West Europe"), }) if err != nil { return err } vault, err := recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{ Name: pulumi.String("example-recovery-vault"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } sa, err := storage.NewAccount(ctx, "sa", &storage.AccountArgs{ Name: pulumi.String("examplesa"), Location: example.Location, ResourceGroupName: example.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = backup.NewContainerStorageAccount(ctx, "container", &backup.ContainerStorageAccountArgs{ ResourceGroupName: example.Name, RecoveryVaultName: vault.Name, StorageAccountId: sa.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Backup Storage Account Containers can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:backup/containerStorageAccount:ContainerStorageAccount mycontainer "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.RecoveryServices/vaults/recovery-vault-name/backupFabrics/Azure/protectionContainers/StorageContainer;storage;storage-rg-name;storage-account" ```
Note the ID requires quoting as there are semicolons
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.
func (*ContainerStorageAccount) ElementType ¶
func (*ContainerStorageAccount) ElementType() reflect.Type
func (*ContainerStorageAccount) ToContainerStorageAccountOutput ¶
func (i *ContainerStorageAccount) ToContainerStorageAccountOutput() ContainerStorageAccountOutput
func (*ContainerStorageAccount) ToContainerStorageAccountOutputWithContext ¶
func (i *ContainerStorageAccount) ToContainerStorageAccountOutputWithContext(ctx context.Context) ContainerStorageAccountOutput
type ContainerStorageAccountArgs ¶
type ContainerStorageAccountArgs struct { // The name of the vault where the storage account will be registered. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault is located. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The ID of the Storage Account to be registered Changing this forces a new resource to be created. // // > **NOTE** Azure Backup places a Resource Lock on the storage account that will cause deletion to fail until the account is unregistered from Azure Backup StorageAccountId pulumi.StringInput }
The set of arguments for constructing a ContainerStorageAccount resource.
func (ContainerStorageAccountArgs) ElementType ¶
func (ContainerStorageAccountArgs) ElementType() reflect.Type
type ContainerStorageAccountArray ¶
type ContainerStorageAccountArray []ContainerStorageAccountInput
func (ContainerStorageAccountArray) ElementType ¶
func (ContainerStorageAccountArray) ElementType() reflect.Type
func (ContainerStorageAccountArray) ToContainerStorageAccountArrayOutput ¶
func (i ContainerStorageAccountArray) ToContainerStorageAccountArrayOutput() ContainerStorageAccountArrayOutput
func (ContainerStorageAccountArray) ToContainerStorageAccountArrayOutputWithContext ¶
func (i ContainerStorageAccountArray) ToContainerStorageAccountArrayOutputWithContext(ctx context.Context) ContainerStorageAccountArrayOutput
type ContainerStorageAccountArrayInput ¶
type ContainerStorageAccountArrayInput interface { pulumi.Input ToContainerStorageAccountArrayOutput() ContainerStorageAccountArrayOutput ToContainerStorageAccountArrayOutputWithContext(context.Context) ContainerStorageAccountArrayOutput }
ContainerStorageAccountArrayInput is an input type that accepts ContainerStorageAccountArray and ContainerStorageAccountArrayOutput values. You can construct a concrete instance of `ContainerStorageAccountArrayInput` via:
ContainerStorageAccountArray{ ContainerStorageAccountArgs{...} }
type ContainerStorageAccountArrayOutput ¶
type ContainerStorageAccountArrayOutput struct{ *pulumi.OutputState }
func (ContainerStorageAccountArrayOutput) ElementType ¶
func (ContainerStorageAccountArrayOutput) ElementType() reflect.Type
func (ContainerStorageAccountArrayOutput) Index ¶
func (o ContainerStorageAccountArrayOutput) Index(i pulumi.IntInput) ContainerStorageAccountOutput
func (ContainerStorageAccountArrayOutput) ToContainerStorageAccountArrayOutput ¶
func (o ContainerStorageAccountArrayOutput) ToContainerStorageAccountArrayOutput() ContainerStorageAccountArrayOutput
func (ContainerStorageAccountArrayOutput) ToContainerStorageAccountArrayOutputWithContext ¶
func (o ContainerStorageAccountArrayOutput) ToContainerStorageAccountArrayOutputWithContext(ctx context.Context) ContainerStorageAccountArrayOutput
type ContainerStorageAccountInput ¶
type ContainerStorageAccountInput interface { pulumi.Input ToContainerStorageAccountOutput() ContainerStorageAccountOutput ToContainerStorageAccountOutputWithContext(ctx context.Context) ContainerStorageAccountOutput }
type ContainerStorageAccountMap ¶
type ContainerStorageAccountMap map[string]ContainerStorageAccountInput
func (ContainerStorageAccountMap) ElementType ¶
func (ContainerStorageAccountMap) ElementType() reflect.Type
func (ContainerStorageAccountMap) ToContainerStorageAccountMapOutput ¶
func (i ContainerStorageAccountMap) ToContainerStorageAccountMapOutput() ContainerStorageAccountMapOutput
func (ContainerStorageAccountMap) ToContainerStorageAccountMapOutputWithContext ¶
func (i ContainerStorageAccountMap) ToContainerStorageAccountMapOutputWithContext(ctx context.Context) ContainerStorageAccountMapOutput
type ContainerStorageAccountMapInput ¶
type ContainerStorageAccountMapInput interface { pulumi.Input ToContainerStorageAccountMapOutput() ContainerStorageAccountMapOutput ToContainerStorageAccountMapOutputWithContext(context.Context) ContainerStorageAccountMapOutput }
ContainerStorageAccountMapInput is an input type that accepts ContainerStorageAccountMap and ContainerStorageAccountMapOutput values. You can construct a concrete instance of `ContainerStorageAccountMapInput` via:
ContainerStorageAccountMap{ "key": ContainerStorageAccountArgs{...} }
type ContainerStorageAccountMapOutput ¶
type ContainerStorageAccountMapOutput struct{ *pulumi.OutputState }
func (ContainerStorageAccountMapOutput) ElementType ¶
func (ContainerStorageAccountMapOutput) ElementType() reflect.Type
func (ContainerStorageAccountMapOutput) MapIndex ¶
func (o ContainerStorageAccountMapOutput) MapIndex(k pulumi.StringInput) ContainerStorageAccountOutput
func (ContainerStorageAccountMapOutput) ToContainerStorageAccountMapOutput ¶
func (o ContainerStorageAccountMapOutput) ToContainerStorageAccountMapOutput() ContainerStorageAccountMapOutput
func (ContainerStorageAccountMapOutput) ToContainerStorageAccountMapOutputWithContext ¶
func (o ContainerStorageAccountMapOutput) ToContainerStorageAccountMapOutputWithContext(ctx context.Context) ContainerStorageAccountMapOutput
type ContainerStorageAccountOutput ¶
type ContainerStorageAccountOutput struct{ *pulumi.OutputState }
func (ContainerStorageAccountOutput) ElementType ¶
func (ContainerStorageAccountOutput) ElementType() reflect.Type
func (ContainerStorageAccountOutput) RecoveryVaultName ¶ added in v5.5.0
func (o ContainerStorageAccountOutput) RecoveryVaultName() pulumi.StringOutput
The name of the vault where the storage account will be registered. Changing this forces a new resource to be created.
func (ContainerStorageAccountOutput) ResourceGroupName ¶ added in v5.5.0
func (o ContainerStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
Name of the resource group where the vault is located. Changing this forces a new resource to be created.
func (ContainerStorageAccountOutput) StorageAccountId ¶ added in v5.5.0
func (o ContainerStorageAccountOutput) StorageAccountId() pulumi.StringOutput
The ID of the Storage Account to be registered Changing this forces a new resource to be created.
> **NOTE** Azure Backup places a Resource Lock on the storage account that will cause deletion to fail until the account is unregistered from Azure Backup
func (ContainerStorageAccountOutput) ToContainerStorageAccountOutput ¶
func (o ContainerStorageAccountOutput) ToContainerStorageAccountOutput() ContainerStorageAccountOutput
func (ContainerStorageAccountOutput) ToContainerStorageAccountOutputWithContext ¶
func (o ContainerStorageAccountOutput) ToContainerStorageAccountOutputWithContext(ctx context.Context) ContainerStorageAccountOutput
type ContainerStorageAccountState ¶
type ContainerStorageAccountState struct { // The name of the vault where the storage account will be registered. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault is located. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The ID of the Storage Account to be registered Changing this forces a new resource to be created. // // > **NOTE** Azure Backup places a Resource Lock on the storage account that will cause deletion to fail until the account is unregistered from Azure Backup StorageAccountId pulumi.StringPtrInput }
func (ContainerStorageAccountState) ElementType ¶
func (ContainerStorageAccountState) ElementType() reflect.Type
type GetPolicyFileshareArgs ¶
type GetPolicyFileshareArgs struct { string `pulumi:"name"` RecoveryVaultName string `pulumi:"recoveryVaultName"` ResourceGroupName string `pulumi:"resourceGroupName"` }Name
A collection of arguments for invoking getPolicyFileshare.
type GetPolicyFileshareOutputArgs ¶
type GetPolicyFileshareOutputArgs struct { pulumi.StringInput `pulumi:"name"` RecoveryVaultName pulumi.StringInput `pulumi:"recoveryVaultName"` ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }Name
A collection of arguments for invoking getPolicyFileshare.
func (GetPolicyFileshareOutputArgs) ElementType ¶
func (GetPolicyFileshareOutputArgs) ElementType() reflect.Type
type GetPolicyFileshareResult ¶
type GetPolicyFileshareResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getPolicyFileshare.
func GetPolicyFileshare ¶
func GetPolicyFileshare(ctx *pulumi.Context, args *GetPolicyFileshareArgs, opts ...pulumi.InvokeOption) (*GetPolicyFileshareResult, error)
Use this data source to access information about an existing File Share Backup Policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := backup.GetPolicyFileshare(ctx, &backup.GetPolicyFileshareArgs{ Name: "policy", RecoveryVaultName: "recovery_vault", ResourceGroupName: "resource_group", }, nil) if err != nil { return err } return nil }) }
```
type GetPolicyFileshareResultOutput ¶
A collection of values returned by getPolicyFileshare.
func GetPolicyFileshareOutput ¶
func GetPolicyFileshareOutput(ctx *pulumi.Context, args GetPolicyFileshareOutputArgs, opts ...pulumi.InvokeOption) GetPolicyFileshareResultOutput
func (GetPolicyFileshareResultOutput) ElementType ¶
func (GetPolicyFileshareResultOutput) ElementType() reflect.Type
func (GetPolicyFileshareResultOutput) Id ¶
func (o GetPolicyFileshareResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPolicyFileshareResultOutput) Name ¶
func (o GetPolicyFileshareResultOutput) Name() pulumi.StringOutput
func (GetPolicyFileshareResultOutput) RecoveryVaultName ¶
func (o GetPolicyFileshareResultOutput) RecoveryVaultName() pulumi.StringOutput
func (GetPolicyFileshareResultOutput) ResourceGroupName ¶
func (o GetPolicyFileshareResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetPolicyFileshareResultOutput) ToGetPolicyFileshareResultOutput ¶
func (o GetPolicyFileshareResultOutput) ToGetPolicyFileshareResultOutput() GetPolicyFileshareResultOutput
func (GetPolicyFileshareResultOutput) ToGetPolicyFileshareResultOutputWithContext ¶
func (o GetPolicyFileshareResultOutput) ToGetPolicyFileshareResultOutputWithContext(ctx context.Context) GetPolicyFileshareResultOutput
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 LookupPolicyVMOutputArgs ¶
type LookupPolicyVMOutputArgs struct { // Specifies the name of the VM Backup Policy. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the Recovery Services Vault. RecoveryVaultName pulumi.StringInput `pulumi:"recoveryVaultName"` // The name of the resource group in which the VM Backup Policy resides. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getPolicyVM.
func (LookupPolicyVMOutputArgs) ElementType ¶
func (LookupPolicyVMOutputArgs) ElementType() reflect.Type
type LookupPolicyVMResult ¶
type LookupPolicyVMResult struct { // 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 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := backup.LookupPolicyVM(ctx, &backup.LookupPolicyVMArgs{ Name: "policy", RecoveryVaultName: "recovery_vault", ResourceGroupName: "resource_group", }, nil) if err != nil { return err } return nil }) }
```
type LookupPolicyVMResultOutput ¶
type LookupPolicyVMResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicyVM.
func LookupPolicyVMOutput ¶
func LookupPolicyVMOutput(ctx *pulumi.Context, args LookupPolicyVMOutputArgs, opts ...pulumi.InvokeOption) LookupPolicyVMResultOutput
func (LookupPolicyVMResultOutput) ElementType ¶
func (LookupPolicyVMResultOutput) ElementType() reflect.Type
func (LookupPolicyVMResultOutput) Id ¶
func (o LookupPolicyVMResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPolicyVMResultOutput) Name ¶
func (o LookupPolicyVMResultOutput) Name() pulumi.StringOutput
func (LookupPolicyVMResultOutput) RecoveryVaultName ¶
func (o LookupPolicyVMResultOutput) RecoveryVaultName() pulumi.StringOutput
func (LookupPolicyVMResultOutput) ResourceGroupName ¶
func (o LookupPolicyVMResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupPolicyVMResultOutput) ToLookupPolicyVMResultOutput ¶
func (o LookupPolicyVMResultOutput) ToLookupPolicyVMResultOutput() LookupPolicyVMResultOutput
func (LookupPolicyVMResultOutput) ToLookupPolicyVMResultOutputWithContext ¶
func (o LookupPolicyVMResultOutput) ToLookupPolicyVMResultOutputWithContext(ctx context.Context) LookupPolicyVMResultOutput
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"` RetentionMonthly PolicyFileShareRetentionMonthlyPtrOutput `pulumi:"retentionMonthly"` RetentionWeekly PolicyFileShareRetentionWeeklyPtrOutput `pulumi:"retentionWeekly"` RetentionYearly PolicyFileShareRetentionYearlyPtrOutput `pulumi:"retentionYearly"` // // > **NOTE:** The maximum number of snapshots that Azure Files can retain is 200. If your combined snapshot count exceeds 200 based on your retention policies, it will result in an error. See [this](https://docs.microsoft.com/azure/backup/backup-azure-files-faq#what-is-the-maximum-retention-i-can-configure-for-backups) article for more information. Timezone pulumi.StringPtrOutput `pulumi:"timezone"` }Backup
Manages an Azure File Share Backup Policy within a Recovery Services vault.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("tfex-recovery_vault"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVault, err := recoveryservices.NewVault(ctx, "example", &recoveryservices.VaultArgs{ Name: pulumi.String("tfex-recovery-vault"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } _, err = backup.NewPolicyFileShare(ctx, "policy", &backup.PolicyFileShareArgs{ Name: pulumi.String("tfex-recovery-vault-policy"), ResourceGroupName: example.Name, RecoveryVaultName: exampleVault.Name, Timezone: pulumi.String("UTC"), Backup: &backup.PolicyFileShareBackupArgs{ Frequency: pulumi.String("Daily"), Time: pulumi.String("23:00"), }, RetentionDaily: &backup.PolicyFileShareRetentionDailyArgs{ Count: pulumi.Int(10), }, RetentionWeekly: &backup.PolicyFileShareRetentionWeeklyArgs{ Count: pulumi.Int(7), Weekdays: pulumi.StringArray{ pulumi.String("Sunday"), pulumi.String("Wednesday"), pulumi.String("Friday"), pulumi.String("Saturday"), }, }, RetentionMonthly: &backup.PolicyFileShareRetentionMonthlyArgs{ Count: pulumi.Int(7), Weekdays: pulumi.StringArray{ pulumi.String("Sunday"), pulumi.String("Wednesday"), }, Weeks: pulumi.StringArray{ pulumi.String("First"), pulumi.String("Last"), }, }, RetentionYearly: &backup.PolicyFileShareRetentionYearlyArgs{ Count: pulumi.Int(7), Weekdays: pulumi.StringArray{ pulumi.String("Sunday"), }, Weeks: pulumi.StringArray{ pulumi.String("Last"), }, Months: pulumi.StringArray{ pulumi.String("January"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Azure File Share Backup Policies can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:backup/policyFileShare:PolicyFileShare policy1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/example-recovery-vault/backupPolicies/policy1 ```
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.
func (*PolicyFileShare) ElementType ¶
func (*PolicyFileShare) ElementType() reflect.Type
func (*PolicyFileShare) ToPolicyFileShareOutput ¶
func (i *PolicyFileShare) ToPolicyFileShareOutput() PolicyFileShareOutput
func (*PolicyFileShare) ToPolicyFileShareOutputWithContext ¶
func (i *PolicyFileShare) ToPolicyFileShareOutputWithContext(ctx context.Context) PolicyFileShareOutput
type PolicyFileShareArgs ¶
type PolicyFileShareArgs struct { PolicyFileShareBackupInput Name pulumi.StringPtrInput RecoveryVaultName pulumi.StringInput ResourceGroupName pulumi.StringInput RetentionDaily PolicyFileShareRetentionDailyInput RetentionMonthly PolicyFileShareRetentionMonthlyPtrInput RetentionWeekly PolicyFileShareRetentionWeeklyPtrInput RetentionYearly PolicyFileShareRetentionYearlyPtrInput // // > **NOTE:** The maximum number of snapshots that Azure Files can retain is 200. If your combined snapshot count exceeds 200 based on your retention policies, it will result in an error. See [this](https://docs.microsoft.com/azure/backup/backup-azure-files-faq#what-is-the-maximum-retention-i-can-configure-for-backups) article for more information. Timezone pulumi.StringPtrInput }Backup
The set of arguments for constructing a PolicyFileShare resource.
func (PolicyFileShareArgs) ElementType ¶
func (PolicyFileShareArgs) ElementType() reflect.Type
type PolicyFileShareArray ¶
type PolicyFileShareArray []PolicyFileShareInput
func (PolicyFileShareArray) ElementType ¶
func (PolicyFileShareArray) ElementType() reflect.Type
func (PolicyFileShareArray) ToPolicyFileShareArrayOutput ¶
func (i PolicyFileShareArray) ToPolicyFileShareArrayOutput() PolicyFileShareArrayOutput
func (PolicyFileShareArray) ToPolicyFileShareArrayOutputWithContext ¶
func (i PolicyFileShareArray) ToPolicyFileShareArrayOutputWithContext(ctx context.Context) PolicyFileShareArrayOutput
type PolicyFileShareArrayInput ¶
PolicyFileShareArrayInput is an input type that accepts PolicyFileShareArray and PolicyFileShareArrayOutput values. You can construct a concrete instance of `PolicyFileShareArrayInput` via:
PolicyFileShareArray{ PolicyFileShareArgs{...} }
type PolicyFileShareArrayOutput ¶
func (PolicyFileShareArrayOutput) ElementType ¶
func (PolicyFileShareArrayOutput) ElementType() reflect.Type
func (PolicyFileShareArrayOutput) Index ¶
func (o PolicyFileShareArrayOutput) Index(i pulumi.IntInput) PolicyFileShareOutput
func (PolicyFileShareArrayOutput) ToPolicyFileShareArrayOutput ¶
func (o PolicyFileShareArrayOutput) ToPolicyFileShareArrayOutput() PolicyFileShareArrayOutput
func (PolicyFileShareArrayOutput) ToPolicyFileShareArrayOutputWithContext ¶
func (o PolicyFileShareArrayOutput) ToPolicyFileShareArrayOutputWithContext(ctx context.Context) PolicyFileShareArrayOutput
type PolicyFileShareBackup ¶
type PolicyFileShareBackup struct { // // > **NOTE:** This argument is made available for consistency with VM backup policies and to allow for potential future support of weekly backups Frequency string `pulumi:"frequency"` Hourly *PolicyFileShareBackupHourly `pulumi:"hourly"` // // > **NOTE:** `time` is required when `frequency` is set to `Daily`. Time *string `pulumi:"time"` }
type PolicyFileShareBackupArgs ¶
type PolicyFileShareBackupArgs struct { // // > **NOTE:** This argument is made available for consistency with VM backup policies and to allow for potential future support of weekly backups Frequency pulumi.StringInput `pulumi:"frequency"` Hourly PolicyFileShareBackupHourlyPtrInput `pulumi:"hourly"` // // > **NOTE:** `time` is required when `frequency` is set to `Daily`. Time pulumi.StringPtrInput `pulumi:"time"` }
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 PolicyFileShareBackupHourly ¶ added in v5.44.0
type PolicyFileShareBackupHourlyArgs ¶ added in v5.44.0
type PolicyFileShareBackupHourlyArgs struct { pulumi.IntInput `pulumi:"interval"` StartTime pulumi.StringInput `pulumi:"startTime"` WindowDuration pulumi.IntInput `pulumi:"windowDuration"` }Interval
func (PolicyFileShareBackupHourlyArgs) ElementType ¶ added in v5.44.0
func (PolicyFileShareBackupHourlyArgs) ElementType() reflect.Type
func (PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyOutput ¶ added in v5.44.0
func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyOutput() PolicyFileShareBackupHourlyOutput
func (PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyOutputWithContext ¶ added in v5.44.0
func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyOutput
func (PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyPtrOutput ¶ added in v5.44.0
func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyPtrOutput() PolicyFileShareBackupHourlyPtrOutput
func (PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyPtrOutputWithContext ¶ added in v5.44.0
func (i PolicyFileShareBackupHourlyArgs) ToPolicyFileShareBackupHourlyPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyPtrOutput
type PolicyFileShareBackupHourlyInput ¶ added in v5.44.0
PolicyFileShareBackupHourlyInput is an input type that accepts PolicyFileShareBackupHourlyArgs and PolicyFileShareBackupHourlyOutput values. You can construct a concrete instance of `PolicyFileShareBackupHourlyInput` via:
PolicyFileShareBackupHourlyArgs{...}
type PolicyFileShareBackupHourlyOutput ¶ added in v5.44.0
func (PolicyFileShareBackupHourlyOutput) ElementType ¶ added in v5.44.0
func (PolicyFileShareBackupHourlyOutput) ElementType() reflect.Type
func (PolicyFileShareBackupHourlyOutput) Interval ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) Interval() pulumi.IntOutput
Specifies the interval at which backup needs to be triggered. Possible values are `4`, `6`, `8` and `12`.
func (PolicyFileShareBackupHourlyOutput) StartTime ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) StartTime() pulumi.StringOutput
Specifies the start time of the hourly backup. The time format should be in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.).
func (PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyOutput ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyOutput() PolicyFileShareBackupHourlyOutput
func (PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyOutputWithContext ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyOutput
func (PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyPtrOutput ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyPtrOutput() PolicyFileShareBackupHourlyPtrOutput
func (PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyPtrOutputWithContext ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) ToPolicyFileShareBackupHourlyPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyPtrOutput
func (PolicyFileShareBackupHourlyOutput) WindowDuration ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyOutput) WindowDuration() pulumi.IntOutput
Species the duration of the backup window in hours. Details could be found [here](https://learn.microsoft.com/en-us/azure/backup/backup-azure-files-faq#what-does-the-duration-attribute-in-azure-files-backup-policy-signify-).
type PolicyFileShareBackupHourlyPtrInput ¶ added in v5.44.0
PolicyFileShareBackupHourlyPtrInput is an input type that accepts PolicyFileShareBackupHourlyArgs, PolicyFileShareBackupHourlyPtr and PolicyFileShareBackupHourlyPtrOutput values. You can construct a concrete instance of `PolicyFileShareBackupHourlyPtrInput` via:
PolicyFileShareBackupHourlyArgs{...} or: nil
func PolicyFileShareBackupHourlyPtr ¶ added in v5.44.0
func PolicyFileShareBackupHourlyPtr(v *PolicyFileShareBackupHourlyArgs) PolicyFileShareBackupHourlyPtrInput
type PolicyFileShareBackupHourlyPtrOutput ¶ added in v5.44.0
func (PolicyFileShareBackupHourlyPtrOutput) ElementType ¶ added in v5.44.0
func (PolicyFileShareBackupHourlyPtrOutput) ElementType() reflect.Type
func (PolicyFileShareBackupHourlyPtrOutput) Interval ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyPtrOutput) Interval() pulumi.IntPtrOutput
Specifies the interval at which backup needs to be triggered. Possible values are `4`, `6`, `8` and `12`.
func (PolicyFileShareBackupHourlyPtrOutput) StartTime ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the start time of the hourly backup. The time format should be in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.).
func (PolicyFileShareBackupHourlyPtrOutput) ToPolicyFileShareBackupHourlyPtrOutput ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyPtrOutput) ToPolicyFileShareBackupHourlyPtrOutput() PolicyFileShareBackupHourlyPtrOutput
func (PolicyFileShareBackupHourlyPtrOutput) ToPolicyFileShareBackupHourlyPtrOutputWithContext ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyPtrOutput) ToPolicyFileShareBackupHourlyPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupHourlyPtrOutput
func (PolicyFileShareBackupHourlyPtrOutput) WindowDuration ¶ added in v5.44.0
func (o PolicyFileShareBackupHourlyPtrOutput) WindowDuration() pulumi.IntPtrOutput
Species the duration of the backup window in hours. Details could be found [here](https://learn.microsoft.com/en-us/azure/backup/backup-azure-files-faq#what-does-the-duration-attribute-in-azure-files-backup-policy-signify-).
type PolicyFileShareBackupInput ¶
PolicyFileShareBackupInput is an input type that accepts PolicyFileShareBackupArgs and PolicyFileShareBackupOutput values. You can construct a concrete instance of `PolicyFileShareBackupInput` via:
PolicyFileShareBackupArgs{...}
type PolicyFileShareBackupOutput ¶
func (PolicyFileShareBackupOutput) ElementType ¶
func (PolicyFileShareBackupOutput) ElementType() reflect.Type
func (PolicyFileShareBackupOutput) Frequency ¶
func (o PolicyFileShareBackupOutput) Frequency() pulumi.StringOutput
Sets the backup frequency. Possible values are `Daily` and `Hourly`.
> **NOTE:** This argument is made available for consistency with VM backup policies and to allow for potential future support of weekly backups
func (PolicyFileShareBackupOutput) Hourly ¶ added in v5.44.0
func (o PolicyFileShareBackupOutput) Hourly() PolicyFileShareBackupHourlyPtrOutput
A `hourly` block defined as below. This is required when `frequency` is set to `Hourly`.
func (PolicyFileShareBackupOutput) Time ¶
func (o PolicyFileShareBackupOutput) Time() pulumi.StringPtrOutput
The time of day to perform the backup in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.)
> **NOTE:** `time` is required when `frequency` is set to `Daily`.
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 ¶
PolicyFileShareBackupPtrInput is an input type that accepts PolicyFileShareBackupArgs, PolicyFileShareBackupPtr and PolicyFileShareBackupPtrOutput values. You can construct a concrete instance of `PolicyFileShareBackupPtrInput` via:
PolicyFileShareBackupArgs{...} or: nil
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.StringPtrOutput
Sets the backup frequency. Possible values are `Daily` and `Hourly`.
> **NOTE:** This argument is made available for consistency with VM backup policies and to allow for potential future support of weekly backups
func (PolicyFileShareBackupPtrOutput) Hourly ¶ added in v5.44.0
func (o PolicyFileShareBackupPtrOutput) Hourly() PolicyFileShareBackupHourlyPtrOutput
A `hourly` block defined as below. This is required when `frequency` is set to `Hourly`.
func (PolicyFileShareBackupPtrOutput) Time ¶
func (o PolicyFileShareBackupPtrOutput) Time() pulumi.StringPtrOutput
The time of day to perform the backup in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.)
> **NOTE:** `time` is required when `frequency` is set to `Daily`.
func (PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutput ¶
func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutput() PolicyFileShareBackupPtrOutput
func (PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutputWithContext ¶
func (o PolicyFileShareBackupPtrOutput) ToPolicyFileShareBackupPtrOutputWithContext(ctx context.Context) PolicyFileShareBackupPtrOutput
type PolicyFileShareInput ¶
type PolicyFileShareMap ¶
type PolicyFileShareMap map[string]PolicyFileShareInput
func (PolicyFileShareMap) ElementType ¶
func (PolicyFileShareMap) ElementType() reflect.Type
func (PolicyFileShareMap) ToPolicyFileShareMapOutput ¶
func (i PolicyFileShareMap) ToPolicyFileShareMapOutput() PolicyFileShareMapOutput
func (PolicyFileShareMap) ToPolicyFileShareMapOutputWithContext ¶
func (i PolicyFileShareMap) ToPolicyFileShareMapOutputWithContext(ctx context.Context) PolicyFileShareMapOutput
type PolicyFileShareMapInput ¶
PolicyFileShareMapInput is an input type that accepts PolicyFileShareMap and PolicyFileShareMapOutput values. You can construct a concrete instance of `PolicyFileShareMapInput` via:
PolicyFileShareMap{ "key": PolicyFileShareArgs{...} }
type PolicyFileShareMapOutput ¶
func (PolicyFileShareMapOutput) ElementType ¶
func (PolicyFileShareMapOutput) ElementType() reflect.Type
func (PolicyFileShareMapOutput) MapIndex ¶
func (o PolicyFileShareMapOutput) MapIndex(k pulumi.StringInput) PolicyFileShareOutput
func (PolicyFileShareMapOutput) ToPolicyFileShareMapOutput ¶
func (o PolicyFileShareMapOutput) ToPolicyFileShareMapOutput() PolicyFileShareMapOutput
func (PolicyFileShareMapOutput) ToPolicyFileShareMapOutputWithContext ¶
func (o PolicyFileShareMapOutput) ToPolicyFileShareMapOutputWithContext(ctx context.Context) PolicyFileShareMapOutput
type PolicyFileShareOutput ¶
func (PolicyFileShareOutput) Backup ¶ added in v5.5.0
func (o PolicyFileShareOutput) Backup() PolicyFileShareBackupOutput
Configures the Policy backup frequency and times as documented in the `backup` block below.
func (PolicyFileShareOutput) ElementType ¶
func (PolicyFileShareOutput) ElementType() reflect.Type
func (PolicyFileShareOutput) Name ¶ added in v5.5.0
func (o PolicyFileShareOutput) Name() pulumi.StringOutput
Specifies the name of the policy. Changing this forces a new resource to be created.
func (PolicyFileShareOutput) RecoveryVaultName ¶ added in v5.5.0
func (o PolicyFileShareOutput) RecoveryVaultName() pulumi.StringOutput
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (PolicyFileShareOutput) ResourceGroupName ¶ added in v5.5.0
func (o PolicyFileShareOutput) 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 (PolicyFileShareOutput) RetentionDaily ¶ added in v5.5.0
func (o PolicyFileShareOutput) RetentionDaily() PolicyFileShareRetentionDailyOutput
Configures the policy daily retention as documented in the `retentionDaily` block below.
func (PolicyFileShareOutput) RetentionMonthly ¶ added in v5.5.0
func (o PolicyFileShareOutput) RetentionMonthly() PolicyFileShareRetentionMonthlyPtrOutput
Configures the policy monthly retention as documented in the `retentionMonthly` block below.
func (PolicyFileShareOutput) RetentionWeekly ¶ added in v5.5.0
func (o PolicyFileShareOutput) RetentionWeekly() PolicyFileShareRetentionWeeklyPtrOutput
Configures the policy weekly retention as documented in the `retentionWeekly` block below.
func (PolicyFileShareOutput) RetentionYearly ¶ added in v5.5.0
func (o PolicyFileShareOutput) RetentionYearly() PolicyFileShareRetentionYearlyPtrOutput
Configures the policy yearly retention as documented in the `retentionYearly` block below.
func (PolicyFileShareOutput) Timezone ¶ added in v5.5.0
func (o PolicyFileShareOutput) Timezone() pulumi.StringPtrOutput
Specifies the timezone. [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Defaults to `UTC`
> **NOTE:** The maximum number of snapshots that Azure Files can retain is 200. If your combined snapshot count exceeds 200 based on your retention policies, it will result in an error. See [this](https://docs.microsoft.com/azure/backup/backup-azure-files-faq#what-is-the-maximum-retention-i-can-configure-for-backups) article for more information.
func (PolicyFileShareOutput) ToPolicyFileShareOutput ¶
func (o PolicyFileShareOutput) ToPolicyFileShareOutput() PolicyFileShareOutput
func (PolicyFileShareOutput) ToPolicyFileShareOutputWithContext ¶
func (o PolicyFileShareOutput) ToPolicyFileShareOutputWithContext(ctx context.Context) PolicyFileShareOutput
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 PolicyFileShareRetentionDailyInput ¶
PolicyFileShareRetentionDailyInput is an input type that accepts PolicyFileShareRetentionDailyArgs and PolicyFileShareRetentionDailyOutput values. You can construct a concrete instance of `PolicyFileShareRetentionDailyInput` via:
PolicyFileShareRetentionDailyArgs{...}
type PolicyFileShareRetentionDailyOutput ¶
func (PolicyFileShareRetentionDailyOutput) Count ¶
func (o PolicyFileShareRetentionDailyOutput) Count() pulumi.IntOutput
The number of daily backups to keep. Must be between `1` and `200` (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 ¶
PolicyFileShareRetentionDailyPtrInput is an input type that accepts PolicyFileShareRetentionDailyArgs, PolicyFileShareRetentionDailyPtr and PolicyFileShareRetentionDailyPtrOutput values. You can construct a concrete instance of `PolicyFileShareRetentionDailyPtrInput` via:
PolicyFileShareRetentionDailyArgs{...} or: nil
func PolicyFileShareRetentionDailyPtr ¶
func PolicyFileShareRetentionDailyPtr(v *PolicyFileShareRetentionDailyArgs) PolicyFileShareRetentionDailyPtrInput
type PolicyFileShareRetentionDailyPtrOutput ¶
func (PolicyFileShareRetentionDailyPtrOutput) Count ¶
func (o PolicyFileShareRetentionDailyPtrOutput) Count() pulumi.IntPtrOutput
The number of daily backups to keep. Must be between `1` and `200` (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 PolicyFileShareRetentionMonthly ¶
type PolicyFileShareRetentionMonthly struct { int `pulumi:"count"` Days []int `pulumi:"days"` // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays *bool `pulumi:"includeLastDays"` Weekdays []string `pulumi:"weekdays"` Weeks []string `pulumi:"weeks"` }Count
type PolicyFileShareRetentionMonthlyArgs ¶
type PolicyFileShareRetentionMonthlyArgs struct { pulumi.IntInput `pulumi:"count"` Days pulumi.IntArrayInput `pulumi:"days"` // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays pulumi.BoolPtrInput `pulumi:"includeLastDays"` Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` Weeks pulumi.StringArrayInput `pulumi:"weeks"` }Count
func (PolicyFileShareRetentionMonthlyArgs) ElementType ¶
func (PolicyFileShareRetentionMonthlyArgs) ElementType() reflect.Type
func (PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyOutput ¶
func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyOutput() PolicyFileShareRetentionMonthlyOutput
func (PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyOutputWithContext ¶
func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyOutput
func (PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyPtrOutput ¶
func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyPtrOutput() PolicyFileShareRetentionMonthlyPtrOutput
func (PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext ¶
func (i PolicyFileShareRetentionMonthlyArgs) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyPtrOutput
type PolicyFileShareRetentionMonthlyInput ¶
PolicyFileShareRetentionMonthlyInput is an input type that accepts PolicyFileShareRetentionMonthlyArgs and PolicyFileShareRetentionMonthlyOutput values. You can construct a concrete instance of `PolicyFileShareRetentionMonthlyInput` via:
PolicyFileShareRetentionMonthlyArgs{...}
type PolicyFileShareRetentionMonthlyOutput ¶
func (PolicyFileShareRetentionMonthlyOutput) Count ¶
func (o PolicyFileShareRetentionMonthlyOutput) Count() pulumi.IntOutput
The number of monthly backups to keep. Must be between `1` and `120`
func (PolicyFileShareRetentionMonthlyOutput) Days ¶ added in v5.44.0
func (o PolicyFileShareRetentionMonthlyOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyFileShareRetentionMonthlyOutput) ElementType ¶
func (PolicyFileShareRetentionMonthlyOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionMonthlyOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyFileShareRetentionMonthlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
func (PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyOutput ¶
func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyOutput() PolicyFileShareRetentionMonthlyOutput
func (PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyOutputWithContext ¶
func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyOutput
func (PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyPtrOutput ¶
func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyPtrOutput() PolicyFileShareRetentionMonthlyPtrOutput
func (PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionMonthlyOutput) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyPtrOutput
func (PolicyFileShareRetentionMonthlyOutput) Weekdays ¶
func (o PolicyFileShareRetentionMonthlyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyFileShareRetentionMonthlyOutput) Weeks ¶
func (o PolicyFileShareRetentionMonthlyOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyFileShareRetentionMonthlyPtrInput ¶
PolicyFileShareRetentionMonthlyPtrInput is an input type that accepts PolicyFileShareRetentionMonthlyArgs, PolicyFileShareRetentionMonthlyPtr and PolicyFileShareRetentionMonthlyPtrOutput values. You can construct a concrete instance of `PolicyFileShareRetentionMonthlyPtrInput` via:
PolicyFileShareRetentionMonthlyArgs{...} or: nil
func PolicyFileShareRetentionMonthlyPtr ¶
func PolicyFileShareRetentionMonthlyPtr(v *PolicyFileShareRetentionMonthlyArgs) PolicyFileShareRetentionMonthlyPtrInput
type PolicyFileShareRetentionMonthlyPtrOutput ¶
func (PolicyFileShareRetentionMonthlyPtrOutput) Count ¶
func (o PolicyFileShareRetentionMonthlyPtrOutput) Count() pulumi.IntPtrOutput
The number of monthly backups to keep. Must be between `1` and `120`
func (PolicyFileShareRetentionMonthlyPtrOutput) Days ¶ added in v5.44.0
func (o PolicyFileShareRetentionMonthlyPtrOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyFileShareRetentionMonthlyPtrOutput) ElementType ¶
func (PolicyFileShareRetentionMonthlyPtrOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionMonthlyPtrOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyFileShareRetentionMonthlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
func (PolicyFileShareRetentionMonthlyPtrOutput) ToPolicyFileShareRetentionMonthlyPtrOutput ¶
func (o PolicyFileShareRetentionMonthlyPtrOutput) ToPolicyFileShareRetentionMonthlyPtrOutput() PolicyFileShareRetentionMonthlyPtrOutput
func (PolicyFileShareRetentionMonthlyPtrOutput) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionMonthlyPtrOutput) ToPolicyFileShareRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionMonthlyPtrOutput
func (PolicyFileShareRetentionMonthlyPtrOutput) Weekdays ¶
func (o PolicyFileShareRetentionMonthlyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyFileShareRetentionMonthlyPtrOutput) Weeks ¶
func (o PolicyFileShareRetentionMonthlyPtrOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyFileShareRetentionWeeklyArgs ¶
type PolicyFileShareRetentionWeeklyArgs struct { pulumi.IntInput `pulumi:"count"` Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` }Count
func (PolicyFileShareRetentionWeeklyArgs) ElementType ¶
func (PolicyFileShareRetentionWeeklyArgs) ElementType() reflect.Type
func (PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyOutput ¶
func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyOutput() PolicyFileShareRetentionWeeklyOutput
func (PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyOutputWithContext ¶
func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyOutput
func (PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyPtrOutput ¶
func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyPtrOutput() PolicyFileShareRetentionWeeklyPtrOutput
func (PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext ¶
func (i PolicyFileShareRetentionWeeklyArgs) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyPtrOutput
type PolicyFileShareRetentionWeeklyInput ¶
PolicyFileShareRetentionWeeklyInput is an input type that accepts PolicyFileShareRetentionWeeklyArgs and PolicyFileShareRetentionWeeklyOutput values. You can construct a concrete instance of `PolicyFileShareRetentionWeeklyInput` via:
PolicyFileShareRetentionWeeklyArgs{...}
type PolicyFileShareRetentionWeeklyOutput ¶
func (PolicyFileShareRetentionWeeklyOutput) Count ¶
func (o PolicyFileShareRetentionWeeklyOutput) Count() pulumi.IntOutput
The number of daily backups to keep. Must be between `1` and `200` (inclusive)
func (PolicyFileShareRetentionWeeklyOutput) ElementType ¶
func (PolicyFileShareRetentionWeeklyOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyOutput ¶
func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyOutput() PolicyFileShareRetentionWeeklyOutput
func (PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyOutputWithContext ¶
func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyOutput
func (PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyPtrOutput ¶
func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyPtrOutput() PolicyFileShareRetentionWeeklyPtrOutput
func (PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionWeeklyOutput) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyPtrOutput
func (PolicyFileShareRetentionWeeklyOutput) Weekdays ¶
func (o PolicyFileShareRetentionWeeklyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyFileShareRetentionWeeklyPtrInput ¶
PolicyFileShareRetentionWeeklyPtrInput is an input type that accepts PolicyFileShareRetentionWeeklyArgs, PolicyFileShareRetentionWeeklyPtr and PolicyFileShareRetentionWeeklyPtrOutput values. You can construct a concrete instance of `PolicyFileShareRetentionWeeklyPtrInput` via:
PolicyFileShareRetentionWeeklyArgs{...} or: nil
func PolicyFileShareRetentionWeeklyPtr ¶
func PolicyFileShareRetentionWeeklyPtr(v *PolicyFileShareRetentionWeeklyArgs) PolicyFileShareRetentionWeeklyPtrInput
type PolicyFileShareRetentionWeeklyPtrOutput ¶
func (PolicyFileShareRetentionWeeklyPtrOutput) Count ¶
func (o PolicyFileShareRetentionWeeklyPtrOutput) Count() pulumi.IntPtrOutput
The number of daily backups to keep. Must be between `1` and `200` (inclusive)
func (PolicyFileShareRetentionWeeklyPtrOutput) ElementType ¶
func (PolicyFileShareRetentionWeeklyPtrOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionWeeklyPtrOutput) ToPolicyFileShareRetentionWeeklyPtrOutput ¶
func (o PolicyFileShareRetentionWeeklyPtrOutput) ToPolicyFileShareRetentionWeeklyPtrOutput() PolicyFileShareRetentionWeeklyPtrOutput
func (PolicyFileShareRetentionWeeklyPtrOutput) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionWeeklyPtrOutput) ToPolicyFileShareRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionWeeklyPtrOutput
func (PolicyFileShareRetentionWeeklyPtrOutput) Weekdays ¶
func (o PolicyFileShareRetentionWeeklyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyFileShareRetentionYearly ¶
type PolicyFileShareRetentionYearly struct { int `pulumi:"count"` Days []int `pulumi:"days"` // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays *bool `pulumi:"includeLastDays"` Months []string `pulumi:"months"` Weekdays []string `pulumi:"weekdays"` Weeks []string `pulumi:"weeks"` }Count
type PolicyFileShareRetentionYearlyArgs ¶
type PolicyFileShareRetentionYearlyArgs struct { pulumi.IntInput `pulumi:"count"` Days pulumi.IntArrayInput `pulumi:"days"` // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays pulumi.BoolPtrInput `pulumi:"includeLastDays"` Months pulumi.StringArrayInput `pulumi:"months"` Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` Weeks pulumi.StringArrayInput `pulumi:"weeks"` }Count
func (PolicyFileShareRetentionYearlyArgs) ElementType ¶
func (PolicyFileShareRetentionYearlyArgs) ElementType() reflect.Type
func (PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyOutput ¶
func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyOutput() PolicyFileShareRetentionYearlyOutput
func (PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyOutputWithContext ¶
func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyOutput
func (PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyPtrOutput ¶
func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyPtrOutput() PolicyFileShareRetentionYearlyPtrOutput
func (PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyPtrOutputWithContext ¶
func (i PolicyFileShareRetentionYearlyArgs) ToPolicyFileShareRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyPtrOutput
type PolicyFileShareRetentionYearlyInput ¶
PolicyFileShareRetentionYearlyInput is an input type that accepts PolicyFileShareRetentionYearlyArgs and PolicyFileShareRetentionYearlyOutput values. You can construct a concrete instance of `PolicyFileShareRetentionYearlyInput` via:
PolicyFileShareRetentionYearlyArgs{...}
type PolicyFileShareRetentionYearlyOutput ¶
func (PolicyFileShareRetentionYearlyOutput) Count ¶
func (o PolicyFileShareRetentionYearlyOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Must be between `1` and `10`
func (PolicyFileShareRetentionYearlyOutput) Days ¶ added in v5.44.0
func (o PolicyFileShareRetentionYearlyOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyFileShareRetentionYearlyOutput) ElementType ¶
func (PolicyFileShareRetentionYearlyOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionYearlyOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyFileShareRetentionYearlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
func (PolicyFileShareRetentionYearlyOutput) Months ¶
func (o PolicyFileShareRetentionYearlyOutput) 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 (PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyOutput ¶
func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyOutput() PolicyFileShareRetentionYearlyOutput
func (PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyOutputWithContext ¶
func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyOutput
func (PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyPtrOutput ¶
func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyPtrOutput() PolicyFileShareRetentionYearlyPtrOutput
func (PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionYearlyOutput) ToPolicyFileShareRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyPtrOutput
func (PolicyFileShareRetentionYearlyOutput) Weekdays ¶
func (o PolicyFileShareRetentionYearlyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyFileShareRetentionYearlyOutput) Weeks ¶
func (o PolicyFileShareRetentionYearlyOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyFileShareRetentionYearlyPtrInput ¶
PolicyFileShareRetentionYearlyPtrInput is an input type that accepts PolicyFileShareRetentionYearlyArgs, PolicyFileShareRetentionYearlyPtr and PolicyFileShareRetentionYearlyPtrOutput values. You can construct a concrete instance of `PolicyFileShareRetentionYearlyPtrInput` via:
PolicyFileShareRetentionYearlyArgs{...} or: nil
func PolicyFileShareRetentionYearlyPtr ¶
func PolicyFileShareRetentionYearlyPtr(v *PolicyFileShareRetentionYearlyArgs) PolicyFileShareRetentionYearlyPtrInput
type PolicyFileShareRetentionYearlyPtrOutput ¶
func (PolicyFileShareRetentionYearlyPtrOutput) Count ¶
func (o PolicyFileShareRetentionYearlyPtrOutput) Count() pulumi.IntPtrOutput
The number of yearly backups to keep. Must be between `1` and `10`
func (PolicyFileShareRetentionYearlyPtrOutput) Days ¶ added in v5.44.0
func (o PolicyFileShareRetentionYearlyPtrOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyFileShareRetentionYearlyPtrOutput) ElementType ¶
func (PolicyFileShareRetentionYearlyPtrOutput) ElementType() reflect.Type
func (PolicyFileShareRetentionYearlyPtrOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyFileShareRetentionYearlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
func (PolicyFileShareRetentionYearlyPtrOutput) Months ¶
func (o PolicyFileShareRetentionYearlyPtrOutput) 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 (PolicyFileShareRetentionYearlyPtrOutput) ToPolicyFileShareRetentionYearlyPtrOutput ¶
func (o PolicyFileShareRetentionYearlyPtrOutput) ToPolicyFileShareRetentionYearlyPtrOutput() PolicyFileShareRetentionYearlyPtrOutput
func (PolicyFileShareRetentionYearlyPtrOutput) ToPolicyFileShareRetentionYearlyPtrOutputWithContext ¶
func (o PolicyFileShareRetentionYearlyPtrOutput) ToPolicyFileShareRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyFileShareRetentionYearlyPtrOutput
func (PolicyFileShareRetentionYearlyPtrOutput) Weekdays ¶
func (o PolicyFileShareRetentionYearlyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain . Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyFileShareRetentionYearlyPtrOutput) Weeks ¶
func (o PolicyFileShareRetentionYearlyPtrOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Must be one of `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyFileShareState ¶
type PolicyFileShareState struct { PolicyFileShareBackupPtrInput Name pulumi.StringPtrInput RecoveryVaultName pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput RetentionDaily PolicyFileShareRetentionDailyPtrInput RetentionMonthly PolicyFileShareRetentionMonthlyPtrInput RetentionWeekly PolicyFileShareRetentionWeeklyPtrInput RetentionYearly PolicyFileShareRetentionYearlyPtrInput // // > **NOTE:** The maximum number of snapshots that Azure Files can retain is 200. If your combined snapshot count exceeds 200 based on your retention policies, it will result in an error. See [this](https://docs.microsoft.com/azure/backup/backup-azure-files-faq#what-is-the-maximum-retention-i-can-configure-for-backups) article for more information. 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 instant restore resource group name as documented in the `instantRestoreResourceGroup` block below. InstantRestoreResourceGroup PolicyVMInstantRestoreResourceGroupPtrOutput `pulumi:"instantRestoreResourceGroup"` // Specifies the instant restore retention range in days. Possible values are between `1` and `5` when `policyType` is `V1`, and `1` to `30` when `policyType` is `V2`. // // > **NOTE:** `instantRestoreRetentionDays` **must** be set to `5` if the backup frequency is set to `Weekly`. InstantRestoreRetentionDays pulumi.IntOutput `pulumi:"instantRestoreRetentionDays"` // Specifies the name of the Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Type of the Backup Policy. Possible values are `V1` and `V2` where `V2` stands for the Enhanced Policy. Defaults to `V1`. Changing this forces a new resource to be created. PolicyType pulumi.StringPtrOutput `pulumi:"policyType"` // 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 `tieringPolicy` block as defined below. TieringPolicy PolicyVMTieringPolicyPtrOutput `pulumi:"tieringPolicy"` // Specifies the timezone. [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Defaults to `UTC` Timezone pulumi.StringPtrOutput `pulumi:"timezone"` }
Manages an Azure Backup VM Backup Policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("tfex-recovery_vault"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVault, err := recoveryservices.NewVault(ctx, "example", &recoveryservices.VaultArgs{ Name: pulumi.String("tfex-recovery-vault"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } _, err = backup.NewPolicyVM(ctx, "example", &backup.PolicyVMArgs{ Name: pulumi.String("tfex-recovery-vault-policy"), ResourceGroupName: example.Name, RecoveryVaultName: exampleVault.Name, Timezone: pulumi.String("UTC"), Backup: &backup.PolicyVMBackupArgs{ Frequency: pulumi.String("Daily"), Time: pulumi.String("23:00"), }, RetentionDaily: &backup.PolicyVMRetentionDailyArgs{ Count: pulumi.Int(10), }, RetentionWeekly: &backup.PolicyVMRetentionWeeklyArgs{ Count: pulumi.Int(42), Weekdays: pulumi.StringArray{ pulumi.String("Sunday"), pulumi.String("Wednesday"), pulumi.String("Friday"), pulumi.String("Saturday"), }, }, RetentionMonthly: &backup.PolicyVMRetentionMonthlyArgs{ Count: pulumi.Int(7), Weekdays: pulumi.StringArray{ pulumi.String("Sunday"), pulumi.String("Wednesday"), }, Weeks: pulumi.StringArray{ pulumi.String("First"), pulumi.String("Last"), }, }, RetentionYearly: &backup.PolicyVMRetentionYearlyArgs{ Count: pulumi.Int(77), Weekdays: pulumi.StringArray{ pulumi.String("Sunday"), }, Weeks: pulumi.StringArray{ pulumi.String("Last"), }, Months: pulumi.StringArray{ pulumi.String("January"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
VM Backup Policies can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:backup/policyVM:PolicyVM policy1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/example-recovery-vault/backupPolicies/policy1 ```
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.
func (*PolicyVM) ElementType ¶
func (*PolicyVM) ToPolicyVMOutput ¶
func (i *PolicyVM) ToPolicyVMOutput() PolicyVMOutput
func (*PolicyVM) ToPolicyVMOutputWithContext ¶
func (i *PolicyVM) ToPolicyVMOutputWithContext(ctx context.Context) PolicyVMOutput
type PolicyVMArgs ¶
type PolicyVMArgs struct { // Configures the Policy backup frequency, times & days as documented in the `backup` block below. Backup PolicyVMBackupInput // Specifies the instant restore resource group name as documented in the `instantRestoreResourceGroup` block below. InstantRestoreResourceGroup PolicyVMInstantRestoreResourceGroupPtrInput // Specifies the instant restore retention range in days. Possible values are between `1` and `5` when `policyType` is `V1`, and `1` to `30` when `policyType` is `V2`. // // > **NOTE:** `instantRestoreRetentionDays` **must** be set to `5` if the backup frequency is set to `Weekly`. InstantRestoreRetentionDays pulumi.IntPtrInput // Specifies the name of the Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Type of the Backup Policy. Possible values are `V1` and `V2` where `V2` stands for the Enhanced Policy. Defaults to `V1`. Changing this forces a new resource to be created. PolicyType 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 `tieringPolicy` block as defined below. TieringPolicy PolicyVMTieringPolicyPtrInput // Specifies the timezone. [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Defaults to `UTC` Timezone pulumi.StringPtrInput }
The set of arguments for constructing a PolicyVM resource.
func (PolicyVMArgs) ElementType ¶
func (PolicyVMArgs) ElementType() reflect.Type
type PolicyVMArray ¶
type PolicyVMArray []PolicyVMInput
func (PolicyVMArray) ElementType ¶
func (PolicyVMArray) ElementType() reflect.Type
func (PolicyVMArray) ToPolicyVMArrayOutput ¶
func (i PolicyVMArray) ToPolicyVMArrayOutput() PolicyVMArrayOutput
func (PolicyVMArray) ToPolicyVMArrayOutputWithContext ¶
func (i PolicyVMArray) ToPolicyVMArrayOutputWithContext(ctx context.Context) PolicyVMArrayOutput
type PolicyVMArrayInput ¶
type PolicyVMArrayInput interface { pulumi.Input ToPolicyVMArrayOutput() PolicyVMArrayOutput ToPolicyVMArrayOutputWithContext(context.Context) PolicyVMArrayOutput }
PolicyVMArrayInput is an input type that accepts PolicyVMArray and PolicyVMArrayOutput values. You can construct a concrete instance of `PolicyVMArrayInput` via:
PolicyVMArray{ PolicyVMArgs{...} }
type PolicyVMArrayOutput ¶
type PolicyVMArrayOutput struct{ *pulumi.OutputState }
func (PolicyVMArrayOutput) ElementType ¶
func (PolicyVMArrayOutput) ElementType() reflect.Type
func (PolicyVMArrayOutput) Index ¶
func (o PolicyVMArrayOutput) Index(i pulumi.IntInput) PolicyVMOutput
func (PolicyVMArrayOutput) ToPolicyVMArrayOutput ¶
func (o PolicyVMArrayOutput) ToPolicyVMArrayOutput() PolicyVMArrayOutput
func (PolicyVMArrayOutput) ToPolicyVMArrayOutputWithContext ¶
func (o PolicyVMArrayOutput) ToPolicyVMArrayOutputWithContext(ctx context.Context) PolicyVMArrayOutput
type PolicyVMBackup ¶
type PolicyVMBackup struct { // Sets the backup frequency. Possible values are `Hourly`, `Daily` and `Weekly`. Frequency string `pulumi:"frequency"` // Duration of the backup window in hours. Possible values are between `4` and `24` This is used when `frequency` is `Hourly`. // // > **NOTE:** `hourDuration` must be multiplier of `hourInterval` HourDuration *int `pulumi:"hourDuration"` // Interval in hour at which backup is triggered. Possible values are `4`, `6`, `8` and `12`. This is used when `frequency` is `Hourly`. HourInterval *int `pulumi:"hourInterval"` // The time of day to perform the backup in 24hour format. Time string `pulumi:"time"` // The days of the week to perform backups on. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`. Weekdays []string `pulumi:"weekdays"` }
type PolicyVMBackupArgs ¶
type PolicyVMBackupArgs struct { // Sets the backup frequency. Possible values are `Hourly`, `Daily` and `Weekly`. Frequency pulumi.StringInput `pulumi:"frequency"` // Duration of the backup window in hours. Possible values are between `4` and `24` This is used when `frequency` is `Hourly`. // // > **NOTE:** `hourDuration` must be multiplier of `hourInterval` HourDuration pulumi.IntPtrInput `pulumi:"hourDuration"` // Interval in hour at which backup is triggered. Possible values are `4`, `6`, `8` and `12`. This is used when `frequency` is `Hourly`. HourInterval pulumi.IntPtrInput `pulumi:"hourInterval"` // The time of day to perform the backup in 24hour format. Time pulumi.StringInput `pulumi:"time"` // The days of the week to perform backups on. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`. 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 }
PolicyVMBackupInput is an input type that accepts PolicyVMBackupArgs and PolicyVMBackupOutput values. You can construct a concrete instance of `PolicyVMBackupInput` via:
PolicyVMBackupArgs{...}
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. Possible values are `Hourly`, `Daily` and `Weekly`.
func (PolicyVMBackupOutput) HourDuration ¶ added in v5.9.0
func (o PolicyVMBackupOutput) HourDuration() pulumi.IntPtrOutput
Duration of the backup window in hours. Possible values are between `4` and `24` This is used when `frequency` is `Hourly`.
> **NOTE:** `hourDuration` must be multiplier of `hourInterval`
func (PolicyVMBackupOutput) HourInterval ¶ added in v5.9.0
func (o PolicyVMBackupOutput) HourInterval() pulumi.IntPtrOutput
Interval in hour at which backup is triggered. Possible values are `4`, `6`, `8` and `12`. This is used when `frequency` is `Hourly`.
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 days of the week to perform backups on. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`.
type PolicyVMBackupPtrInput ¶
type PolicyVMBackupPtrInput interface { pulumi.Input ToPolicyVMBackupPtrOutput() PolicyVMBackupPtrOutput ToPolicyVMBackupPtrOutputWithContext(context.Context) PolicyVMBackupPtrOutput }
PolicyVMBackupPtrInput is an input type that accepts PolicyVMBackupArgs, PolicyVMBackupPtr and PolicyVMBackupPtrOutput values. You can construct a concrete instance of `PolicyVMBackupPtrInput` via:
PolicyVMBackupArgs{...} or: nil
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.StringPtrOutput
Sets the backup frequency. Possible values are `Hourly`, `Daily` and `Weekly`.
func (PolicyVMBackupPtrOutput) HourDuration ¶ added in v5.9.0
func (o PolicyVMBackupPtrOutput) HourDuration() pulumi.IntPtrOutput
Duration of the backup window in hours. Possible values are between `4` and `24` This is used when `frequency` is `Hourly`.
> **NOTE:** `hourDuration` must be multiplier of `hourInterval`
func (PolicyVMBackupPtrOutput) HourInterval ¶ added in v5.9.0
func (o PolicyVMBackupPtrOutput) HourInterval() pulumi.IntPtrOutput
Interval in hour at which backup is triggered. Possible values are `4`, `6`, `8` and `12`. This is used when `frequency` is `Hourly`.
func (PolicyVMBackupPtrOutput) Time ¶
func (o PolicyVMBackupPtrOutput) Time() pulumi.StringPtrOutput
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 days of the week to perform backups on. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`.
type PolicyVMInput ¶
type PolicyVMInput interface { pulumi.Input ToPolicyVMOutput() PolicyVMOutput ToPolicyVMOutputWithContext(ctx context.Context) PolicyVMOutput }
type PolicyVMInstantRestoreResourceGroup ¶ added in v5.36.0
type PolicyVMInstantRestoreResourceGroupArgs ¶ added in v5.36.0
type PolicyVMInstantRestoreResourceGroupArgs struct { // The prefix for the `instantRestoreResourceGroup` name. Prefix pulumi.StringInput `pulumi:"prefix"` // The suffix for the `instantRestoreResourceGroup` name. Suffix pulumi.StringPtrInput `pulumi:"suffix"` }
func (PolicyVMInstantRestoreResourceGroupArgs) ElementType ¶ added in v5.36.0
func (PolicyVMInstantRestoreResourceGroupArgs) ElementType() reflect.Type
func (PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupOutput ¶ added in v5.36.0
func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupOutput() PolicyVMInstantRestoreResourceGroupOutput
func (PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupOutputWithContext ¶ added in v5.36.0
func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupOutput
func (PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupPtrOutput ¶ added in v5.36.0
func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput
func (PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext ¶ added in v5.36.0
func (i PolicyVMInstantRestoreResourceGroupArgs) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput
type PolicyVMInstantRestoreResourceGroupInput ¶ added in v5.36.0
type PolicyVMInstantRestoreResourceGroupInput interface { pulumi.Input ToPolicyVMInstantRestoreResourceGroupOutput() PolicyVMInstantRestoreResourceGroupOutput ToPolicyVMInstantRestoreResourceGroupOutputWithContext(context.Context) PolicyVMInstantRestoreResourceGroupOutput }
PolicyVMInstantRestoreResourceGroupInput is an input type that accepts PolicyVMInstantRestoreResourceGroupArgs and PolicyVMInstantRestoreResourceGroupOutput values. You can construct a concrete instance of `PolicyVMInstantRestoreResourceGroupInput` via:
PolicyVMInstantRestoreResourceGroupArgs{...}
type PolicyVMInstantRestoreResourceGroupOutput ¶ added in v5.36.0
type PolicyVMInstantRestoreResourceGroupOutput struct{ *pulumi.OutputState }
func (PolicyVMInstantRestoreResourceGroupOutput) ElementType ¶ added in v5.36.0
func (PolicyVMInstantRestoreResourceGroupOutput) ElementType() reflect.Type
func (PolicyVMInstantRestoreResourceGroupOutput) Prefix ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupOutput) Prefix() pulumi.StringOutput
The prefix for the `instantRestoreResourceGroup` name.
func (PolicyVMInstantRestoreResourceGroupOutput) Suffix ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupOutput) Suffix() pulumi.StringPtrOutput
The suffix for the `instantRestoreResourceGroup` name.
func (PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupOutput ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupOutput() PolicyVMInstantRestoreResourceGroupOutput
func (PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupOutputWithContext ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupOutput
func (PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutput ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput
func (PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput
type PolicyVMInstantRestoreResourceGroupPtrInput ¶ added in v5.36.0
type PolicyVMInstantRestoreResourceGroupPtrInput interface { pulumi.Input ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput }
PolicyVMInstantRestoreResourceGroupPtrInput is an input type that accepts PolicyVMInstantRestoreResourceGroupArgs, PolicyVMInstantRestoreResourceGroupPtr and PolicyVMInstantRestoreResourceGroupPtrOutput values. You can construct a concrete instance of `PolicyVMInstantRestoreResourceGroupPtrInput` via:
PolicyVMInstantRestoreResourceGroupArgs{...} or: nil
func PolicyVMInstantRestoreResourceGroupPtr ¶ added in v5.36.0
func PolicyVMInstantRestoreResourceGroupPtr(v *PolicyVMInstantRestoreResourceGroupArgs) PolicyVMInstantRestoreResourceGroupPtrInput
type PolicyVMInstantRestoreResourceGroupPtrOutput ¶ added in v5.36.0
type PolicyVMInstantRestoreResourceGroupPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMInstantRestoreResourceGroupPtrOutput) ElementType ¶ added in v5.36.0
func (PolicyVMInstantRestoreResourceGroupPtrOutput) ElementType() reflect.Type
func (PolicyVMInstantRestoreResourceGroupPtrOutput) Prefix ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupPtrOutput) Prefix() pulumi.StringPtrOutput
The prefix for the `instantRestoreResourceGroup` name.
func (PolicyVMInstantRestoreResourceGroupPtrOutput) Suffix ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupPtrOutput) Suffix() pulumi.StringPtrOutput
The suffix for the `instantRestoreResourceGroup` name.
func (PolicyVMInstantRestoreResourceGroupPtrOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutput ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupPtrOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutput() PolicyVMInstantRestoreResourceGroupPtrOutput
func (PolicyVMInstantRestoreResourceGroupPtrOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext ¶ added in v5.36.0
func (o PolicyVMInstantRestoreResourceGroupPtrOutput) ToPolicyVMInstantRestoreResourceGroupPtrOutputWithContext(ctx context.Context) PolicyVMInstantRestoreResourceGroupPtrOutput
type PolicyVMMap ¶
type PolicyVMMap map[string]PolicyVMInput
func (PolicyVMMap) ElementType ¶
func (PolicyVMMap) ElementType() reflect.Type
func (PolicyVMMap) ToPolicyVMMapOutput ¶
func (i PolicyVMMap) ToPolicyVMMapOutput() PolicyVMMapOutput
func (PolicyVMMap) ToPolicyVMMapOutputWithContext ¶
func (i PolicyVMMap) ToPolicyVMMapOutputWithContext(ctx context.Context) PolicyVMMapOutput
type PolicyVMMapInput ¶
type PolicyVMMapInput interface { pulumi.Input ToPolicyVMMapOutput() PolicyVMMapOutput ToPolicyVMMapOutputWithContext(context.Context) PolicyVMMapOutput }
PolicyVMMapInput is an input type that accepts PolicyVMMap and PolicyVMMapOutput values. You can construct a concrete instance of `PolicyVMMapInput` via:
PolicyVMMap{ "key": PolicyVMArgs{...} }
type PolicyVMMapOutput ¶
type PolicyVMMapOutput struct{ *pulumi.OutputState }
func (PolicyVMMapOutput) ElementType ¶
func (PolicyVMMapOutput) ElementType() reflect.Type
func (PolicyVMMapOutput) MapIndex ¶
func (o PolicyVMMapOutput) MapIndex(k pulumi.StringInput) PolicyVMOutput
func (PolicyVMMapOutput) ToPolicyVMMapOutput ¶
func (o PolicyVMMapOutput) ToPolicyVMMapOutput() PolicyVMMapOutput
func (PolicyVMMapOutput) ToPolicyVMMapOutputWithContext ¶
func (o PolicyVMMapOutput) ToPolicyVMMapOutputWithContext(ctx context.Context) PolicyVMMapOutput
type PolicyVMOutput ¶
type PolicyVMOutput struct{ *pulumi.OutputState }
func (PolicyVMOutput) Backup ¶ added in v5.5.0
func (o PolicyVMOutput) Backup() PolicyVMBackupOutput
Configures the Policy backup frequency, times & days as documented in the `backup` block below.
func (PolicyVMOutput) ElementType ¶
func (PolicyVMOutput) ElementType() reflect.Type
func (PolicyVMOutput) InstantRestoreResourceGroup ¶ added in v5.36.0
func (o PolicyVMOutput) InstantRestoreResourceGroup() PolicyVMInstantRestoreResourceGroupPtrOutput
Specifies the instant restore resource group name as documented in the `instantRestoreResourceGroup` block below.
func (PolicyVMOutput) InstantRestoreRetentionDays ¶ added in v5.5.0
func (o PolicyVMOutput) InstantRestoreRetentionDays() pulumi.IntOutput
Specifies the instant restore retention range in days. Possible values are between `1` and `5` when `policyType` is `V1`, and `1` to `30` when `policyType` is `V2`.
> **NOTE:** `instantRestoreRetentionDays` **must** be set to `5` if the backup frequency is set to `Weekly`.
func (PolicyVMOutput) Name ¶ added in v5.5.0
func (o PolicyVMOutput) Name() pulumi.StringOutput
Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
func (PolicyVMOutput) PolicyType ¶ added in v5.9.0
func (o PolicyVMOutput) PolicyType() pulumi.StringPtrOutput
Type of the Backup Policy. Possible values are `V1` and `V2` where `V2` stands for the Enhanced Policy. Defaults to `V1`. Changing this forces a new resource to be created.
func (PolicyVMOutput) RecoveryVaultName ¶ added in v5.5.0
func (o PolicyVMOutput) RecoveryVaultName() pulumi.StringOutput
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (PolicyVMOutput) ResourceGroupName ¶ added in v5.5.0
func (o PolicyVMOutput) 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 (PolicyVMOutput) RetentionDaily ¶ added in v5.5.0
func (o PolicyVMOutput) RetentionDaily() PolicyVMRetentionDailyPtrOutput
Configures the policy daily retention as documented in the `retentionDaily` block below. Required when backup frequency is `Daily`.
func (PolicyVMOutput) RetentionMonthly ¶ added in v5.5.0
func (o PolicyVMOutput) RetentionMonthly() PolicyVMRetentionMonthlyPtrOutput
Configures the policy monthly retention as documented in the `retentionMonthly` block below.
func (PolicyVMOutput) RetentionWeekly ¶ added in v5.5.0
func (o PolicyVMOutput) RetentionWeekly() PolicyVMRetentionWeeklyPtrOutput
Configures the policy weekly retention as documented in the `retentionWeekly` block below. Required when backup frequency is `Weekly`.
func (PolicyVMOutput) RetentionYearly ¶ added in v5.5.0
func (o PolicyVMOutput) RetentionYearly() PolicyVMRetentionYearlyPtrOutput
Configures the policy yearly retention as documented in the `retentionYearly` block below.
func (PolicyVMOutput) TieringPolicy ¶ added in v5.82.0
func (o PolicyVMOutput) TieringPolicy() PolicyVMTieringPolicyPtrOutput
A `tieringPolicy` block as defined below.
func (PolicyVMOutput) Timezone ¶ added in v5.5.0
func (o PolicyVMOutput) Timezone() pulumi.StringPtrOutput
Specifies the timezone. [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Defaults to `UTC`
func (PolicyVMOutput) ToPolicyVMOutput ¶
func (o PolicyVMOutput) ToPolicyVMOutput() PolicyVMOutput
func (PolicyVMOutput) ToPolicyVMOutputWithContext ¶
func (o PolicyVMOutput) ToPolicyVMOutputWithContext(ctx context.Context) PolicyVMOutput
type PolicyVMRetentionDaily ¶
type PolicyVMRetentionDaily struct { // The number of daily backups to keep. Must be between `7` and `9999`. // // > **Note:** Azure previously allows this field to be set to a minimum of 1 (day) - but for new resources/to update this value on existing Backup Policies - this value must now be at least 7 (days). Count int `pulumi:"count"` }
type PolicyVMRetentionDailyArgs ¶
type PolicyVMRetentionDailyArgs struct { // The number of daily backups to keep. Must be between `7` and `9999`. // // > **Note:** Azure previously allows this field to be set to a minimum of 1 (day) - but for new resources/to update this value on existing Backup Policies - this value must now be at least 7 (days). 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 }
PolicyVMRetentionDailyInput is an input type that accepts PolicyVMRetentionDailyArgs and PolicyVMRetentionDailyOutput values. You can construct a concrete instance of `PolicyVMRetentionDailyInput` via:
PolicyVMRetentionDailyArgs{...}
type PolicyVMRetentionDailyOutput ¶
type PolicyVMRetentionDailyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionDailyOutput) Count ¶
func (o PolicyVMRetentionDailyOutput) Count() pulumi.IntOutput
The number of daily backups to keep. Must be between `7` and `9999`.
> **Note:** Azure previously allows this field to be set to a minimum of 1 (day) - but for new resources/to update this value on existing Backup Policies - this value must now be at least 7 (days).
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 }
PolicyVMRetentionDailyPtrInput is an input type that accepts PolicyVMRetentionDailyArgs, PolicyVMRetentionDailyPtr and PolicyVMRetentionDailyPtrOutput values. You can construct a concrete instance of `PolicyVMRetentionDailyPtrInput` via:
PolicyVMRetentionDailyArgs{...} or: nil
func PolicyVMRetentionDailyPtr ¶
func PolicyVMRetentionDailyPtr(v *PolicyVMRetentionDailyArgs) PolicyVMRetentionDailyPtrInput
type PolicyVMRetentionDailyPtrOutput ¶
type PolicyVMRetentionDailyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionDailyPtrOutput) Count ¶
func (o PolicyVMRetentionDailyPtrOutput) Count() pulumi.IntPtrOutput
The number of daily backups to keep. Must be between `7` and `9999`.
> **Note:** Azure previously allows this field to be set to a minimum of 1 (day) - but for new resources/to update this value on existing Backup Policies - this value must now be at least 7 (days).
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 monthly backups to keep. Must be between `1` and `9999` Count int `pulumi:"count"` // The days of the month to retain backups of. Must be between `1` and `31`. Days []int `pulumi:"days"` // Including the last day of the month, default to `false`. // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays *bool `pulumi:"includeLastDays"` // 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 monthly backups to keep. Must be between `1` and `9999` Count pulumi.IntInput `pulumi:"count"` // The days of the month to retain backups of. Must be between `1` and `31`. Days pulumi.IntArrayInput `pulumi:"days"` // Including the last day of the month, default to `false`. // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays pulumi.BoolPtrInput `pulumi:"includeLastDays"` // 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 }
PolicyVMRetentionMonthlyInput is an input type that accepts PolicyVMRetentionMonthlyArgs and PolicyVMRetentionMonthlyOutput values. You can construct a concrete instance of `PolicyVMRetentionMonthlyInput` via:
PolicyVMRetentionMonthlyArgs{...}
type PolicyVMRetentionMonthlyOutput ¶
type PolicyVMRetentionMonthlyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionMonthlyOutput) Count ¶
func (o PolicyVMRetentionMonthlyOutput) Count() pulumi.IntOutput
The number of monthly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionMonthlyOutput) Days ¶ added in v5.44.0
func (o PolicyVMRetentionMonthlyOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyVMRetentionMonthlyOutput) ElementType ¶
func (PolicyVMRetentionMonthlyOutput) ElementType() reflect.Type
func (PolicyVMRetentionMonthlyOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyVMRetentionMonthlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
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 }
PolicyVMRetentionMonthlyPtrInput is an input type that accepts PolicyVMRetentionMonthlyArgs, PolicyVMRetentionMonthlyPtr and PolicyVMRetentionMonthlyPtrOutput values. You can construct a concrete instance of `PolicyVMRetentionMonthlyPtrInput` via:
PolicyVMRetentionMonthlyArgs{...} or: nil
func PolicyVMRetentionMonthlyPtr ¶
func PolicyVMRetentionMonthlyPtr(v *PolicyVMRetentionMonthlyArgs) PolicyVMRetentionMonthlyPtrInput
type PolicyVMRetentionMonthlyPtrOutput ¶
type PolicyVMRetentionMonthlyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionMonthlyPtrOutput) Count ¶
func (o PolicyVMRetentionMonthlyPtrOutput) Count() pulumi.IntPtrOutput
The number of monthly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionMonthlyPtrOutput) Days ¶ added in v5.44.0
func (o PolicyVMRetentionMonthlyPtrOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyVMRetentionMonthlyPtrOutput) Elem ¶
func (o PolicyVMRetentionMonthlyPtrOutput) Elem() PolicyVMRetentionMonthlyOutput
func (PolicyVMRetentionMonthlyPtrOutput) ElementType ¶
func (PolicyVMRetentionMonthlyPtrOutput) ElementType() reflect.Type
func (PolicyVMRetentionMonthlyPtrOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyVMRetentionMonthlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
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 weekly 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 weekly 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 }
PolicyVMRetentionWeeklyInput is an input type that accepts PolicyVMRetentionWeeklyArgs and PolicyVMRetentionWeeklyOutput values. You can construct a concrete instance of `PolicyVMRetentionWeeklyInput` via:
PolicyVMRetentionWeeklyArgs{...}
type PolicyVMRetentionWeeklyOutput ¶
type PolicyVMRetentionWeeklyOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionWeeklyOutput) Count ¶
func (o PolicyVMRetentionWeeklyOutput) Count() pulumi.IntOutput
The number of weekly 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 }
PolicyVMRetentionWeeklyPtrInput is an input type that accepts PolicyVMRetentionWeeklyArgs, PolicyVMRetentionWeeklyPtr and PolicyVMRetentionWeeklyPtrOutput values. You can construct a concrete instance of `PolicyVMRetentionWeeklyPtrInput` via:
PolicyVMRetentionWeeklyArgs{...} or: nil
func PolicyVMRetentionWeeklyPtr ¶
func PolicyVMRetentionWeeklyPtr(v *PolicyVMRetentionWeeklyArgs) PolicyVMRetentionWeeklyPtrInput
type PolicyVMRetentionWeeklyPtrOutput ¶
type PolicyVMRetentionWeeklyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionWeeklyPtrOutput) Count ¶
func (o PolicyVMRetentionWeeklyPtrOutput) Count() pulumi.IntPtrOutput
The number of weekly 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 days of the month to retain backups of. Must be between `1` and `31`. Days []int `pulumi:"days"` // Including the last day of the month, default to `false`. // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays *bool `pulumi:"includeLastDays"` // The months of the year to retain backups of. Must be one of `January`, `February`, `March`, `April`, `May`, `June`, `July`, `August`, `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 days of the month to retain backups of. Must be between `1` and `31`. Days pulumi.IntArrayInput `pulumi:"days"` // Including the last day of the month, default to `false`. // // > **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified. IncludeLastDays pulumi.BoolPtrInput `pulumi:"includeLastDays"` // The months of the year to retain backups of. Must be one of `January`, `February`, `March`, `April`, `May`, `June`, `July`, `August`, `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 }
PolicyVMRetentionYearlyInput is an input type that accepts PolicyVMRetentionYearlyArgs and PolicyVMRetentionYearlyOutput values. You can construct a concrete instance of `PolicyVMRetentionYearlyInput` via:
PolicyVMRetentionYearlyArgs{...}
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) Days ¶ added in v5.44.0
func (o PolicyVMRetentionYearlyOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyVMRetentionYearlyOutput) ElementType ¶
func (PolicyVMRetentionYearlyOutput) ElementType() reflect.Type
func (PolicyVMRetentionYearlyOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyVMRetentionYearlyOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
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`, `August`, `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 }
PolicyVMRetentionYearlyPtrInput is an input type that accepts PolicyVMRetentionYearlyArgs, PolicyVMRetentionYearlyPtr and PolicyVMRetentionYearlyPtrOutput values. You can construct a concrete instance of `PolicyVMRetentionYearlyPtrInput` via:
PolicyVMRetentionYearlyArgs{...} or: nil
func PolicyVMRetentionYearlyPtr ¶
func PolicyVMRetentionYearlyPtr(v *PolicyVMRetentionYearlyArgs) PolicyVMRetentionYearlyPtrInput
type PolicyVMRetentionYearlyPtrOutput ¶
type PolicyVMRetentionYearlyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMRetentionYearlyPtrOutput) Count ¶
func (o PolicyVMRetentionYearlyPtrOutput) Count() pulumi.IntPtrOutput
The number of yearly backups to keep. Must be between `1` and `9999`
func (PolicyVMRetentionYearlyPtrOutput) Days ¶ added in v5.44.0
func (o PolicyVMRetentionYearlyPtrOutput) Days() pulumi.IntArrayOutput
The days of the month to retain backups of. Must be between `1` and `31`.
func (PolicyVMRetentionYearlyPtrOutput) Elem ¶
func (o PolicyVMRetentionYearlyPtrOutput) Elem() PolicyVMRetentionYearlyOutput
func (PolicyVMRetentionYearlyPtrOutput) ElementType ¶
func (PolicyVMRetentionYearlyPtrOutput) ElementType() reflect.Type
func (PolicyVMRetentionYearlyPtrOutput) IncludeLastDays ¶ added in v5.44.0
func (o PolicyVMRetentionYearlyPtrOutput) IncludeLastDays() pulumi.BoolPtrOutput
Including the last day of the month, default to `false`.
> **NOTE:**: Either `weekdays` and `weeks` or `days` and `includeLastDays` must be specified.
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`, `August`, `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 instant restore resource group name as documented in the `instantRestoreResourceGroup` block below. InstantRestoreResourceGroup PolicyVMInstantRestoreResourceGroupPtrInput // Specifies the instant restore retention range in days. Possible values are between `1` and `5` when `policyType` is `V1`, and `1` to `30` when `policyType` is `V2`. // // > **NOTE:** `instantRestoreRetentionDays` **must** be set to `5` if the backup frequency is set to `Weekly`. InstantRestoreRetentionDays pulumi.IntPtrInput // Specifies the name of the Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Type of the Backup Policy. Possible values are `V1` and `V2` where `V2` stands for the Enhanced Policy. Defaults to `V1`. Changing this forces a new resource to be created. PolicyType 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 `tieringPolicy` block as defined below. TieringPolicy PolicyVMTieringPolicyPtrInput // Specifies the timezone. [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Defaults to `UTC` Timezone pulumi.StringPtrInput }
func (PolicyVMState) ElementType ¶
func (PolicyVMState) ElementType() reflect.Type
type PolicyVMTieringPolicy ¶ added in v5.82.0
type PolicyVMTieringPolicy struct { // An `archivedRestorePoint` block as defined below. ArchivedRestorePoint PolicyVMTieringPolicyArchivedRestorePoint `pulumi:"archivedRestorePoint"` }
type PolicyVMTieringPolicyArchivedRestorePoint ¶ added in v5.82.0
type PolicyVMTieringPolicyArchivedRestorePoint struct { // The number of days/weeks/months/years to retain backups in current tier before tiering. Duration *int `pulumi:"duration"` // The retention duration type. Possible values are `Days`, `Weeks`, `Months` and `Years`. DurationType *string `pulumi:"durationType"` // The tiering mode to control automatic tiering of recovery points. Possible values are `TierAfter` and `TierRecommended`. Mode string `pulumi:"mode"` }
type PolicyVMTieringPolicyArchivedRestorePointArgs ¶ added in v5.82.0
type PolicyVMTieringPolicyArchivedRestorePointArgs struct { // The number of days/weeks/months/years to retain backups in current tier before tiering. Duration pulumi.IntPtrInput `pulumi:"duration"` // The retention duration type. Possible values are `Days`, `Weeks`, `Months` and `Years`. DurationType pulumi.StringPtrInput `pulumi:"durationType"` // The tiering mode to control automatic tiering of recovery points. Possible values are `TierAfter` and `TierRecommended`. Mode pulumi.StringInput `pulumi:"mode"` }
func (PolicyVMTieringPolicyArchivedRestorePointArgs) ElementType ¶ added in v5.82.0
func (PolicyVMTieringPolicyArchivedRestorePointArgs) ElementType() reflect.Type
func (PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointOutput ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointOutput() PolicyVMTieringPolicyArchivedRestorePointOutput
func (PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointOutput
func (PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
func (PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArchivedRestorePointArgs) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput
type PolicyVMTieringPolicyArchivedRestorePointInput ¶ added in v5.82.0
type PolicyVMTieringPolicyArchivedRestorePointInput interface { pulumi.Input ToPolicyVMTieringPolicyArchivedRestorePointOutput() PolicyVMTieringPolicyArchivedRestorePointOutput ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext(context.Context) PolicyVMTieringPolicyArchivedRestorePointOutput }
PolicyVMTieringPolicyArchivedRestorePointInput is an input type that accepts PolicyVMTieringPolicyArchivedRestorePointArgs and PolicyVMTieringPolicyArchivedRestorePointOutput values. You can construct a concrete instance of `PolicyVMTieringPolicyArchivedRestorePointInput` via:
PolicyVMTieringPolicyArchivedRestorePointArgs{...}
type PolicyVMTieringPolicyArchivedRestorePointOutput ¶ added in v5.82.0
type PolicyVMTieringPolicyArchivedRestorePointOutput struct{ *pulumi.OutputState }
func (PolicyVMTieringPolicyArchivedRestorePointOutput) Duration ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) Duration() pulumi.IntPtrOutput
The number of days/weeks/months/years to retain backups in current tier before tiering.
func (PolicyVMTieringPolicyArchivedRestorePointOutput) DurationType ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) DurationType() pulumi.StringPtrOutput
The retention duration type. Possible values are `Days`, `Weeks`, `Months` and `Years`.
func (PolicyVMTieringPolicyArchivedRestorePointOutput) ElementType ¶ added in v5.82.0
func (PolicyVMTieringPolicyArchivedRestorePointOutput) ElementType() reflect.Type
func (PolicyVMTieringPolicyArchivedRestorePointOutput) Mode ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) Mode() pulumi.StringOutput
The tiering mode to control automatic tiering of recovery points. Possible values are `TierAfter` and `TierRecommended`.
func (PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointOutput ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointOutput() PolicyVMTieringPolicyArchivedRestorePointOutput
func (PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointOutput
func (PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
func (PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput
type PolicyVMTieringPolicyArchivedRestorePointPtrInput ¶ added in v5.82.0
type PolicyVMTieringPolicyArchivedRestorePointPtrInput interface { pulumi.Input ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput }
PolicyVMTieringPolicyArchivedRestorePointPtrInput is an input type that accepts PolicyVMTieringPolicyArchivedRestorePointArgs, PolicyVMTieringPolicyArchivedRestorePointPtr and PolicyVMTieringPolicyArchivedRestorePointPtrOutput values. You can construct a concrete instance of `PolicyVMTieringPolicyArchivedRestorePointPtrInput` via:
PolicyVMTieringPolicyArchivedRestorePointArgs{...} or: nil
func PolicyVMTieringPolicyArchivedRestorePointPtr ¶ added in v5.82.0
func PolicyVMTieringPolicyArchivedRestorePointPtr(v *PolicyVMTieringPolicyArchivedRestorePointArgs) PolicyVMTieringPolicyArchivedRestorePointPtrInput
type PolicyVMTieringPolicyArchivedRestorePointPtrOutput ¶ added in v5.82.0
type PolicyVMTieringPolicyArchivedRestorePointPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Duration ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Duration() pulumi.IntPtrOutput
The number of days/weeks/months/years to retain backups in current tier before tiering.
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) DurationType ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) DurationType() pulumi.StringPtrOutput
The retention duration type. Possible values are `Days`, `Weeks`, `Months` and `Years`.
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ElementType ¶ added in v5.82.0
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ElementType() reflect.Type
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Mode ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) Mode() pulumi.StringPtrOutput
The tiering mode to control automatic tiering of recovery points. Possible values are `TierAfter` and `TierRecommended`.
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutput() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
func (PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext ¶ added in v5.82.0
func (o PolicyVMTieringPolicyArchivedRestorePointPtrOutput) ToPolicyVMTieringPolicyArchivedRestorePointPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyArchivedRestorePointPtrOutput
type PolicyVMTieringPolicyArgs ¶ added in v5.82.0
type PolicyVMTieringPolicyArgs struct { // An `archivedRestorePoint` block as defined below. ArchivedRestorePoint PolicyVMTieringPolicyArchivedRestorePointInput `pulumi:"archivedRestorePoint"` }
func (PolicyVMTieringPolicyArgs) ElementType ¶ added in v5.82.0
func (PolicyVMTieringPolicyArgs) ElementType() reflect.Type
func (PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyOutput ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyOutput() PolicyVMTieringPolicyOutput
func (PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyOutputWithContext ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyOutputWithContext(ctx context.Context) PolicyVMTieringPolicyOutput
func (PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyPtrOutput ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput
func (PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyPtrOutputWithContext ¶ added in v5.82.0
func (i PolicyVMTieringPolicyArgs) ToPolicyVMTieringPolicyPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyPtrOutput
type PolicyVMTieringPolicyInput ¶ added in v5.82.0
type PolicyVMTieringPolicyInput interface { pulumi.Input ToPolicyVMTieringPolicyOutput() PolicyVMTieringPolicyOutput ToPolicyVMTieringPolicyOutputWithContext(context.Context) PolicyVMTieringPolicyOutput }
PolicyVMTieringPolicyInput is an input type that accepts PolicyVMTieringPolicyArgs and PolicyVMTieringPolicyOutput values. You can construct a concrete instance of `PolicyVMTieringPolicyInput` via:
PolicyVMTieringPolicyArgs{...}
type PolicyVMTieringPolicyOutput ¶ added in v5.82.0
type PolicyVMTieringPolicyOutput struct{ *pulumi.OutputState }
func (PolicyVMTieringPolicyOutput) ArchivedRestorePoint ¶ added in v5.82.0
func (o PolicyVMTieringPolicyOutput) ArchivedRestorePoint() PolicyVMTieringPolicyArchivedRestorePointOutput
An `archivedRestorePoint` block as defined below.
func (PolicyVMTieringPolicyOutput) ElementType ¶ added in v5.82.0
func (PolicyVMTieringPolicyOutput) ElementType() reflect.Type
func (PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyOutput ¶ added in v5.82.0
func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyOutput() PolicyVMTieringPolicyOutput
func (PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyOutputWithContext ¶ added in v5.82.0
func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyOutputWithContext(ctx context.Context) PolicyVMTieringPolicyOutput
func (PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyPtrOutput ¶ added in v5.82.0
func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput
func (PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyPtrOutputWithContext ¶ added in v5.82.0
func (o PolicyVMTieringPolicyOutput) ToPolicyVMTieringPolicyPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyPtrOutput
type PolicyVMTieringPolicyPtrInput ¶ added in v5.82.0
type PolicyVMTieringPolicyPtrInput interface { pulumi.Input ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput ToPolicyVMTieringPolicyPtrOutputWithContext(context.Context) PolicyVMTieringPolicyPtrOutput }
PolicyVMTieringPolicyPtrInput is an input type that accepts PolicyVMTieringPolicyArgs, PolicyVMTieringPolicyPtr and PolicyVMTieringPolicyPtrOutput values. You can construct a concrete instance of `PolicyVMTieringPolicyPtrInput` via:
PolicyVMTieringPolicyArgs{...} or: nil
func PolicyVMTieringPolicyPtr ¶ added in v5.82.0
func PolicyVMTieringPolicyPtr(v *PolicyVMTieringPolicyArgs) PolicyVMTieringPolicyPtrInput
type PolicyVMTieringPolicyPtrOutput ¶ added in v5.82.0
type PolicyVMTieringPolicyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMTieringPolicyPtrOutput) ArchivedRestorePoint ¶ added in v5.82.0
func (o PolicyVMTieringPolicyPtrOutput) ArchivedRestorePoint() PolicyVMTieringPolicyArchivedRestorePointPtrOutput
An `archivedRestorePoint` block as defined below.
func (PolicyVMTieringPolicyPtrOutput) Elem ¶ added in v5.82.0
func (o PolicyVMTieringPolicyPtrOutput) Elem() PolicyVMTieringPolicyOutput
func (PolicyVMTieringPolicyPtrOutput) ElementType ¶ added in v5.82.0
func (PolicyVMTieringPolicyPtrOutput) ElementType() reflect.Type
func (PolicyVMTieringPolicyPtrOutput) ToPolicyVMTieringPolicyPtrOutput ¶ added in v5.82.0
func (o PolicyVMTieringPolicyPtrOutput) ToPolicyVMTieringPolicyPtrOutput() PolicyVMTieringPolicyPtrOutput
func (PolicyVMTieringPolicyPtrOutput) ToPolicyVMTieringPolicyPtrOutputWithContext ¶ added in v5.82.0
func (o PolicyVMTieringPolicyPtrOutput) ToPolicyVMTieringPolicyPtrOutputWithContext(ctx context.Context) PolicyVMTieringPolicyPtrOutput
type PolicyVMWorkload ¶ added in v5.17.0
type PolicyVMWorkload struct { pulumi.CustomResourceState // The name of the VM Workload Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `protectionPolicy` blocks as defined below. ProtectionPolicies PolicyVMWorkloadProtectionPolicyArrayOutput `pulumi:"protectionPolicies"` // 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 VM Workload Backup Policy. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A `settings` block as defined below. Settings PolicyVMWorkloadSettingsOutput `pulumi:"settings"` // The VM Workload type for the Backup Policy. Possible values are `SQLDataBase` and `SAPHanaDatabase`. Changing this forces a new resource to be created. WorkloadType pulumi.StringOutput `pulumi:"workloadType"` }
Manages an Azure VM Workload Backup Policy within a Recovery Services vault.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-bpvmw"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVault, err := recoveryservices.NewVault(ctx, "example", &recoveryservices.VaultArgs{ Name: pulumi.String("example-rsv"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Standard"), SoftDeleteEnabled: pulumi.Bool(false), }) if err != nil { return err } _, err = backup.NewPolicyVMWorkload(ctx, "example", &backup.PolicyVMWorkloadArgs{ Name: pulumi.String("example-bpvmw"), ResourceGroupName: example.Name, RecoveryVaultName: exampleVault.Name, WorkloadType: pulumi.String("SQLDataBase"), Settings: &backup.PolicyVMWorkloadSettingsArgs{ TimeZone: pulumi.String("UTC"), CompressionEnabled: pulumi.Bool(false), }, ProtectionPolicies: backup.PolicyVMWorkloadProtectionPolicyArray{ &backup.PolicyVMWorkloadProtectionPolicyArgs{ PolicyType: pulumi.String("Full"), Backup: &backup.PolicyVMWorkloadProtectionPolicyBackupArgs{ Frequency: pulumi.String("Daily"), Time: pulumi.String("15:00"), }, RetentionDaily: &backup.PolicyVMWorkloadProtectionPolicyRetentionDailyArgs{ Count: pulumi.Int(8), }, }, &backup.PolicyVMWorkloadProtectionPolicyArgs{ PolicyType: pulumi.String("Log"), Backup: &backup.PolicyVMWorkloadProtectionPolicyBackupArgs{ FrequencyInMinutes: pulumi.Int(15), }, SimpleRetention: &backup.PolicyVMWorkloadProtectionPolicySimpleRetentionArgs{ Count: pulumi.Int(8), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Azure VM Workload Backup Policies can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:backup/policyVMWorkload:PolicyVMWorkload policy1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/vault1/backupPolicies/policy1 ```
func GetPolicyVMWorkload ¶ added in v5.17.0
func GetPolicyVMWorkload(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyVMWorkloadState, opts ...pulumi.ResourceOption) (*PolicyVMWorkload, error)
GetPolicyVMWorkload gets an existing PolicyVMWorkload 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 NewPolicyVMWorkload ¶ added in v5.17.0
func NewPolicyVMWorkload(ctx *pulumi.Context, name string, args *PolicyVMWorkloadArgs, opts ...pulumi.ResourceOption) (*PolicyVMWorkload, error)
NewPolicyVMWorkload registers a new resource with the given unique name, arguments, and options.
func (*PolicyVMWorkload) ElementType ¶ added in v5.17.0
func (*PolicyVMWorkload) ElementType() reflect.Type
func (*PolicyVMWorkload) ToPolicyVMWorkloadOutput ¶ added in v5.17.0
func (i *PolicyVMWorkload) ToPolicyVMWorkloadOutput() PolicyVMWorkloadOutput
func (*PolicyVMWorkload) ToPolicyVMWorkloadOutputWithContext ¶ added in v5.17.0
func (i *PolicyVMWorkload) ToPolicyVMWorkloadOutputWithContext(ctx context.Context) PolicyVMWorkloadOutput
type PolicyVMWorkloadArgs ¶ added in v5.17.0
type PolicyVMWorkloadArgs struct { // The name of the VM Workload Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `protectionPolicy` blocks as defined below. ProtectionPolicies PolicyVMWorkloadProtectionPolicyArrayInput // 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 VM Workload Backup Policy. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A `settings` block as defined below. Settings PolicyVMWorkloadSettingsInput // The VM Workload type for the Backup Policy. Possible values are `SQLDataBase` and `SAPHanaDatabase`. Changing this forces a new resource to be created. WorkloadType pulumi.StringInput }
The set of arguments for constructing a PolicyVMWorkload resource.
func (PolicyVMWorkloadArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadArgs) ElementType() reflect.Type
type PolicyVMWorkloadArray ¶ added in v5.17.0
type PolicyVMWorkloadArray []PolicyVMWorkloadInput
func (PolicyVMWorkloadArray) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadArray) ElementType() reflect.Type
func (PolicyVMWorkloadArray) ToPolicyVMWorkloadArrayOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadArray) ToPolicyVMWorkloadArrayOutput() PolicyVMWorkloadArrayOutput
func (PolicyVMWorkloadArray) ToPolicyVMWorkloadArrayOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadArray) ToPolicyVMWorkloadArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadArrayOutput
type PolicyVMWorkloadArrayInput ¶ added in v5.17.0
type PolicyVMWorkloadArrayInput interface { pulumi.Input ToPolicyVMWorkloadArrayOutput() PolicyVMWorkloadArrayOutput ToPolicyVMWorkloadArrayOutputWithContext(context.Context) PolicyVMWorkloadArrayOutput }
PolicyVMWorkloadArrayInput is an input type that accepts PolicyVMWorkloadArray and PolicyVMWorkloadArrayOutput values. You can construct a concrete instance of `PolicyVMWorkloadArrayInput` via:
PolicyVMWorkloadArray{ PolicyVMWorkloadArgs{...} }
type PolicyVMWorkloadArrayOutput ¶ added in v5.17.0
type PolicyVMWorkloadArrayOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadArrayOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadArrayOutput) ElementType() reflect.Type
func (PolicyVMWorkloadArrayOutput) Index ¶ added in v5.17.0
func (o PolicyVMWorkloadArrayOutput) Index(i pulumi.IntInput) PolicyVMWorkloadOutput
func (PolicyVMWorkloadArrayOutput) ToPolicyVMWorkloadArrayOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadArrayOutput) ToPolicyVMWorkloadArrayOutput() PolicyVMWorkloadArrayOutput
func (PolicyVMWorkloadArrayOutput) ToPolicyVMWorkloadArrayOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadArrayOutput) ToPolicyVMWorkloadArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadArrayOutput
type PolicyVMWorkloadInput ¶ added in v5.17.0
type PolicyVMWorkloadInput interface { pulumi.Input ToPolicyVMWorkloadOutput() PolicyVMWorkloadOutput ToPolicyVMWorkloadOutputWithContext(ctx context.Context) PolicyVMWorkloadOutput }
type PolicyVMWorkloadMap ¶ added in v5.17.0
type PolicyVMWorkloadMap map[string]PolicyVMWorkloadInput
func (PolicyVMWorkloadMap) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadMap) ElementType() reflect.Type
func (PolicyVMWorkloadMap) ToPolicyVMWorkloadMapOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadMap) ToPolicyVMWorkloadMapOutput() PolicyVMWorkloadMapOutput
func (PolicyVMWorkloadMap) ToPolicyVMWorkloadMapOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadMap) ToPolicyVMWorkloadMapOutputWithContext(ctx context.Context) PolicyVMWorkloadMapOutput
type PolicyVMWorkloadMapInput ¶ added in v5.17.0
type PolicyVMWorkloadMapInput interface { pulumi.Input ToPolicyVMWorkloadMapOutput() PolicyVMWorkloadMapOutput ToPolicyVMWorkloadMapOutputWithContext(context.Context) PolicyVMWorkloadMapOutput }
PolicyVMWorkloadMapInput is an input type that accepts PolicyVMWorkloadMap and PolicyVMWorkloadMapOutput values. You can construct a concrete instance of `PolicyVMWorkloadMapInput` via:
PolicyVMWorkloadMap{ "key": PolicyVMWorkloadArgs{...} }
type PolicyVMWorkloadMapOutput ¶ added in v5.17.0
type PolicyVMWorkloadMapOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadMapOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadMapOutput) ElementType() reflect.Type
func (PolicyVMWorkloadMapOutput) MapIndex ¶ added in v5.17.0
func (o PolicyVMWorkloadMapOutput) MapIndex(k pulumi.StringInput) PolicyVMWorkloadOutput
func (PolicyVMWorkloadMapOutput) ToPolicyVMWorkloadMapOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadMapOutput) ToPolicyVMWorkloadMapOutput() PolicyVMWorkloadMapOutput
func (PolicyVMWorkloadMapOutput) ToPolicyVMWorkloadMapOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadMapOutput) ToPolicyVMWorkloadMapOutputWithContext(ctx context.Context) PolicyVMWorkloadMapOutput
type PolicyVMWorkloadOutput ¶ added in v5.17.0
type PolicyVMWorkloadOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadOutput) ElementType() reflect.Type
func (PolicyVMWorkloadOutput) Name ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) Name() pulumi.StringOutput
The name of the VM Workload Backup Policy. Changing this forces a new resource to be created.
func (PolicyVMWorkloadOutput) ProtectionPolicies ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) ProtectionPolicies() PolicyVMWorkloadProtectionPolicyArrayOutput
One or more `protectionPolicy` blocks as defined below.
func (PolicyVMWorkloadOutput) RecoveryVaultName ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) RecoveryVaultName() pulumi.StringOutput
The name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (PolicyVMWorkloadOutput) ResourceGroupName ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the VM Workload Backup Policy. Changing this forces a new resource to be created.
func (PolicyVMWorkloadOutput) Settings ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) Settings() PolicyVMWorkloadSettingsOutput
A `settings` block as defined below.
func (PolicyVMWorkloadOutput) ToPolicyVMWorkloadOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) ToPolicyVMWorkloadOutput() PolicyVMWorkloadOutput
func (PolicyVMWorkloadOutput) ToPolicyVMWorkloadOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) ToPolicyVMWorkloadOutputWithContext(ctx context.Context) PolicyVMWorkloadOutput
func (PolicyVMWorkloadOutput) WorkloadType ¶ added in v5.17.0
func (o PolicyVMWorkloadOutput) WorkloadType() pulumi.StringOutput
The VM Workload type for the Backup Policy. Possible values are `SQLDataBase` and `SAPHanaDatabase`. Changing this forces a new resource to be created.
type PolicyVMWorkloadProtectionPolicy ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicy struct { // A `backup` block as defined below. Backup PolicyVMWorkloadProtectionPolicyBackup `pulumi:"backup"` // The type of the VM Workload Backup Policy. Possible values are `Differential`, `Full`, `Incremental` and `Log`. PolicyType string `pulumi:"policyType"` // A `retentionDaily` block as defined below. RetentionDaily *PolicyVMWorkloadProtectionPolicyRetentionDaily `pulumi:"retentionDaily"` // A `retentionMonthly` block as defined below. RetentionMonthly *PolicyVMWorkloadProtectionPolicyRetentionMonthly `pulumi:"retentionMonthly"` // A `retentionWeekly` block as defined below. RetentionWeekly *PolicyVMWorkloadProtectionPolicyRetentionWeekly `pulumi:"retentionWeekly"` // A `retentionYearly` block as defined below. RetentionYearly *PolicyVMWorkloadProtectionPolicyRetentionYearly `pulumi:"retentionYearly"` // A `simpleRetention` block as defined below. SimpleRetention *PolicyVMWorkloadProtectionPolicySimpleRetention `pulumi:"simpleRetention"` }
type PolicyVMWorkloadProtectionPolicyArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyArgs struct { // A `backup` block as defined below. Backup PolicyVMWorkloadProtectionPolicyBackupInput `pulumi:"backup"` // The type of the VM Workload Backup Policy. Possible values are `Differential`, `Full`, `Incremental` and `Log`. PolicyType pulumi.StringInput `pulumi:"policyType"` // A `retentionDaily` block as defined below. RetentionDaily PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput `pulumi:"retentionDaily"` // A `retentionMonthly` block as defined below. RetentionMonthly PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput `pulumi:"retentionMonthly"` // A `retentionWeekly` block as defined below. RetentionWeekly PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput `pulumi:"retentionWeekly"` // A `retentionYearly` block as defined below. RetentionYearly PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput `pulumi:"retentionYearly"` // A `simpleRetention` block as defined below. SimpleRetention PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput `pulumi:"simpleRetention"` }
func (PolicyVMWorkloadProtectionPolicyArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyArgs) ToPolicyVMWorkloadProtectionPolicyOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyArgs) ToPolicyVMWorkloadProtectionPolicyOutput() PolicyVMWorkloadProtectionPolicyOutput
func (PolicyVMWorkloadProtectionPolicyArgs) ToPolicyVMWorkloadProtectionPolicyOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyArgs) ToPolicyVMWorkloadProtectionPolicyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyOutput
type PolicyVMWorkloadProtectionPolicyArray ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyArray []PolicyVMWorkloadProtectionPolicyInput
func (PolicyVMWorkloadProtectionPolicyArray) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyArray) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyArray) ToPolicyVMWorkloadProtectionPolicyArrayOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyArray) ToPolicyVMWorkloadProtectionPolicyArrayOutput() PolicyVMWorkloadProtectionPolicyArrayOutput
func (PolicyVMWorkloadProtectionPolicyArray) ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyArray) ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyArrayOutput
type PolicyVMWorkloadProtectionPolicyArrayInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyArrayInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyArrayOutput() PolicyVMWorkloadProtectionPolicyArrayOutput ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyArrayOutput }
PolicyVMWorkloadProtectionPolicyArrayInput is an input type that accepts PolicyVMWorkloadProtectionPolicyArray and PolicyVMWorkloadProtectionPolicyArrayOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyArrayInput` via:
PolicyVMWorkloadProtectionPolicyArray{ PolicyVMWorkloadProtectionPolicyArgs{...} }
type PolicyVMWorkloadProtectionPolicyArrayOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyArrayOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyArrayOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyArrayOutput) ToPolicyVMWorkloadProtectionPolicyArrayOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyArrayOutput) ToPolicyVMWorkloadProtectionPolicyArrayOutput() PolicyVMWorkloadProtectionPolicyArrayOutput
func (PolicyVMWorkloadProtectionPolicyArrayOutput) ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyArrayOutput) ToPolicyVMWorkloadProtectionPolicyArrayOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyArrayOutput
type PolicyVMWorkloadProtectionPolicyBackup ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyBackup struct { // The backup frequency for the VM Workload Backup Policy. Possible values are `Daily` and `Weekly`. Frequency *string `pulumi:"frequency"` // The backup frequency in minutes for the VM Workload Backup Policy. Possible values are `15`, `30`, `60`, `120`, `240`, `480`, `720` and `1440`. FrequencyInMinutes *int `pulumi:"frequencyInMinutes"` // The time of day to perform the backup in 24hour format. Time *string `pulumi:"time"` // The days of the week to perform backups on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`. Weekdays []string `pulumi:"weekdays"` }
type PolicyVMWorkloadProtectionPolicyBackupArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyBackupArgs struct { // The backup frequency for the VM Workload Backup Policy. Possible values are `Daily` and `Weekly`. Frequency pulumi.StringPtrInput `pulumi:"frequency"` // The backup frequency in minutes for the VM Workload Backup Policy. Possible values are `15`, `30`, `60`, `120`, `240`, `480`, `720` and `1440`. FrequencyInMinutes pulumi.IntPtrInput `pulumi:"frequencyInMinutes"` // The time of day to perform the backup in 24hour format. Time pulumi.StringPtrInput `pulumi:"time"` // The days of the week to perform backups on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` }
func (PolicyVMWorkloadProtectionPolicyBackupArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyBackupArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyBackupArgs) ToPolicyVMWorkloadProtectionPolicyBackupOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyBackupArgs) ToPolicyVMWorkloadProtectionPolicyBackupOutput() PolicyVMWorkloadProtectionPolicyBackupOutput
func (PolicyVMWorkloadProtectionPolicyBackupArgs) ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyBackupArgs) ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyBackupOutput
type PolicyVMWorkloadProtectionPolicyBackupInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyBackupInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyBackupOutput() PolicyVMWorkloadProtectionPolicyBackupOutput ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyBackupOutput }
PolicyVMWorkloadProtectionPolicyBackupInput is an input type that accepts PolicyVMWorkloadProtectionPolicyBackupArgs and PolicyVMWorkloadProtectionPolicyBackupOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyBackupInput` via:
PolicyVMWorkloadProtectionPolicyBackupArgs{...}
type PolicyVMWorkloadProtectionPolicyBackupOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyBackupOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyBackupOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyBackupOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyBackupOutput) Frequency ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyBackupOutput) Frequency() pulumi.StringPtrOutput
The backup frequency for the VM Workload Backup Policy. Possible values are `Daily` and `Weekly`.
func (PolicyVMWorkloadProtectionPolicyBackupOutput) FrequencyInMinutes ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyBackupOutput) FrequencyInMinutes() pulumi.IntPtrOutput
The backup frequency in minutes for the VM Workload Backup Policy. Possible values are `15`, `30`, `60`, `120`, `240`, `480`, `720` and `1440`.
func (PolicyVMWorkloadProtectionPolicyBackupOutput) Time ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyBackupOutput) Time() pulumi.StringPtrOutput
The time of day to perform the backup in 24hour format.
func (PolicyVMWorkloadProtectionPolicyBackupOutput) ToPolicyVMWorkloadProtectionPolicyBackupOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyBackupOutput) ToPolicyVMWorkloadProtectionPolicyBackupOutput() PolicyVMWorkloadProtectionPolicyBackupOutput
func (PolicyVMWorkloadProtectionPolicyBackupOutput) ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyBackupOutput) ToPolicyVMWorkloadProtectionPolicyBackupOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyBackupOutput
func (PolicyVMWorkloadProtectionPolicyBackupOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyBackupOutput) Weekdays() pulumi.StringArrayOutput
The days of the week to perform backups on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. This is used when `frequency` is `Weekly`.
type PolicyVMWorkloadProtectionPolicyInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyOutput() PolicyVMWorkloadProtectionPolicyOutput ToPolicyVMWorkloadProtectionPolicyOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyOutput }
PolicyVMWorkloadProtectionPolicyInput is an input type that accepts PolicyVMWorkloadProtectionPolicyArgs and PolicyVMWorkloadProtectionPolicyOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyInput` via:
PolicyVMWorkloadProtectionPolicyArgs{...}
type PolicyVMWorkloadProtectionPolicyOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyOutput) Backup ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) Backup() PolicyVMWorkloadProtectionPolicyBackupOutput
A `backup` block as defined below.
func (PolicyVMWorkloadProtectionPolicyOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyOutput) PolicyType ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) PolicyType() pulumi.StringOutput
The type of the VM Workload Backup Policy. Possible values are `Differential`, `Full`, `Incremental` and `Log`.
func (PolicyVMWorkloadProtectionPolicyOutput) RetentionDaily ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionDaily() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
A `retentionDaily` block as defined below.
func (PolicyVMWorkloadProtectionPolicyOutput) RetentionMonthly ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionMonthly() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
A `retentionMonthly` block as defined below.
func (PolicyVMWorkloadProtectionPolicyOutput) RetentionWeekly ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionWeekly() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
A `retentionWeekly` block as defined below.
func (PolicyVMWorkloadProtectionPolicyOutput) RetentionYearly ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) RetentionYearly() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
A `retentionYearly` block as defined below.
func (PolicyVMWorkloadProtectionPolicyOutput) SimpleRetention ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) SimpleRetention() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
A `simpleRetention` block as defined below.
func (PolicyVMWorkloadProtectionPolicyOutput) ToPolicyVMWorkloadProtectionPolicyOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) ToPolicyVMWorkloadProtectionPolicyOutput() PolicyVMWorkloadProtectionPolicyOutput
func (PolicyVMWorkloadProtectionPolicyOutput) ToPolicyVMWorkloadProtectionPolicyOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyOutput) ToPolicyVMWorkloadProtectionPolicyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyOutput
type PolicyVMWorkloadProtectionPolicyRetentionDaily ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionDaily struct { // The number of daily backups to keep. Possible values are between `7` and `9999`. Count int `pulumi:"count"` }
type PolicyVMWorkloadProtectionPolicyRetentionDailyArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionDailyArgs struct { // The number of daily backups to keep. Possible values are between `7` and `9999`. Count pulumi.IntInput `pulumi:"count"` }
func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
type PolicyVMWorkloadProtectionPolicyRetentionDailyInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionDailyInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyOutput ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyOutput }
PolicyVMWorkloadProtectionPolicyRetentionDailyInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionDailyArgs and PolicyVMWorkloadProtectionPolicyRetentionDailyOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionDailyInput` via:
PolicyVMWorkloadProtectionPolicyRetentionDailyArgs{...}
type PolicyVMWorkloadProtectionPolicyRetentionDailyOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionDailyOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) Count() pulumi.IntOutput
The number of daily backups to keep. Possible values are between `7` and `9999`.
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
type PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput }
PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionDailyArgs, PolicyVMWorkloadProtectionPolicyRetentionDailyPtr and PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput` via:
PolicyVMWorkloadProtectionPolicyRetentionDailyArgs{...} or: nil
func PolicyVMWorkloadProtectionPolicyRetentionDailyPtr ¶ added in v5.17.0
func PolicyVMWorkloadProtectionPolicyRetentionDailyPtr(v *PolicyVMWorkloadProtectionPolicyRetentionDailyArgs) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrInput
type PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) Count() pulumi.IntPtrOutput
The number of daily backups to keep. Possible values are between `7` and `9999`.
func (PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionDailyPtrOutput
type PolicyVMWorkloadProtectionPolicyRetentionMonthly ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionMonthly struct { // The number of monthly backups to keep. Must be between `1` and `1188`. Count int `pulumi:"count"` // The retention schedule format type for monthly retention policy. Possible values are `Daily` and `Weekly`. FormatType string `pulumi:"formatType"` // The monthday backups to retain. Possible values are between `0` and `28`. Monthdays []int `pulumi:"monthdays"` // The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` // The weeks of the month to retain backups of. Possible values are `First`, `Second`, `Third`, `Fourth` and `Last`. Weeks []string `pulumi:"weeks"` }
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs struct { // The number of monthly backups to keep. Must be between `1` and `1188`. Count pulumi.IntInput `pulumi:"count"` // The retention schedule format type for monthly retention policy. Possible values are `Daily` and `Weekly`. FormatType pulumi.StringInput `pulumi:"formatType"` // The monthday backups to retain. Possible values are between `0` and `28`. Monthdays pulumi.IntArrayInput `pulumi:"monthdays"` // The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` // The weeks of the month to retain backups of. Possible values are `First`, `Second`, `Third`, `Fourth` and `Last`. Weeks pulumi.StringArrayInput `pulumi:"weeks"` }
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput }
PolicyVMWorkloadProtectionPolicyRetentionMonthlyInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs and PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionMonthlyInput` via:
PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs{...}
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Count() pulumi.IntOutput
The number of monthly backups to keep. Must be between `1` and `1188`.
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) FormatType ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) FormatType() pulumi.StringOutput
The retention schedule format type for monthly retention policy. Possible values are `Daily` and `Weekly`.
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Monthdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Monthdays() pulumi.IntArrayOutput
The monthday backups to retain. Possible values are between `0` and `28`.
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput }
PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs, PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtr and PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput` via:
PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs{...} or: nil
func PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtr ¶ added in v5.17.0
func PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtr(v *PolicyVMWorkloadProtectionPolicyRetentionMonthlyArgs) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrInput
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Count() pulumi.IntPtrOutput
The number of monthly backups to keep. Must be between `1` and `1188`.
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) FormatType ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) FormatType() pulumi.StringPtrOutput
The retention schedule format type for monthly retention policy. Possible values are `Daily` and `Weekly`.
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Monthdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Monthdays() pulumi.IntArrayOutput
The monthday backups to retain. Possible values are between `0` and `28`.
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionMonthlyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMWorkloadProtectionPolicyRetentionWeekly ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionWeekly struct { // The number of weekly backups to keep. Possible values are between `1` and `5163`. Count int `pulumi:"count"` // The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` }
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs struct { // The number of weekly backups to keep. Possible values are between `1` and `5163`. Count pulumi.IntInput `pulumi:"count"` // The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` }
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput }
PolicyVMWorkloadProtectionPolicyRetentionWeeklyInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs and PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionWeeklyInput` via:
PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs{...}
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) Count() pulumi.IntOutput
The number of weekly backups to keep. Possible values are between `1` and `5163`.
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput }
PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs, PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtr and PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput` via:
PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs{...} or: nil
func PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtr ¶ added in v5.17.0
func PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtr(v *PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrInput
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Count() pulumi.IntPtrOutput
The number of weekly backups to keep. Possible values are between `1` and `5163`.
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionWeeklyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMWorkloadProtectionPolicyRetentionYearly ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionYearly struct { // The number of yearly backups to keep. Possible values are between `1` and `99` Count int `pulumi:"count"` // The retention schedule format type for yearly retention policy. Possible values are `Daily` and `Weekly`. FormatType string `pulumi:"formatType"` // The monthday backups to retain. Possible values are between `0` and `28`. Monthdays []int `pulumi:"monthdays"` // The months of the year to retain backups of. Possible values are `January`, `February`, `March`, `April`, `May`, `June`, `July`, `August`, `September`, `October`, `November` and `December`. Months []string `pulumi:"months"` // The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays []string `pulumi:"weekdays"` // The weeks of the month to retain backups of. Possible values are `First`, `Second`, `Third`, `Fourth`, `Last`. Weeks []string `pulumi:"weeks"` }
type PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs struct { // The number of yearly backups to keep. Possible values are between `1` and `99` Count pulumi.IntInput `pulumi:"count"` // The retention schedule format type for yearly retention policy. Possible values are `Daily` and `Weekly`. FormatType pulumi.StringInput `pulumi:"formatType"` // The monthday backups to retain. Possible values are between `0` and `28`. Monthdays pulumi.IntArrayInput `pulumi:"monthdays"` // The months of the year to retain backups of. Possible values are `January`, `February`, `March`, `April`, `May`, `June`, `July`, `August`, `September`, `October`, `November` and `December`. Months pulumi.StringArrayInput `pulumi:"months"` // The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`. Weekdays pulumi.StringArrayInput `pulumi:"weekdays"` // The weeks of the month to retain backups of. Possible values are `First`, `Second`, `Third`, `Fourth`, `Last`. Weeks pulumi.StringArrayInput `pulumi:"weeks"` }
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
type PolicyVMWorkloadProtectionPolicyRetentionYearlyInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionYearlyInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput }
PolicyVMWorkloadProtectionPolicyRetentionYearlyInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs and PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionYearlyInput` via:
PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs{...}
type PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Count() pulumi.IntOutput
The number of yearly backups to keep. Possible values are between `1` and `99`
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) FormatType ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) FormatType() pulumi.StringOutput
The retention schedule format type for yearly retention policy. Possible values are `Daily` and `Weekly`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Monthdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Monthdays() pulumi.IntArrayOutput
The monthday backups to retain. Possible values are between `0` and `28`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Months ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Months() pulumi.StringArrayOutput
The months of the year to retain backups of. Possible values are `January`, `February`, `March`, `April`, `May`, `June`, `July`, `August`, `September`, `October`, `November` and `December`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Weeks ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyOutput) Weeks() pulumi.StringArrayOutput
The weeks of the month to retain backups of. Possible values are `First`, `Second`, `Third`, `Fourth`, `Last`.
type PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput }
PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput is an input type that accepts PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs, PolicyVMWorkloadProtectionPolicyRetentionYearlyPtr and PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput` via:
PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs{...} or: nil
func PolicyVMWorkloadProtectionPolicyRetentionYearlyPtr ¶ added in v5.17.0
func PolicyVMWorkloadProtectionPolicyRetentionYearlyPtr(v *PolicyVMWorkloadProtectionPolicyRetentionYearlyArgs) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrInput
type PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Count() pulumi.IntPtrOutput
The number of yearly backups to keep. Possible values are between `1` and `99`
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) FormatType ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) FormatType() pulumi.StringPtrOutput
The retention schedule format type for yearly retention policy. Possible values are `Daily` and `Weekly`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Monthdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Monthdays() pulumi.IntArrayOutput
The monthday backups to retain. Possible values are between `0` and `28`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Months ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Months() pulumi.StringArrayOutput
The months of the year to retain backups of. Possible values are `January`, `February`, `March`, `April`, `May`, `June`, `July`, `August`, `September`, `October`, `November` and `December`.
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput() PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) ToPolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput
func (PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Weekdays ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicyRetentionYearlyPtrOutput) Weekdays() pulumi.StringArrayOutput
The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
type PolicyVMWorkloadProtectionPolicySimpleRetention ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicySimpleRetention struct { // The count that is used to count retention duration with duration type `Days`. Possible values are between `7` and `35`. Count int `pulumi:"count"` }
type PolicyVMWorkloadProtectionPolicySimpleRetentionArgs ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicySimpleRetentionArgs struct { // The count that is used to count retention duration with duration type `Days`. Possible values are between `7` and `35`. Count pulumi.IntInput `pulumi:"count"` }
func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
type PolicyVMWorkloadProtectionPolicySimpleRetentionInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicySimpleRetentionInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionOutput ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionOutput }
PolicyVMWorkloadProtectionPolicySimpleRetentionInput is an input type that accepts PolicyVMWorkloadProtectionPolicySimpleRetentionArgs and PolicyVMWorkloadProtectionPolicySimpleRetentionOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicySimpleRetentionInput` via:
PolicyVMWorkloadProtectionPolicySimpleRetentionArgs{...}
type PolicyVMWorkloadProtectionPolicySimpleRetentionOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicySimpleRetentionOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) Count() pulumi.IntOutput
The count that is used to count retention duration with duration type `Days`. Possible values are between `7` and `35`.
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
type PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput interface { pulumi.Input ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput }
PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput is an input type that accepts PolicyVMWorkloadProtectionPolicySimpleRetentionArgs, PolicyVMWorkloadProtectionPolicySimpleRetentionPtr and PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput values. You can construct a concrete instance of `PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput` via:
PolicyVMWorkloadProtectionPolicySimpleRetentionArgs{...} or: nil
func PolicyVMWorkloadProtectionPolicySimpleRetentionPtr ¶ added in v5.17.0
func PolicyVMWorkloadProtectionPolicySimpleRetentionPtr(v *PolicyVMWorkloadProtectionPolicySimpleRetentionArgs) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrInput
type PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput ¶ added in v5.17.0
type PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) Count ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) Count() pulumi.IntPtrOutput
The count that is used to count retention duration with duration type `Days`. Possible values are between `7` and `35`.
func (PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ElementType() reflect.Type
func (PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput() PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
func (PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput) ToPolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadProtectionPolicySimpleRetentionPtrOutput
type PolicyVMWorkloadSettings ¶ added in v5.17.0
type PolicyVMWorkloadSettings struct { // The compression setting for the VM Workload Backup Policy. Defaults to `false`. CompressionEnabled *bool `pulumi:"compressionEnabled"` // The timezone for the VM Workload Backup Policy. [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). TimeZone string `pulumi:"timeZone"` }
type PolicyVMWorkloadSettingsArgs ¶ added in v5.17.0
type PolicyVMWorkloadSettingsArgs struct { // The compression setting for the VM Workload Backup Policy. Defaults to `false`. CompressionEnabled pulumi.BoolPtrInput `pulumi:"compressionEnabled"` // The timezone for the VM Workload Backup Policy. [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). TimeZone pulumi.StringInput `pulumi:"timeZone"` }
func (PolicyVMWorkloadSettingsArgs) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadSettingsArgs) ElementType() reflect.Type
func (PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsOutput() PolicyVMWorkloadSettingsOutput
func (PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsOutput
func (PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsPtrOutput ¶ added in v5.17.0
func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput
func (PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsPtrOutputWithContext ¶ added in v5.17.0
func (i PolicyVMWorkloadSettingsArgs) ToPolicyVMWorkloadSettingsPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsPtrOutput
type PolicyVMWorkloadSettingsInput ¶ added in v5.17.0
type PolicyVMWorkloadSettingsInput interface { pulumi.Input ToPolicyVMWorkloadSettingsOutput() PolicyVMWorkloadSettingsOutput ToPolicyVMWorkloadSettingsOutputWithContext(context.Context) PolicyVMWorkloadSettingsOutput }
PolicyVMWorkloadSettingsInput is an input type that accepts PolicyVMWorkloadSettingsArgs and PolicyVMWorkloadSettingsOutput values. You can construct a concrete instance of `PolicyVMWorkloadSettingsInput` via:
PolicyVMWorkloadSettingsArgs{...}
type PolicyVMWorkloadSettingsOutput ¶ added in v5.17.0
type PolicyVMWorkloadSettingsOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadSettingsOutput) CompressionEnabled ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsOutput) CompressionEnabled() pulumi.BoolPtrOutput
The compression setting for the VM Workload Backup Policy. Defaults to `false`.
func (PolicyVMWorkloadSettingsOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadSettingsOutput) ElementType() reflect.Type
func (PolicyVMWorkloadSettingsOutput) TimeZone ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsOutput) TimeZone() pulumi.StringOutput
The timezone for the VM Workload Backup Policy. [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
func (PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsOutput() PolicyVMWorkloadSettingsOutput
func (PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsOutput
func (PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput
func (PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsOutput) ToPolicyVMWorkloadSettingsPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsPtrOutput
type PolicyVMWorkloadSettingsPtrInput ¶ added in v5.17.0
type PolicyVMWorkloadSettingsPtrInput interface { pulumi.Input ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput ToPolicyVMWorkloadSettingsPtrOutputWithContext(context.Context) PolicyVMWorkloadSettingsPtrOutput }
PolicyVMWorkloadSettingsPtrInput is an input type that accepts PolicyVMWorkloadSettingsArgs, PolicyVMWorkloadSettingsPtr and PolicyVMWorkloadSettingsPtrOutput values. You can construct a concrete instance of `PolicyVMWorkloadSettingsPtrInput` via:
PolicyVMWorkloadSettingsArgs{...} or: nil
func PolicyVMWorkloadSettingsPtr ¶ added in v5.17.0
func PolicyVMWorkloadSettingsPtr(v *PolicyVMWorkloadSettingsArgs) PolicyVMWorkloadSettingsPtrInput
type PolicyVMWorkloadSettingsPtrOutput ¶ added in v5.17.0
type PolicyVMWorkloadSettingsPtrOutput struct{ *pulumi.OutputState }
func (PolicyVMWorkloadSettingsPtrOutput) CompressionEnabled ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsPtrOutput) CompressionEnabled() pulumi.BoolPtrOutput
The compression setting for the VM Workload Backup Policy. Defaults to `false`.
func (PolicyVMWorkloadSettingsPtrOutput) Elem ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsPtrOutput) Elem() PolicyVMWorkloadSettingsOutput
func (PolicyVMWorkloadSettingsPtrOutput) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadSettingsPtrOutput) ElementType() reflect.Type
func (PolicyVMWorkloadSettingsPtrOutput) TimeZone ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsPtrOutput) TimeZone() pulumi.StringPtrOutput
The timezone for the VM Workload Backup Policy. [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
func (PolicyVMWorkloadSettingsPtrOutput) ToPolicyVMWorkloadSettingsPtrOutput ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsPtrOutput) ToPolicyVMWorkloadSettingsPtrOutput() PolicyVMWorkloadSettingsPtrOutput
func (PolicyVMWorkloadSettingsPtrOutput) ToPolicyVMWorkloadSettingsPtrOutputWithContext ¶ added in v5.17.0
func (o PolicyVMWorkloadSettingsPtrOutput) ToPolicyVMWorkloadSettingsPtrOutputWithContext(ctx context.Context) PolicyVMWorkloadSettingsPtrOutput
type PolicyVMWorkloadState ¶ added in v5.17.0
type PolicyVMWorkloadState struct { // The name of the VM Workload Backup Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `protectionPolicy` blocks as defined below. ProtectionPolicies PolicyVMWorkloadProtectionPolicyArrayInput // 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 VM Workload Backup Policy. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A `settings` block as defined below. Settings PolicyVMWorkloadSettingsPtrInput // The VM Workload type for the Backup Policy. Possible values are `SQLDataBase` and `SAPHanaDatabase`. Changing this forces a new resource to be created. WorkloadType pulumi.StringPtrInput }
func (PolicyVMWorkloadState) ElementType ¶ added in v5.17.0
func (PolicyVMWorkloadState) 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"` // // > **NOTE** The storage account must already be registered with the recovery vault in order to backup shares within the account. You can use the `backup.ContainerStorageAccount` resource or the [Register-AzRecoveryServicesBackupContainer PowerShell cmdlet](https://docs.microsoft.com/powershell/module/az.recoveryservices/register-azrecoveryservicesbackupcontainer?view=azps-3.2.0) to register a storage account with a vault. When using the `backup.ContainerStorageAccount` resource to register, you can use `dependsOn` to explicitly declare the dependency. It will make sure that the registration is completed before creating the `backup.ProtectedFileShare` resource. SourceStorageAccountId pulumi.StringOutput `pulumi:"sourceStorageAccountId"` }BackupPolicyId
Manages an Azure Backup Protected File Share to enable backups for file shares within an Azure Storage Account
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("tfex-recovery_vault"), Location: pulumi.String("West Europe"), }) if err != nil { return err } vault, err := recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{ Name: pulumi.String("tfex-recovery-vault"), Location: example.Location, ResourceGroupName: example.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } sa, err := storage.NewAccount(ctx, "sa", &storage.AccountArgs{ Name: pulumi.String("examplesa"), Location: example.Location, ResourceGroupName: example.Name, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleShare, err := storage.NewShare(ctx, "example", &storage.ShareArgs{ Name: pulumi.String("example-share"), StorageAccountName: sa.Name, Quota: pulumi.Int(1), }) if err != nil { return err } _, err = backup.NewContainerStorageAccount(ctx, "protection-container", &backup.ContainerStorageAccountArgs{ ResourceGroupName: example.Name, RecoveryVaultName: vault.Name, StorageAccountId: sa.ID(), }) if err != nil { return err } examplePolicyFileShare, err := backup.NewPolicyFileShare(ctx, "example", &backup.PolicyFileShareArgs{ Name: pulumi.String("tfex-recovery-vault-policy"), ResourceGroupName: example.Name, RecoveryVaultName: vault.Name, Backup: &backup.PolicyFileShareBackupArgs{ Frequency: pulumi.String("Daily"), Time: pulumi.String("23:00"), }, RetentionDaily: &backup.PolicyFileShareRetentionDailyArgs{ Count: pulumi.Int(10), }, }) if err != nil { return err } _, err = backup.NewProtectedFileShare(ctx, "share1", &backup.ProtectedFileShareArgs{ ResourceGroupName: example.Name, RecoveryVaultName: vault.Name, SourceStorageAccountId: protection_container.StorageAccountId, SourceFileShareName: exampleShare.Name, BackupPolicyId: examplePolicyFileShare.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Azure Backup Protected File Shares can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:backup/protectedFileShare:ProtectedFileShare item1 "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/example-recovery-vault/backupFabrics/Azure/protectionContainers/StorageContainer;storage;group2;example-storage-account/protectedItems/AzureFileShare;3f6e3108a45793581bcbd1c61c87a3b2ceeb4ff4bc02a95ce9d1022b23722935" ```
-> **NOTE** The ID requires quoting as there are semicolons. This user unfriendly ID can be found in the Deployments of the used resourcegroup, look for an Deployment which starts with `ConfigureAFSProtection-`, click then `Go to resource`.
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.
func (*ProtectedFileShare) ElementType ¶
func (*ProtectedFileShare) ElementType() reflect.Type
func (*ProtectedFileShare) ToProtectedFileShareOutput ¶
func (i *ProtectedFileShare) ToProtectedFileShareOutput() ProtectedFileShareOutput
func (*ProtectedFileShare) ToProtectedFileShareOutputWithContext ¶
func (i *ProtectedFileShare) ToProtectedFileShareOutputWithContext(ctx context.Context) ProtectedFileShareOutput
type ProtectedFileShareArgs ¶
type ProtectedFileShareArgs struct { pulumi.StringInput RecoveryVaultName pulumi.StringInput ResourceGroupName pulumi.StringInput SourceFileShareName pulumi.StringInput // // > **NOTE** The storage account must already be registered with the recovery vault in order to backup shares within the account. You can use the `backup.ContainerStorageAccount` resource or the [Register-AzRecoveryServicesBackupContainer PowerShell cmdlet](https://docs.microsoft.com/powershell/module/az.recoveryservices/register-azrecoveryservicesbackupcontainer?view=azps-3.2.0) to register a storage account with a vault. When using the `backup.ContainerStorageAccount` resource to register, you can use `dependsOn` to explicitly declare the dependency. It will make sure that the registration is completed before creating the `backup.ProtectedFileShare` resource. SourceStorageAccountId pulumi.StringInput }BackupPolicyId
The set of arguments for constructing a ProtectedFileShare resource.
func (ProtectedFileShareArgs) ElementType ¶
func (ProtectedFileShareArgs) ElementType() reflect.Type
type ProtectedFileShareArray ¶
type ProtectedFileShareArray []ProtectedFileShareInput
func (ProtectedFileShareArray) ElementType ¶
func (ProtectedFileShareArray) ElementType() reflect.Type
func (ProtectedFileShareArray) ToProtectedFileShareArrayOutput ¶
func (i ProtectedFileShareArray) ToProtectedFileShareArrayOutput() ProtectedFileShareArrayOutput
func (ProtectedFileShareArray) ToProtectedFileShareArrayOutputWithContext ¶
func (i ProtectedFileShareArray) ToProtectedFileShareArrayOutputWithContext(ctx context.Context) ProtectedFileShareArrayOutput
type ProtectedFileShareArrayInput ¶
ProtectedFileShareArrayInput is an input type that accepts ProtectedFileShareArray and ProtectedFileShareArrayOutput values. You can construct a concrete instance of `ProtectedFileShareArrayInput` via:
ProtectedFileShareArray{ ProtectedFileShareArgs{...} }
type ProtectedFileShareArrayOutput ¶
func (ProtectedFileShareArrayOutput) ElementType ¶
func (ProtectedFileShareArrayOutput) ElementType() reflect.Type
func (ProtectedFileShareArrayOutput) Index ¶
func (o ProtectedFileShareArrayOutput) Index(i pulumi.IntInput) ProtectedFileShareOutput
func (ProtectedFileShareArrayOutput) ToProtectedFileShareArrayOutput ¶
func (o ProtectedFileShareArrayOutput) ToProtectedFileShareArrayOutput() ProtectedFileShareArrayOutput
func (ProtectedFileShareArrayOutput) ToProtectedFileShareArrayOutputWithContext ¶
func (o ProtectedFileShareArrayOutput) ToProtectedFileShareArrayOutputWithContext(ctx context.Context) ProtectedFileShareArrayOutput
type ProtectedFileShareInput ¶
type ProtectedFileShareMap ¶
type ProtectedFileShareMap map[string]ProtectedFileShareInput
func (ProtectedFileShareMap) ElementType ¶
func (ProtectedFileShareMap) ElementType() reflect.Type
func (ProtectedFileShareMap) ToProtectedFileShareMapOutput ¶
func (i ProtectedFileShareMap) ToProtectedFileShareMapOutput() ProtectedFileShareMapOutput
func (ProtectedFileShareMap) ToProtectedFileShareMapOutputWithContext ¶
func (i ProtectedFileShareMap) ToProtectedFileShareMapOutputWithContext(ctx context.Context) ProtectedFileShareMapOutput
type ProtectedFileShareMapInput ¶
ProtectedFileShareMapInput is an input type that accepts ProtectedFileShareMap and ProtectedFileShareMapOutput values. You can construct a concrete instance of `ProtectedFileShareMapInput` via:
ProtectedFileShareMap{ "key": ProtectedFileShareArgs{...} }
type ProtectedFileShareMapOutput ¶
func (ProtectedFileShareMapOutput) ElementType ¶
func (ProtectedFileShareMapOutput) ElementType() reflect.Type
func (ProtectedFileShareMapOutput) MapIndex ¶
func (o ProtectedFileShareMapOutput) MapIndex(k pulumi.StringInput) ProtectedFileShareOutput
func (ProtectedFileShareMapOutput) ToProtectedFileShareMapOutput ¶
func (o ProtectedFileShareMapOutput) ToProtectedFileShareMapOutput() ProtectedFileShareMapOutput
func (ProtectedFileShareMapOutput) ToProtectedFileShareMapOutputWithContext ¶
func (o ProtectedFileShareMapOutput) ToProtectedFileShareMapOutputWithContext(ctx context.Context) ProtectedFileShareMapOutput
type ProtectedFileShareOutput ¶
func (ProtectedFileShareOutput) BackupPolicyId ¶ added in v5.5.0
func (o ProtectedFileShareOutput) 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 (ProtectedFileShareOutput) ElementType ¶
func (ProtectedFileShareOutput) ElementType() reflect.Type
func (ProtectedFileShareOutput) RecoveryVaultName ¶ added in v5.5.0
func (o ProtectedFileShareOutput) RecoveryVaultName() pulumi.StringOutput
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (ProtectedFileShareOutput) ResourceGroupName ¶ added in v5.5.0
func (o ProtectedFileShareOutput) 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 (ProtectedFileShareOutput) SourceFileShareName ¶ added in v5.5.0
func (o ProtectedFileShareOutput) SourceFileShareName() pulumi.StringOutput
Specifies the name of the file share to backup. Changing this forces a new resource to be created.
func (ProtectedFileShareOutput) SourceStorageAccountId ¶ added in v5.5.0
func (o ProtectedFileShareOutput) 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.
> **NOTE** The storage account must already be registered with the recovery vault in order to backup shares within the account. You can use the `backup.ContainerStorageAccount` resource or the [Register-AzRecoveryServicesBackupContainer PowerShell cmdlet](https://docs.microsoft.com/powershell/module/az.recoveryservices/register-azrecoveryservicesbackupcontainer?view=azps-3.2.0) to register a storage account with a vault. When using the `backup.ContainerStorageAccount` resource to register, you can use `dependsOn` to explicitly declare the dependency. It will make sure that the registration is completed before creating the `backup.ProtectedFileShare` resource.
func (ProtectedFileShareOutput) ToProtectedFileShareOutput ¶
func (o ProtectedFileShareOutput) ToProtectedFileShareOutput() ProtectedFileShareOutput
func (ProtectedFileShareOutput) ToProtectedFileShareOutputWithContext ¶
func (o ProtectedFileShareOutput) ToProtectedFileShareOutputWithContext(ctx context.Context) ProtectedFileShareOutput
type ProtectedFileShareState ¶
type ProtectedFileShareState struct { pulumi.StringPtrInput RecoveryVaultName pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput SourceFileShareName pulumi.StringPtrInput // // > **NOTE** The storage account must already be registered with the recovery vault in order to backup shares within the account. You can use the `backup.ContainerStorageAccount` resource or the [Register-AzRecoveryServicesBackupContainer PowerShell cmdlet](https://docs.microsoft.com/powershell/module/az.recoveryservices/register-azrecoveryservicesbackupcontainer?view=azps-3.2.0) to register a storage account with a vault. When using the `backup.ContainerStorageAccount` resource to register, you can use `dependsOn` to explicitly declare the dependency. It will make sure that the registration is completed before creating the `backup.ProtectedFileShare` resource. 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. Required in creation or when `protectionStopped` is not specified. BackupPolicyId pulumi.StringPtrOutput `pulumi:"backupPolicyId"` // A list of Disks' Logical Unit Numbers(LUN) to be excluded for VM Protection. ExcludeDiskLuns pulumi.IntArrayOutput `pulumi:"excludeDiskLuns"` // A list of Disks' Logical Unit Numbers(LUN) to be included for VM Protection. IncludeDiskLuns pulumi.IntArrayOutput `pulumi:"includeDiskLuns"` // Specifies Protection state of the backup. Possible values are `Invalid`, `IRPending`, `Protected`, `ProtectionStopped`, `ProtectionError` and `ProtectionPaused`. ProtectionState pulumi.StringOutput `pulumi:"protectionState"` // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Specifies the name of the Resource Group **associated with** the Recovery Services Vault to use. 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. // // > **NOTE:** After creation, the `sourceVmId` property can be removed without forcing a new resource to be created; however, setting it to a different ID will create a new resource. // This allows the source vm to be deleted without having to remove the backup. SourceVmId pulumi.StringOutput `pulumi:"sourceVmId"` }
Manages Azure Backup for an Azure VM
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/backup" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/compute" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/recoveryservices" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("tfex-recovery_vault"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVault, err := recoveryservices.NewVault(ctx, "example", &recoveryservices.VaultArgs{ Name: pulumi.String("tfex-recovery-vault"), Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } examplePolicyVM, err := backup.NewPolicyVM(ctx, "example", &backup.PolicyVMArgs{ Name: pulumi.String("tfex-recovery-vault-policy"), ResourceGroupName: exampleResourceGroup.Name, RecoveryVaultName: exampleVault.Name, Backup: &backup.PolicyVMBackupArgs{ Frequency: pulumi.String("Daily"), Time: pulumi.String("23:00"), }, RetentionDaily: &backup.PolicyVMRetentionDailyArgs{ Count: pulumi.Int(10), }, }) if err != nil { return err } example := compute.LookupVirtualMachineOutput(ctx, compute.GetVirtualMachineOutputArgs{ Name: pulumi.String("example-vm"), ResourceGroupName: exampleResourceGroup.Name, }, nil) _, err = backup.NewProtectedVM(ctx, "vm1", &backup.ProtectedVMArgs{ ResourceGroupName: exampleResourceGroup.Name, RecoveryVaultName: exampleVault.Name, SourceVmId: pulumi.String(example.ApplyT(func(example compute.GetVirtualMachineResult) (*string, error) { return &example.Id, nil }).(pulumi.StringPtrOutput)), BackupPolicyId: examplePolicyVM.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Recovery Services Protected VMs can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:backup/protectedVM:ProtectedVM item1 "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/example-recovery-vault/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;group1;vm1/protectedItems/vm;iaasvmcontainerv2;group1;vm1" ```
Note the ID requires quoting as there are semicolons
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.
func (*ProtectedVM) ElementType ¶
func (*ProtectedVM) ElementType() reflect.Type
func (*ProtectedVM) ToProtectedVMOutput ¶
func (i *ProtectedVM) ToProtectedVMOutput() ProtectedVMOutput
func (*ProtectedVM) ToProtectedVMOutputWithContext ¶
func (i *ProtectedVM) ToProtectedVMOutputWithContext(ctx context.Context) ProtectedVMOutput
type ProtectedVMArgs ¶
type ProtectedVMArgs struct { // Specifies the id of the backup policy to use. Required in creation or when `protectionStopped` is not specified. BackupPolicyId pulumi.StringPtrInput // A list of Disks' Logical Unit Numbers(LUN) to be excluded for VM Protection. ExcludeDiskLuns pulumi.IntArrayInput // A list of Disks' Logical Unit Numbers(LUN) to be included for VM Protection. IncludeDiskLuns pulumi.IntArrayInput // Specifies Protection state of the backup. Possible values are `Invalid`, `IRPending`, `Protected`, `ProtectionStopped`, `ProtectionError` and `ProtectionPaused`. ProtectionState pulumi.StringPtrInput // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringInput // Specifies the name of the Resource Group **associated with** the Recovery Services Vault to use. 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. // // > **NOTE:** After creation, the `sourceVmId` property can be removed without forcing a new resource to be created; however, setting it to a different ID will create a new resource. // This allows the source vm to be deleted without having to remove the backup. SourceVmId pulumi.StringPtrInput }
The set of arguments for constructing a ProtectedVM resource.
func (ProtectedVMArgs) ElementType ¶
func (ProtectedVMArgs) ElementType() reflect.Type
type ProtectedVMArray ¶
type ProtectedVMArray []ProtectedVMInput
func (ProtectedVMArray) ElementType ¶
func (ProtectedVMArray) ElementType() reflect.Type
func (ProtectedVMArray) ToProtectedVMArrayOutput ¶
func (i ProtectedVMArray) ToProtectedVMArrayOutput() ProtectedVMArrayOutput
func (ProtectedVMArray) ToProtectedVMArrayOutputWithContext ¶
func (i ProtectedVMArray) ToProtectedVMArrayOutputWithContext(ctx context.Context) ProtectedVMArrayOutput
type ProtectedVMArrayInput ¶
type ProtectedVMArrayInput interface { pulumi.Input ToProtectedVMArrayOutput() ProtectedVMArrayOutput ToProtectedVMArrayOutputWithContext(context.Context) ProtectedVMArrayOutput }
ProtectedVMArrayInput is an input type that accepts ProtectedVMArray and ProtectedVMArrayOutput values. You can construct a concrete instance of `ProtectedVMArrayInput` via:
ProtectedVMArray{ ProtectedVMArgs{...} }
type ProtectedVMArrayOutput ¶
type ProtectedVMArrayOutput struct{ *pulumi.OutputState }
func (ProtectedVMArrayOutput) ElementType ¶
func (ProtectedVMArrayOutput) ElementType() reflect.Type
func (ProtectedVMArrayOutput) Index ¶
func (o ProtectedVMArrayOutput) Index(i pulumi.IntInput) ProtectedVMOutput
func (ProtectedVMArrayOutput) ToProtectedVMArrayOutput ¶
func (o ProtectedVMArrayOutput) ToProtectedVMArrayOutput() ProtectedVMArrayOutput
func (ProtectedVMArrayOutput) ToProtectedVMArrayOutputWithContext ¶
func (o ProtectedVMArrayOutput) ToProtectedVMArrayOutputWithContext(ctx context.Context) ProtectedVMArrayOutput
type ProtectedVMInput ¶
type ProtectedVMInput interface { pulumi.Input ToProtectedVMOutput() ProtectedVMOutput ToProtectedVMOutputWithContext(ctx context.Context) ProtectedVMOutput }
type ProtectedVMMap ¶
type ProtectedVMMap map[string]ProtectedVMInput
func (ProtectedVMMap) ElementType ¶
func (ProtectedVMMap) ElementType() reflect.Type
func (ProtectedVMMap) ToProtectedVMMapOutput ¶
func (i ProtectedVMMap) ToProtectedVMMapOutput() ProtectedVMMapOutput
func (ProtectedVMMap) ToProtectedVMMapOutputWithContext ¶
func (i ProtectedVMMap) ToProtectedVMMapOutputWithContext(ctx context.Context) ProtectedVMMapOutput
type ProtectedVMMapInput ¶
type ProtectedVMMapInput interface { pulumi.Input ToProtectedVMMapOutput() ProtectedVMMapOutput ToProtectedVMMapOutputWithContext(context.Context) ProtectedVMMapOutput }
ProtectedVMMapInput is an input type that accepts ProtectedVMMap and ProtectedVMMapOutput values. You can construct a concrete instance of `ProtectedVMMapInput` via:
ProtectedVMMap{ "key": ProtectedVMArgs{...} }
type ProtectedVMMapOutput ¶
type ProtectedVMMapOutput struct{ *pulumi.OutputState }
func (ProtectedVMMapOutput) ElementType ¶
func (ProtectedVMMapOutput) ElementType() reflect.Type
func (ProtectedVMMapOutput) MapIndex ¶
func (o ProtectedVMMapOutput) MapIndex(k pulumi.StringInput) ProtectedVMOutput
func (ProtectedVMMapOutput) ToProtectedVMMapOutput ¶
func (o ProtectedVMMapOutput) ToProtectedVMMapOutput() ProtectedVMMapOutput
func (ProtectedVMMapOutput) ToProtectedVMMapOutputWithContext ¶
func (o ProtectedVMMapOutput) ToProtectedVMMapOutputWithContext(ctx context.Context) ProtectedVMMapOutput
type ProtectedVMOutput ¶
type ProtectedVMOutput struct{ *pulumi.OutputState }
func (ProtectedVMOutput) BackupPolicyId ¶ added in v5.5.0
func (o ProtectedVMOutput) BackupPolicyId() pulumi.StringPtrOutput
Specifies the id of the backup policy to use. Required in creation or when `protectionStopped` is not specified.
func (ProtectedVMOutput) ElementType ¶
func (ProtectedVMOutput) ElementType() reflect.Type
func (ProtectedVMOutput) ExcludeDiskLuns ¶ added in v5.5.0
func (o ProtectedVMOutput) ExcludeDiskLuns() pulumi.IntArrayOutput
A list of Disks' Logical Unit Numbers(LUN) to be excluded for VM Protection.
func (ProtectedVMOutput) IncludeDiskLuns ¶ added in v5.5.0
func (o ProtectedVMOutput) IncludeDiskLuns() pulumi.IntArrayOutput
A list of Disks' Logical Unit Numbers(LUN) to be included for VM Protection.
func (ProtectedVMOutput) ProtectionState ¶ added in v5.44.0
func (o ProtectedVMOutput) ProtectionState() pulumi.StringOutput
Specifies Protection state of the backup. Possible values are `Invalid`, `IRPending`, `Protected`, `ProtectionStopped`, `ProtectionError` and `ProtectionPaused`.
func (ProtectedVMOutput) RecoveryVaultName ¶ added in v5.5.0
func (o ProtectedVMOutput) RecoveryVaultName() pulumi.StringOutput
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (ProtectedVMOutput) ResourceGroupName ¶ added in v5.5.0
func (o ProtectedVMOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group **associated with** the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (ProtectedVMOutput) SourceVmId ¶ added in v5.5.0
func (o ProtectedVMOutput) SourceVmId() pulumi.StringOutput
Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
> **NOTE:** After creation, the `sourceVmId` property can be removed without forcing a new resource to be created; however, setting it to a different ID will create a new resource. This allows the source vm to be deleted without having to remove the backup.
func (ProtectedVMOutput) ToProtectedVMOutput ¶
func (o ProtectedVMOutput) ToProtectedVMOutput() ProtectedVMOutput
func (ProtectedVMOutput) ToProtectedVMOutputWithContext ¶
func (o ProtectedVMOutput) ToProtectedVMOutputWithContext(ctx context.Context) ProtectedVMOutput
type ProtectedVMState ¶
type ProtectedVMState struct { // Specifies the id of the backup policy to use. Required in creation or when `protectionStopped` is not specified. BackupPolicyId pulumi.StringPtrInput // A list of Disks' Logical Unit Numbers(LUN) to be excluded for VM Protection. ExcludeDiskLuns pulumi.IntArrayInput // A list of Disks' Logical Unit Numbers(LUN) to be included for VM Protection. IncludeDiskLuns pulumi.IntArrayInput // Specifies Protection state of the backup. Possible values are `Invalid`, `IRPending`, `Protected`, `ProtectionStopped`, `ProtectionError` and `ProtectionPaused`. ProtectionState pulumi.StringPtrInput // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName pulumi.StringPtrInput // Specifies the name of the Resource Group **associated with** the Recovery Services Vault to use. 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. // // > **NOTE:** After creation, the `sourceVmId` property can be removed without forcing a new resource to be created; however, setting it to a different ID will create a new resource. // This allows the source vm to be deleted without having to remove the backup. SourceVmId pulumi.StringPtrInput }
func (ProtectedVMState) ElementType ¶
func (ProtectedVMState) ElementType() reflect.Type