1. Packages
  2. Azure Native v1
  3. API Docs
  4. recoveryservices
  5. ProtectionPolicy
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.recoveryservices.ProtectionPolicy

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Base class for backup policy. Workload-specific backup policies are derived from this class. API Version: 2021-02-01.

    Example Usage

    Create or Update Full Azure Vm Protection Policy

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var protectionPolicy = new AzureNative.RecoveryServices.ProtectionPolicy("protectionPolicy", new()
        {
            PolicyName = "testPolicy1",
            Properties = new AzureNative.RecoveryServices.Inputs.AzureIaaSVMProtectionPolicyArgs
            {
                BackupManagementType = "AzureIaasVM",
                RetentionPolicy = new AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyArgs
                {
                    MonthlySchedule = new AzureNative.RecoveryServices.Inputs.MonthlyRetentionScheduleArgs
                    {
                        RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                        {
                            Count = 2,
                            DurationType = "Months",
                        },
                        RetentionScheduleFormatType = "Weekly",
                        RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
                        {
                            DaysOfTheWeek = new[]
                            {
                                AzureNative.RecoveryServices.DayOfWeek.Wednesday,
                                AzureNative.RecoveryServices.DayOfWeek.Thursday,
                            },
                            WeeksOfTheMonth = new[]
                            {
                                AzureNative.RecoveryServices.WeekOfMonth.First,
                                AzureNative.RecoveryServices.WeekOfMonth.Third,
                            },
                        },
                        RetentionTimes = new[]
                        {
                            "2018-01-24T10:00:00Z",
                        },
                    },
                    RetentionPolicyType = "LongTermRetentionPolicy",
                    WeeklySchedule = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionScheduleArgs
                    {
                        DaysOfTheWeek = new[]
                        {
                            AzureNative.RecoveryServices.DayOfWeek.Monday,
                            AzureNative.RecoveryServices.DayOfWeek.Wednesday,
                            AzureNative.RecoveryServices.DayOfWeek.Thursday,
                        },
                        RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                        {
                            Count = 1,
                            DurationType = "Weeks",
                        },
                        RetentionTimes = new[]
                        {
                            "2018-01-24T10:00:00Z",
                        },
                    },
                    YearlySchedule = new AzureNative.RecoveryServices.Inputs.YearlyRetentionScheduleArgs
                    {
                        MonthsOfYear = new[]
                        {
                            AzureNative.RecoveryServices.MonthOfYear.February,
                            AzureNative.RecoveryServices.MonthOfYear.November,
                        },
                        RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                        {
                            Count = 4,
                            DurationType = "Years",
                        },
                        RetentionScheduleFormatType = "Weekly",
                        RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
                        {
                            DaysOfTheWeek = new[]
                            {
                                AzureNative.RecoveryServices.DayOfWeek.Monday,
                                AzureNative.RecoveryServices.DayOfWeek.Thursday,
                            },
                            WeeksOfTheMonth = new[]
                            {
                                AzureNative.RecoveryServices.WeekOfMonth.Fourth,
                            },
                        },
                        RetentionTimes = new[]
                        {
                            "2018-01-24T10:00:00Z",
                        },
                    },
                },
                SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
                {
                    SchedulePolicyType = "SimpleSchedulePolicy",
                    ScheduleRunDays = new[]
                    {
                        AzureNative.RecoveryServices.DayOfWeek.Monday,
                        AzureNative.RecoveryServices.DayOfWeek.Wednesday,
                        AzureNative.RecoveryServices.DayOfWeek.Thursday,
                    },
                    ScheduleRunFrequency = "Weekly",
                    ScheduleRunTimes = new[]
                    {
                        "2018-01-24T10:00:00Z",
                    },
                },
                TimeZone = "Pacific Standard Time",
            },
            ResourceGroupName = "SwaggerTestRg",
            VaultName = "NetSDKTestRsVault",
        });
    
    });
    
    package main
    
    import (
    	recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicy", &recoveryservices.ProtectionPolicyArgs{
    			PolicyName: pulumi.String("testPolicy1"),
    			Properties: recoveryservices.AzureIaaSVMProtectionPolicy{
    				BackupManagementType: "AzureIaasVM",
    				RetentionPolicy: recoveryservices.LongTermRetentionPolicy{
    					MonthlySchedule: recoveryservices.MonthlyRetentionSchedule{
    						RetentionDuration: recoveryservices.RetentionDuration{
    							Count:        2,
    							DurationType: "Months",
    						},
    						RetentionScheduleFormatType: "Weekly",
    						RetentionScheduleWeekly: recoveryservices.WeeklyRetentionFormat{
    							DaysOfTheWeek: []recoveryservices.DayOfWeek{
    								recoveryservices.DayOfWeekWednesday,
    								recoveryservices.DayOfWeekThursday,
    							},
    							WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
    								recoveryservices.WeekOfMonthFirst,
    								recoveryservices.WeekOfMonthThird,
    							},
    						},
    						RetentionTimes: []string{
    							"2018-01-24T10:00:00Z",
    						},
    					},
    					RetentionPolicyType: "LongTermRetentionPolicy",
    					WeeklySchedule: recoveryservices.WeeklyRetentionSchedule{
    						DaysOfTheWeek: []recoveryservices.DayOfWeek{
    							recoveryservices.DayOfWeekMonday,
    							recoveryservices.DayOfWeekWednesday,
    							recoveryservices.DayOfWeekThursday,
    						},
    						RetentionDuration: recoveryservices.RetentionDuration{
    							Count:        1,
    							DurationType: "Weeks",
    						},
    						RetentionTimes: []string{
    							"2018-01-24T10:00:00Z",
    						},
    					},
    					YearlySchedule: recoveryservices.YearlyRetentionSchedule{
    						MonthsOfYear: []recoveryservices.MonthOfYear{
    							recoveryservices.MonthOfYearFebruary,
    							recoveryservices.MonthOfYearNovember,
    						},
    						RetentionDuration: recoveryservices.RetentionDuration{
    							Count:        4,
    							DurationType: "Years",
    						},
    						RetentionScheduleFormatType: "Weekly",
    						RetentionScheduleWeekly: recoveryservices.WeeklyRetentionFormat{
    							DaysOfTheWeek: []recoveryservices.DayOfWeek{
    								recoveryservices.DayOfWeekMonday,
    								recoveryservices.DayOfWeekThursday,
    							},
    							WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
    								recoveryservices.WeekOfMonthFourth,
    							},
    						},
    						RetentionTimes: []string{
    							"2018-01-24T10:00:00Z",
    						},
    					},
    				},
    				SchedulePolicy: recoveryservices.SimpleSchedulePolicy{
    					SchedulePolicyType: "SimpleSchedulePolicy",
    					ScheduleRunDays: []recoveryservices.DayOfWeek{
    						recoveryservices.DayOfWeekMonday,
    						recoveryservices.DayOfWeekWednesday,
    						recoveryservices.DayOfWeekThursday,
    					},
    					ScheduleRunFrequency: "Weekly",
    					ScheduleRunTimes: []string{
    						"2018-01-24T10:00:00Z",
    					},
    				},
    				TimeZone: "Pacific Standard Time",
    			},
    			ResourceGroupName: pulumi.String("SwaggerTestRg"),
    			VaultName:         pulumi.String("NetSDKTestRsVault"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.recoveryservices.ProtectionPolicy;
    import com.pulumi.azurenative.recoveryservices.ProtectionPolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var protectionPolicy = new ProtectionPolicy("protectionPolicy", ProtectionPolicyArgs.builder()        
                .policyName("testPolicy1")
                .properties(Map.ofEntries(
                    Map.entry("backupManagementType", "AzureIaasVM"),
                    Map.entry("retentionPolicy", Map.ofEntries(
                        Map.entry("monthlySchedule", Map.ofEntries(
                            Map.entry("retentionDuration", Map.ofEntries(
                                Map.entry("count", 2),
                                Map.entry("durationType", "Months")
                            )),
                            Map.entry("retentionScheduleFormatType", "Weekly"),
                            Map.entry("retentionScheduleWeekly", Map.ofEntries(
                                Map.entry("daysOfTheWeek",                             
                                    "Wednesday",
                                    "Thursday"),
                                Map.entry("weeksOfTheMonth",                             
                                    "First",
                                    "Third")
                            )),
                            Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
                        )),
                        Map.entry("retentionPolicyType", "LongTermRetentionPolicy"),
                        Map.entry("weeklySchedule", Map.ofEntries(
                            Map.entry("daysOfTheWeek",                         
                                "Monday",
                                "Wednesday",
                                "Thursday"),
                            Map.entry("retentionDuration", Map.ofEntries(
                                Map.entry("count", 1),
                                Map.entry("durationType", "Weeks")
                            )),
                            Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
                        )),
                        Map.entry("yearlySchedule", Map.ofEntries(
                            Map.entry("monthsOfYear",                         
                                "February",
                                "November"),
                            Map.entry("retentionDuration", Map.ofEntries(
                                Map.entry("count", 4),
                                Map.entry("durationType", "Years")
                            )),
                            Map.entry("retentionScheduleFormatType", "Weekly"),
                            Map.entry("retentionScheduleWeekly", Map.ofEntries(
                                Map.entry("daysOfTheWeek",                             
                                    "Monday",
                                    "Thursday"),
                                Map.entry("weeksOfTheMonth", "Fourth")
                            )),
                            Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
                        ))
                    )),
                    Map.entry("schedulePolicy", Map.ofEntries(
                        Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
                        Map.entry("scheduleRunDays",                     
                            "Monday",
                            "Wednesday",
                            "Thursday"),
                        Map.entry("scheduleRunFrequency", "Weekly"),
                        Map.entry("scheduleRunTimes", "2018-01-24T10:00:00Z")
                    )),
                    Map.entry("timeZone", "Pacific Standard Time")
                ))
                .resourceGroupName("SwaggerTestRg")
                .vaultName("NetSDKTestRsVault")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    protection_policy = azure_native.recoveryservices.ProtectionPolicy("protectionPolicy",
        policy_name="testPolicy1",
        properties=azure_native.recoveryservices.AzureIaaSVMProtectionPolicyArgs(
            backup_management_type="AzureIaasVM",
            retention_policy=azure_native.recoveryservices.LongTermRetentionPolicyArgs(
                monthly_schedule=azure_native.recoveryservices.MonthlyRetentionScheduleArgs(
                    retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                        count=2,
                        duration_type="Months",
                    ),
                    retention_schedule_format_type="Weekly",
                    retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
                        days_of_the_week=[
                            azure_native.recoveryservices.DayOfWeek.WEDNESDAY,
                            azure_native.recoveryservices.DayOfWeek.THURSDAY,
                        ],
                        weeks_of_the_month=[
                            azure_native.recoveryservices.WeekOfMonth.FIRST,
                            azure_native.recoveryservices.WeekOfMonth.THIRD,
                        ],
                    ),
                    retention_times=["2018-01-24T10:00:00Z"],
                ),
                retention_policy_type="LongTermRetentionPolicy",
                weekly_schedule=azure_native.recoveryservices.WeeklyRetentionScheduleArgs(
                    days_of_the_week=[
                        azure_native.recoveryservices.DayOfWeek.MONDAY,
                        azure_native.recoveryservices.DayOfWeek.WEDNESDAY,
                        azure_native.recoveryservices.DayOfWeek.THURSDAY,
                    ],
                    retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                        count=1,
                        duration_type="Weeks",
                    ),
                    retention_times=["2018-01-24T10:00:00Z"],
                ),
                yearly_schedule=azure_native.recoveryservices.YearlyRetentionScheduleArgs(
                    months_of_year=[
                        azure_native.recoveryservices.MonthOfYear.FEBRUARY,
                        azure_native.recoveryservices.MonthOfYear.NOVEMBER,
                    ],
                    retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                        count=4,
                        duration_type="Years",
                    ),
                    retention_schedule_format_type="Weekly",
                    retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
                        days_of_the_week=[
                            azure_native.recoveryservices.DayOfWeek.MONDAY,
                            azure_native.recoveryservices.DayOfWeek.THURSDAY,
                        ],
                        weeks_of_the_month=[azure_native.recoveryservices.WeekOfMonth.FOURTH],
                    ),
                    retention_times=["2018-01-24T10:00:00Z"],
                ),
            ),
            schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
                schedule_policy_type="SimpleSchedulePolicy",
                schedule_run_days=[
                    azure_native.recoveryservices.DayOfWeek.MONDAY,
                    azure_native.recoveryservices.DayOfWeek.WEDNESDAY,
                    azure_native.recoveryservices.DayOfWeek.THURSDAY,
                ],
                schedule_run_frequency="Weekly",
                schedule_run_times=["2018-01-24T10:00:00Z"],
            ),
            time_zone="Pacific Standard Time",
        ),
        resource_group_name="SwaggerTestRg",
        vault_name="NetSDKTestRsVault")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const protectionPolicy = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicy", {
        policyName: "testPolicy1",
        properties: {
            backupManagementType: "AzureIaasVM",
            retentionPolicy: {
                monthlySchedule: {
                    retentionDuration: {
                        count: 2,
                        durationType: "Months",
                    },
                    retentionScheduleFormatType: "Weekly",
                    retentionScheduleWeekly: {
                        daysOfTheWeek: [
                            azure_native.recoveryservices.DayOfWeek.Wednesday,
                            azure_native.recoveryservices.DayOfWeek.Thursday,
                        ],
                        weeksOfTheMonth: [
                            azure_native.recoveryservices.WeekOfMonth.First,
                            azure_native.recoveryservices.WeekOfMonth.Third,
                        ],
                    },
                    retentionTimes: ["2018-01-24T10:00:00Z"],
                },
                retentionPolicyType: "LongTermRetentionPolicy",
                weeklySchedule: {
                    daysOfTheWeek: [
                        azure_native.recoveryservices.DayOfWeek.Monday,
                        azure_native.recoveryservices.DayOfWeek.Wednesday,
                        azure_native.recoveryservices.DayOfWeek.Thursday,
                    ],
                    retentionDuration: {
                        count: 1,
                        durationType: "Weeks",
                    },
                    retentionTimes: ["2018-01-24T10:00:00Z"],
                },
                yearlySchedule: {
                    monthsOfYear: [
                        azure_native.recoveryservices.MonthOfYear.February,
                        azure_native.recoveryservices.MonthOfYear.November,
                    ],
                    retentionDuration: {
                        count: 4,
                        durationType: "Years",
                    },
                    retentionScheduleFormatType: "Weekly",
                    retentionScheduleWeekly: {
                        daysOfTheWeek: [
                            azure_native.recoveryservices.DayOfWeek.Monday,
                            azure_native.recoveryservices.DayOfWeek.Thursday,
                        ],
                        weeksOfTheMonth: [azure_native.recoveryservices.WeekOfMonth.Fourth],
                    },
                    retentionTimes: ["2018-01-24T10:00:00Z"],
                },
            },
            schedulePolicy: {
                schedulePolicyType: "SimpleSchedulePolicy",
                scheduleRunDays: [
                    azure_native.recoveryservices.DayOfWeek.Monday,
                    azure_native.recoveryservices.DayOfWeek.Wednesday,
                    azure_native.recoveryservices.DayOfWeek.Thursday,
                ],
                scheduleRunFrequency: "Weekly",
                scheduleRunTimes: ["2018-01-24T10:00:00Z"],
            },
            timeZone: "Pacific Standard Time",
        },
        resourceGroupName: "SwaggerTestRg",
        vaultName: "NetSDKTestRsVault",
    });
    
    resources:
      protectionPolicy:
        type: azure-native:recoveryservices:ProtectionPolicy
        properties:
          policyName: testPolicy1
          properties:
            backupManagementType: AzureIaasVM
            retentionPolicy:
              monthlySchedule:
                retentionDuration:
                  count: 2
                  durationType: Months
                retentionScheduleFormatType: Weekly
                retentionScheduleWeekly:
                  daysOfTheWeek:
                    - Wednesday
                    - Thursday
                  weeksOfTheMonth:
                    - First
                    - Third
                retentionTimes:
                  - 2018-01-24T10:00:00Z
              retentionPolicyType: LongTermRetentionPolicy
              weeklySchedule:
                daysOfTheWeek:
                  - Monday
                  - Wednesday
                  - Thursday
                retentionDuration:
                  count: 1
                  durationType: Weeks
                retentionTimes:
                  - 2018-01-24T10:00:00Z
              yearlySchedule:
                monthsOfYear:
                  - February
                  - November
                retentionDuration:
                  count: 4
                  durationType: Years
                retentionScheduleFormatType: Weekly
                retentionScheduleWeekly:
                  daysOfTheWeek:
                    - Monday
                    - Thursday
                  weeksOfTheMonth:
                    - Fourth
                retentionTimes:
                  - 2018-01-24T10:00:00Z
            schedulePolicy:
              schedulePolicyType: SimpleSchedulePolicy
              scheduleRunDays:
                - Monday
                - Wednesday
                - Thursday
              scheduleRunFrequency: Weekly
              scheduleRunTimes:
                - 2018-01-24T10:00:00Z
            timeZone: Pacific Standard Time
          resourceGroupName: SwaggerTestRg
          vaultName: NetSDKTestRsVault
    

    Create or Update Full Azure Workload Protection Policy

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var protectionPolicy = new AzureNative.RecoveryServices.ProtectionPolicy("protectionPolicy", new()
        {
            PolicyName = "testPolicy1",
            Properties = new AzureNative.RecoveryServices.Inputs.AzureVmWorkloadProtectionPolicyArgs
            {
                BackupManagementType = "AzureWorkload",
                Settings = new AzureNative.RecoveryServices.Inputs.SettingsArgs
                {
                    Issqlcompression = false,
                    TimeZone = "Pacific Standard Time",
                },
                SubProtectionPolicy = new[]
                {
                    new AzureNative.RecoveryServices.Inputs.SubProtectionPolicyArgs
                    {
                        PolicyType = "Full",
                        RetentionPolicy = new AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyArgs
                        {
                            MonthlySchedule = new AzureNative.RecoveryServices.Inputs.MonthlyRetentionScheduleArgs
                            {
                                RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                                {
                                    Count = 1,
                                    DurationType = "Months",
                                },
                                RetentionScheduleFormatType = "Weekly",
                                RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.RecoveryServices.DayOfWeek.Sunday,
                                    },
                                    WeeksOfTheMonth = new[]
                                    {
                                        AzureNative.RecoveryServices.WeekOfMonth.Second,
                                    },
                                },
                                RetentionTimes = new[]
                                {
                                    "2018-01-24T10:00:00Z",
                                },
                            },
                            RetentionPolicyType = "LongTermRetentionPolicy",
                            WeeklySchedule = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionScheduleArgs
                            {
                                DaysOfTheWeek = new[]
                                {
                                    AzureNative.RecoveryServices.DayOfWeek.Sunday,
                                    AzureNative.RecoveryServices.DayOfWeek.Tuesday,
                                },
                                RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                                {
                                    Count = 2,
                                    DurationType = "Weeks",
                                },
                                RetentionTimes = new[]
                                {
                                    "2018-01-24T10:00:00Z",
                                },
                            },
                            YearlySchedule = new AzureNative.RecoveryServices.Inputs.YearlyRetentionScheduleArgs
                            {
                                MonthsOfYear = new[]
                                {
                                    AzureNative.RecoveryServices.MonthOfYear.January,
                                    AzureNative.RecoveryServices.MonthOfYear.June,
                                    AzureNative.RecoveryServices.MonthOfYear.December,
                                },
                                RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                                {
                                    Count = 1,
                                    DurationType = "Years",
                                },
                                RetentionScheduleFormatType = "Weekly",
                                RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.RecoveryServices.DayOfWeek.Sunday,
                                    },
                                    WeeksOfTheMonth = new[]
                                    {
                                        AzureNative.RecoveryServices.WeekOfMonth.Last,
                                    },
                                },
                                RetentionTimes = new[]
                                {
                                    "2018-01-24T10:00:00Z",
                                },
                            },
                        },
                        SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
                        {
                            SchedulePolicyType = "SimpleSchedulePolicy",
                            ScheduleRunDays = new[]
                            {
                                AzureNative.RecoveryServices.DayOfWeek.Sunday,
                                AzureNative.RecoveryServices.DayOfWeek.Tuesday,
                            },
                            ScheduleRunFrequency = "Weekly",
                            ScheduleRunTimes = new[]
                            {
                                "2018-01-24T10:00:00Z",
                            },
                        },
                    },
                    new AzureNative.RecoveryServices.Inputs.SubProtectionPolicyArgs
                    {
                        PolicyType = "Differential",
                        RetentionPolicy = new AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyArgs
                        {
                            RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                            {
                                Count = 8,
                                DurationType = "Days",
                            },
                            RetentionPolicyType = "SimpleRetentionPolicy",
                        },
                        SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
                        {
                            SchedulePolicyType = "SimpleSchedulePolicy",
                            ScheduleRunDays = new[]
                            {
                                AzureNative.RecoveryServices.DayOfWeek.Friday,
                            },
                            ScheduleRunFrequency = "Weekly",
                            ScheduleRunTimes = new[]
                            {
                                "2018-01-24T10:00:00Z",
                            },
                        },
                    },
                    new AzureNative.RecoveryServices.Inputs.SubProtectionPolicyArgs
                    {
                        PolicyType = "Log",
                        RetentionPolicy = new AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyArgs
                        {
                            RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                            {
                                Count = 7,
                                DurationType = "Days",
                            },
                            RetentionPolicyType = "SimpleRetentionPolicy",
                        },
                        SchedulePolicy = new AzureNative.RecoveryServices.Inputs.LogSchedulePolicyArgs
                        {
                            ScheduleFrequencyInMins = 60,
                            SchedulePolicyType = "LogSchedulePolicy",
                        },
                    },
                },
                WorkLoadType = "SQLDataBase",
            },
            ResourceGroupName = "SwaggerTestRg",
            VaultName = "NetSDKTestRsVault",
        });
    
    });
    
    package main
    
    import (
    	recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicy", &recoveryservices.ProtectionPolicyArgs{
    			PolicyName: pulumi.String("testPolicy1"),
    			Properties: recoveryservices.AzureVmWorkloadProtectionPolicy{
    				BackupManagementType: "AzureWorkload",
    				Settings: recoveryservices.Settings{
    					Issqlcompression: false,
    					TimeZone:         "Pacific Standard Time",
    				},
    				SubProtectionPolicy: []recoveryservices.SubProtectionPolicy{
    					{
    						PolicyType: "Full",
    						RetentionPolicy: {
    							MonthlySchedule: {
    								RetentionDuration: {
    									Count:        1,
    									DurationType: "Months",
    								},
    								RetentionScheduleFormatType: "Weekly",
    								RetentionScheduleWeekly: {
    									DaysOfTheWeek: []recoveryservices.DayOfWeek{
    										recoveryservices.DayOfWeekSunday,
    									},
    									WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
    										recoveryservices.WeekOfMonthSecond,
    									},
    								},
    								RetentionTimes: []string{
    									"2018-01-24T10:00:00Z",
    								},
    							},
    							RetentionPolicyType: "LongTermRetentionPolicy",
    							WeeklySchedule: {
    								DaysOfTheWeek: []recoveryservices.DayOfWeek{
    									recoveryservices.DayOfWeekSunday,
    									recoveryservices.DayOfWeekTuesday,
    								},
    								RetentionDuration: {
    									Count:        2,
    									DurationType: "Weeks",
    								},
    								RetentionTimes: []string{
    									"2018-01-24T10:00:00Z",
    								},
    							},
    							YearlySchedule: {
    								MonthsOfYear: []recoveryservices.MonthOfYear{
    									recoveryservices.MonthOfYearJanuary,
    									recoveryservices.MonthOfYearJune,
    									recoveryservices.MonthOfYearDecember,
    								},
    								RetentionDuration: {
    									Count:        1,
    									DurationType: "Years",
    								},
    								RetentionScheduleFormatType: "Weekly",
    								RetentionScheduleWeekly: {
    									DaysOfTheWeek: []recoveryservices.DayOfWeek{
    										recoveryservices.DayOfWeekSunday,
    									},
    									WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
    										recoveryservices.WeekOfMonthLast,
    									},
    								},
    								RetentionTimes: []string{
    									"2018-01-24T10:00:00Z",
    								},
    							},
    						},
    						SchedulePolicy: {
    							SchedulePolicyType: "SimpleSchedulePolicy",
    							ScheduleRunDays: []recoveryservices.DayOfWeek{
    								recoveryservices.DayOfWeekSunday,
    								recoveryservices.DayOfWeekTuesday,
    							},
    							ScheduleRunFrequency: "Weekly",
    							ScheduleRunTimes: []string{
    								"2018-01-24T10:00:00Z",
    							},
    						},
    					},
    					{
    						PolicyType: "Differential",
    						RetentionPolicy: {
    							RetentionDuration: {
    								Count:        8,
    								DurationType: "Days",
    							},
    							RetentionPolicyType: "SimpleRetentionPolicy",
    						},
    						SchedulePolicy: {
    							SchedulePolicyType: "SimpleSchedulePolicy",
    							ScheduleRunDays: []recoveryservices.DayOfWeek{
    								recoveryservices.DayOfWeekFriday,
    							},
    							ScheduleRunFrequency: "Weekly",
    							ScheduleRunTimes: []string{
    								"2018-01-24T10:00:00Z",
    							},
    						},
    					},
    					{
    						PolicyType: "Log",
    						RetentionPolicy: {
    							RetentionDuration: {
    								Count:        7,
    								DurationType: "Days",
    							},
    							RetentionPolicyType: "SimpleRetentionPolicy",
    						},
    						SchedulePolicy: {
    							ScheduleFrequencyInMins: 60,
    							SchedulePolicyType:      "LogSchedulePolicy",
    						},
    					},
    				},
    				WorkLoadType: "SQLDataBase",
    			},
    			ResourceGroupName: pulumi.String("SwaggerTestRg"),
    			VaultName:         pulumi.String("NetSDKTestRsVault"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.recoveryservices.ProtectionPolicy;
    import com.pulumi.azurenative.recoveryservices.ProtectionPolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var protectionPolicy = new ProtectionPolicy("protectionPolicy", ProtectionPolicyArgs.builder()        
                .policyName("testPolicy1")
                .properties(Map.ofEntries(
                    Map.entry("backupManagementType", "AzureWorkload"),
                    Map.entry("settings", Map.ofEntries(
                        Map.entry("issqlcompression", false),
                        Map.entry("timeZone", "Pacific Standard Time")
                    )),
                    Map.entry("subProtectionPolicy",                 
                        Map.ofEntries(
                            Map.entry("policyType", "Full"),
                            Map.entry("retentionPolicy", Map.ofEntries(
                                Map.entry("monthlySchedule", Map.ofEntries(
                                    Map.entry("retentionDuration", Map.ofEntries(
                                        Map.entry("count", 1),
                                        Map.entry("durationType", "Months")
                                    )),
                                    Map.entry("retentionScheduleFormatType", "Weekly"),
                                    Map.entry("retentionScheduleWeekly", Map.ofEntries(
                                        Map.entry("daysOfTheWeek", "Sunday"),
                                        Map.entry("weeksOfTheMonth", "Second")
                                    )),
                                    Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
                                )),
                                Map.entry("retentionPolicyType", "LongTermRetentionPolicy"),
                                Map.entry("weeklySchedule", Map.ofEntries(
                                    Map.entry("daysOfTheWeek",                                 
                                        "Sunday",
                                        "Tuesday"),
                                    Map.entry("retentionDuration", Map.ofEntries(
                                        Map.entry("count", 2),
                                        Map.entry("durationType", "Weeks")
                                    )),
                                    Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
                                )),
                                Map.entry("yearlySchedule", Map.ofEntries(
                                    Map.entry("monthsOfYear",                                 
                                        "January",
                                        "June",
                                        "December"),
                                    Map.entry("retentionDuration", Map.ofEntries(
                                        Map.entry("count", 1),
                                        Map.entry("durationType", "Years")
                                    )),
                                    Map.entry("retentionScheduleFormatType", "Weekly"),
                                    Map.entry("retentionScheduleWeekly", Map.ofEntries(
                                        Map.entry("daysOfTheWeek", "Sunday"),
                                        Map.entry("weeksOfTheMonth", "Last")
                                    )),
                                    Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
                                ))
                            )),
                            Map.entry("schedulePolicy", Map.ofEntries(
                                Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
                                Map.entry("scheduleRunDays",                             
                                    "Sunday",
                                    "Tuesday"),
                                Map.entry("scheduleRunFrequency", "Weekly"),
                                Map.entry("scheduleRunTimes", "2018-01-24T10:00:00Z")
                            ))
                        ),
                        Map.ofEntries(
                            Map.entry("policyType", "Differential"),
                            Map.entry("retentionPolicy", Map.ofEntries(
                                Map.entry("retentionDuration", Map.ofEntries(
                                    Map.entry("count", 8),
                                    Map.entry("durationType", "Days")
                                )),
                                Map.entry("retentionPolicyType", "SimpleRetentionPolicy")
                            )),
                            Map.entry("schedulePolicy", Map.ofEntries(
                                Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
                                Map.entry("scheduleRunDays", "Friday"),
                                Map.entry("scheduleRunFrequency", "Weekly"),
                                Map.entry("scheduleRunTimes", "2018-01-24T10:00:00Z")
                            ))
                        ),
                        Map.ofEntries(
                            Map.entry("policyType", "Log"),
                            Map.entry("retentionPolicy", Map.ofEntries(
                                Map.entry("retentionDuration", Map.ofEntries(
                                    Map.entry("count", 7),
                                    Map.entry("durationType", "Days")
                                )),
                                Map.entry("retentionPolicyType", "SimpleRetentionPolicy")
                            )),
                            Map.entry("schedulePolicy", Map.ofEntries(
                                Map.entry("scheduleFrequencyInMins", 60),
                                Map.entry("schedulePolicyType", "LogSchedulePolicy")
                            ))
                        )),
                    Map.entry("workLoadType", "SQLDataBase")
                ))
                .resourceGroupName("SwaggerTestRg")
                .vaultName("NetSDKTestRsVault")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    protection_policy = azure_native.recoveryservices.ProtectionPolicy("protectionPolicy",
        policy_name="testPolicy1",
        properties=azure_native.recoveryservices.AzureVmWorkloadProtectionPolicyArgs(
            backup_management_type="AzureWorkload",
            settings=azure_native.recoveryservices.SettingsArgs(
                issqlcompression=False,
                time_zone="Pacific Standard Time",
            ),
            sub_protection_policy=[
                azure_native.recoveryservices.SubProtectionPolicyArgs(
                    policy_type="Full",
                    retention_policy=azure_native.recoveryservices.LongTermRetentionPolicyArgs(
                        monthly_schedule=azure_native.recoveryservices.MonthlyRetentionScheduleArgs(
                            retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                                count=1,
                                duration_type="Months",
                            ),
                            retention_schedule_format_type="Weekly",
                            retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
                                days_of_the_week=[azure_native.recoveryservices.DayOfWeek.SUNDAY],
                                weeks_of_the_month=[azure_native.recoveryservices.WeekOfMonth.SECOND],
                            ),
                            retention_times=["2018-01-24T10:00:00Z"],
                        ),
                        retention_policy_type="LongTermRetentionPolicy",
                        weekly_schedule=azure_native.recoveryservices.WeeklyRetentionScheduleArgs(
                            days_of_the_week=[
                                azure_native.recoveryservices.DayOfWeek.SUNDAY,
                                azure_native.recoveryservices.DayOfWeek.TUESDAY,
                            ],
                            retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                                count=2,
                                duration_type="Weeks",
                            ),
                            retention_times=["2018-01-24T10:00:00Z"],
                        ),
                        yearly_schedule=azure_native.recoveryservices.YearlyRetentionScheduleArgs(
                            months_of_year=[
                                azure_native.recoveryservices.MonthOfYear.JANUARY,
                                azure_native.recoveryservices.MonthOfYear.JUNE,
                                azure_native.recoveryservices.MonthOfYear.DECEMBER,
                            ],
                            retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                                count=1,
                                duration_type="Years",
                            ),
                            retention_schedule_format_type="Weekly",
                            retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
                                days_of_the_week=[azure_native.recoveryservices.DayOfWeek.SUNDAY],
                                weeks_of_the_month=[azure_native.recoveryservices.WeekOfMonth.LAST],
                            ),
                            retention_times=["2018-01-24T10:00:00Z"],
                        ),
                    ),
                    schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
                        schedule_policy_type="SimpleSchedulePolicy",
                        schedule_run_days=[
                            azure_native.recoveryservices.DayOfWeek.SUNDAY,
                            azure_native.recoveryservices.DayOfWeek.TUESDAY,
                        ],
                        schedule_run_frequency="Weekly",
                        schedule_run_times=["2018-01-24T10:00:00Z"],
                    ),
                ),
                azure_native.recoveryservices.SubProtectionPolicyArgs(
                    policy_type="Differential",
                    retention_policy=azure_native.recoveryservices.SimpleRetentionPolicyArgs(
                        retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                            count=8,
                            duration_type="Days",
                        ),
                        retention_policy_type="SimpleRetentionPolicy",
                    ),
                    schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
                        schedule_policy_type="SimpleSchedulePolicy",
                        schedule_run_days=[azure_native.recoveryservices.DayOfWeek.FRIDAY],
                        schedule_run_frequency="Weekly",
                        schedule_run_times=["2018-01-24T10:00:00Z"],
                    ),
                ),
                azure_native.recoveryservices.SubProtectionPolicyArgs(
                    policy_type="Log",
                    retention_policy=azure_native.recoveryservices.SimpleRetentionPolicyArgs(
                        retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                            count=7,
                            duration_type="Days",
                        ),
                        retention_policy_type="SimpleRetentionPolicy",
                    ),
                    schedule_policy=azure_native.recoveryservices.LogSchedulePolicyArgs(
                        schedule_frequency_in_mins=60,
                        schedule_policy_type="LogSchedulePolicy",
                    ),
                ),
            ],
            work_load_type="SQLDataBase",
        ),
        resource_group_name="SwaggerTestRg",
        vault_name="NetSDKTestRsVault")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const protectionPolicy = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicy", {
        policyName: "testPolicy1",
        properties: {
            backupManagementType: "AzureWorkload",
            settings: {
                issqlcompression: false,
                timeZone: "Pacific Standard Time",
            },
            subProtectionPolicy: [
                {
                    policyType: "Full",
                    retentionPolicy: {
                        monthlySchedule: {
                            retentionDuration: {
                                count: 1,
                                durationType: "Months",
                            },
                            retentionScheduleFormatType: "Weekly",
                            retentionScheduleWeekly: {
                                daysOfTheWeek: [azure_native.recoveryservices.DayOfWeek.Sunday],
                                weeksOfTheMonth: [azure_native.recoveryservices.WeekOfMonth.Second],
                            },
                            retentionTimes: ["2018-01-24T10:00:00Z"],
                        },
                        retentionPolicyType: "LongTermRetentionPolicy",
                        weeklySchedule: {
                            daysOfTheWeek: [
                                azure_native.recoveryservices.DayOfWeek.Sunday,
                                azure_native.recoveryservices.DayOfWeek.Tuesday,
                            ],
                            retentionDuration: {
                                count: 2,
                                durationType: "Weeks",
                            },
                            retentionTimes: ["2018-01-24T10:00:00Z"],
                        },
                        yearlySchedule: {
                            monthsOfYear: [
                                azure_native.recoveryservices.MonthOfYear.January,
                                azure_native.recoveryservices.MonthOfYear.June,
                                azure_native.recoveryservices.MonthOfYear.December,
                            ],
                            retentionDuration: {
                                count: 1,
                                durationType: "Years",
                            },
                            retentionScheduleFormatType: "Weekly",
                            retentionScheduleWeekly: {
                                daysOfTheWeek: [azure_native.recoveryservices.DayOfWeek.Sunday],
                                weeksOfTheMonth: [azure_native.recoveryservices.WeekOfMonth.Last],
                            },
                            retentionTimes: ["2018-01-24T10:00:00Z"],
                        },
                    },
                    schedulePolicy: {
                        schedulePolicyType: "SimpleSchedulePolicy",
                        scheduleRunDays: [
                            azure_native.recoveryservices.DayOfWeek.Sunday,
                            azure_native.recoveryservices.DayOfWeek.Tuesday,
                        ],
                        scheduleRunFrequency: "Weekly",
                        scheduleRunTimes: ["2018-01-24T10:00:00Z"],
                    },
                },
                {
                    policyType: "Differential",
                    retentionPolicy: {
                        retentionDuration: {
                            count: 8,
                            durationType: "Days",
                        },
                        retentionPolicyType: "SimpleRetentionPolicy",
                    },
                    schedulePolicy: {
                        schedulePolicyType: "SimpleSchedulePolicy",
                        scheduleRunDays: [azure_native.recoveryservices.DayOfWeek.Friday],
                        scheduleRunFrequency: "Weekly",
                        scheduleRunTimes: ["2018-01-24T10:00:00Z"],
                    },
                },
                {
                    policyType: "Log",
                    retentionPolicy: {
                        retentionDuration: {
                            count: 7,
                            durationType: "Days",
                        },
                        retentionPolicyType: "SimpleRetentionPolicy",
                    },
                    schedulePolicy: {
                        scheduleFrequencyInMins: 60,
                        schedulePolicyType: "LogSchedulePolicy",
                    },
                },
            ],
            workLoadType: "SQLDataBase",
        },
        resourceGroupName: "SwaggerTestRg",
        vaultName: "NetSDKTestRsVault",
    });
    
    resources:
      protectionPolicy:
        type: azure-native:recoveryservices:ProtectionPolicy
        properties:
          policyName: testPolicy1
          properties:
            backupManagementType: AzureWorkload
            settings:
              issqlcompression: false
              timeZone: Pacific Standard Time
            subProtectionPolicy:
              - policyType: Full
                retentionPolicy:
                  monthlySchedule:
                    retentionDuration:
                      count: 1
                      durationType: Months
                    retentionScheduleFormatType: Weekly
                    retentionScheduleWeekly:
                      daysOfTheWeek:
                        - Sunday
                      weeksOfTheMonth:
                        - Second
                    retentionTimes:
                      - 2018-01-24T10:00:00Z
                  retentionPolicyType: LongTermRetentionPolicy
                  weeklySchedule:
                    daysOfTheWeek:
                      - Sunday
                      - Tuesday
                    retentionDuration:
                      count: 2
                      durationType: Weeks
                    retentionTimes:
                      - 2018-01-24T10:00:00Z
                  yearlySchedule:
                    monthsOfYear:
                      - January
                      - June
                      - December
                    retentionDuration:
                      count: 1
                      durationType: Years
                    retentionScheduleFormatType: Weekly
                    retentionScheduleWeekly:
                      daysOfTheWeek:
                        - Sunday
                      weeksOfTheMonth:
                        - Last
                    retentionTimes:
                      - 2018-01-24T10:00:00Z
                schedulePolicy:
                  schedulePolicyType: SimpleSchedulePolicy
                  scheduleRunDays:
                    - Sunday
                    - Tuesday
                  scheduleRunFrequency: Weekly
                  scheduleRunTimes:
                    - 2018-01-24T10:00:00Z
              - policyType: Differential
                retentionPolicy:
                  retentionDuration:
                    count: 8
                    durationType: Days
                  retentionPolicyType: SimpleRetentionPolicy
                schedulePolicy:
                  schedulePolicyType: SimpleSchedulePolicy
                  scheduleRunDays:
                    - Friday
                  scheduleRunFrequency: Weekly
                  scheduleRunTimes:
                    - 2018-01-24T10:00:00Z
              - policyType: Log
                retentionPolicy:
                  retentionDuration:
                    count: 7
                    durationType: Days
                  retentionPolicyType: SimpleRetentionPolicy
                schedulePolicy:
                  scheduleFrequencyInMins: 60
                  schedulePolicyType: LogSchedulePolicy
            workLoadType: SQLDataBase
          resourceGroupName: SwaggerTestRg
          vaultName: NetSDKTestRsVault
    

    Create or Update Simple Azure Vm Protection Policy

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var protectionPolicy = new AzureNative.RecoveryServices.ProtectionPolicy("protectionPolicy", new()
        {
            PolicyName = "testPolicy1",
            Properties = new AzureNative.RecoveryServices.Inputs.AzureIaaSVMProtectionPolicyArgs
            {
                BackupManagementType = "AzureIaasVM",
                RetentionPolicy = new AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyArgs
                {
                    DailySchedule = new AzureNative.RecoveryServices.Inputs.DailyRetentionScheduleArgs
                    {
                        RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
                        {
                            Count = 1,
                            DurationType = "Days",
                        },
                        RetentionTimes = new[]
                        {
                            "2018-01-24T02:00:00Z",
                        },
                    },
                    RetentionPolicyType = "LongTermRetentionPolicy",
                },
                SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
                {
                    SchedulePolicyType = "SimpleSchedulePolicy",
                    ScheduleRunFrequency = "Daily",
                    ScheduleRunTimes = new[]
                    {
                        "2018-01-24T02:00:00Z",
                    },
                },
                TimeZone = "Pacific Standard Time",
            },
            ResourceGroupName = "SwaggerTestRg",
            VaultName = "NetSDKTestRsVault",
        });
    
    });
    
    package main
    
    import (
    	recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicy", &recoveryservices.ProtectionPolicyArgs{
    			PolicyName: pulumi.String("testPolicy1"),
    			Properties: recoveryservices.AzureIaaSVMProtectionPolicy{
    				BackupManagementType: "AzureIaasVM",
    				RetentionPolicy: recoveryservices.LongTermRetentionPolicy{
    					DailySchedule: recoveryservices.DailyRetentionSchedule{
    						RetentionDuration: recoveryservices.RetentionDuration{
    							Count:        1,
    							DurationType: "Days",
    						},
    						RetentionTimes: []string{
    							"2018-01-24T02:00:00Z",
    						},
    					},
    					RetentionPolicyType: "LongTermRetentionPolicy",
    				},
    				SchedulePolicy: recoveryservices.SimpleSchedulePolicy{
    					SchedulePolicyType:   "SimpleSchedulePolicy",
    					ScheduleRunFrequency: "Daily",
    					ScheduleRunTimes: []string{
    						"2018-01-24T02:00:00Z",
    					},
    				},
    				TimeZone: "Pacific Standard Time",
    			},
    			ResourceGroupName: pulumi.String("SwaggerTestRg"),
    			VaultName:         pulumi.String("NetSDKTestRsVault"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.recoveryservices.ProtectionPolicy;
    import com.pulumi.azurenative.recoveryservices.ProtectionPolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var protectionPolicy = new ProtectionPolicy("protectionPolicy", ProtectionPolicyArgs.builder()        
                .policyName("testPolicy1")
                .properties(Map.ofEntries(
                    Map.entry("backupManagementType", "AzureIaasVM"),
                    Map.entry("retentionPolicy", Map.ofEntries(
                        Map.entry("dailySchedule", Map.ofEntries(
                            Map.entry("retentionDuration", Map.ofEntries(
                                Map.entry("count", 1),
                                Map.entry("durationType", "Days")
                            )),
                            Map.entry("retentionTimes", "2018-01-24T02:00:00Z")
                        )),
                        Map.entry("retentionPolicyType", "LongTermRetentionPolicy")
                    )),
                    Map.entry("schedulePolicy", Map.ofEntries(
                        Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
                        Map.entry("scheduleRunFrequency", "Daily"),
                        Map.entry("scheduleRunTimes", "2018-01-24T02:00:00Z")
                    )),
                    Map.entry("timeZone", "Pacific Standard Time")
                ))
                .resourceGroupName("SwaggerTestRg")
                .vaultName("NetSDKTestRsVault")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    protection_policy = azure_native.recoveryservices.ProtectionPolicy("protectionPolicy",
        policy_name="testPolicy1",
        properties=azure_native.recoveryservices.AzureIaaSVMProtectionPolicyArgs(
            backup_management_type="AzureIaasVM",
            retention_policy=azure_native.recoveryservices.LongTermRetentionPolicyArgs(
                daily_schedule=azure_native.recoveryservices.DailyRetentionScheduleArgs(
                    retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
                        count=1,
                        duration_type="Days",
                    ),
                    retention_times=["2018-01-24T02:00:00Z"],
                ),
                retention_policy_type="LongTermRetentionPolicy",
            ),
            schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
                schedule_policy_type="SimpleSchedulePolicy",
                schedule_run_frequency="Daily",
                schedule_run_times=["2018-01-24T02:00:00Z"],
            ),
            time_zone="Pacific Standard Time",
        ),
        resource_group_name="SwaggerTestRg",
        vault_name="NetSDKTestRsVault")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const protectionPolicy = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicy", {
        policyName: "testPolicy1",
        properties: {
            backupManagementType: "AzureIaasVM",
            retentionPolicy: {
                dailySchedule: {
                    retentionDuration: {
                        count: 1,
                        durationType: "Days",
                    },
                    retentionTimes: ["2018-01-24T02:00:00Z"],
                },
                retentionPolicyType: "LongTermRetentionPolicy",
            },
            schedulePolicy: {
                schedulePolicyType: "SimpleSchedulePolicy",
                scheduleRunFrequency: "Daily",
                scheduleRunTimes: ["2018-01-24T02:00:00Z"],
            },
            timeZone: "Pacific Standard Time",
        },
        resourceGroupName: "SwaggerTestRg",
        vaultName: "NetSDKTestRsVault",
    });
    
    resources:
      protectionPolicy:
        type: azure-native:recoveryservices:ProtectionPolicy
        properties:
          policyName: testPolicy1
          properties:
            backupManagementType: AzureIaasVM
            retentionPolicy:
              dailySchedule:
                retentionDuration:
                  count: 1
                  durationType: Days
                retentionTimes:
                  - 2018-01-24T02:00:00Z
              retentionPolicyType: LongTermRetentionPolicy
            schedulePolicy:
              schedulePolicyType: SimpleSchedulePolicy
              scheduleRunFrequency: Daily
              scheduleRunTimes:
                - 2018-01-24T02:00:00Z
            timeZone: Pacific Standard Time
          resourceGroupName: SwaggerTestRg
          vaultName: NetSDKTestRsVault
    

    Create ProtectionPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProtectionPolicy(name: string, args: ProtectionPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ProtectionPolicy(resource_name: str,
                         args: ProtectionPolicyArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProtectionPolicy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         resource_group_name: Optional[str] = None,
                         vault_name: Optional[str] = None,
                         e_tag: Optional[str] = None,
                         location: Optional[str] = None,
                         policy_name: Optional[str] = None,
                         properties: Optional[Union[AzureFileShareProtectionPolicyArgs, AzureIaaSVMProtectionPolicyArgs, AzureSqlProtectionPolicyArgs, AzureVmWorkloadProtectionPolicyArgs, GenericProtectionPolicyArgs, MabProtectionPolicyArgs]] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewProtectionPolicy(ctx *Context, name string, args ProtectionPolicyArgs, opts ...ResourceOption) (*ProtectionPolicy, error)
    public ProtectionPolicy(string name, ProtectionPolicyArgs args, CustomResourceOptions? opts = null)
    public ProtectionPolicy(String name, ProtectionPolicyArgs args)
    public ProtectionPolicy(String name, ProtectionPolicyArgs args, CustomResourceOptions options)
    
    type: azure-native:recoveryservices:ProtectionPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProtectionPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProtectionPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProtectionPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProtectionPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProtectionPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var protectionPolicyResource = new AzureNative.Recoveryservices.ProtectionPolicy("protectionPolicyResource", new()
    {
        ResourceGroupName = "string",
        VaultName = "string",
        ETag = "string",
        Location = "string",
        PolicyName = "string",
        Properties = 
        {
            { "backupManagementType", "AzureStorage" },
            { "protectedItemsCount", 0 },
            { "retentionPolicy", 
            {
                { "retentionPolicyType", "LongTermRetentionPolicy" },
                { "dailySchedule", 
                {
                    { "retentionDuration", 
                    {
                        { "count", 0 },
                        { "durationType", "string" },
                    } },
                    { "retentionTimes", new[]
                    {
                        "string",
                    } },
                } },
                { "monthlySchedule", 
                {
                    { "retentionDuration", 
                    {
                        { "count", 0 },
                        { "durationType", "string" },
                    } },
                    { "retentionScheduleDaily", 
                    {
                        { "daysOfTheMonth", new[]
                        {
                            
                            {
                                { "date", 0 },
                                { "isLast", false },
                            },
                        } },
                    } },
                    { "retentionScheduleFormatType", "string" },
                    { "retentionScheduleWeekly", 
                    {
                        { "daysOfTheWeek", new[]
                        {
                            "Sunday",
                        } },
                        { "weeksOfTheMonth", new[]
                        {
                            "First",
                        } },
                    } },
                    { "retentionTimes", new[]
                    {
                        "string",
                    } },
                } },
                { "weeklySchedule", 
                {
                    { "daysOfTheWeek", new[]
                    {
                        "Sunday",
                    } },
                    { "retentionDuration", 
                    {
                        { "count", 0 },
                        { "durationType", "string" },
                    } },
                    { "retentionTimes", new[]
                    {
                        "string",
                    } },
                } },
                { "yearlySchedule", 
                {
                    { "monthsOfYear", new[]
                    {
                        "Invalid",
                    } },
                    { "retentionDuration", 
                    {
                        { "count", 0 },
                        { "durationType", "string" },
                    } },
                    { "retentionScheduleDaily", 
                    {
                        { "daysOfTheMonth", new[]
                        {
                            
                            {
                                { "date", 0 },
                                { "isLast", false },
                            },
                        } },
                    } },
                    { "retentionScheduleFormatType", "string" },
                    { "retentionScheduleWeekly", 
                    {
                        { "daysOfTheWeek", new[]
                        {
                            "Sunday",
                        } },
                        { "weeksOfTheMonth", new[]
                        {
                            "First",
                        } },
                    } },
                    { "retentionTimes", new[]
                    {
                        "string",
                    } },
                } },
            } },
            { "schedulePolicy", 
            {
                { "schedulePolicyType", "LogSchedulePolicy" },
                { "scheduleFrequencyInMins", 0 },
            } },
            { "timeZone", "string" },
            { "workLoadType", "string" },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicyResource", &recoveryservices.ProtectionPolicyArgs{
    	ResourceGroupName: "string",
    	VaultName:         "string",
    	ETag:              "string",
    	Location:          "string",
    	PolicyName:        "string",
    	Properties: map[string]interface{}{
    		"backupManagementType": "AzureStorage",
    		"protectedItemsCount":  0,
    		"retentionPolicy": map[string]interface{}{
    			"retentionPolicyType": "LongTermRetentionPolicy",
    			"dailySchedule": map[string]interface{}{
    				"retentionDuration": map[string]interface{}{
    					"count":        0,
    					"durationType": "string",
    				},
    				"retentionTimes": []string{
    					"string",
    				},
    			},
    			"monthlySchedule": map[string]interface{}{
    				"retentionDuration": map[string]interface{}{
    					"count":        0,
    					"durationType": "string",
    				},
    				"retentionScheduleDaily": map[string]interface{}{
    					"daysOfTheMonth": []map[string]interface{}{
    						map[string]interface{}{
    							"date":   0,
    							"isLast": false,
    						},
    					},
    				},
    				"retentionScheduleFormatType": "string",
    				"retentionScheduleWeekly": map[string]interface{}{
    					"daysOfTheWeek": []string{
    						"Sunday",
    					},
    					"weeksOfTheMonth": []string{
    						"First",
    					},
    				},
    				"retentionTimes": []string{
    					"string",
    				},
    			},
    			"weeklySchedule": map[string]interface{}{
    				"daysOfTheWeek": []string{
    					"Sunday",
    				},
    				"retentionDuration": map[string]interface{}{
    					"count":        0,
    					"durationType": "string",
    				},
    				"retentionTimes": []string{
    					"string",
    				},
    			},
    			"yearlySchedule": map[string]interface{}{
    				"monthsOfYear": []string{
    					"Invalid",
    				},
    				"retentionDuration": map[string]interface{}{
    					"count":        0,
    					"durationType": "string",
    				},
    				"retentionScheduleDaily": map[string]interface{}{
    					"daysOfTheMonth": []map[string]interface{}{
    						map[string]interface{}{
    							"date":   0,
    							"isLast": false,
    						},
    					},
    				},
    				"retentionScheduleFormatType": "string",
    				"retentionScheduleWeekly": map[string]interface{}{
    					"daysOfTheWeek": []string{
    						"Sunday",
    					},
    					"weeksOfTheMonth": []string{
    						"First",
    					},
    				},
    				"retentionTimes": []string{
    					"string",
    				},
    			},
    		},
    		"schedulePolicy": map[string]interface{}{
    			"schedulePolicyType":      "LogSchedulePolicy",
    			"scheduleFrequencyInMins": 0,
    		},
    		"timeZone":     "string",
    		"workLoadType": "string",
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var protectionPolicyResource = new ProtectionPolicy("protectionPolicyResource", ProtectionPolicyArgs.builder()
        .resourceGroupName("string")
        .vaultName("string")
        .eTag("string")
        .location("string")
        .policyName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    protection_policy_resource = azure_native.recoveryservices.ProtectionPolicy("protectionPolicyResource",
        resource_group_name=string,
        vault_name=string,
        e_tag=string,
        location=string,
        policy_name=string,
        properties={
            backupManagementType: AzureStorage,
            protectedItemsCount: 0,
            retentionPolicy: {
                retentionPolicyType: LongTermRetentionPolicy,
                dailySchedule: {
                    retentionDuration: {
                        count: 0,
                        durationType: string,
                    },
                    retentionTimes: [string],
                },
                monthlySchedule: {
                    retentionDuration: {
                        count: 0,
                        durationType: string,
                    },
                    retentionScheduleDaily: {
                        daysOfTheMonth: [{
                            date: 0,
                            isLast: False,
                        }],
                    },
                    retentionScheduleFormatType: string,
                    retentionScheduleWeekly: {
                        daysOfTheWeek: [Sunday],
                        weeksOfTheMonth: [First],
                    },
                    retentionTimes: [string],
                },
                weeklySchedule: {
                    daysOfTheWeek: [Sunday],
                    retentionDuration: {
                        count: 0,
                        durationType: string,
                    },
                    retentionTimes: [string],
                },
                yearlySchedule: {
                    monthsOfYear: [Invalid],
                    retentionDuration: {
                        count: 0,
                        durationType: string,
                    },
                    retentionScheduleDaily: {
                        daysOfTheMonth: [{
                            date: 0,
                            isLast: False,
                        }],
                    },
                    retentionScheduleFormatType: string,
                    retentionScheduleWeekly: {
                        daysOfTheWeek: [Sunday],
                        weeksOfTheMonth: [First],
                    },
                    retentionTimes: [string],
                },
            },
            schedulePolicy: {
                schedulePolicyType: LogSchedulePolicy,
                scheduleFrequencyInMins: 0,
            },
            timeZone: string,
            workLoadType: string,
        },
        tags={
            string: string,
        })
    
    const protectionPolicyResource = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicyResource", {
        resourceGroupName: "string",
        vaultName: "string",
        eTag: "string",
        location: "string",
        policyName: "string",
        properties: {
            backupManagementType: "AzureStorage",
            protectedItemsCount: 0,
            retentionPolicy: {
                retentionPolicyType: "LongTermRetentionPolicy",
                dailySchedule: {
                    retentionDuration: {
                        count: 0,
                        durationType: "string",
                    },
                    retentionTimes: ["string"],
                },
                monthlySchedule: {
                    retentionDuration: {
                        count: 0,
                        durationType: "string",
                    },
                    retentionScheduleDaily: {
                        daysOfTheMonth: [{
                            date: 0,
                            isLast: false,
                        }],
                    },
                    retentionScheduleFormatType: "string",
                    retentionScheduleWeekly: {
                        daysOfTheWeek: ["Sunday"],
                        weeksOfTheMonth: ["First"],
                    },
                    retentionTimes: ["string"],
                },
                weeklySchedule: {
                    daysOfTheWeek: ["Sunday"],
                    retentionDuration: {
                        count: 0,
                        durationType: "string",
                    },
                    retentionTimes: ["string"],
                },
                yearlySchedule: {
                    monthsOfYear: ["Invalid"],
                    retentionDuration: {
                        count: 0,
                        durationType: "string",
                    },
                    retentionScheduleDaily: {
                        daysOfTheMonth: [{
                            date: 0,
                            isLast: false,
                        }],
                    },
                    retentionScheduleFormatType: "string",
                    retentionScheduleWeekly: {
                        daysOfTheWeek: ["Sunday"],
                        weeksOfTheMonth: ["First"],
                    },
                    retentionTimes: ["string"],
                },
            },
            schedulePolicy: {
                schedulePolicyType: "LogSchedulePolicy",
                scheduleFrequencyInMins: 0,
            },
            timeZone: "string",
            workLoadType: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:recoveryservices:ProtectionPolicy
    properties:
        eTag: string
        location: string
        policyName: string
        properties:
            backupManagementType: AzureStorage
            protectedItemsCount: 0
            retentionPolicy:
                dailySchedule:
                    retentionDuration:
                        count: 0
                        durationType: string
                    retentionTimes:
                        - string
                monthlySchedule:
                    retentionDuration:
                        count: 0
                        durationType: string
                    retentionScheduleDaily:
                        daysOfTheMonth:
                            - date: 0
                              isLast: false
                    retentionScheduleFormatType: string
                    retentionScheduleWeekly:
                        daysOfTheWeek:
                            - Sunday
                        weeksOfTheMonth:
                            - First
                    retentionTimes:
                        - string
                retentionPolicyType: LongTermRetentionPolicy
                weeklySchedule:
                    daysOfTheWeek:
                        - Sunday
                    retentionDuration:
                        count: 0
                        durationType: string
                    retentionTimes:
                        - string
                yearlySchedule:
                    monthsOfYear:
                        - Invalid
                    retentionDuration:
                        count: 0
                        durationType: string
                    retentionScheduleDaily:
                        daysOfTheMonth:
                            - date: 0
                              isLast: false
                    retentionScheduleFormatType: string
                    retentionScheduleWeekly:
                        daysOfTheWeek:
                            - Sunday
                        weeksOfTheMonth:
                            - First
                    retentionTimes:
                        - string
            schedulePolicy:
                scheduleFrequencyInMins: 0
                schedulePolicyType: LogSchedulePolicy
            timeZone: string
            workLoadType: string
        resourceGroupName: string
        tags:
            string: string
        vaultName: string
    

    ProtectionPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ProtectionPolicy resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group where the recovery services vault is present.
    VaultName string
    The name of the recovery services vault.
    ETag string
    Optional ETag.
    Location string
    Resource location.
    PolicyName string
    Backup policy to be created.
    Properties AzureFileShareProtectionPolicyArgs | AzureIaaSVMProtectionPolicyArgs | AzureSqlProtectionPolicyArgs | AzureVmWorkloadProtectionPolicyArgs | GenericProtectionPolicyArgs | MabProtectionPolicyArgs
    ProtectionPolicyResource properties
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group where the recovery services vault is present.
    vaultName String
    The name of the recovery services vault.
    eTag String
    Optional ETag.
    location String
    Resource location.
    policyName String
    Backup policy to be created.
    properties AzureFileShareProtectionPolicy | AzureIaaSVMProtectionPolicy | AzureSqlProtectionPolicy | AzureVmWorkloadProtectionPolicy | GenericProtectionPolicy | MabProtectionPolicy
    ProtectionPolicyResource properties
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group where the recovery services vault is present.
    vaultName string
    The name of the recovery services vault.
    eTag string
    Optional ETag.
    location string
    Resource location.
    policyName string
    Backup policy to be created.
    properties AzureFileShareProtectionPolicy | AzureIaaSVMProtectionPolicy | AzureSqlProtectionPolicy | AzureVmWorkloadProtectionPolicy | GenericProtectionPolicy | MabProtectionPolicy
    ProtectionPolicyResource properties
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group where the recovery services vault is present.
    vault_name str
    The name of the recovery services vault.
    e_tag str
    Optional ETag.
    location str
    Resource location.
    policy_name str
    Backup policy to be created.
    properties AzureFileShareProtectionPolicyArgs | AzureIaaSVMProtectionPolicyArgs | AzureSqlProtectionPolicyArgs | AzureVmWorkloadProtectionPolicyArgs | GenericProtectionPolicyArgs | MabProtectionPolicyArgs
    ProtectionPolicyResource properties
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group where the recovery services vault is present.
    vaultName String
    The name of the recovery services vault.
    eTag String
    Optional ETag.
    location String
    Resource location.
    policyName String
    Backup policy to be created.
    properties Property Map | Property Map | Property Map | Property Map | Property Map | Property Map
    ProtectionPolicyResource properties
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProtectionPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name associated with the resource.
    Type string
    Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name associated with the resource.
    Type string
    Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name associated with the resource.
    type String
    Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name associated with the resource.
    type string
    Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name associated with the resource.
    type str
    Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name associated with the resource.
    type String
    Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

    Supporting Types

    AzureFileShareProtectionPolicy, AzureFileShareProtectionPolicyArgs

    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy Pulumi.AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicy | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy Pulumi.AzureNative.RecoveryServices.Inputs.LogSchedulePolicy | Pulumi.AzureNative.RecoveryServices.Inputs.LongTermSchedulePolicy | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    WorkLoadType string | Pulumi.AzureNative.RecoveryServices.WorkloadType
    Type of workload for the backup management
    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    WorkLoadType string | WorkloadType
    Type of workload for the backup management
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    workLoadType String | WorkloadType
    Type of workload for the backup management
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    workLoadType string | WorkloadType
    Type of workload for the backup management
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedule_policy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    work_load_type str | WorkloadType
    Type of workload for the backup management
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    workLoadType String | "Invalid" | "VM" | "FileFolder" | "AzureSqlDb" | "SQLDB" | "Exchange" | "Sharepoint" | "VMwareVM" | "SystemState" | "Client" | "GenericDataSource" | "SQLDataBase" | "AzureFileShare" | "SAPHanaDatabase" | "SAPAseDatabase"
    Type of workload for the backup management

    AzureFileShareProtectionPolicyResponse, AzureFileShareProtectionPolicyResponseArgs

    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy Pulumi.AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy Pulumi.AzureNative.RecoveryServices.Inputs.LogSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.LongTermSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    WorkLoadType string
    Type of workload for the backup management
    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    WorkLoadType string
    Type of workload for the backup management
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    workLoadType String
    Type of workload for the backup management
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    workLoadType string
    Type of workload for the backup management
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedule_policy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    work_load_type str
    Type of workload for the backup management
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    workLoadType String
    Type of workload for the backup management

    AzureIaaSVMProtectionPolicy, AzureIaaSVMProtectionPolicyArgs

    InstantRPDetails InstantRPAdditionalDetails
    InstantRpRetentionRangeInDays int
    Instant RP retention policy range in days
    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instantRPDetails InstantRPAdditionalDetails
    instantRpRetentionRangeInDays Integer
    Instant RP retention policy range in days
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instantRPDetails InstantRPAdditionalDetails
    instantRpRetentionRangeInDays number
    Instant RP retention policy range in days
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instant_rp_details InstantRPAdditionalDetails
    instant_rp_retention_range_in_days int
    Instant RP retention policy range in days
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedule_policy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instantRPDetails Property Map
    instantRpRetentionRangeInDays Number
    Instant RP retention policy range in days
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

    AzureIaaSVMProtectionPolicyResponse, AzureIaaSVMProtectionPolicyResponseArgs

    InstantRPDetails Pulumi.AzureNative.RecoveryServices.Inputs.InstantRPAdditionalDetailsResponse
    InstantRpRetentionRangeInDays int
    Instant RP retention policy range in days
    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy Pulumi.AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy Pulumi.AzureNative.RecoveryServices.Inputs.LogSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.LongTermSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    InstantRPDetails InstantRPAdditionalDetailsResponse
    InstantRpRetentionRangeInDays int
    Instant RP retention policy range in days
    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instantRPDetails InstantRPAdditionalDetailsResponse
    instantRpRetentionRangeInDays Integer
    Instant RP retention policy range in days
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instantRPDetails InstantRPAdditionalDetailsResponse
    instantRpRetentionRangeInDays number
    Instant RP retention policy range in days
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instant_rp_details InstantRPAdditionalDetailsResponse
    instant_rp_retention_range_in_days int
    Instant RP retention policy range in days
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedule_policy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    instantRPDetails Property Map
    instantRpRetentionRangeInDays Number
    Instant RP retention policy range in days
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule specified as part of backup policy.
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

    AzureSqlProtectionPolicy, AzureSqlProtectionPolicyArgs

    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy details.

    AzureSqlProtectionPolicyResponse, AzureSqlProtectionPolicyResponseArgs

    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy details.
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy details.
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy details.
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy details.
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy details.

    AzureVmWorkloadProtectionPolicy, AzureVmWorkloadProtectionPolicyArgs

    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    Settings Pulumi.AzureNative.RecoveryServices.Inputs.Settings
    Common settings for the backup management
    SubProtectionPolicy List<Pulumi.AzureNative.RecoveryServices.Inputs.SubProtectionPolicy>
    List of sub-protection policies which includes schedule and retention
    WorkLoadType string | Pulumi.AzureNative.RecoveryServices.WorkloadType
    Type of workload for the backup management
    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    Settings Settings
    Common settings for the backup management
    SubProtectionPolicy []SubProtectionPolicy
    List of sub-protection policies which includes schedule and retention
    WorkLoadType string | WorkloadType
    Type of workload for the backup management
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Integer
    Number of items associated with this policy.
    settings Settings
    Common settings for the backup management
    subProtectionPolicy List<SubProtectionPolicy>
    List of sub-protection policies which includes schedule and retention
    workLoadType String | WorkloadType
    Type of workload for the backup management
    makePolicyConsistent boolean
    Fix the policy inconsistency
    protectedItemsCount number
    Number of items associated with this policy.
    settings Settings
    Common settings for the backup management
    subProtectionPolicy SubProtectionPolicy[]
    List of sub-protection policies which includes schedule and retention
    workLoadType string | WorkloadType
    Type of workload for the backup management
    make_policy_consistent bool
    Fix the policy inconsistency
    protected_items_count int
    Number of items associated with this policy.
    settings Settings
    Common settings for the backup management
    sub_protection_policy Sequence[SubProtectionPolicy]
    List of sub-protection policies which includes schedule and retention
    work_load_type str | WorkloadType
    Type of workload for the backup management
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Number
    Number of items associated with this policy.
    settings Property Map
    Common settings for the backup management
    subProtectionPolicy List<Property Map>
    List of sub-protection policies which includes schedule and retention
    workLoadType String | "Invalid" | "VM" | "FileFolder" | "AzureSqlDb" | "SQLDB" | "Exchange" | "Sharepoint" | "VMwareVM" | "SystemState" | "Client" | "GenericDataSource" | "SQLDataBase" | "AzureFileShare" | "SAPHanaDatabase" | "SAPAseDatabase"
    Type of workload for the backup management

    AzureVmWorkloadProtectionPolicyResponse, AzureVmWorkloadProtectionPolicyResponseArgs

    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    Settings Pulumi.AzureNative.RecoveryServices.Inputs.SettingsResponse
    Common settings for the backup management
    SubProtectionPolicy List<Pulumi.AzureNative.RecoveryServices.Inputs.SubProtectionPolicyResponse>
    List of sub-protection policies which includes schedule and retention
    WorkLoadType string
    Type of workload for the backup management
    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    Settings SettingsResponse
    Common settings for the backup management
    SubProtectionPolicy []SubProtectionPolicyResponse
    List of sub-protection policies which includes schedule and retention
    WorkLoadType string
    Type of workload for the backup management
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Integer
    Number of items associated with this policy.
    settings SettingsResponse
    Common settings for the backup management
    subProtectionPolicy List<SubProtectionPolicyResponse>
    List of sub-protection policies which includes schedule and retention
    workLoadType String
    Type of workload for the backup management
    makePolicyConsistent boolean
    Fix the policy inconsistency
    protectedItemsCount number
    Number of items associated with this policy.
    settings SettingsResponse
    Common settings for the backup management
    subProtectionPolicy SubProtectionPolicyResponse[]
    List of sub-protection policies which includes schedule and retention
    workLoadType string
    Type of workload for the backup management
    make_policy_consistent bool
    Fix the policy inconsistency
    protected_items_count int
    Number of items associated with this policy.
    settings SettingsResponse
    Common settings for the backup management
    sub_protection_policy Sequence[SubProtectionPolicyResponse]
    List of sub-protection policies which includes schedule and retention
    work_load_type str
    Type of workload for the backup management
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Number
    Number of items associated with this policy.
    settings Property Map
    Common settings for the backup management
    subProtectionPolicy List<Property Map>
    List of sub-protection policies which includes schedule and retention
    workLoadType String
    Type of workload for the backup management

    DailyRetentionFormat, DailyRetentionFormatArgs

    DaysOfTheMonth []Day
    List of days of the month.
    daysOfTheMonth List<Day>
    List of days of the month.
    daysOfTheMonth Day[]
    List of days of the month.
    days_of_the_month Sequence[Day]
    List of days of the month.
    daysOfTheMonth List<Property Map>
    List of days of the month.

    DailyRetentionFormatResponse, DailyRetentionFormatResponseArgs

    DaysOfTheMonth []DayResponse
    List of days of the month.
    daysOfTheMonth List<DayResponse>
    List of days of the month.
    daysOfTheMonth DayResponse[]
    List of days of the month.
    days_of_the_month Sequence[DayResponse]
    List of days of the month.
    daysOfTheMonth List<Property Map>
    List of days of the month.

    DailyRetentionSchedule, DailyRetentionScheduleArgs

    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDuration
    Retention duration of retention Policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    RetentionDuration RetentionDuration
    Retention duration of retention Policy.
    RetentionTimes []string
    Retention times of retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionTimes string[]
    Retention times of retention policy.
    retention_duration RetentionDuration
    Retention duration of retention Policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.

    DailyRetentionScheduleResponse, DailyRetentionScheduleResponseArgs

    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    RetentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionTimes []string
    Retention times of retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionTimes string[]
    Retention times of retention policy.
    retention_duration RetentionDurationResponse
    Retention duration of retention Policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.

    Day, DayArgs

    Date int
    Date of the month
    IsLast bool
    Whether Date is last date of month
    Date int
    Date of the month
    IsLast bool
    Whether Date is last date of month
    date Integer
    Date of the month
    isLast Boolean
    Whether Date is last date of month
    date number
    Date of the month
    isLast boolean
    Whether Date is last date of month
    date int
    Date of the month
    is_last bool
    Whether Date is last date of month
    date Number
    Date of the month
    isLast Boolean
    Whether Date is last date of month

    DayOfWeek, DayOfWeekArgs

    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    DayOfWeekSunday
    Sunday
    DayOfWeekMonday
    Monday
    DayOfWeekTuesday
    Tuesday
    DayOfWeekWednesday
    Wednesday
    DayOfWeekThursday
    Thursday
    DayOfWeekFriday
    Friday
    DayOfWeekSaturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    SUNDAY
    Sunday
    MONDAY
    Monday
    TUESDAY
    Tuesday
    WEDNESDAY
    Wednesday
    THURSDAY
    Thursday
    FRIDAY
    Friday
    SATURDAY
    Saturday
    "Sunday"
    Sunday
    "Monday"
    Monday
    "Tuesday"
    Tuesday
    "Wednesday"
    Wednesday
    "Thursday"
    Thursday
    "Friday"
    Friday
    "Saturday"
    Saturday

    DayResponse, DayResponseArgs

    Date int
    Date of the month
    IsLast bool
    Whether Date is last date of month
    Date int
    Date of the month
    IsLast bool
    Whether Date is last date of month
    date Integer
    Date of the month
    isLast Boolean
    Whether Date is last date of month
    date number
    Date of the month
    isLast boolean
    Whether Date is last date of month
    date int
    Date of the month
    is_last bool
    Whether Date is last date of month
    date Number
    Date of the month
    isLast Boolean
    Whether Date is last date of month

    GenericProtectionPolicy, GenericProtectionPolicyArgs

    FabricName string
    Name of this policy's fabric.
    ProtectedItemsCount int
    Number of items associated with this policy.
    SubProtectionPolicy List<Pulumi.AzureNative.RecoveryServices.Inputs.SubProtectionPolicy>
    List of sub-protection policies which includes schedule and retention
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    FabricName string
    Name of this policy's fabric.
    ProtectedItemsCount int
    Number of items associated with this policy.
    SubProtectionPolicy []SubProtectionPolicy
    List of sub-protection policies which includes schedule and retention
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabricName String
    Name of this policy's fabric.
    protectedItemsCount Integer
    Number of items associated with this policy.
    subProtectionPolicy List<SubProtectionPolicy>
    List of sub-protection policies which includes schedule and retention
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabricName string
    Name of this policy's fabric.
    protectedItemsCount number
    Number of items associated with this policy.
    subProtectionPolicy SubProtectionPolicy[]
    List of sub-protection policies which includes schedule and retention
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabric_name str
    Name of this policy's fabric.
    protected_items_count int
    Number of items associated with this policy.
    sub_protection_policy Sequence[SubProtectionPolicy]
    List of sub-protection policies which includes schedule and retention
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabricName String
    Name of this policy's fabric.
    protectedItemsCount Number
    Number of items associated with this policy.
    subProtectionPolicy List<Property Map>
    List of sub-protection policies which includes schedule and retention
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

    GenericProtectionPolicyResponse, GenericProtectionPolicyResponseArgs

    FabricName string
    Name of this policy's fabric.
    ProtectedItemsCount int
    Number of items associated with this policy.
    SubProtectionPolicy List<Pulumi.AzureNative.RecoveryServices.Inputs.SubProtectionPolicyResponse>
    List of sub-protection policies which includes schedule and retention
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    FabricName string
    Name of this policy's fabric.
    ProtectedItemsCount int
    Number of items associated with this policy.
    SubProtectionPolicy []SubProtectionPolicyResponse
    List of sub-protection policies which includes schedule and retention
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabricName String
    Name of this policy's fabric.
    protectedItemsCount Integer
    Number of items associated with this policy.
    subProtectionPolicy List<SubProtectionPolicyResponse>
    List of sub-protection policies which includes schedule and retention
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabricName string
    Name of this policy's fabric.
    protectedItemsCount number
    Number of items associated with this policy.
    subProtectionPolicy SubProtectionPolicyResponse[]
    List of sub-protection policies which includes schedule and retention
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabric_name str
    Name of this policy's fabric.
    protected_items_count int
    Number of items associated with this policy.
    sub_protection_policy Sequence[SubProtectionPolicyResponse]
    List of sub-protection policies which includes schedule and retention
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    fabricName String
    Name of this policy's fabric.
    protectedItemsCount Number
    Number of items associated with this policy.
    subProtectionPolicy List<Property Map>
    List of sub-protection policies which includes schedule and retention
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

    InstantRPAdditionalDetails, InstantRPAdditionalDetailsArgs

    InstantRPAdditionalDetailsResponse, InstantRPAdditionalDetailsResponseArgs

    LogSchedulePolicy, LogSchedulePolicyArgs

    ScheduleFrequencyInMins int
    Frequency of the log schedule operation of this policy in minutes.
    ScheduleFrequencyInMins int
    Frequency of the log schedule operation of this policy in minutes.
    scheduleFrequencyInMins Integer
    Frequency of the log schedule operation of this policy in minutes.
    scheduleFrequencyInMins number
    Frequency of the log schedule operation of this policy in minutes.
    schedule_frequency_in_mins int
    Frequency of the log schedule operation of this policy in minutes.
    scheduleFrequencyInMins Number
    Frequency of the log schedule operation of this policy in minutes.

    LogSchedulePolicyResponse, LogSchedulePolicyResponseArgs

    ScheduleFrequencyInMins int
    Frequency of the log schedule operation of this policy in minutes.
    ScheduleFrequencyInMins int
    Frequency of the log schedule operation of this policy in minutes.
    scheduleFrequencyInMins Integer
    Frequency of the log schedule operation of this policy in minutes.
    scheduleFrequencyInMins number
    Frequency of the log schedule operation of this policy in minutes.
    schedule_frequency_in_mins int
    Frequency of the log schedule operation of this policy in minutes.
    scheduleFrequencyInMins Number
    Frequency of the log schedule operation of this policy in minutes.

    LongTermRetentionPolicy, LongTermRetentionPolicyArgs

    DailySchedule DailyRetentionSchedule
    Daily retention schedule of the protection policy.
    MonthlySchedule MonthlyRetentionSchedule
    Monthly retention schedule of the protection policy.
    WeeklySchedule WeeklyRetentionSchedule
    Weekly retention schedule of the protection policy.
    YearlySchedule YearlyRetentionSchedule
    Yearly retention schedule of the protection policy.
    dailySchedule DailyRetentionSchedule
    Daily retention schedule of the protection policy.
    monthlySchedule MonthlyRetentionSchedule
    Monthly retention schedule of the protection policy.
    weeklySchedule WeeklyRetentionSchedule
    Weekly retention schedule of the protection policy.
    yearlySchedule YearlyRetentionSchedule
    Yearly retention schedule of the protection policy.
    dailySchedule DailyRetentionSchedule
    Daily retention schedule of the protection policy.
    monthlySchedule MonthlyRetentionSchedule
    Monthly retention schedule of the protection policy.
    weeklySchedule WeeklyRetentionSchedule
    Weekly retention schedule of the protection policy.
    yearlySchedule YearlyRetentionSchedule
    Yearly retention schedule of the protection policy.
    daily_schedule DailyRetentionSchedule
    Daily retention schedule of the protection policy.
    monthly_schedule MonthlyRetentionSchedule
    Monthly retention schedule of the protection policy.
    weekly_schedule WeeklyRetentionSchedule
    Weekly retention schedule of the protection policy.
    yearly_schedule YearlyRetentionSchedule
    Yearly retention schedule of the protection policy.
    dailySchedule Property Map
    Daily retention schedule of the protection policy.
    monthlySchedule Property Map
    Monthly retention schedule of the protection policy.
    weeklySchedule Property Map
    Weekly retention schedule of the protection policy.
    yearlySchedule Property Map
    Yearly retention schedule of the protection policy.

    LongTermRetentionPolicyResponse, LongTermRetentionPolicyResponseArgs

    DailySchedule DailyRetentionScheduleResponse
    Daily retention schedule of the protection policy.
    MonthlySchedule MonthlyRetentionScheduleResponse
    Monthly retention schedule of the protection policy.
    WeeklySchedule WeeklyRetentionScheduleResponse
    Weekly retention schedule of the protection policy.
    YearlySchedule YearlyRetentionScheduleResponse
    Yearly retention schedule of the protection policy.
    dailySchedule DailyRetentionScheduleResponse
    Daily retention schedule of the protection policy.
    monthlySchedule MonthlyRetentionScheduleResponse
    Monthly retention schedule of the protection policy.
    weeklySchedule WeeklyRetentionScheduleResponse
    Weekly retention schedule of the protection policy.
    yearlySchedule YearlyRetentionScheduleResponse
    Yearly retention schedule of the protection policy.
    dailySchedule DailyRetentionScheduleResponse
    Daily retention schedule of the protection policy.
    monthlySchedule MonthlyRetentionScheduleResponse
    Monthly retention schedule of the protection policy.
    weeklySchedule WeeklyRetentionScheduleResponse
    Weekly retention schedule of the protection policy.
    yearlySchedule YearlyRetentionScheduleResponse
    Yearly retention schedule of the protection policy.
    daily_schedule DailyRetentionScheduleResponse
    Daily retention schedule of the protection policy.
    monthly_schedule MonthlyRetentionScheduleResponse
    Monthly retention schedule of the protection policy.
    weekly_schedule WeeklyRetentionScheduleResponse
    Weekly retention schedule of the protection policy.
    yearly_schedule YearlyRetentionScheduleResponse
    Yearly retention schedule of the protection policy.
    dailySchedule Property Map
    Daily retention schedule of the protection policy.
    monthlySchedule Property Map
    Monthly retention schedule of the protection policy.
    weeklySchedule Property Map
    Weekly retention schedule of the protection policy.
    yearlySchedule Property Map
    Yearly retention schedule of the protection policy.

    LongTermSchedulePolicy, LongTermSchedulePolicyArgs

    LongTermSchedulePolicyResponse, LongTermSchedulePolicyResponseArgs

    MabProtectionPolicy, MabProtectionPolicyArgs

    ProtectedItemsCount int
    Number of items associated with this policy.
    RetentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    SchedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule of backup policy.
    protectedItemsCount Integer
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule of backup policy.
    protectedItemsCount number
    Number of items associated with this policy.
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule of backup policy.
    protected_items_count int
    Number of items associated with this policy.
    retention_policy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy details.
    schedule_policy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule of backup policy.
    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy details.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule of backup policy.

    MabProtectionPolicyResponse, MabProtectionPolicyResponseArgs

    protectedItemsCount Number
    Number of items associated with this policy.
    retentionPolicy Property Map | Property Map
    Retention policy details.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule of backup policy.

    MonthOfYear, MonthOfYearArgs

    Invalid
    Invalid
    January
    January
    February
    February
    March
    March
    April
    April
    May
    May
    June
    June
    July
    July
    August
    August
    September
    September
    October
    October
    November
    November
    December
    December
    MonthOfYearInvalid
    Invalid
    MonthOfYearJanuary
    January
    MonthOfYearFebruary
    February
    MonthOfYearMarch
    March
    MonthOfYearApril
    April
    MonthOfYearMay
    May
    MonthOfYearJune
    June
    MonthOfYearJuly
    July
    MonthOfYearAugust
    August
    MonthOfYearSeptember
    September
    MonthOfYearOctober
    October
    MonthOfYearNovember
    November
    MonthOfYearDecember
    December
    Invalid
    Invalid
    January
    January
    February
    February
    March
    March
    April
    April
    May
    May
    June
    June
    July
    July
    August
    August
    September
    September
    October
    October
    November
    November
    December
    December
    Invalid
    Invalid
    January
    January
    February
    February
    March
    March
    April
    April
    May
    May
    June
    June
    July
    July
    August
    August
    September
    September
    October
    October
    November
    November
    December
    December
    INVALID
    Invalid
    JANUARY
    January
    FEBRUARY
    February
    MARCH
    March
    APRIL
    April
    MAY
    May
    JUNE
    June
    JULY
    July
    AUGUST
    August
    SEPTEMBER
    September
    OCTOBER
    October
    NOVEMBER
    November
    DECEMBER
    December
    "Invalid"
    Invalid
    "January"
    January
    "February"
    February
    "March"
    March
    "April"
    April
    "May"
    May
    "June"
    June
    "July"
    July
    "August"
    August
    "September"
    September
    "October"
    October
    "November"
    November
    "December"
    December

    MonthlyRetentionSchedule, MonthlyRetentionScheduleArgs

    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDuration
    Retention duration of retention Policy.
    RetentionScheduleDaily Pulumi.AzureNative.RecoveryServices.Inputs.DailyRetentionFormat
    Daily retention format for monthly retention policy.
    RetentionScheduleFormatType string | Pulumi.AzureNative.RecoveryServices.RetentionScheduleFormat
    Retention schedule format type for monthly retention policy.
    RetentionScheduleWeekly Pulumi.AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormat
    Weekly retention format for monthly retention policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    RetentionDuration RetentionDuration
    Retention duration of retention Policy.
    RetentionScheduleDaily DailyRetentionFormat
    Daily retention format for monthly retention policy.
    RetentionScheduleFormatType string | RetentionScheduleFormat
    Retention schedule format type for monthly retention policy.
    RetentionScheduleWeekly WeeklyRetentionFormat
    Weekly retention format for monthly retention policy.
    RetentionTimes []string
    Retention times of retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormat
    Daily retention format for monthly retention policy.
    retentionScheduleFormatType String | RetentionScheduleFormat
    Retention schedule format type for monthly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormat
    Weekly retention format for monthly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormat
    Daily retention format for monthly retention policy.
    retentionScheduleFormatType string | RetentionScheduleFormat
    Retention schedule format type for monthly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormat
    Weekly retention format for monthly retention policy.
    retentionTimes string[]
    Retention times of retention policy.
    retention_duration RetentionDuration
    Retention duration of retention Policy.
    retention_schedule_daily DailyRetentionFormat
    Daily retention format for monthly retention policy.
    retention_schedule_format_type str | RetentionScheduleFormat
    Retention schedule format type for monthly retention policy.
    retention_schedule_weekly WeeklyRetentionFormat
    Weekly retention format for monthly retention policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionScheduleDaily Property Map
    Daily retention format for monthly retention policy.
    retentionScheduleFormatType String | "Invalid" | "Daily" | "Weekly"
    Retention schedule format type for monthly retention policy.
    retentionScheduleWeekly Property Map
    Weekly retention format for monthly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.

    MonthlyRetentionScheduleResponse, MonthlyRetentionScheduleResponseArgs

    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionScheduleDaily Pulumi.AzureNative.RecoveryServices.Inputs.DailyRetentionFormatResponse
    Daily retention format for monthly retention policy.
    RetentionScheduleFormatType string
    Retention schedule format type for monthly retention policy.
    RetentionScheduleWeekly Pulumi.AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatResponse
    Weekly retention format for monthly retention policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    RetentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionScheduleDaily DailyRetentionFormatResponse
    Daily retention format for monthly retention policy.
    RetentionScheduleFormatType string
    Retention schedule format type for monthly retention policy.
    RetentionScheduleWeekly WeeklyRetentionFormatResponse
    Weekly retention format for monthly retention policy.
    RetentionTimes []string
    Retention times of retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormatResponse
    Daily retention format for monthly retention policy.
    retentionScheduleFormatType String
    Retention schedule format type for monthly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormatResponse
    Weekly retention format for monthly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormatResponse
    Daily retention format for monthly retention policy.
    retentionScheduleFormatType string
    Retention schedule format type for monthly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormatResponse
    Weekly retention format for monthly retention policy.
    retentionTimes string[]
    Retention times of retention policy.
    retention_duration RetentionDurationResponse
    Retention duration of retention Policy.
    retention_schedule_daily DailyRetentionFormatResponse
    Daily retention format for monthly retention policy.
    retention_schedule_format_type str
    Retention schedule format type for monthly retention policy.
    retention_schedule_weekly WeeklyRetentionFormatResponse
    Weekly retention format for monthly retention policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionScheduleDaily Property Map
    Daily retention format for monthly retention policy.
    retentionScheduleFormatType String
    Retention schedule format type for monthly retention policy.
    retentionScheduleWeekly Property Map
    Weekly retention format for monthly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.

    PolicyType, PolicyTypeArgs

    Invalid
    Invalid
    Full
    Full
    Differential
    Differential
    Log
    Log
    CopyOnlyFull
    CopyOnlyFull
    Incremental
    Incremental
    PolicyTypeInvalid
    Invalid
    PolicyTypeFull
    Full
    PolicyTypeDifferential
    Differential
    PolicyTypeLog
    Log
    PolicyTypeCopyOnlyFull
    CopyOnlyFull
    PolicyTypeIncremental
    Incremental
    Invalid
    Invalid
    Full
    Full
    Differential
    Differential
    Log
    Log
    CopyOnlyFull
    CopyOnlyFull
    Incremental
    Incremental
    Invalid
    Invalid
    Full
    Full
    Differential
    Differential
    Log
    Log
    CopyOnlyFull
    CopyOnlyFull
    Incremental
    Incremental
    INVALID
    Invalid
    FULL
    Full
    DIFFERENTIAL
    Differential
    LOG
    Log
    COPY_ONLY_FULL
    CopyOnlyFull
    INCREMENTAL
    Incremental
    "Invalid"
    Invalid
    "Full"
    Full
    "Differential"
    Differential
    "Log"
    Log
    "CopyOnlyFull"
    CopyOnlyFull
    "Incremental"
    Incremental

    RetentionDuration, RetentionDurationArgs

    Count int
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    DurationType string | Pulumi.AzureNative.RecoveryServices.RetentionDurationType
    Retention duration type of retention policy.
    Count int
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    DurationType string | RetentionDurationType
    Retention duration type of retention policy.
    count Integer
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    durationType String | RetentionDurationType
    Retention duration type of retention policy.
    count number
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    durationType string | RetentionDurationType
    Retention duration type of retention policy.
    count int
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    duration_type str | RetentionDurationType
    Retention duration type of retention policy.
    count Number
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    durationType String | "Invalid" | "Days" | "Weeks" | "Months" | "Years"
    Retention duration type of retention policy.

    RetentionDurationResponse, RetentionDurationResponseArgs

    Count int
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    DurationType string
    Retention duration type of retention policy.
    Count int
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    DurationType string
    Retention duration type of retention policy.
    count Integer
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    durationType String
    Retention duration type of retention policy.
    count number
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    durationType string
    Retention duration type of retention policy.
    count int
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    duration_type str
    Retention duration type of retention policy.
    count Number
    Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
    durationType String
    Retention duration type of retention policy.

    RetentionDurationType, RetentionDurationTypeArgs

    Invalid
    Invalid
    Days
    Days
    Weeks
    Weeks
    Months
    Months
    Years
    Years
    RetentionDurationTypeInvalid
    Invalid
    RetentionDurationTypeDays
    Days
    RetentionDurationTypeWeeks
    Weeks
    RetentionDurationTypeMonths
    Months
    RetentionDurationTypeYears
    Years
    Invalid
    Invalid
    Days
    Days
    Weeks
    Weeks
    Months
    Months
    Years
    Years
    Invalid
    Invalid
    Days
    Days
    Weeks
    Weeks
    Months
    Months
    Years
    Years
    INVALID
    Invalid
    DAYS
    Days
    WEEKS
    Weeks
    MONTHS
    Months
    YEARS
    Years
    "Invalid"
    Invalid
    "Days"
    Days
    "Weeks"
    Weeks
    "Months"
    Months
    "Years"
    Years

    RetentionScheduleFormat, RetentionScheduleFormatArgs

    Invalid
    Invalid
    Daily
    Daily
    Weekly
    Weekly
    RetentionScheduleFormatInvalid
    Invalid
    RetentionScheduleFormatDaily
    Daily
    RetentionScheduleFormatWeekly
    Weekly
    Invalid
    Invalid
    Daily
    Daily
    Weekly
    Weekly
    Invalid
    Invalid
    Daily
    Daily
    Weekly
    Weekly
    INVALID
    Invalid
    DAILY
    Daily
    WEEKLY
    Weekly
    "Invalid"
    Invalid
    "Daily"
    Daily
    "Weekly"
    Weekly

    ScheduleRunType, ScheduleRunTypeArgs

    Invalid
    Invalid
    Daily
    Daily
    Weekly
    Weekly
    ScheduleRunTypeInvalid
    Invalid
    ScheduleRunTypeDaily
    Daily
    ScheduleRunTypeWeekly
    Weekly
    Invalid
    Invalid
    Daily
    Daily
    Weekly
    Weekly
    Invalid
    Invalid
    Daily
    Daily
    Weekly
    Weekly
    INVALID
    Invalid
    DAILY
    Daily
    WEEKLY
    Weekly
    "Invalid"
    Invalid
    "Daily"
    Daily
    "Weekly"
    Weekly

    Settings, SettingsArgs

    IsCompression bool
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    Issqlcompression bool
    SQL compression flag
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    IsCompression bool
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    Issqlcompression bool
    SQL compression flag
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    isCompression Boolean
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression Boolean
    SQL compression flag
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    isCompression boolean
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression boolean
    SQL compression flag
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    is_compression bool
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression bool
    SQL compression flag
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    isCompression Boolean
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression Boolean
    SQL compression flag
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

    SettingsResponse, SettingsResponseArgs

    IsCompression bool
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    Issqlcompression bool
    SQL compression flag
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    IsCompression bool
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    Issqlcompression bool
    SQL compression flag
    TimeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    isCompression Boolean
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression Boolean
    SQL compression flag
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    isCompression boolean
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression boolean
    SQL compression flag
    timeZone string
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    is_compression bool
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression bool
    SQL compression flag
    time_zone str
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
    isCompression Boolean
    Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
    issqlcompression Boolean
    SQL compression flag
    timeZone String
    TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

    SimpleRetentionPolicy, SimpleRetentionPolicyArgs

    RetentionDuration RetentionDuration
    Retention duration of the protection policy.
    retentionDuration RetentionDuration
    Retention duration of the protection policy.
    retentionDuration RetentionDuration
    Retention duration of the protection policy.
    retention_duration RetentionDuration
    Retention duration of the protection policy.
    retentionDuration Property Map
    Retention duration of the protection policy.

    SimpleRetentionPolicyResponse, SimpleRetentionPolicyResponseArgs

    RetentionDuration RetentionDurationResponse
    Retention duration of the protection policy.
    retentionDuration RetentionDurationResponse
    Retention duration of the protection policy.
    retentionDuration RetentionDurationResponse
    Retention duration of the protection policy.
    retention_duration RetentionDurationResponse
    Retention duration of the protection policy.
    retentionDuration Property Map
    Retention duration of the protection policy.

    SimpleSchedulePolicy, SimpleSchedulePolicyArgs

    ScheduleRunDays List<Pulumi.AzureNative.RecoveryServices.DayOfWeek>
    List of days of week this schedule has to be run.
    ScheduleRunFrequency string | Pulumi.AzureNative.RecoveryServices.ScheduleRunType
    Frequency of the schedule operation of this policy.
    ScheduleRunTimes List<string>
    List of times of day this schedule has to be run.
    ScheduleWeeklyFrequency int
    At every number weeks this schedule has to be run.
    ScheduleRunDays []DayOfWeek
    List of days of week this schedule has to be run.
    ScheduleRunFrequency string | ScheduleRunType
    Frequency of the schedule operation of this policy.
    ScheduleRunTimes []string
    List of times of day this schedule has to be run.
    ScheduleWeeklyFrequency int
    At every number weeks this schedule has to be run.
    scheduleRunDays List<DayOfWeek>
    List of days of week this schedule has to be run.
    scheduleRunFrequency String | ScheduleRunType
    Frequency of the schedule operation of this policy.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.
    scheduleWeeklyFrequency Integer
    At every number weeks this schedule has to be run.
    scheduleRunDays DayOfWeek[]
    List of days of week this schedule has to be run.
    scheduleRunFrequency string | ScheduleRunType
    Frequency of the schedule operation of this policy.
    scheduleRunTimes string[]
    List of times of day this schedule has to be run.
    scheduleWeeklyFrequency number
    At every number weeks this schedule has to be run.
    schedule_run_days Sequence[DayOfWeek]
    List of days of week this schedule has to be run.
    schedule_run_frequency str | ScheduleRunType
    Frequency of the schedule operation of this policy.
    schedule_run_times Sequence[str]
    List of times of day this schedule has to be run.
    schedule_weekly_frequency int
    At every number weeks this schedule has to be run.
    scheduleRunDays List<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday">
    List of days of week this schedule has to be run.
    scheduleRunFrequency String | "Invalid" | "Daily" | "Weekly"
    Frequency of the schedule operation of this policy.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.
    scheduleWeeklyFrequency Number
    At every number weeks this schedule has to be run.

    SimpleSchedulePolicyResponse, SimpleSchedulePolicyResponseArgs

    ScheduleRunDays List<string>
    List of days of week this schedule has to be run.
    ScheduleRunFrequency string
    Frequency of the schedule operation of this policy.
    ScheduleRunTimes List<string>
    List of times of day this schedule has to be run.
    ScheduleWeeklyFrequency int
    At every number weeks this schedule has to be run.
    ScheduleRunDays []string
    List of days of week this schedule has to be run.
    ScheduleRunFrequency string
    Frequency of the schedule operation of this policy.
    ScheduleRunTimes []string
    List of times of day this schedule has to be run.
    ScheduleWeeklyFrequency int
    At every number weeks this schedule has to be run.
    scheduleRunDays List<String>
    List of days of week this schedule has to be run.
    scheduleRunFrequency String
    Frequency of the schedule operation of this policy.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.
    scheduleWeeklyFrequency Integer
    At every number weeks this schedule has to be run.
    scheduleRunDays string[]
    List of days of week this schedule has to be run.
    scheduleRunFrequency string
    Frequency of the schedule operation of this policy.
    scheduleRunTimes string[]
    List of times of day this schedule has to be run.
    scheduleWeeklyFrequency number
    At every number weeks this schedule has to be run.
    schedule_run_days Sequence[str]
    List of days of week this schedule has to be run.
    schedule_run_frequency str
    Frequency of the schedule operation of this policy.
    schedule_run_times Sequence[str]
    List of times of day this schedule has to be run.
    schedule_weekly_frequency int
    At every number weeks this schedule has to be run.
    scheduleRunDays List<String>
    List of days of week this schedule has to be run.
    scheduleRunFrequency String
    Frequency of the schedule operation of this policy.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.
    scheduleWeeklyFrequency Number
    At every number weeks this schedule has to be run.

    SubProtectionPolicy, SubProtectionPolicyArgs

    PolicyType string | PolicyType
    Type of backup policy type
    RetentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    policyType String | PolicyType
    Type of backup policy type
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    policyType string | PolicyType
    Type of backup policy type
    retentionPolicy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    policy_type str | PolicyType
    Type of backup policy type
    retention_policy LongTermRetentionPolicy | SimpleRetentionPolicy
    Retention policy with the details on backup copy retention ranges.
    schedule_policy LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy
    Backup schedule specified as part of backup policy.
    policyType String | "Invalid" | "Full" | "Differential" | "Log" | "CopyOnlyFull" | "Incremental"
    Type of backup policy type
    retentionPolicy Property Map | Property Map
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule specified as part of backup policy.

    SubProtectionPolicyResponse, SubProtectionPolicyResponseArgs

    PolicyType string
    Type of backup policy type
    RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    SchedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    policyType String
    Type of backup policy type
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    policyType string
    Type of backup policy type
    retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    policy_type str
    Type of backup policy type
    retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse
    Retention policy with the details on backup copy retention ranges.
    schedule_policy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse
    Backup schedule specified as part of backup policy.
    policyType String
    Type of backup policy type
    retentionPolicy Property Map | Property Map
    Retention policy with the details on backup copy retention ranges.
    schedulePolicy Property Map | Property Map | Property Map
    Backup schedule specified as part of backup policy.

    WeekOfMonth, WeekOfMonthArgs

    First
    First
    Second
    Second
    Third
    Third
    Fourth
    Fourth
    Last
    Last
    Invalid
    Invalid
    WeekOfMonthFirst
    First
    WeekOfMonthSecond
    Second
    WeekOfMonthThird
    Third
    WeekOfMonthFourth
    Fourth
    WeekOfMonthLast
    Last
    WeekOfMonthInvalid
    Invalid
    First
    First
    Second
    Second
    Third
    Third
    Fourth
    Fourth
    Last
    Last
    Invalid
    Invalid
    First
    First
    Second
    Second
    Third
    Third
    Fourth
    Fourth
    Last
    Last
    Invalid
    Invalid
    FIRST
    First
    SECOND
    Second
    THIRD
    Third
    FOURTH
    Fourth
    LAST
    Last
    INVALID
    Invalid
    "First"
    First
    "Second"
    Second
    "Third"
    Third
    "Fourth"
    Fourth
    "Last"
    Last
    "Invalid"
    Invalid

    WeeklyRetentionFormat, WeeklyRetentionFormatArgs

    DaysOfTheWeek []DayOfWeek
    List of days of the week.
    WeeksOfTheMonth []WeekOfMonth
    List of weeks of month.
    daysOfTheWeek List<DayOfWeek>
    List of days of the week.
    weeksOfTheMonth List<WeekOfMonth>
    List of weeks of month.
    daysOfTheWeek DayOfWeek[]
    List of days of the week.
    weeksOfTheMonth WeekOfMonth[]
    List of weeks of month.
    days_of_the_week Sequence[DayOfWeek]
    List of days of the week.
    weeks_of_the_month Sequence[WeekOfMonth]
    List of weeks of month.

    WeeklyRetentionFormatResponse, WeeklyRetentionFormatResponseArgs

    DaysOfTheWeek List<string>
    List of days of the week.
    WeeksOfTheMonth List<string>
    List of weeks of month.
    DaysOfTheWeek []string
    List of days of the week.
    WeeksOfTheMonth []string
    List of weeks of month.
    daysOfTheWeek List<String>
    List of days of the week.
    weeksOfTheMonth List<String>
    List of weeks of month.
    daysOfTheWeek string[]
    List of days of the week.
    weeksOfTheMonth string[]
    List of weeks of month.
    days_of_the_week Sequence[str]
    List of days of the week.
    weeks_of_the_month Sequence[str]
    List of weeks of month.
    daysOfTheWeek List<String>
    List of days of the week.
    weeksOfTheMonth List<String>
    List of weeks of month.

    WeeklyRetentionSchedule, WeeklyRetentionScheduleArgs

    DaysOfTheWeek List<Pulumi.AzureNative.RecoveryServices.DayOfWeek>
    List of days of week for weekly retention policy.
    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDuration
    Retention duration of retention Policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    DaysOfTheWeek []DayOfWeek
    List of days of week for weekly retention policy.
    RetentionDuration RetentionDuration
    Retention duration of retention Policy.
    RetentionTimes []string
    Retention times of retention policy.
    daysOfTheWeek List<DayOfWeek>
    List of days of week for weekly retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.
    daysOfTheWeek DayOfWeek[]
    List of days of week for weekly retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionTimes string[]
    Retention times of retention policy.
    days_of_the_week Sequence[DayOfWeek]
    List of days of week for weekly retention policy.
    retention_duration RetentionDuration
    Retention duration of retention Policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    daysOfTheWeek List<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday">
    List of days of week for weekly retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.

    WeeklyRetentionScheduleResponse, WeeklyRetentionScheduleResponseArgs

    DaysOfTheWeek List<string>
    List of days of week for weekly retention policy.
    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    DaysOfTheWeek []string
    List of days of week for weekly retention policy.
    RetentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionTimes []string
    Retention times of retention policy.
    daysOfTheWeek List<String>
    List of days of week for weekly retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.
    daysOfTheWeek string[]
    List of days of week for weekly retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionTimes string[]
    Retention times of retention policy.
    days_of_the_week Sequence[str]
    List of days of week for weekly retention policy.
    retention_duration RetentionDurationResponse
    Retention duration of retention Policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    daysOfTheWeek List<String>
    List of days of week for weekly retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionTimes List<String>
    Retention times of retention policy.

    WorkloadType, WorkloadTypeArgs

    Invalid
    Invalid
    VM
    VM
    FileFolder
    FileFolder
    AzureSqlDb
    AzureSqlDb
    SQLDB
    SQLDB
    Exchange
    Exchange
    Sharepoint
    Sharepoint
    VMwareVM
    VMwareVM
    SystemState
    SystemState
    Client
    Client
    GenericDataSource
    GenericDataSource
    SQLDataBase
    SQLDataBase
    AzureFileShare
    AzureFileShare
    SAPHanaDatabase
    SAPHanaDatabase
    SAPAseDatabase
    SAPAseDatabase
    WorkloadTypeInvalid
    Invalid
    WorkloadTypeVM
    VM
    WorkloadTypeFileFolder
    FileFolder
    WorkloadTypeAzureSqlDb
    AzureSqlDb
    WorkloadTypeSQLDB
    SQLDB
    WorkloadTypeExchange
    Exchange
    WorkloadTypeSharepoint
    Sharepoint
    WorkloadTypeVMwareVM
    VMwareVM
    WorkloadTypeSystemState
    SystemState
    WorkloadTypeClient
    Client
    WorkloadTypeGenericDataSource
    GenericDataSource
    WorkloadTypeSQLDataBase
    SQLDataBase
    WorkloadTypeAzureFileShare
    AzureFileShare
    WorkloadTypeSAPHanaDatabase
    SAPHanaDatabase
    WorkloadTypeSAPAseDatabase
    SAPAseDatabase
    Invalid
    Invalid
    VM
    VM
    FileFolder
    FileFolder
    AzureSqlDb
    AzureSqlDb
    SQLDB
    SQLDB
    Exchange
    Exchange
    Sharepoint
    Sharepoint
    VMwareVM
    VMwareVM
    SystemState
    SystemState
    Client
    Client
    GenericDataSource
    GenericDataSource
    SQLDataBase
    SQLDataBase
    AzureFileShare
    AzureFileShare
    SAPHanaDatabase
    SAPHanaDatabase
    SAPAseDatabase
    SAPAseDatabase
    Invalid
    Invalid
    VM
    VM
    FileFolder
    FileFolder
    AzureSqlDb
    AzureSqlDb
    SQLDB
    SQLDB
    Exchange
    Exchange
    Sharepoint
    Sharepoint
    VMwareVM
    VMwareVM
    SystemState
    SystemState
    Client
    Client
    GenericDataSource
    GenericDataSource
    SQLDataBase
    SQLDataBase
    AzureFileShare
    AzureFileShare
    SAPHanaDatabase
    SAPHanaDatabase
    SAPAseDatabase
    SAPAseDatabase
    INVALID
    Invalid
    VM
    VM
    FILE_FOLDER
    FileFolder
    AZURE_SQL_DB
    AzureSqlDb
    SQLDB
    SQLDB
    EXCHANGE
    Exchange
    SHAREPOINT
    Sharepoint
    V_MWARE_VM
    VMwareVM
    SYSTEM_STATE
    SystemState
    CLIENT
    Client
    GENERIC_DATA_SOURCE
    GenericDataSource
    SQL_DATA_BASE
    SQLDataBase
    AZURE_FILE_SHARE
    AzureFileShare
    SAP_HANA_DATABASE
    SAPHanaDatabase
    SAPASE_DATABASE
    SAPAseDatabase
    "Invalid"
    Invalid
    "VM"
    VM
    "FileFolder"
    FileFolder
    "AzureSqlDb"
    AzureSqlDb
    "SQLDB"
    SQLDB
    "Exchange"
    Exchange
    "Sharepoint"
    Sharepoint
    "VMwareVM"
    VMwareVM
    "SystemState"
    SystemState
    "Client"
    Client
    "GenericDataSource"
    GenericDataSource
    "SQLDataBase"
    SQLDataBase
    "AzureFileShare"
    AzureFileShare
    "SAPHanaDatabase"
    SAPHanaDatabase
    "SAPAseDatabase"
    SAPAseDatabase

    YearlyRetentionSchedule, YearlyRetentionScheduleArgs

    MonthsOfYear List<Pulumi.AzureNative.RecoveryServices.MonthOfYear>
    List of months of year of yearly retention policy.
    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDuration
    Retention duration of retention Policy.
    RetentionScheduleDaily Pulumi.AzureNative.RecoveryServices.Inputs.DailyRetentionFormat
    Daily retention format for yearly retention policy.
    RetentionScheduleFormatType string | Pulumi.AzureNative.RecoveryServices.RetentionScheduleFormat
    Retention schedule format for yearly retention policy.
    RetentionScheduleWeekly Pulumi.AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormat
    Weekly retention format for yearly retention policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    MonthsOfYear []MonthOfYear
    List of months of year of yearly retention policy.
    RetentionDuration RetentionDuration
    Retention duration of retention Policy.
    RetentionScheduleDaily DailyRetentionFormat
    Daily retention format for yearly retention policy.
    RetentionScheduleFormatType string | RetentionScheduleFormat
    Retention schedule format for yearly retention policy.
    RetentionScheduleWeekly WeeklyRetentionFormat
    Weekly retention format for yearly retention policy.
    RetentionTimes []string
    Retention times of retention policy.
    monthsOfYear List<MonthOfYear>
    List of months of year of yearly retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormat
    Daily retention format for yearly retention policy.
    retentionScheduleFormatType String | RetentionScheduleFormat
    Retention schedule format for yearly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormat
    Weekly retention format for yearly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.
    monthsOfYear MonthOfYear[]
    List of months of year of yearly retention policy.
    retentionDuration RetentionDuration
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormat
    Daily retention format for yearly retention policy.
    retentionScheduleFormatType string | RetentionScheduleFormat
    Retention schedule format for yearly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormat
    Weekly retention format for yearly retention policy.
    retentionTimes string[]
    Retention times of retention policy.
    months_of_year Sequence[MonthOfYear]
    List of months of year of yearly retention policy.
    retention_duration RetentionDuration
    Retention duration of retention Policy.
    retention_schedule_daily DailyRetentionFormat
    Daily retention format for yearly retention policy.
    retention_schedule_format_type str | RetentionScheduleFormat
    Retention schedule format for yearly retention policy.
    retention_schedule_weekly WeeklyRetentionFormat
    Weekly retention format for yearly retention policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    monthsOfYear List<"Invalid" | "January" | "February" | "March" | "April" | "May" | "June" | "July" | "August" | "September" | "October" | "November" | "December">
    List of months of year of yearly retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionScheduleDaily Property Map
    Daily retention format for yearly retention policy.
    retentionScheduleFormatType String | "Invalid" | "Daily" | "Weekly"
    Retention schedule format for yearly retention policy.
    retentionScheduleWeekly Property Map
    Weekly retention format for yearly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.

    YearlyRetentionScheduleResponse, YearlyRetentionScheduleResponseArgs

    MonthsOfYear List<string>
    List of months of year of yearly retention policy.
    RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionScheduleDaily Pulumi.AzureNative.RecoveryServices.Inputs.DailyRetentionFormatResponse
    Daily retention format for yearly retention policy.
    RetentionScheduleFormatType string
    Retention schedule format for yearly retention policy.
    RetentionScheduleWeekly Pulumi.AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatResponse
    Weekly retention format for yearly retention policy.
    RetentionTimes List<string>
    Retention times of retention policy.
    MonthsOfYear []string
    List of months of year of yearly retention policy.
    RetentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    RetentionScheduleDaily DailyRetentionFormatResponse
    Daily retention format for yearly retention policy.
    RetentionScheduleFormatType string
    Retention schedule format for yearly retention policy.
    RetentionScheduleWeekly WeeklyRetentionFormatResponse
    Weekly retention format for yearly retention policy.
    RetentionTimes []string
    Retention times of retention policy.
    monthsOfYear List<String>
    List of months of year of yearly retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormatResponse
    Daily retention format for yearly retention policy.
    retentionScheduleFormatType String
    Retention schedule format for yearly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormatResponse
    Weekly retention format for yearly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.
    monthsOfYear string[]
    List of months of year of yearly retention policy.
    retentionDuration RetentionDurationResponse
    Retention duration of retention Policy.
    retentionScheduleDaily DailyRetentionFormatResponse
    Daily retention format for yearly retention policy.
    retentionScheduleFormatType string
    Retention schedule format for yearly retention policy.
    retentionScheduleWeekly WeeklyRetentionFormatResponse
    Weekly retention format for yearly retention policy.
    retentionTimes string[]
    Retention times of retention policy.
    months_of_year Sequence[str]
    List of months of year of yearly retention policy.
    retention_duration RetentionDurationResponse
    Retention duration of retention Policy.
    retention_schedule_daily DailyRetentionFormatResponse
    Daily retention format for yearly retention policy.
    retention_schedule_format_type str
    Retention schedule format for yearly retention policy.
    retention_schedule_weekly WeeklyRetentionFormatResponse
    Weekly retention format for yearly retention policy.
    retention_times Sequence[str]
    Retention times of retention policy.
    monthsOfYear List<String>
    List of months of year of yearly retention policy.
    retentionDuration Property Map
    Retention duration of retention Policy.
    retentionScheduleDaily Property Map
    Daily retention format for yearly retention policy.
    retentionScheduleFormatType String
    Retention schedule format for yearly retention policy.
    retentionScheduleWeekly Property Map
    Weekly retention format for yearly retention policy.
    retentionTimes List<String>
    Retention times of retention policy.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:recoveryservices:ProtectionPolicy testPolicy1 /Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi