1. Packages
  2. Azure Native
  3. API Docs
  4. workloads
  5. ACSSBackupConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.36.0 published on Monday, Apr 8, 2024 by Pulumi

azure-native.workloads.ACSSBackupConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.36.0 published on Monday, Apr 8, 2024 by Pulumi

    Define the backup connection resource of virtual instance for SAP.. Azure REST API version: 2023-10-01-preview.

    Example Usage

    Create a HANA backup connection with a new backup policy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.HanaBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
                {
                    BackupManagementType = "AzureWorkload",
                    Name = "defaultHanaPolicy",
                    ProtectedItemsCount = 0,
                    Settings = new AzureNative.Workloads.Inputs.SettingsArgs
                    {
                        IsCompression = false,
                        Issqlcompression = false,
                        TimeZone = "UTC",
                    },
                    SubProtectionPolicy = new[]
                    {
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Full,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                            {
                                MonthlySchedule = new AzureNative.Workloads.Inputs.MonthlyRetentionScheduleArgs
                                {
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 60,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Months,
                                    },
                                    RetentionScheduleFormatType = AzureNative.Workloads.RetentionScheduleFormat.Weekly,
                                    RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                    {
                                        DaysOfTheWeek = new[]
                                        {
                                            AzureNative.Workloads.DayOfWeek.Sunday,
                                        },
                                        WeeksOfTheMonth = new[]
                                        {
                                            AzureNative.Workloads.WeekOfMonth.First,
                                        },
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2022-11-29T19:30:00.000Z",
                                    },
                                },
                                RetentionPolicyType = "LongTermRetentionPolicy",
                                WeeklySchedule = new AzureNative.Workloads.Inputs.WeeklyRetentionScheduleArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.Workloads.DayOfWeek.Sunday,
                                    },
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 104,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Weeks,
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2022-11-29T19:30:00.000Z",
                                    },
                                },
                                YearlySchedule = new AzureNative.Workloads.Inputs.YearlyRetentionScheduleArgs
                                {
                                    MonthsOfYear = new[]
                                    {
                                        AzureNative.Workloads.MonthOfYear.January,
                                    },
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 10,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Years,
                                    },
                                    RetentionScheduleFormatType = AzureNative.Workloads.RetentionScheduleFormat.Weekly,
                                    RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                    {
                                        DaysOfTheWeek = new[]
                                        {
                                            AzureNative.Workloads.DayOfWeek.Sunday,
                                        },
                                        WeeksOfTheMonth = new[]
                                        {
                                            AzureNative.Workloads.WeekOfMonth.First,
                                        },
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2022-11-29T19:30:00.000Z",
                                    },
                                },
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                            {
                                SchedulePolicyType = "SimpleSchedulePolicy",
                                ScheduleRunDays = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Sunday,
                                },
                                ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Weekly,
                                ScheduleRunTimes = new[]
                                {
                                    "2022-11-29T19:30:00.000Z",
                                },
                            },
                            TieringPolicy = 
                            {
                                { "ArchivedRP", new AzureNative.Workloads.Inputs.TieringPolicyArgs
                                {
                                    TieringMode = AzureNative.Workloads.TieringMode.DoNotTier,
                                } },
                            },
                        },
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Differential,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.SimpleRetentionPolicyArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 30,
                                    DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                },
                                RetentionPolicyType = "SimpleRetentionPolicy",
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                            {
                                SchedulePolicyType = "SimpleSchedulePolicy",
                                ScheduleRunDays = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Monday,
                                },
                                ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Weekly,
                                ScheduleRunTimes = new[]
                                {
                                    "2022-09-29T02:00:00Z",
                                },
                                ScheduleWeeklyFrequency = 0,
                            },
                        },
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Log,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.SimpleRetentionPolicyArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 20,
                                    DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                },
                                RetentionPolicyType = "SimpleRetentionPolicy",
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.LogSchedulePolicyArgs
                            {
                                ScheduleFrequencyInMins = 120,
                                SchedulePolicyType = "LogSchedulePolicy",
                            },
                        },
                    },
                    WorkLoadType = AzureNative.Workloads.WorkloadType.SAPHanaDatabase,
                },
                BackupType = "HANA",
                DbInstanceSnapshotBackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
                {
                    BackupManagementType = "AzureWorkload",
                    Name = "defaultDbInstanceSnapshotPolicy",
                    Settings = new AzureNative.Workloads.Inputs.SettingsArgs
                    {
                        IsCompression = false,
                        Issqlcompression = false,
                        TimeZone = "UTC",
                    },
                    SubProtectionPolicy = new[]
                    {
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.SnapshotFull,
                            SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                            {
                                SchedulePolicyType = "SimpleSchedulePolicy",
                                ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Daily,
                                ScheduleRunTimes = new[]
                                {
                                    "2023-09-18T06:30:00.000Z",
                                },
                            },
                            SnapshotBackupAdditionalDetails = new AzureNative.Workloads.Inputs.SnapshotBackupAdditionalDetailsArgs
                            {
                                InstantRPDetails = "test-rg",
                                InstantRpRetentionRangeInDays = 1,
                                UserAssignedManagedIdentityDetails = new AzureNative.Workloads.Inputs.UserAssignedManagedIdentityDetailsArgs
                                {
                                    IdentityArmId = "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testMsi",
                                    IdentityName = "testMsi",
                                    UserAssignedIdentityProperties = new AzureNative.Workloads.Inputs.UserAssignedIdentityPropertiesArgs
                                    {
                                        ClientId = "c3a877cf-51f8-4031-8f17-ab562d1e7737",
                                        PrincipalId = "2f5834bd-4b86-4d85-a8df-6dd829a6418c",
                                    },
                                },
                            },
                        },
                    },
                    WorkLoadType = AzureNative.Workloads.WorkloadType.SAPHanaDBInstance,
                },
                HdbuserstoreKeyName = "abcd",
                InstanceNumber = "00",
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.NewRecoveryServicesVaultArgs
                {
                    Name = "test-vault",
                    ResourceGroup = "test-rg",
                    VaultType = "New",
                },
                SslConfiguration = new AzureNative.Workloads.Inputs.SSLConfigurationArgs
                {
                    SslCryptoProvider = AzureNative.Workloads.SslCryptoProvider.Commoncrypto,
                    SslHostNameInCertificate = "hostname",
                    SslKeyStore = "sapsrv.pse",
                    SslTrustStore = "sapsrv.pse",
                },
            },
            BackupName = "dbBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    			BackupData: workloads.HanaBackupData{
    				BackupPolicy: workloads.DBBackupPolicyProperties{
    					BackupManagementType: "AzureWorkload",
    					Name:                 "defaultHanaPolicy",
    					ProtectedItemsCount:  0,
    					Settings: workloads.Settings{
    						IsCompression:    false,
    						Issqlcompression: false,
    						TimeZone:         "UTC",
    					},
    					SubProtectionPolicy: []workloads.SubProtectionPolicy{
    						{
    							PolicyType: workloads.PolicyTypeFull,
    							RetentionPolicy: {
    								MonthlySchedule: {
    									RetentionDuration: {
    										Count:        60,
    										DurationType: workloads.RetentionDurationTypeMonths,
    									},
    									RetentionScheduleFormatType: workloads.RetentionScheduleFormatWeekly,
    									RetentionScheduleWeekly: {
    										DaysOfTheWeek: []workloads.DayOfWeek{
    											workloads.DayOfWeekSunday,
    										},
    										WeeksOfTheMonth: []workloads.WeekOfMonth{
    											workloads.WeekOfMonthFirst,
    										},
    									},
    									RetentionTimes: []string{
    										"2022-11-29T19:30:00.000Z",
    									},
    								},
    								RetentionPolicyType: "LongTermRetentionPolicy",
    								WeeklySchedule: {
    									DaysOfTheWeek: []workloads.DayOfWeek{
    										workloads.DayOfWeekSunday,
    									},
    									RetentionDuration: {
    										Count:        104,
    										DurationType: workloads.RetentionDurationTypeWeeks,
    									},
    									RetentionTimes: []string{
    										"2022-11-29T19:30:00.000Z",
    									},
    								},
    								YearlySchedule: {
    									MonthsOfYear: []workloads.MonthOfYear{
    										workloads.MonthOfYearJanuary,
    									},
    									RetentionDuration: {
    										Count:        10,
    										DurationType: workloads.RetentionDurationTypeYears,
    									},
    									RetentionScheduleFormatType: workloads.RetentionScheduleFormatWeekly,
    									RetentionScheduleWeekly: {
    										DaysOfTheWeek: []workloads.DayOfWeek{
    											workloads.DayOfWeekSunday,
    										},
    										WeeksOfTheMonth: []workloads.WeekOfMonth{
    											workloads.WeekOfMonthFirst,
    										},
    									},
    									RetentionTimes: []string{
    										"2022-11-29T19:30:00.000Z",
    									},
    								},
    							},
    							SchedulePolicy: {
    								SchedulePolicyType: "SimpleSchedulePolicy",
    								ScheduleRunDays: []workloads.DayOfWeek{
    									workloads.DayOfWeekSunday,
    								},
    								ScheduleRunFrequency: workloads.ScheduleRunTypeWeekly,
    								ScheduleRunTimes: []string{
    									"2022-11-29T19:30:00.000Z",
    								},
    							},
    							TieringPolicy: {
    								ArchivedRP: {
    									TieringMode: workloads.TieringModeDoNotTier,
    								},
    							},
    						},
    						{
    							PolicyType: workloads.PolicyTypeDifferential,
    							RetentionPolicy: {
    								RetentionDuration: {
    									Count:        30,
    									DurationType: workloads.RetentionDurationTypeDays,
    								},
    								RetentionPolicyType: "SimpleRetentionPolicy",
    							},
    							SchedulePolicy: {
    								SchedulePolicyType: "SimpleSchedulePolicy",
    								ScheduleRunDays: []workloads.DayOfWeek{
    									workloads.DayOfWeekMonday,
    								},
    								ScheduleRunFrequency: workloads.ScheduleRunTypeWeekly,
    								ScheduleRunTimes: []string{
    									"2022-09-29T02:00:00Z",
    								},
    								ScheduleWeeklyFrequency: 0,
    							},
    						},
    						{
    							PolicyType: workloads.PolicyTypeLog,
    							RetentionPolicy: {
    								RetentionDuration: {
    									Count:        20,
    									DurationType: workloads.RetentionDurationTypeDays,
    								},
    								RetentionPolicyType: "SimpleRetentionPolicy",
    							},
    							SchedulePolicy: {
    								ScheduleFrequencyInMins: 120,
    								SchedulePolicyType:      "LogSchedulePolicy",
    							},
    						},
    					},
    					WorkLoadType: workloads.WorkloadTypeSAPHanaDatabase,
    				},
    				BackupType: "HANA",
    				DbInstanceSnapshotBackupPolicy: workloads.DBBackupPolicyProperties{
    					BackupManagementType: "AzureWorkload",
    					Name:                 "defaultDbInstanceSnapshotPolicy",
    					Settings: workloads.Settings{
    						IsCompression:    false,
    						Issqlcompression: false,
    						TimeZone:         "UTC",
    					},
    					SubProtectionPolicy: []workloads.SubProtectionPolicy{
    						{
    							PolicyType: workloads.PolicyTypeSnapshotFull,
    							SchedulePolicy: {
    								SchedulePolicyType:   "SimpleSchedulePolicy",
    								ScheduleRunFrequency: workloads.ScheduleRunTypeDaily,
    								ScheduleRunTimes: []string{
    									"2023-09-18T06:30:00.000Z",
    								},
    							},
    							SnapshotBackupAdditionalDetails: {
    								InstantRPDetails:              "test-rg",
    								InstantRpRetentionRangeInDays: 1,
    								UserAssignedManagedIdentityDetails: {
    									IdentityArmId: "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testMsi",
    									IdentityName:  "testMsi",
    									UserAssignedIdentityProperties: {
    										ClientId:    "c3a877cf-51f8-4031-8f17-ab562d1e7737",
    										PrincipalId: "2f5834bd-4b86-4d85-a8df-6dd829a6418c",
    									},
    								},
    							},
    						},
    					},
    					WorkLoadType: workloads.WorkloadTypeSAPHanaDBInstance,
    				},
    				HdbuserstoreKeyName: "abcd",
    				InstanceNumber:      "00",
    				RecoveryServicesVault: workloads.NewRecoveryServicesVault{
    					Name:          "test-vault",
    					ResourceGroup: "test-rg",
    					VaultType:     "New",
    				},
    				SslConfiguration: workloads.SSLConfiguration{
    					SslCryptoProvider:        workloads.SslCryptoProviderCommoncrypto,
    					SslHostNameInCertificate: "hostname",
    					SslKeyStore:              "sapsrv.pse",
    					SslTrustStore:            "sapsrv.pse",
    				},
    			},
    			BackupName:        pulumi.String("dbBackup"),
    			ConnectorName:     pulumi.String("C1"),
    			Location:          pulumi.String("westcentralus"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Tags:              nil,
    		})
    		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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(HanaBackupDataArgs.builder()
                    .backupPolicy(DBBackupPolicyPropertiesArgs.builder()
                        .backupManagementType("AzureWorkload")
                        .name("defaultHanaPolicy")
                        .protectedItemsCount(0)
                        .settings(SettingsArgs.builder()
                            .isCompression(false)
                            .issqlcompression(false)
                            .timeZone("UTC")
                            .build())
                        .subProtectionPolicy(                    
                            SubProtectionPolicyArgs.builder()
                                .policyType("Full")
                                .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                                    .monthlySchedule(MonthlyRetentionScheduleArgs.builder()
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(60)
                                            .durationType("Months")
                                            .build())
                                        .retentionScheduleFormatType("Weekly")
                                        .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                            .daysOfTheWeek("Sunday")
                                            .weeksOfTheMonth("First")
                                            .build())
                                        .retentionTimes("2022-11-29T19:30:00.000Z")
                                        .build())
                                    .retentionPolicyType("LongTermRetentionPolicy")
                                    .weeklySchedule(WeeklyRetentionScheduleArgs.builder()
                                        .daysOfTheWeek("Sunday")
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(104)
                                            .durationType("Weeks")
                                            .build())
                                        .retentionTimes("2022-11-29T19:30:00.000Z")
                                        .build())
                                    .yearlySchedule(YearlyRetentionScheduleArgs.builder()
                                        .monthsOfYear("January")
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(10)
                                            .durationType("Years")
                                            .build())
                                        .retentionScheduleFormatType("Weekly")
                                        .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                            .daysOfTheWeek("Sunday")
                                            .weeksOfTheMonth("First")
                                            .build())
                                        .retentionTimes("2022-11-29T19:30:00.000Z")
                                        .build())
                                    .build())
                                .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                                    .schedulePolicyType("SimpleSchedulePolicy")
                                    .scheduleRunDays("Sunday")
                                    .scheduleRunFrequency("Weekly")
                                    .scheduleRunTimes("2022-11-29T19:30:00.000Z")
                                    .build())
                                .tieringPolicy(Map.of("ArchivedRP", Map.of("tieringMode", "DoNotTier")))
                                .build(),
                            SubProtectionPolicyArgs.builder()
                                .policyType("Differential")
                                .retentionPolicy(SimpleRetentionPolicyArgs.builder()
                                    .retentionDuration(RetentionDurationArgs.builder()
                                        .count(30)
                                        .durationType("Days")
                                        .build())
                                    .retentionPolicyType("SimpleRetentionPolicy")
                                    .build())
                                .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                                    .schedulePolicyType("SimpleSchedulePolicy")
                                    .scheduleRunDays("Monday")
                                    .scheduleRunFrequency("Weekly")
                                    .scheduleRunTimes("2022-09-29T02:00:00Z")
                                    .scheduleWeeklyFrequency(0)
                                    .build())
                                .build(),
                            SubProtectionPolicyArgs.builder()
                                .policyType("Log")
                                .retentionPolicy(SimpleRetentionPolicyArgs.builder()
                                    .retentionDuration(RetentionDurationArgs.builder()
                                        .count(20)
                                        .durationType("Days")
                                        .build())
                                    .retentionPolicyType("SimpleRetentionPolicy")
                                    .build())
                                .schedulePolicy(LogSchedulePolicyArgs.builder()
                                    .scheduleFrequencyInMins(120)
                                    .schedulePolicyType("LogSchedulePolicy")
                                    .build())
                                .build())
                        .workLoadType("SAPHanaDatabase")
                        .build())
                    .backupType("HANA")
                    .dbInstanceSnapshotBackupPolicy(DBBackupPolicyPropertiesArgs.builder()
                        .backupManagementType("AzureWorkload")
                        .name("defaultDbInstanceSnapshotPolicy")
                        .settings(SettingsArgs.builder()
                            .isCompression(false)
                            .issqlcompression(false)
                            .timeZone("UTC")
                            .build())
                        .subProtectionPolicy(SubProtectionPolicyArgs.builder()
                            .policyType("SnapshotFull")
                            .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                                .schedulePolicyType("SimpleSchedulePolicy")
                                .scheduleRunFrequency("Daily")
                                .scheduleRunTimes("2023-09-18T06:30:00.000Z")
                                .build())
                            .snapshotBackupAdditionalDetails(SnapshotBackupAdditionalDetailsArgs.builder()
                                .instantRPDetails("test-rg")
                                .instantRpRetentionRangeInDays(1)
                                .userAssignedManagedIdentityDetails(UserAssignedManagedIdentityDetailsArgs.builder()
                                    .identityArmId("/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testMsi")
                                    .identityName("testMsi")
                                    .userAssignedIdentityProperties(UserAssignedIdentityPropertiesArgs.builder()
                                        .clientId("c3a877cf-51f8-4031-8f17-ab562d1e7737")
                                        .principalId("2f5834bd-4b86-4d85-a8df-6dd829a6418c")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .workLoadType("SAPHanaDBInstance")
                        .build())
                    .hdbuserstoreKeyName("abcd")
                    .instanceNumber("00")
                    .recoveryServicesVault(NewRecoveryServicesVaultArgs.builder()
                        .name("test-vault")
                        .resourceGroup("test-rg")
                        .vaultType("New")
                        .build())
                    .sslConfiguration(SSLConfigurationArgs.builder()
                        .sslCryptoProvider("commoncrypto")
                        .sslHostNameInCertificate("hostname")
                        .sslKeyStore("sapsrv.pse")
                        .sslTrustStore("sapsrv.pse")
                        .build())
                    .build())
                .backupName("dbBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.HanaBackupDataArgs(
            backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                backup_management_type="AzureWorkload",
                name="defaultHanaPolicy",
                protected_items_count=0,
                settings=azure_native.workloads.SettingsArgs(
                    is_compression=False,
                    issqlcompression=False,
                    time_zone="UTC",
                ),
                sub_protection_policy=[
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.FULL,
                        retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                            monthly_schedule=azure_native.workloads.MonthlyRetentionScheduleArgs(
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=60,
                                    duration_type=azure_native.workloads.RetentionDurationType.MONTHS,
                                ),
                                retention_schedule_format_type=azure_native.workloads.RetentionScheduleFormat.WEEKLY,
                                retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                    days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                    weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                                ),
                                retention_times=["2022-11-29T19:30:00.000Z"],
                            ),
                            retention_policy_type="LongTermRetentionPolicy",
                            weekly_schedule=azure_native.workloads.WeeklyRetentionScheduleArgs(
                                days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=104,
                                    duration_type=azure_native.workloads.RetentionDurationType.WEEKS,
                                ),
                                retention_times=["2022-11-29T19:30:00.000Z"],
                            ),
                            yearly_schedule=azure_native.workloads.YearlyRetentionScheduleArgs(
                                months_of_year=[azure_native.workloads.MonthOfYear.JANUARY],
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=10,
                                    duration_type=azure_native.workloads.RetentionDurationType.YEARS,
                                ),
                                retention_schedule_format_type=azure_native.workloads.RetentionScheduleFormat.WEEKLY,
                                retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                    days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                    weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                                ),
                                retention_times=["2022-11-29T19:30:00.000Z"],
                            ),
                        ),
                        schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                            schedule_policy_type="SimpleSchedulePolicy",
                            schedule_run_days=[azure_native.workloads.DayOfWeek.SUNDAY],
                            schedule_run_frequency=azure_native.workloads.ScheduleRunType.WEEKLY,
                            schedule_run_times=["2022-11-29T19:30:00.000Z"],
                        ),
                        tiering_policy={
                            "ArchivedRP": azure_native.workloads.TieringPolicyArgs(
                                tiering_mode=azure_native.workloads.TieringMode.DO_NOT_TIER,
                            ),
                        },
                    ),
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.DIFFERENTIAL,
                        retention_policy=azure_native.workloads.SimpleRetentionPolicyArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=30,
                                duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                            ),
                            retention_policy_type="SimpleRetentionPolicy",
                        ),
                        schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                            schedule_policy_type="SimpleSchedulePolicy",
                            schedule_run_days=[azure_native.workloads.DayOfWeek.MONDAY],
                            schedule_run_frequency=azure_native.workloads.ScheduleRunType.WEEKLY,
                            schedule_run_times=["2022-09-29T02:00:00Z"],
                            schedule_weekly_frequency=0,
                        ),
                    ),
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.LOG,
                        retention_policy=azure_native.workloads.SimpleRetentionPolicyArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=20,
                                duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                            ),
                            retention_policy_type="SimpleRetentionPolicy",
                        ),
                        schedule_policy=azure_native.workloads.LogSchedulePolicyArgs(
                            schedule_frequency_in_mins=120,
                            schedule_policy_type="LogSchedulePolicy",
                        ),
                    ),
                ],
                work_load_type=azure_native.workloads.WorkloadType.SAP_HANA_DATABASE,
            ),
            backup_type="HANA",
            db_instance_snapshot_backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                backup_management_type="AzureWorkload",
                name="defaultDbInstanceSnapshotPolicy",
                settings=azure_native.workloads.SettingsArgs(
                    is_compression=False,
                    issqlcompression=False,
                    time_zone="UTC",
                ),
                sub_protection_policy=[azure_native.workloads.SubProtectionPolicyArgs(
                    policy_type=azure_native.workloads.PolicyType.SNAPSHOT_FULL,
                    schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                        schedule_policy_type="SimpleSchedulePolicy",
                        schedule_run_frequency=azure_native.workloads.ScheduleRunType.DAILY,
                        schedule_run_times=["2023-09-18T06:30:00.000Z"],
                    ),
                    snapshot_backup_additional_details=azure_native.workloads.SnapshotBackupAdditionalDetailsArgs(
                        instant_rp_details="test-rg",
                        instant_rp_retention_range_in_days=1,
                        user_assigned_managed_identity_details=azure_native.workloads.UserAssignedManagedIdentityDetailsArgs(
                            identity_arm_id="/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testMsi",
                            identity_name="testMsi",
                            user_assigned_identity_properties=azure_native.workloads.UserAssignedIdentityPropertiesArgs(
                                client_id="c3a877cf-51f8-4031-8f17-ab562d1e7737",
                                principal_id="2f5834bd-4b86-4d85-a8df-6dd829a6418c",
                            ),
                        ),
                    ),
                )],
                work_load_type=azure_native.workloads.WorkloadType.SAP_HANA_DB_INSTANCE,
            ),
            hdbuserstore_key_name="abcd",
            instance_number="00",
            recovery_services_vault=azure_native.workloads.NewRecoveryServicesVaultArgs(
                name="test-vault",
                resource_group="test-rg",
                vault_type="New",
            ),
            ssl_configuration=azure_native.workloads.SSLConfigurationArgs(
                ssl_crypto_provider=azure_native.workloads.SslCryptoProvider.COMMONCRYPTO,
                ssl_host_name_in_certificate="hostname",
                ssl_key_store="sapsrv.pse",
                ssl_trust_store="sapsrv.pse",
            ),
        ),
        backup_name="dbBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                backupManagementType: "AzureWorkload",
                name: "defaultHanaPolicy",
                protectedItemsCount: 0,
                settings: {
                    isCompression: false,
                    issqlcompression: false,
                    timeZone: "UTC",
                },
                subProtectionPolicy: [
                    {
                        policyType: azure_native.workloads.PolicyType.Full,
                        retentionPolicy: {
                            monthlySchedule: {
                                retentionDuration: {
                                    count: 60,
                                    durationType: azure_native.workloads.RetentionDurationType.Months,
                                },
                                retentionScheduleFormatType: azure_native.workloads.RetentionScheduleFormat.Weekly,
                                retentionScheduleWeekly: {
                                    daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                    weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                                },
                                retentionTimes: ["2022-11-29T19:30:00.000Z"],
                            },
                            retentionPolicyType: "LongTermRetentionPolicy",
                            weeklySchedule: {
                                daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                retentionDuration: {
                                    count: 104,
                                    durationType: azure_native.workloads.RetentionDurationType.Weeks,
                                },
                                retentionTimes: ["2022-11-29T19:30:00.000Z"],
                            },
                            yearlySchedule: {
                                monthsOfYear: [azure_native.workloads.MonthOfYear.January],
                                retentionDuration: {
                                    count: 10,
                                    durationType: azure_native.workloads.RetentionDurationType.Years,
                                },
                                retentionScheduleFormatType: azure_native.workloads.RetentionScheduleFormat.Weekly,
                                retentionScheduleWeekly: {
                                    daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                    weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                                },
                                retentionTimes: ["2022-11-29T19:30:00.000Z"],
                            },
                        },
                        schedulePolicy: {
                            schedulePolicyType: "SimpleSchedulePolicy",
                            scheduleRunDays: [azure_native.workloads.DayOfWeek.Sunday],
                            scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Weekly,
                            scheduleRunTimes: ["2022-11-29T19:30:00.000Z"],
                        },
                        tieringPolicy: {
                            ArchivedRP: {
                                tieringMode: azure_native.workloads.TieringMode.DoNotTier,
                            },
                        },
                    },
                    {
                        policyType: azure_native.workloads.PolicyType.Differential,
                        retentionPolicy: {
                            retentionDuration: {
                                count: 30,
                                durationType: azure_native.workloads.RetentionDurationType.Days,
                            },
                            retentionPolicyType: "SimpleRetentionPolicy",
                        },
                        schedulePolicy: {
                            schedulePolicyType: "SimpleSchedulePolicy",
                            scheduleRunDays: [azure_native.workloads.DayOfWeek.Monday],
                            scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Weekly,
                            scheduleRunTimes: ["2022-09-29T02:00:00Z"],
                            scheduleWeeklyFrequency: 0,
                        },
                    },
                    {
                        policyType: azure_native.workloads.PolicyType.Log,
                        retentionPolicy: {
                            retentionDuration: {
                                count: 20,
                                durationType: azure_native.workloads.RetentionDurationType.Days,
                            },
                            retentionPolicyType: "SimpleRetentionPolicy",
                        },
                        schedulePolicy: {
                            scheduleFrequencyInMins: 120,
                            schedulePolicyType: "LogSchedulePolicy",
                        },
                    },
                ],
                workLoadType: azure_native.workloads.WorkloadType.SAPHanaDatabase,
            },
            backupType: "HANA",
            dbInstanceSnapshotBackupPolicy: {
                backupManagementType: "AzureWorkload",
                name: "defaultDbInstanceSnapshotPolicy",
                settings: {
                    isCompression: false,
                    issqlcompression: false,
                    timeZone: "UTC",
                },
                subProtectionPolicy: [{
                    policyType: azure_native.workloads.PolicyType.SnapshotFull,
                    schedulePolicy: {
                        schedulePolicyType: "SimpleSchedulePolicy",
                        scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Daily,
                        scheduleRunTimes: ["2023-09-18T06:30:00.000Z"],
                    },
                    snapshotBackupAdditionalDetails: {
                        instantRPDetails: "test-rg",
                        instantRpRetentionRangeInDays: 1,
                        userAssignedManagedIdentityDetails: {
                            identityArmId: "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testMsi",
                            identityName: "testMsi",
                            userAssignedIdentityProperties: {
                                clientId: "c3a877cf-51f8-4031-8f17-ab562d1e7737",
                                principalId: "2f5834bd-4b86-4d85-a8df-6dd829a6418c",
                            },
                        },
                    },
                }],
                workLoadType: azure_native.workloads.WorkloadType.SAPHanaDBInstance,
            },
            hdbuserstoreKeyName: "abcd",
            instanceNumber: "00",
            recoveryServicesVault: {
                name: "test-vault",
                resourceGroup: "test-rg",
                vaultType: "New",
            },
            sslConfiguration: {
                sslCryptoProvider: azure_native.workloads.SslCryptoProvider.Commoncrypto,
                sslHostNameInCertificate: "hostname",
                sslKeyStore: "sapsrv.pse",
                sslTrustStore: "sapsrv.pse",
            },
        },
        backupName: "dbBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              backupManagementType: AzureWorkload
              name: defaultHanaPolicy
              protectedItemsCount: 0
              settings:
                isCompression: false
                issqlcompression: false
                timeZone: UTC
              subProtectionPolicy:
                - policyType: Full
                  retentionPolicy:
                    monthlySchedule:
                      retentionDuration:
                        count: 60
                        durationType: Months
                      retentionScheduleFormatType: Weekly
                      retentionScheduleWeekly:
                        daysOfTheWeek:
                          - Sunday
                        weeksOfTheMonth:
                          - First
                      retentionTimes:
                        - 2022-11-29T19:30:00.000Z
                    retentionPolicyType: LongTermRetentionPolicy
                    weeklySchedule:
                      daysOfTheWeek:
                        - Sunday
                      retentionDuration:
                        count: 104
                        durationType: Weeks
                      retentionTimes:
                        - 2022-11-29T19:30:00.000Z
                    yearlySchedule:
                      monthsOfYear:
                        - January
                      retentionDuration:
                        count: 10
                        durationType: Years
                      retentionScheduleFormatType: Weekly
                      retentionScheduleWeekly:
                        daysOfTheWeek:
                          - Sunday
                        weeksOfTheMonth:
                          - First
                      retentionTimes:
                        - 2022-11-29T19:30:00.000Z
                  schedulePolicy:
                    schedulePolicyType: SimpleSchedulePolicy
                    scheduleRunDays:
                      - Sunday
                    scheduleRunFrequency: Weekly
                    scheduleRunTimes:
                      - 2022-11-29T19:30:00.000Z
                  tieringPolicy:
                    ArchivedRP:
                      tieringMode: DoNotTier
                - policyType: Differential
                  retentionPolicy:
                    retentionDuration:
                      count: 30
                      durationType: Days
                    retentionPolicyType: SimpleRetentionPolicy
                  schedulePolicy:
                    schedulePolicyType: SimpleSchedulePolicy
                    scheduleRunDays:
                      - Monday
                    scheduleRunFrequency: Weekly
                    scheduleRunTimes:
                      - 2022-09-29T02:00:00Z
                    scheduleWeeklyFrequency: 0
                - policyType: Log
                  retentionPolicy:
                    retentionDuration:
                      count: 20
                      durationType: Days
                    retentionPolicyType: SimpleRetentionPolicy
                  schedulePolicy:
                    scheduleFrequencyInMins: 120
                    schedulePolicyType: LogSchedulePolicy
              workLoadType: SAPHanaDatabase
            backupType: HANA
            dbInstanceSnapshotBackupPolicy:
              backupManagementType: AzureWorkload
              name: defaultDbInstanceSnapshotPolicy
              settings:
                isCompression: false
                issqlcompression: false
                timeZone: UTC
              subProtectionPolicy:
                - policyType: SnapshotFull
                  schedulePolicy:
                    schedulePolicyType: SimpleSchedulePolicy
                    scheduleRunFrequency: Daily
                    scheduleRunTimes:
                      - 2023-09-18T06:30:00.000Z
                  snapshotBackupAdditionalDetails:
                    instantRPDetails: test-rg
                    instantRpRetentionRangeInDays: 1
                    userAssignedManagedIdentityDetails:
                      identityArmId: /subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testMsi
                      identityName: testMsi
                      userAssignedIdentityProperties:
                        clientId: c3a877cf-51f8-4031-8f17-ab562d1e7737
                        principalId: 2f5834bd-4b86-4d85-a8df-6dd829a6418c
              workLoadType: SAPHanaDBInstance
            hdbuserstoreKeyName: abcd
            instanceNumber: '00'
            recoveryServicesVault:
              name: test-vault
              resourceGroup: test-rg
              vaultType: New
            sslConfiguration:
              sslCryptoProvider: commoncrypto
              sslHostNameInCertificate: hostname
              sslKeyStore: sapsrv.pse
              sslTrustStore: sapsrv.pse
          backupName: dbBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create a SQL backup connection with a new backup policy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.SqlBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
                {
                    BackupManagementType = "AzureWorkload",
                    Name = "defaultSqlPolicy",
                    ProtectedItemsCount = 0,
                    Settings = new AzureNative.Workloads.Inputs.SettingsArgs
                    {
                        IsCompression = true,
                        Issqlcompression = true,
                        TimeZone = "UTC",
                    },
                    SubProtectionPolicy = new[]
                    {
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Full,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                            {
                                MonthlySchedule = new AzureNative.Workloads.Inputs.MonthlyRetentionScheduleArgs
                                {
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 60,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Months,
                                    },
                                    RetentionScheduleFormatType = AzureNative.Workloads.RetentionScheduleFormat.Weekly,
                                    RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                    {
                                        DaysOfTheWeek = new[]
                                        {
                                            AzureNative.Workloads.DayOfWeek.Sunday,
                                        },
                                        WeeksOfTheMonth = new[]
                                        {
                                            AzureNative.Workloads.WeekOfMonth.First,
                                        },
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2022-11-29T19:30:00.000Z",
                                    },
                                },
                                RetentionPolicyType = "LongTermRetentionPolicy",
                                WeeklySchedule = new AzureNative.Workloads.Inputs.WeeklyRetentionScheduleArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.Workloads.DayOfWeek.Sunday,
                                    },
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 104,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Weeks,
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2022-11-29T19:30:00.000Z",
                                    },
                                },
                                YearlySchedule = new AzureNative.Workloads.Inputs.YearlyRetentionScheduleArgs
                                {
                                    MonthsOfYear = new[]
                                    {
                                        AzureNative.Workloads.MonthOfYear.January,
                                    },
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 10,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Years,
                                    },
                                    RetentionScheduleFormatType = AzureNative.Workloads.RetentionScheduleFormat.Weekly,
                                    RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                    {
                                        DaysOfTheWeek = new[]
                                        {
                                            AzureNative.Workloads.DayOfWeek.Sunday,
                                        },
                                        WeeksOfTheMonth = new[]
                                        {
                                            AzureNative.Workloads.WeekOfMonth.First,
                                        },
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2022-11-29T19:30:00.000Z",
                                    },
                                },
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                            {
                                SchedulePolicyType = "SimpleSchedulePolicy",
                                ScheduleRunDays = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Sunday,
                                },
                                ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Weekly,
                                ScheduleRunTimes = new[]
                                {
                                    "2022-11-29T19:30:00.000Z",
                                },
                            },
                            TieringPolicy = 
                            {
                                { "ArchivedRP", new AzureNative.Workloads.Inputs.TieringPolicyArgs
                                {
                                    Duration = 45,
                                    DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                    TieringMode = AzureNative.Workloads.TieringMode.TierAfter,
                                } },
                            },
                        },
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Differential,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.SimpleRetentionPolicyArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 30,
                                    DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                },
                                RetentionPolicyType = "SimpleRetentionPolicy",
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                            {
                                SchedulePolicyType = "SimpleSchedulePolicy",
                                ScheduleRunDays = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Monday,
                                },
                                ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Weekly,
                                ScheduleRunTimes = new[]
                                {
                                    "2022-09-29T02:00:00Z",
                                },
                                ScheduleWeeklyFrequency = 0,
                            },
                        },
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Log,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.SimpleRetentionPolicyArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 20,
                                    DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                },
                                RetentionPolicyType = "SimpleRetentionPolicy",
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.LogSchedulePolicyArgs
                            {
                                ScheduleFrequencyInMins = 120,
                                SchedulePolicyType = "LogSchedulePolicy",
                            },
                        },
                    },
                    WorkLoadType = AzureNative.Workloads.WorkloadType.SQLDataBase,
                },
                BackupType = "SQL",
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.NewRecoveryServicesVaultArgs
                {
                    Name = "test-vault",
                    ResourceGroup = "test-rg",
                    VaultType = "New",
                },
            },
            BackupName = "dbBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    			BackupData: workloads.SqlBackupData{
    				BackupPolicy: workloads.DBBackupPolicyProperties{
    					BackupManagementType: "AzureWorkload",
    					Name:                 "defaultSqlPolicy",
    					ProtectedItemsCount:  0,
    					Settings: workloads.Settings{
    						IsCompression:    true,
    						Issqlcompression: true,
    						TimeZone:         "UTC",
    					},
    					SubProtectionPolicy: []workloads.SubProtectionPolicy{
    						{
    							PolicyType: workloads.PolicyTypeFull,
    							RetentionPolicy: {
    								MonthlySchedule: {
    									RetentionDuration: {
    										Count:        60,
    										DurationType: workloads.RetentionDurationTypeMonths,
    									},
    									RetentionScheduleFormatType: workloads.RetentionScheduleFormatWeekly,
    									RetentionScheduleWeekly: {
    										DaysOfTheWeek: []workloads.DayOfWeek{
    											workloads.DayOfWeekSunday,
    										},
    										WeeksOfTheMonth: []workloads.WeekOfMonth{
    											workloads.WeekOfMonthFirst,
    										},
    									},
    									RetentionTimes: []string{
    										"2022-11-29T19:30:00.000Z",
    									},
    								},
    								RetentionPolicyType: "LongTermRetentionPolicy",
    								WeeklySchedule: {
    									DaysOfTheWeek: []workloads.DayOfWeek{
    										workloads.DayOfWeekSunday,
    									},
    									RetentionDuration: {
    										Count:        104,
    										DurationType: workloads.RetentionDurationTypeWeeks,
    									},
    									RetentionTimes: []string{
    										"2022-11-29T19:30:00.000Z",
    									},
    								},
    								YearlySchedule: {
    									MonthsOfYear: []workloads.MonthOfYear{
    										workloads.MonthOfYearJanuary,
    									},
    									RetentionDuration: {
    										Count:        10,
    										DurationType: workloads.RetentionDurationTypeYears,
    									},
    									RetentionScheduleFormatType: workloads.RetentionScheduleFormatWeekly,
    									RetentionScheduleWeekly: {
    										DaysOfTheWeek: []workloads.DayOfWeek{
    											workloads.DayOfWeekSunday,
    										},
    										WeeksOfTheMonth: []workloads.WeekOfMonth{
    											workloads.WeekOfMonthFirst,
    										},
    									},
    									RetentionTimes: []string{
    										"2022-11-29T19:30:00.000Z",
    									},
    								},
    							},
    							SchedulePolicy: {
    								SchedulePolicyType: "SimpleSchedulePolicy",
    								ScheduleRunDays: []workloads.DayOfWeek{
    									workloads.DayOfWeekSunday,
    								},
    								ScheduleRunFrequency: workloads.ScheduleRunTypeWeekly,
    								ScheduleRunTimes: []string{
    									"2022-11-29T19:30:00.000Z",
    								},
    							},
    							TieringPolicy: {
    								ArchivedRP: {
    									Duration:     45,
    									DurationType: workloads.RetentionDurationTypeDays,
    									TieringMode:  workloads.TieringModeTierAfter,
    								},
    							},
    						},
    						{
    							PolicyType: workloads.PolicyTypeDifferential,
    							RetentionPolicy: {
    								RetentionDuration: {
    									Count:        30,
    									DurationType: workloads.RetentionDurationTypeDays,
    								},
    								RetentionPolicyType: "SimpleRetentionPolicy",
    							},
    							SchedulePolicy: {
    								SchedulePolicyType: "SimpleSchedulePolicy",
    								ScheduleRunDays: []workloads.DayOfWeek{
    									workloads.DayOfWeekMonday,
    								},
    								ScheduleRunFrequency: workloads.ScheduleRunTypeWeekly,
    								ScheduleRunTimes: []string{
    									"2022-09-29T02:00:00Z",
    								},
    								ScheduleWeeklyFrequency: 0,
    							},
    						},
    						{
    							PolicyType: workloads.PolicyTypeLog,
    							RetentionPolicy: {
    								RetentionDuration: {
    									Count:        20,
    									DurationType: workloads.RetentionDurationTypeDays,
    								},
    								RetentionPolicyType: "SimpleRetentionPolicy",
    							},
    							SchedulePolicy: {
    								ScheduleFrequencyInMins: 120,
    								SchedulePolicyType:      "LogSchedulePolicy",
    							},
    						},
    					},
    					WorkLoadType: workloads.WorkloadTypeSQLDataBase,
    				},
    				BackupType: "SQL",
    				RecoveryServicesVault: workloads.NewRecoveryServicesVault{
    					Name:          "test-vault",
    					ResourceGroup: "test-rg",
    					VaultType:     "New",
    				},
    			},
    			BackupName:        pulumi.String("dbBackup"),
    			ConnectorName:     pulumi.String("C1"),
    			Location:          pulumi.String("westcentralus"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Tags:              nil,
    		})
    		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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(HanaBackupDataArgs.builder()
                    .backupPolicy(DBBackupPolicyPropertiesArgs.builder()
                        .backupManagementType("AzureWorkload")
                        .name("defaultSqlPolicy")
                        .protectedItemsCount(0)
                        .settings(SettingsArgs.builder()
                            .isCompression(true)
                            .issqlcompression(true)
                            .timeZone("UTC")
                            .build())
                        .subProtectionPolicy(                    
                            SubProtectionPolicyArgs.builder()
                                .policyType("Full")
                                .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                                    .monthlySchedule(MonthlyRetentionScheduleArgs.builder()
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(60)
                                            .durationType("Months")
                                            .build())
                                        .retentionScheduleFormatType("Weekly")
                                        .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                            .daysOfTheWeek("Sunday")
                                            .weeksOfTheMonth("First")
                                            .build())
                                        .retentionTimes("2022-11-29T19:30:00.000Z")
                                        .build())
                                    .retentionPolicyType("LongTermRetentionPolicy")
                                    .weeklySchedule(WeeklyRetentionScheduleArgs.builder()
                                        .daysOfTheWeek("Sunday")
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(104)
                                            .durationType("Weeks")
                                            .build())
                                        .retentionTimes("2022-11-29T19:30:00.000Z")
                                        .build())
                                    .yearlySchedule(YearlyRetentionScheduleArgs.builder()
                                        .monthsOfYear("January")
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(10)
                                            .durationType("Years")
                                            .build())
                                        .retentionScheduleFormatType("Weekly")
                                        .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                            .daysOfTheWeek("Sunday")
                                            .weeksOfTheMonth("First")
                                            .build())
                                        .retentionTimes("2022-11-29T19:30:00.000Z")
                                        .build())
                                    .build())
                                .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                                    .schedulePolicyType("SimpleSchedulePolicy")
                                    .scheduleRunDays("Sunday")
                                    .scheduleRunFrequency("Weekly")
                                    .scheduleRunTimes("2022-11-29T19:30:00.000Z")
                                    .build())
                                .tieringPolicy(Map.of("ArchivedRP", Map.ofEntries(
                                    Map.entry("duration", 45),
                                    Map.entry("durationType", "Days"),
                                    Map.entry("tieringMode", "TierAfter")
                                )))
                                .build(),
                            SubProtectionPolicyArgs.builder()
                                .policyType("Differential")
                                .retentionPolicy(SimpleRetentionPolicyArgs.builder()
                                    .retentionDuration(RetentionDurationArgs.builder()
                                        .count(30)
                                        .durationType("Days")
                                        .build())
                                    .retentionPolicyType("SimpleRetentionPolicy")
                                    .build())
                                .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                                    .schedulePolicyType("SimpleSchedulePolicy")
                                    .scheduleRunDays("Monday")
                                    .scheduleRunFrequency("Weekly")
                                    .scheduleRunTimes("2022-09-29T02:00:00Z")
                                    .scheduleWeeklyFrequency(0)
                                    .build())
                                .build(),
                            SubProtectionPolicyArgs.builder()
                                .policyType("Log")
                                .retentionPolicy(SimpleRetentionPolicyArgs.builder()
                                    .retentionDuration(RetentionDurationArgs.builder()
                                        .count(20)
                                        .durationType("Days")
                                        .build())
                                    .retentionPolicyType("SimpleRetentionPolicy")
                                    .build())
                                .schedulePolicy(LogSchedulePolicyArgs.builder()
                                    .scheduleFrequencyInMins(120)
                                    .schedulePolicyType("LogSchedulePolicy")
                                    .build())
                                .build())
                        .workLoadType("SQLDataBase")
                        .build())
                    .backupType("SQL")
                    .recoveryServicesVault(NewRecoveryServicesVaultArgs.builder()
                        .name("test-vault")
                        .resourceGroup("test-rg")
                        .vaultType("New")
                        .build())
                    .build())
                .backupName("dbBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.SqlBackupDataArgs(
            backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                backup_management_type="AzureWorkload",
                name="defaultSqlPolicy",
                protected_items_count=0,
                settings=azure_native.workloads.SettingsArgs(
                    is_compression=True,
                    issqlcompression=True,
                    time_zone="UTC",
                ),
                sub_protection_policy=[
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.FULL,
                        retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                            monthly_schedule=azure_native.workloads.MonthlyRetentionScheduleArgs(
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=60,
                                    duration_type=azure_native.workloads.RetentionDurationType.MONTHS,
                                ),
                                retention_schedule_format_type=azure_native.workloads.RetentionScheduleFormat.WEEKLY,
                                retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                    days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                    weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                                ),
                                retention_times=["2022-11-29T19:30:00.000Z"],
                            ),
                            retention_policy_type="LongTermRetentionPolicy",
                            weekly_schedule=azure_native.workloads.WeeklyRetentionScheduleArgs(
                                days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=104,
                                    duration_type=azure_native.workloads.RetentionDurationType.WEEKS,
                                ),
                                retention_times=["2022-11-29T19:30:00.000Z"],
                            ),
                            yearly_schedule=azure_native.workloads.YearlyRetentionScheduleArgs(
                                months_of_year=[azure_native.workloads.MonthOfYear.JANUARY],
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=10,
                                    duration_type=azure_native.workloads.RetentionDurationType.YEARS,
                                ),
                                retention_schedule_format_type=azure_native.workloads.RetentionScheduleFormat.WEEKLY,
                                retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                    days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                    weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                                ),
                                retention_times=["2022-11-29T19:30:00.000Z"],
                            ),
                        ),
                        schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                            schedule_policy_type="SimpleSchedulePolicy",
                            schedule_run_days=[azure_native.workloads.DayOfWeek.SUNDAY],
                            schedule_run_frequency=azure_native.workloads.ScheduleRunType.WEEKLY,
                            schedule_run_times=["2022-11-29T19:30:00.000Z"],
                        ),
                        tiering_policy={
                            "ArchivedRP": azure_native.workloads.TieringPolicyArgs(
                                duration=45,
                                duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                                tiering_mode=azure_native.workloads.TieringMode.TIER_AFTER,
                            ),
                        },
                    ),
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.DIFFERENTIAL,
                        retention_policy=azure_native.workloads.SimpleRetentionPolicyArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=30,
                                duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                            ),
                            retention_policy_type="SimpleRetentionPolicy",
                        ),
                        schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                            schedule_policy_type="SimpleSchedulePolicy",
                            schedule_run_days=[azure_native.workloads.DayOfWeek.MONDAY],
                            schedule_run_frequency=azure_native.workloads.ScheduleRunType.WEEKLY,
                            schedule_run_times=["2022-09-29T02:00:00Z"],
                            schedule_weekly_frequency=0,
                        ),
                    ),
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.LOG,
                        retention_policy=azure_native.workloads.SimpleRetentionPolicyArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=20,
                                duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                            ),
                            retention_policy_type="SimpleRetentionPolicy",
                        ),
                        schedule_policy=azure_native.workloads.LogSchedulePolicyArgs(
                            schedule_frequency_in_mins=120,
                            schedule_policy_type="LogSchedulePolicy",
                        ),
                    ),
                ],
                work_load_type=azure_native.workloads.WorkloadType.SQL_DATA_BASE,
            ),
            backup_type="SQL",
            recovery_services_vault=azure_native.workloads.NewRecoveryServicesVaultArgs(
                name="test-vault",
                resource_group="test-rg",
                vault_type="New",
            ),
        ),
        backup_name="dbBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                backupManagementType: "AzureWorkload",
                name: "defaultSqlPolicy",
                protectedItemsCount: 0,
                settings: {
                    isCompression: true,
                    issqlcompression: true,
                    timeZone: "UTC",
                },
                subProtectionPolicy: [
                    {
                        policyType: azure_native.workloads.PolicyType.Full,
                        retentionPolicy: {
                            monthlySchedule: {
                                retentionDuration: {
                                    count: 60,
                                    durationType: azure_native.workloads.RetentionDurationType.Months,
                                },
                                retentionScheduleFormatType: azure_native.workloads.RetentionScheduleFormat.Weekly,
                                retentionScheduleWeekly: {
                                    daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                    weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                                },
                                retentionTimes: ["2022-11-29T19:30:00.000Z"],
                            },
                            retentionPolicyType: "LongTermRetentionPolicy",
                            weeklySchedule: {
                                daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                retentionDuration: {
                                    count: 104,
                                    durationType: azure_native.workloads.RetentionDurationType.Weeks,
                                },
                                retentionTimes: ["2022-11-29T19:30:00.000Z"],
                            },
                            yearlySchedule: {
                                monthsOfYear: [azure_native.workloads.MonthOfYear.January],
                                retentionDuration: {
                                    count: 10,
                                    durationType: azure_native.workloads.RetentionDurationType.Years,
                                },
                                retentionScheduleFormatType: azure_native.workloads.RetentionScheduleFormat.Weekly,
                                retentionScheduleWeekly: {
                                    daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                    weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                                },
                                retentionTimes: ["2022-11-29T19:30:00.000Z"],
                            },
                        },
                        schedulePolicy: {
                            schedulePolicyType: "SimpleSchedulePolicy",
                            scheduleRunDays: [azure_native.workloads.DayOfWeek.Sunday],
                            scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Weekly,
                            scheduleRunTimes: ["2022-11-29T19:30:00.000Z"],
                        },
                        tieringPolicy: {
                            ArchivedRP: {
                                duration: 45,
                                durationType: azure_native.workloads.RetentionDurationType.Days,
                                tieringMode: azure_native.workloads.TieringMode.TierAfter,
                            },
                        },
                    },
                    {
                        policyType: azure_native.workloads.PolicyType.Differential,
                        retentionPolicy: {
                            retentionDuration: {
                                count: 30,
                                durationType: azure_native.workloads.RetentionDurationType.Days,
                            },
                            retentionPolicyType: "SimpleRetentionPolicy",
                        },
                        schedulePolicy: {
                            schedulePolicyType: "SimpleSchedulePolicy",
                            scheduleRunDays: [azure_native.workloads.DayOfWeek.Monday],
                            scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Weekly,
                            scheduleRunTimes: ["2022-09-29T02:00:00Z"],
                            scheduleWeeklyFrequency: 0,
                        },
                    },
                    {
                        policyType: azure_native.workloads.PolicyType.Log,
                        retentionPolicy: {
                            retentionDuration: {
                                count: 20,
                                durationType: azure_native.workloads.RetentionDurationType.Days,
                            },
                            retentionPolicyType: "SimpleRetentionPolicy",
                        },
                        schedulePolicy: {
                            scheduleFrequencyInMins: 120,
                            schedulePolicyType: "LogSchedulePolicy",
                        },
                    },
                ],
                workLoadType: azure_native.workloads.WorkloadType.SQLDataBase,
            },
            backupType: "SQL",
            recoveryServicesVault: {
                name: "test-vault",
                resourceGroup: "test-rg",
                vaultType: "New",
            },
        },
        backupName: "dbBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              backupManagementType: AzureWorkload
              name: defaultSqlPolicy
              protectedItemsCount: 0
              settings:
                isCompression: true
                issqlcompression: true
                timeZone: UTC
              subProtectionPolicy:
                - policyType: Full
                  retentionPolicy:
                    monthlySchedule:
                      retentionDuration:
                        count: 60
                        durationType: Months
                      retentionScheduleFormatType: Weekly
                      retentionScheduleWeekly:
                        daysOfTheWeek:
                          - Sunday
                        weeksOfTheMonth:
                          - First
                      retentionTimes:
                        - 2022-11-29T19:30:00.000Z
                    retentionPolicyType: LongTermRetentionPolicy
                    weeklySchedule:
                      daysOfTheWeek:
                        - Sunday
                      retentionDuration:
                        count: 104
                        durationType: Weeks
                      retentionTimes:
                        - 2022-11-29T19:30:00.000Z
                    yearlySchedule:
                      monthsOfYear:
                        - January
                      retentionDuration:
                        count: 10
                        durationType: Years
                      retentionScheduleFormatType: Weekly
                      retentionScheduleWeekly:
                        daysOfTheWeek:
                          - Sunday
                        weeksOfTheMonth:
                          - First
                      retentionTimes:
                        - 2022-11-29T19:30:00.000Z
                  schedulePolicy:
                    schedulePolicyType: SimpleSchedulePolicy
                    scheduleRunDays:
                      - Sunday
                    scheduleRunFrequency: Weekly
                    scheduleRunTimes:
                      - 2022-11-29T19:30:00.000Z
                  tieringPolicy:
                    ArchivedRP:
                      duration: 45
                      durationType: Days
                      tieringMode: TierAfter
                - policyType: Differential
                  retentionPolicy:
                    retentionDuration:
                      count: 30
                      durationType: Days
                    retentionPolicyType: SimpleRetentionPolicy
                  schedulePolicy:
                    schedulePolicyType: SimpleSchedulePolicy
                    scheduleRunDays:
                      - Monday
                    scheduleRunFrequency: Weekly
                    scheduleRunTimes:
                      - 2022-09-29T02:00:00Z
                    scheduleWeeklyFrequency: 0
                - policyType: Log
                  retentionPolicy:
                    retentionDuration:
                      count: 20
                      durationType: Days
                    retentionPolicyType: SimpleRetentionPolicy
                  schedulePolicy:
                    scheduleFrequencyInMins: 120
                    schedulePolicyType: LogSchedulePolicy
              workLoadType: SQLDataBase
            backupType: SQL
            recoveryServicesVault:
              name: test-vault
              resourceGroup: test-rg
              vaultType: New
          backupName: dbBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create a VM backup connection with a new backup policy with tieringPolicy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.VMBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.VMBackupPolicyPropertiesArgs
                {
                    BackupManagementType = "AzureIaasVM",
                    InstantRPDetails = new AzureNative.Workloads.Inputs.InstantRPAdditionalDetailsArgs
                    {
                        AzureBackupRGNamePrefix = "dasas",
                        AzureBackupRGNameSuffix = "a",
                    },
                    InstantRpRetentionRangeInDays = 2,
                    Name = "defaultVmPolicy",
                    PolicyType = AzureNative.Workloads.IAASVMPolicyType.V1,
                    ProtectedItemsCount = 0,
                    RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                    {
                        DailySchedule = new AzureNative.Workloads.Inputs.DailyRetentionScheduleArgs
                        {
                            RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                            {
                                Count = 30,
                                DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                            },
                            RetentionTimes = new[]
                            {
                                "2022-11-29T19:30:00.000Z",
                            },
                        },
                        MonthlySchedule = new AzureNative.Workloads.Inputs.MonthlyRetentionScheduleArgs
                        {
                            RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                            {
                                Count = 60,
                                DurationType = AzureNative.Workloads.RetentionDurationType.Months,
                            },
                            RetentionScheduleFormatType = AzureNative.Workloads.RetentionScheduleFormat.Weekly,
                            RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                            {
                                DaysOfTheWeek = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Sunday,
                                },
                                WeeksOfTheMonth = new[]
                                {
                                    AzureNative.Workloads.WeekOfMonth.First,
                                },
                            },
                            RetentionTimes = new[]
                            {
                                "2022-11-29T19:30:00.000Z",
                            },
                        },
                        RetentionPolicyType = "LongTermRetentionPolicy",
                        WeeklySchedule = new AzureNative.Workloads.Inputs.WeeklyRetentionScheduleArgs
                        {
                            DaysOfTheWeek = new[]
                            {
                                AzureNative.Workloads.DayOfWeek.Sunday,
                            },
                            RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                            {
                                Count = 12,
                                DurationType = AzureNative.Workloads.RetentionDurationType.Weeks,
                            },
                            RetentionTimes = new[]
                            {
                                "2022-11-29T19:30:00.000Z",
                            },
                        },
                        YearlySchedule = new AzureNative.Workloads.Inputs.YearlyRetentionScheduleArgs
                        {
                            MonthsOfYear = new[]
                            {
                                AzureNative.Workloads.MonthOfYear.January,
                            },
                            RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                            {
                                Count = 10,
                                DurationType = AzureNative.Workloads.RetentionDurationType.Years,
                            },
                            RetentionScheduleFormatType = AzureNative.Workloads.RetentionScheduleFormat.Weekly,
                            RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                            {
                                DaysOfTheWeek = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Sunday,
                                },
                                WeeksOfTheMonth = new[]
                                {
                                    AzureNative.Workloads.WeekOfMonth.First,
                                },
                            },
                            RetentionTimes = new[]
                            {
                                "2022-11-29T19:30:00.000Z",
                            },
                        },
                    },
                    SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                    {
                        SchedulePolicyType = "SimpleSchedulePolicy",
                        ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Daily,
                        ScheduleRunTimes = new[]
                        {
                            "2022-11-29T19:30:00.000Z",
                        },
                    },
                    TieringPolicy = 
                    {
                        { "ArchivedRP", new AzureNative.Workloads.Inputs.TieringPolicyArgs
                        {
                            Duration = 3,
                            DurationType = AzureNative.Workloads.RetentionDurationType.Months,
                            TieringMode = AzureNative.Workloads.TieringMode.TierAfter,
                        } },
                    },
                    TimeZone = "UTC",
                },
                BackupType = "VM",
                DiskExclusionProperties = new AzureNative.Workloads.Inputs.DiskExclusionPropertiesArgs
                {
                    DiskLunList = new() { },
                    IsInclusionList = true,
                },
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.NewRecoveryServicesVaultArgs
                {
                    Name = "test-vault",
                    ResourceGroup = "test-rg",
                    VaultType = "New",
                },
            },
            BackupName = "vmBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    BackupData: workloads.VMBackupData{
    BackupPolicy: workloads.VMBackupPolicyProperties{
    BackupManagementType: "AzureIaasVM",
    InstantRPDetails: workloads.InstantRPAdditionalDetails{
    AzureBackupRGNamePrefix: "dasas",
    AzureBackupRGNameSuffix: "a",
    },
    InstantRpRetentionRangeInDays: 2,
    Name: "defaultVmPolicy",
    PolicyType: workloads.IAASVMPolicyTypeV1,
    ProtectedItemsCount: 0,
    RetentionPolicy: workloads.LongTermRetentionPolicy{
    DailySchedule: workloads.DailyRetentionSchedule{
    RetentionDuration: workloads.RetentionDuration{
    Count: 30,
    DurationType: workloads.RetentionDurationTypeDays,
    },
    RetentionTimes: []string{
    "2022-11-29T19:30:00.000Z",
    },
    },
    MonthlySchedule: workloads.MonthlyRetentionSchedule{
    RetentionDuration: workloads.RetentionDuration{
    Count: 60,
    DurationType: workloads.RetentionDurationTypeMonths,
    },
    RetentionScheduleFormatType: workloads.RetentionScheduleFormatWeekly,
    RetentionScheduleWeekly: workloads.WeeklyRetentionFormat{
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    WeeksOfTheMonth: []workloads.WeekOfMonth{
    workloads.WeekOfMonthFirst,
    },
    },
    RetentionTimes: []string{
    "2022-11-29T19:30:00.000Z",
    },
    },
    RetentionPolicyType: "LongTermRetentionPolicy",
    WeeklySchedule: workloads.WeeklyRetentionSchedule{
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    RetentionDuration: workloads.RetentionDuration{
    Count: 12,
    DurationType: workloads.RetentionDurationTypeWeeks,
    },
    RetentionTimes: []string{
    "2022-11-29T19:30:00.000Z",
    },
    },
    YearlySchedule: workloads.YearlyRetentionSchedule{
    MonthsOfYear: []workloads.MonthOfYear{
    workloads.MonthOfYearJanuary,
    },
    RetentionDuration: workloads.RetentionDuration{
    Count: 10,
    DurationType: workloads.RetentionDurationTypeYears,
    },
    RetentionScheduleFormatType: workloads.RetentionScheduleFormatWeekly,
    RetentionScheduleWeekly: workloads.WeeklyRetentionFormat{
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    WeeksOfTheMonth: []workloads.WeekOfMonth{
    workloads.WeekOfMonthFirst,
    },
    },
    RetentionTimes: []string{
    "2022-11-29T19:30:00.000Z",
    },
    },
    },
    SchedulePolicy: workloads.SimpleSchedulePolicy{
    SchedulePolicyType: "SimpleSchedulePolicy",
    ScheduleRunFrequency: workloads.ScheduleRunTypeDaily,
    ScheduleRunTimes: []string{
    "2022-11-29T19:30:00.000Z",
    },
    },
    TieringPolicy: interface{}{
    ArchivedRP: workloads.TieringPolicy{
    Duration: 3,
    DurationType: workloads.RetentionDurationTypeMonths,
    TieringMode: workloads.TieringModeTierAfter,
    },
    },
    TimeZone: "UTC",
    },
    BackupType: "VM",
    DiskExclusionProperties: workloads.DiskExclusionProperties{
    DiskLunList: []interface{}{
    },
    IsInclusionList: true,
    },
    RecoveryServicesVault: workloads.NewRecoveryServicesVault{
    Name: "test-vault",
    ResourceGroup: "test-rg",
    VaultType: "New",
    },
    },
    BackupName: pulumi.String("vmBackup"),
    ConnectorName: pulumi.String("C1"),
    Location: pulumi.String("westcentralus"),
    ResourceGroupName: pulumi.String("test-rg"),
    Tags: nil,
    })
    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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(VMBackupDataArgs.builder()
                    .backupPolicy(VMBackupPolicyPropertiesArgs.builder()
                        .backupManagementType("AzureIaasVM")
                        .instantRPDetails(InstantRPAdditionalDetailsArgs.builder()
                            .azureBackupRGNamePrefix("dasas")
                            .azureBackupRGNameSuffix("a")
                            .build())
                        .instantRpRetentionRangeInDays(2)
                        .name("defaultVmPolicy")
                        .policyType("V1")
                        .protectedItemsCount(0)
                        .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                            .dailySchedule(DailyRetentionScheduleArgs.builder()
                                .retentionDuration(RetentionDurationArgs.builder()
                                    .count(30)
                                    .durationType("Days")
                                    .build())
                                .retentionTimes("2022-11-29T19:30:00.000Z")
                                .build())
                            .monthlySchedule(MonthlyRetentionScheduleArgs.builder()
                                .retentionDuration(RetentionDurationArgs.builder()
                                    .count(60)
                                    .durationType("Months")
                                    .build())
                                .retentionScheduleFormatType("Weekly")
                                .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                    .daysOfTheWeek("Sunday")
                                    .weeksOfTheMonth("First")
                                    .build())
                                .retentionTimes("2022-11-29T19:30:00.000Z")
                                .build())
                            .retentionPolicyType("LongTermRetentionPolicy")
                            .weeklySchedule(WeeklyRetentionScheduleArgs.builder()
                                .daysOfTheWeek("Sunday")
                                .retentionDuration(RetentionDurationArgs.builder()
                                    .count(12)
                                    .durationType("Weeks")
                                    .build())
                                .retentionTimes("2022-11-29T19:30:00.000Z")
                                .build())
                            .yearlySchedule(YearlyRetentionScheduleArgs.builder()
                                .monthsOfYear("January")
                                .retentionDuration(RetentionDurationArgs.builder()
                                    .count(10)
                                    .durationType("Years")
                                    .build())
                                .retentionScheduleFormatType("Weekly")
                                .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                    .daysOfTheWeek("Sunday")
                                    .weeksOfTheMonth("First")
                                    .build())
                                .retentionTimes("2022-11-29T19:30:00.000Z")
                                .build())
                            .build())
                        .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                            .schedulePolicyType("SimpleSchedulePolicy")
                            .scheduleRunFrequency("Daily")
                            .scheduleRunTimes("2022-11-29T19:30:00.000Z")
                            .build())
                        .tieringPolicy(Map.of("ArchivedRP", Map.ofEntries(
                            Map.entry("duration", 3),
                            Map.entry("durationType", "Months"),
                            Map.entry("tieringMode", "TierAfter")
                        )))
                        .timeZone("UTC")
                        .build())
                    .backupType("VM")
                    .diskExclusionProperties(DiskExclusionPropertiesArgs.builder()
                        .diskLunList()
                        .isInclusionList(true)
                        .build())
                    .recoveryServicesVault(NewRecoveryServicesVaultArgs.builder()
                        .name("test-vault")
                        .resourceGroup("test-rg")
                        .vaultType("New")
                        .build())
                    .build())
                .backupName("vmBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.VMBackupDataArgs(
            backup_policy=azure_native.workloads.VMBackupPolicyPropertiesArgs(
                backup_management_type="AzureIaasVM",
                instant_rp_details=azure_native.workloads.InstantRPAdditionalDetailsArgs(
                    azure_backup_rg_name_prefix="dasas",
                    azure_backup_rg_name_suffix="a",
                ),
                instant_rp_retention_range_in_days=2,
                name="defaultVmPolicy",
                policy_type=azure_native.workloads.IAASVMPolicyType.V1,
                protected_items_count=0,
                retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                    daily_schedule=azure_native.workloads.DailyRetentionScheduleArgs(
                        retention_duration=azure_native.workloads.RetentionDurationArgs(
                            count=30,
                            duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                        ),
                        retention_times=["2022-11-29T19:30:00.000Z"],
                    ),
                    monthly_schedule=azure_native.workloads.MonthlyRetentionScheduleArgs(
                        retention_duration=azure_native.workloads.RetentionDurationArgs(
                            count=60,
                            duration_type=azure_native.workloads.RetentionDurationType.MONTHS,
                        ),
                        retention_schedule_format_type=azure_native.workloads.RetentionScheduleFormat.WEEKLY,
                        retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                            days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                            weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                        ),
                        retention_times=["2022-11-29T19:30:00.000Z"],
                    ),
                    retention_policy_type="LongTermRetentionPolicy",
                    weekly_schedule=azure_native.workloads.WeeklyRetentionScheduleArgs(
                        days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                        retention_duration=azure_native.workloads.RetentionDurationArgs(
                            count=12,
                            duration_type=azure_native.workloads.RetentionDurationType.WEEKS,
                        ),
                        retention_times=["2022-11-29T19:30:00.000Z"],
                    ),
                    yearly_schedule=azure_native.workloads.YearlyRetentionScheduleArgs(
                        months_of_year=[azure_native.workloads.MonthOfYear.JANUARY],
                        retention_duration=azure_native.workloads.RetentionDurationArgs(
                            count=10,
                            duration_type=azure_native.workloads.RetentionDurationType.YEARS,
                        ),
                        retention_schedule_format_type=azure_native.workloads.RetentionScheduleFormat.WEEKLY,
                        retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                            days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                            weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                        ),
                        retention_times=["2022-11-29T19:30:00.000Z"],
                    ),
                ),
                schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                    schedule_policy_type="SimpleSchedulePolicy",
                    schedule_run_frequency=azure_native.workloads.ScheduleRunType.DAILY,
                    schedule_run_times=["2022-11-29T19:30:00.000Z"],
                ),
                tiering_policy={
                    "ArchivedRP": azure_native.workloads.TieringPolicyArgs(
                        duration=3,
                        duration_type=azure_native.workloads.RetentionDurationType.MONTHS,
                        tiering_mode=azure_native.workloads.TieringMode.TIER_AFTER,
                    ),
                },
                time_zone="UTC",
            ),
            backup_type="VM",
            disk_exclusion_properties=azure_native.workloads.DiskExclusionPropertiesArgs(
                disk_lun_list=[],
                is_inclusion_list=True,
            ),
            recovery_services_vault=azure_native.workloads.NewRecoveryServicesVaultArgs(
                name="test-vault",
                resource_group="test-rg",
                vault_type="New",
            ),
        ),
        backup_name="vmBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                backupManagementType: "AzureIaasVM",
                instantRPDetails: {
                    azureBackupRGNamePrefix: "dasas",
                    azureBackupRGNameSuffix: "a",
                },
                instantRpRetentionRangeInDays: 2,
                name: "defaultVmPolicy",
                policyType: azure_native.workloads.IAASVMPolicyType.V1,
                protectedItemsCount: 0,
                retentionPolicy: {
                    dailySchedule: {
                        retentionDuration: {
                            count: 30,
                            durationType: azure_native.workloads.RetentionDurationType.Days,
                        },
                        retentionTimes: ["2022-11-29T19:30:00.000Z"],
                    },
                    monthlySchedule: {
                        retentionDuration: {
                            count: 60,
                            durationType: azure_native.workloads.RetentionDurationType.Months,
                        },
                        retentionScheduleFormatType: azure_native.workloads.RetentionScheduleFormat.Weekly,
                        retentionScheduleWeekly: {
                            daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                            weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                        },
                        retentionTimes: ["2022-11-29T19:30:00.000Z"],
                    },
                    retentionPolicyType: "LongTermRetentionPolicy",
                    weeklySchedule: {
                        daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                        retentionDuration: {
                            count: 12,
                            durationType: azure_native.workloads.RetentionDurationType.Weeks,
                        },
                        retentionTimes: ["2022-11-29T19:30:00.000Z"],
                    },
                    yearlySchedule: {
                        monthsOfYear: [azure_native.workloads.MonthOfYear.January],
                        retentionDuration: {
                            count: 10,
                            durationType: azure_native.workloads.RetentionDurationType.Years,
                        },
                        retentionScheduleFormatType: azure_native.workloads.RetentionScheduleFormat.Weekly,
                        retentionScheduleWeekly: {
                            daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                            weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                        },
                        retentionTimes: ["2022-11-29T19:30:00.000Z"],
                    },
                },
                schedulePolicy: {
                    schedulePolicyType: "SimpleSchedulePolicy",
                    scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Daily,
                    scheduleRunTimes: ["2022-11-29T19:30:00.000Z"],
                },
                tieringPolicy: {
                    ArchivedRP: {
                        duration: 3,
                        durationType: azure_native.workloads.RetentionDurationType.Months,
                        tieringMode: azure_native.workloads.TieringMode.TierAfter,
                    },
                },
                timeZone: "UTC",
            },
            backupType: "VM",
            diskExclusionProperties: {
                diskLunList: [],
                isInclusionList: true,
            },
            recoveryServicesVault: {
                name: "test-vault",
                resourceGroup: "test-rg",
                vaultType: "New",
            },
        },
        backupName: "vmBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              backupManagementType: AzureIaasVM
              instantRPDetails:
                azureBackupRGNamePrefix: dasas
                azureBackupRGNameSuffix: a
              instantRpRetentionRangeInDays: 2
              name: defaultVmPolicy
              policyType: V1
              protectedItemsCount: 0
              retentionPolicy:
                dailySchedule:
                  retentionDuration:
                    count: 30
                    durationType: Days
                  retentionTimes:
                    - 2022-11-29T19:30:00.000Z
                monthlySchedule:
                  retentionDuration:
                    count: 60
                    durationType: Months
                  retentionScheduleFormatType: Weekly
                  retentionScheduleWeekly:
                    daysOfTheWeek:
                      - Sunday
                    weeksOfTheMonth:
                      - First
                  retentionTimes:
                    - 2022-11-29T19:30:00.000Z
                retentionPolicyType: LongTermRetentionPolicy
                weeklySchedule:
                  daysOfTheWeek:
                    - Sunday
                  retentionDuration:
                    count: 12
                    durationType: Weeks
                  retentionTimes:
                    - 2022-11-29T19:30:00.000Z
                yearlySchedule:
                  monthsOfYear:
                    - January
                  retentionDuration:
                    count: 10
                    durationType: Years
                  retentionScheduleFormatType: Weekly
                  retentionScheduleWeekly:
                    daysOfTheWeek:
                      - Sunday
                    weeksOfTheMonth:
                      - First
                  retentionTimes:
                    - 2022-11-29T19:30:00.000Z
              schedulePolicy:
                schedulePolicyType: SimpleSchedulePolicy
                scheduleRunFrequency: Daily
                scheduleRunTimes:
                  - 2022-11-29T19:30:00.000Z
              tieringPolicy:
                ArchivedRP:
                  duration: 3
                  durationType: Months
                  tieringMode: TierAfter
              timeZone: UTC
            backupType: VM
            diskExclusionProperties:
              diskLunList: []
              isInclusionList: true
            recoveryServicesVault:
              name: test-vault
              resourceGroup: test-rg
              vaultType: New
          backupName: vmBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create a db backup connection with a new backup policy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.SqlBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
                {
                    BackupManagementType = "AzureWorkload",
                    Name = "defaultDbPolicy",
                    ProtectedItemsCount = 0,
                    Settings = new AzureNative.Workloads.Inputs.SettingsArgs
                    {
                        IsCompression = false,
                        Issqlcompression = false,
                        TimeZone = "UTC",
                    },
                    SubProtectionPolicy = new[]
                    {
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Full,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                            {
                                DailySchedule = new AzureNative.Workloads.Inputs.DailyRetentionScheduleArgs
                                {
                                    RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                    {
                                        Count = 30,
                                        DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                    },
                                    RetentionTimes = new[]
                                    {
                                        "2018-01-10T18:30:00Z",
                                    },
                                },
                                RetentionPolicyType = "LongTermRetentionPolicy",
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                            {
                                SchedulePolicyType = "SimpleSchedulePolicy",
                                ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Daily,
                                ScheduleRunTimes = new[]
                                {
                                    "2018-01-10T18:30:00Z",
                                },
                                ScheduleWeeklyFrequency = 0,
                            },
                        },
                        new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                        {
                            PolicyType = AzureNative.Workloads.PolicyType.Log,
                            RetentionPolicy = new AzureNative.Workloads.Inputs.SimpleRetentionPolicyArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 30,
                                    DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                                },
                                RetentionPolicyType = "SimpleRetentionPolicy",
                            },
                            SchedulePolicy = new AzureNative.Workloads.Inputs.LogSchedulePolicyArgs
                            {
                                ScheduleFrequencyInMins = 60,
                                SchedulePolicyType = "LogSchedulePolicy",
                            },
                        },
                    },
                    WorkLoadType = AzureNative.Workloads.WorkloadType.SQLDataBase,
                },
                BackupType = "SQL",
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.ExistingRecoveryServicesVaultArgs
                {
                    Id = "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                    VaultType = "Existing",
                },
            },
            BackupName = "dbBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    			BackupData: workloads.SqlBackupData{
    				BackupPolicy: workloads.DBBackupPolicyProperties{
    					BackupManagementType: "AzureWorkload",
    					Name:                 "defaultDbPolicy",
    					ProtectedItemsCount:  0,
    					Settings: workloads.Settings{
    						IsCompression:    false,
    						Issqlcompression: false,
    						TimeZone:         "UTC",
    					},
    					SubProtectionPolicy: []workloads.SubProtectionPolicy{
    						{
    							PolicyType: workloads.PolicyTypeFull,
    							RetentionPolicy: {
    								DailySchedule: {
    									RetentionDuration: {
    										Count:        30,
    										DurationType: workloads.RetentionDurationTypeDays,
    									},
    									RetentionTimes: []string{
    										"2018-01-10T18:30:00Z",
    									},
    								},
    								RetentionPolicyType: "LongTermRetentionPolicy",
    							},
    							SchedulePolicy: {
    								SchedulePolicyType:   "SimpleSchedulePolicy",
    								ScheduleRunFrequency: workloads.ScheduleRunTypeDaily,
    								ScheduleRunTimes: []string{
    									"2018-01-10T18:30:00Z",
    								},
    								ScheduleWeeklyFrequency: 0,
    							},
    						},
    						{
    							PolicyType: workloads.PolicyTypeLog,
    							RetentionPolicy: {
    								RetentionDuration: {
    									Count:        30,
    									DurationType: workloads.RetentionDurationTypeDays,
    								},
    								RetentionPolicyType: "SimpleRetentionPolicy",
    							},
    							SchedulePolicy: {
    								ScheduleFrequencyInMins: 60,
    								SchedulePolicyType:      "LogSchedulePolicy",
    							},
    						},
    					},
    					WorkLoadType: workloads.WorkloadTypeSQLDataBase,
    				},
    				BackupType: "SQL",
    				RecoveryServicesVault: workloads.ExistingRecoveryServicesVault{
    					Id:        "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
    					VaultType: "Existing",
    				},
    			},
    			BackupName:        pulumi.String("dbBackup"),
    			ConnectorName:     pulumi.String("C1"),
    			Location:          pulumi.String("westcentralus"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Tags:              nil,
    		})
    		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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(HanaBackupDataArgs.builder()
                    .backupPolicy(DBBackupPolicyPropertiesArgs.builder()
                        .backupManagementType("AzureWorkload")
                        .name("defaultDbPolicy")
                        .protectedItemsCount(0)
                        .settings(SettingsArgs.builder()
                            .isCompression(false)
                            .issqlcompression(false)
                            .timeZone("UTC")
                            .build())
                        .subProtectionPolicy(                    
                            SubProtectionPolicyArgs.builder()
                                .policyType("Full")
                                .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                                    .dailySchedule(DailyRetentionScheduleArgs.builder()
                                        .retentionDuration(RetentionDurationArgs.builder()
                                            .count(30)
                                            .durationType("Days")
                                            .build())
                                        .retentionTimes("2018-01-10T18:30:00Z")
                                        .build())
                                    .retentionPolicyType("LongTermRetentionPolicy")
                                    .build())
                                .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                                    .schedulePolicyType("SimpleSchedulePolicy")
                                    .scheduleRunFrequency("Daily")
                                    .scheduleRunTimes("2018-01-10T18:30:00Z")
                                    .scheduleWeeklyFrequency(0)
                                    .build())
                                .build(),
                            SubProtectionPolicyArgs.builder()
                                .policyType("Log")
                                .retentionPolicy(SimpleRetentionPolicyArgs.builder()
                                    .retentionDuration(RetentionDurationArgs.builder()
                                        .count(30)
                                        .durationType("Days")
                                        .build())
                                    .retentionPolicyType("SimpleRetentionPolicy")
                                    .build())
                                .schedulePolicy(LogSchedulePolicyArgs.builder()
                                    .scheduleFrequencyInMins(60)
                                    .schedulePolicyType("LogSchedulePolicy")
                                    .build())
                                .build())
                        .workLoadType("SQLDataBase")
                        .build())
                    .backupType("SQL")
                    .recoveryServicesVault(ExistingRecoveryServicesVaultArgs.builder()
                        .id("/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault")
                        .vaultType("Existing")
                        .build())
                    .build())
                .backupName("dbBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.SqlBackupDataArgs(
            backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                backup_management_type="AzureWorkload",
                name="defaultDbPolicy",
                protected_items_count=0,
                settings=azure_native.workloads.SettingsArgs(
                    is_compression=False,
                    issqlcompression=False,
                    time_zone="UTC",
                ),
                sub_protection_policy=[
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.FULL,
                        retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                            daily_schedule=azure_native.workloads.DailyRetentionScheduleArgs(
                                retention_duration=azure_native.workloads.RetentionDurationArgs(
                                    count=30,
                                    duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                                ),
                                retention_times=["2018-01-10T18:30:00Z"],
                            ),
                            retention_policy_type="LongTermRetentionPolicy",
                        ),
                        schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                            schedule_policy_type="SimpleSchedulePolicy",
                            schedule_run_frequency=azure_native.workloads.ScheduleRunType.DAILY,
                            schedule_run_times=["2018-01-10T18:30:00Z"],
                            schedule_weekly_frequency=0,
                        ),
                    ),
                    azure_native.workloads.SubProtectionPolicyArgs(
                        policy_type=azure_native.workloads.PolicyType.LOG,
                        retention_policy=azure_native.workloads.SimpleRetentionPolicyArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=30,
                                duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                            ),
                            retention_policy_type="SimpleRetentionPolicy",
                        ),
                        schedule_policy=azure_native.workloads.LogSchedulePolicyArgs(
                            schedule_frequency_in_mins=60,
                            schedule_policy_type="LogSchedulePolicy",
                        ),
                    ),
                ],
                work_load_type=azure_native.workloads.WorkloadType.SQL_DATA_BASE,
            ),
            backup_type="SQL",
            recovery_services_vault=azure_native.workloads.ExistingRecoveryServicesVaultArgs(
                id="/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                vault_type="Existing",
            ),
        ),
        backup_name="dbBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                backupManagementType: "AzureWorkload",
                name: "defaultDbPolicy",
                protectedItemsCount: 0,
                settings: {
                    isCompression: false,
                    issqlcompression: false,
                    timeZone: "UTC",
                },
                subProtectionPolicy: [
                    {
                        policyType: azure_native.workloads.PolicyType.Full,
                        retentionPolicy: {
                            dailySchedule: {
                                retentionDuration: {
                                    count: 30,
                                    durationType: azure_native.workloads.RetentionDurationType.Days,
                                },
                                retentionTimes: ["2018-01-10T18:30:00Z"],
                            },
                            retentionPolicyType: "LongTermRetentionPolicy",
                        },
                        schedulePolicy: {
                            schedulePolicyType: "SimpleSchedulePolicy",
                            scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Daily,
                            scheduleRunTimes: ["2018-01-10T18:30:00Z"],
                            scheduleWeeklyFrequency: 0,
                        },
                    },
                    {
                        policyType: azure_native.workloads.PolicyType.Log,
                        retentionPolicy: {
                            retentionDuration: {
                                count: 30,
                                durationType: azure_native.workloads.RetentionDurationType.Days,
                            },
                            retentionPolicyType: "SimpleRetentionPolicy",
                        },
                        schedulePolicy: {
                            scheduleFrequencyInMins: 60,
                            schedulePolicyType: "LogSchedulePolicy",
                        },
                    },
                ],
                workLoadType: azure_native.workloads.WorkloadType.SQLDataBase,
            },
            backupType: "SQL",
            recoveryServicesVault: {
                id: "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                vaultType: "Existing",
            },
        },
        backupName: "dbBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              backupManagementType: AzureWorkload
              name: defaultDbPolicy
              protectedItemsCount: 0
              settings:
                isCompression: false
                issqlcompression: false
                timeZone: UTC
              subProtectionPolicy:
                - policyType: Full
                  retentionPolicy:
                    dailySchedule:
                      retentionDuration:
                        count: 30
                        durationType: Days
                      retentionTimes:
                        - 2018-01-10T18:30:00Z
                    retentionPolicyType: LongTermRetentionPolicy
                  schedulePolicy:
                    schedulePolicyType: SimpleSchedulePolicy
                    scheduleRunFrequency: Daily
                    scheduleRunTimes:
                      - 2018-01-10T18:30:00Z
                    scheduleWeeklyFrequency: 0
                - policyType: Log
                  retentionPolicy:
                    retentionDuration:
                      count: 30
                      durationType: Days
                    retentionPolicyType: SimpleRetentionPolicy
                  schedulePolicy:
                    scheduleFrequencyInMins: 60
                    schedulePolicyType: LogSchedulePolicy
              workLoadType: SQLDataBase
            backupType: SQL
            recoveryServicesVault:
              id: /subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault
              vaultType: Existing
          backupName: dbBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create a db backup connection with an existing backup policy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.SqlBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
                {
                    Name = "defaultDbPolicy",
                },
                BackupType = "SQL",
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.ExistingRecoveryServicesVaultArgs
                {
                    Id = "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                    VaultType = "Existing",
                },
            },
            BackupName = "dbBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    			BackupData: workloads.SqlBackupData{
    				BackupPolicy: workloads.DBBackupPolicyProperties{
    					Name: "defaultDbPolicy",
    				},
    				BackupType: "SQL",
    				RecoveryServicesVault: workloads.ExistingRecoveryServicesVault{
    					Id:        "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
    					VaultType: "Existing",
    				},
    			},
    			BackupName:        pulumi.String("dbBackup"),
    			ConnectorName:     pulumi.String("C1"),
    			Location:          pulumi.String("westcentralus"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Tags:              nil,
    		})
    		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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(HanaBackupDataArgs.builder()
                    .backupPolicy(DBBackupPolicyPropertiesArgs.builder()
                        .name("defaultDbPolicy")
                        .build())
                    .backupType("SQL")
                    .recoveryServicesVault(ExistingRecoveryServicesVaultArgs.builder()
                        .id("/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault")
                        .vaultType("Existing")
                        .build())
                    .build())
                .backupName("dbBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.SqlBackupDataArgs(
            backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                name="defaultDbPolicy",
            ),
            backup_type="SQL",
            recovery_services_vault=azure_native.workloads.ExistingRecoveryServicesVaultArgs(
                id="/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                vault_type="Existing",
            ),
        ),
        backup_name="dbBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                name: "defaultDbPolicy",
            },
            backupType: "SQL",
            recoveryServicesVault: {
                id: "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                vaultType: "Existing",
            },
        },
        backupName: "dbBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              name: defaultDbPolicy
            backupType: SQL
            recoveryServicesVault:
              id: /subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault
              vaultType: Existing
          backupName: dbBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create a vm backup connection with a new backup policy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.VMBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.VMBackupPolicyPropertiesArgs
                {
                    BackupManagementType = "AzureIaasVM",
                    InstantRPDetails = null,
                    InstantRpRetentionRangeInDays = 2,
                    Name = "defaultVmPolicy",
                    ProtectedItemsCount = 0,
                    RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                    {
                        DailySchedule = new AzureNative.Workloads.Inputs.DailyRetentionScheduleArgs
                        {
                            RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                            {
                                Count = 30,
                                DurationType = AzureNative.Workloads.RetentionDurationType.Days,
                            },
                            RetentionTimes = new[]
                            {
                                "2018-01-10T18:30:00Z",
                            },
                        },
                        RetentionPolicyType = "LongTermRetentionPolicy",
                    },
                    SchedulePolicy = new AzureNative.Workloads.Inputs.SimpleSchedulePolicyArgs
                    {
                        SchedulePolicyType = "SimpleSchedulePolicy",
                        ScheduleRunFrequency = AzureNative.Workloads.ScheduleRunType.Daily,
                        ScheduleRunTimes = new[]
                        {
                            "2018-01-10T18:30:00Z",
                        },
                        ScheduleWeeklyFrequency = 0,
                    },
                },
                BackupType = "VM",
                DiskExclusionProperties = new AzureNative.Workloads.Inputs.DiskExclusionPropertiesArgs
                {
                    DiskLunList = new() { },
                    IsInclusionList = true,
                },
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.NewRecoveryServicesVaultArgs
                {
                    Name = "test-vault",
                    ResourceGroup = "test-rg",
                    VaultType = "New",
                },
            },
            BackupName = "vmBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    			BackupData: workloads.VMBackupData{
    				BackupPolicy: workloads.VMBackupPolicyProperties{
    					BackupManagementType:          "AzureIaasVM",
    					InstantRPDetails:              nil,
    					InstantRpRetentionRangeInDays: 2,
    					Name:                          "defaultVmPolicy",
    					ProtectedItemsCount:           0,
    					RetentionPolicy: workloads.LongTermRetentionPolicy{
    						DailySchedule: workloads.DailyRetentionSchedule{
    							RetentionDuration: workloads.RetentionDuration{
    								Count:        30,
    								DurationType: workloads.RetentionDurationTypeDays,
    							},
    							RetentionTimes: []string{
    								"2018-01-10T18:30:00Z",
    							},
    						},
    						RetentionPolicyType: "LongTermRetentionPolicy",
    					},
    					SchedulePolicy: workloads.SimpleSchedulePolicy{
    						SchedulePolicyType:   "SimpleSchedulePolicy",
    						ScheduleRunFrequency: workloads.ScheduleRunTypeDaily,
    						ScheduleRunTimes: []string{
    							"2018-01-10T18:30:00Z",
    						},
    						ScheduleWeeklyFrequency: 0,
    					},
    				},
    				BackupType: "VM",
    				DiskExclusionProperties: workloads.DiskExclusionProperties{
    					DiskLunList:     []interface{}{},
    					IsInclusionList: true,
    				},
    				RecoveryServicesVault: workloads.NewRecoveryServicesVault{
    					Name:          "test-vault",
    					ResourceGroup: "test-rg",
    					VaultType:     "New",
    				},
    			},
    			BackupName:        pulumi.String("vmBackup"),
    			ConnectorName:     pulumi.String("C1"),
    			Location:          pulumi.String("westcentralus"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Tags:              nil,
    		})
    		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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(VMBackupDataArgs.builder()
                    .backupPolicy(VMBackupPolicyPropertiesArgs.builder()
                        .backupManagementType("AzureIaasVM")
                        .instantRPDetails()
                        .instantRpRetentionRangeInDays(2)
                        .name("defaultVmPolicy")
                        .protectedItemsCount(0)
                        .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                            .dailySchedule(DailyRetentionScheduleArgs.builder()
                                .retentionDuration(RetentionDurationArgs.builder()
                                    .count(30)
                                    .durationType("Days")
                                    .build())
                                .retentionTimes("2018-01-10T18:30:00Z")
                                .build())
                            .retentionPolicyType("LongTermRetentionPolicy")
                            .build())
                        .schedulePolicy(SimpleSchedulePolicyArgs.builder()
                            .schedulePolicyType("SimpleSchedulePolicy")
                            .scheduleRunFrequency("Daily")
                            .scheduleRunTimes("2018-01-10T18:30:00Z")
                            .scheduleWeeklyFrequency(0)
                            .build())
                        .build())
                    .backupType("VM")
                    .diskExclusionProperties(DiskExclusionPropertiesArgs.builder()
                        .diskLunList()
                        .isInclusionList(true)
                        .build())
                    .recoveryServicesVault(NewRecoveryServicesVaultArgs.builder()
                        .name("test-vault")
                        .resourceGroup("test-rg")
                        .vaultType("New")
                        .build())
                    .build())
                .backupName("vmBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.VMBackupDataArgs(
            backup_policy=azure_native.workloads.VMBackupPolicyPropertiesArgs(
                backup_management_type="AzureIaasVM",
                instant_rp_details=azure_native.workloads.InstantRPAdditionalDetailsArgs(),
                instant_rp_retention_range_in_days=2,
                name="defaultVmPolicy",
                protected_items_count=0,
                retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                    daily_schedule=azure_native.workloads.DailyRetentionScheduleArgs(
                        retention_duration=azure_native.workloads.RetentionDurationArgs(
                            count=30,
                            duration_type=azure_native.workloads.RetentionDurationType.DAYS,
                        ),
                        retention_times=["2018-01-10T18:30:00Z"],
                    ),
                    retention_policy_type="LongTermRetentionPolicy",
                ),
                schedule_policy=azure_native.workloads.SimpleSchedulePolicyArgs(
                    schedule_policy_type="SimpleSchedulePolicy",
                    schedule_run_frequency=azure_native.workloads.ScheduleRunType.DAILY,
                    schedule_run_times=["2018-01-10T18:30:00Z"],
                    schedule_weekly_frequency=0,
                ),
            ),
            backup_type="VM",
            disk_exclusion_properties=azure_native.workloads.DiskExclusionPropertiesArgs(
                disk_lun_list=[],
                is_inclusion_list=True,
            ),
            recovery_services_vault=azure_native.workloads.NewRecoveryServicesVaultArgs(
                name="test-vault",
                resource_group="test-rg",
                vault_type="New",
            ),
        ),
        backup_name="vmBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                backupManagementType: "AzureIaasVM",
                instantRPDetails: {},
                instantRpRetentionRangeInDays: 2,
                name: "defaultVmPolicy",
                protectedItemsCount: 0,
                retentionPolicy: {
                    dailySchedule: {
                        retentionDuration: {
                            count: 30,
                            durationType: azure_native.workloads.RetentionDurationType.Days,
                        },
                        retentionTimes: ["2018-01-10T18:30:00Z"],
                    },
                    retentionPolicyType: "LongTermRetentionPolicy",
                },
                schedulePolicy: {
                    schedulePolicyType: "SimpleSchedulePolicy",
                    scheduleRunFrequency: azure_native.workloads.ScheduleRunType.Daily,
                    scheduleRunTimes: ["2018-01-10T18:30:00Z"],
                    scheduleWeeklyFrequency: 0,
                },
            },
            backupType: "VM",
            diskExclusionProperties: {
                diskLunList: [],
                isInclusionList: true,
            },
            recoveryServicesVault: {
                name: "test-vault",
                resourceGroup: "test-rg",
                vaultType: "New",
            },
        },
        backupName: "vmBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              backupManagementType: AzureIaasVM
              instantRPDetails: {}
              instantRpRetentionRangeInDays: 2
              name: defaultVmPolicy
              protectedItemsCount: 0
              retentionPolicy:
                dailySchedule:
                  retentionDuration:
                    count: 30
                    durationType: Days
                  retentionTimes:
                    - 2018-01-10T18:30:00Z
                retentionPolicyType: LongTermRetentionPolicy
              schedulePolicy:
                schedulePolicyType: SimpleSchedulePolicy
                scheduleRunFrequency: Daily
                scheduleRunTimes:
                  - 2018-01-10T18:30:00Z
                scheduleWeeklyFrequency: 0
            backupType: VM
            diskExclusionProperties:
              diskLunList: []
              isInclusionList: true
            recoveryServicesVault:
              name: test-vault
              resourceGroup: test-rg
              vaultType: New
          backupName: vmBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create a vm backup connection with an existing backup policy.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var acssBackupConnection = new AzureNative.Workloads.ACSSBackupConnection("acssBackupConnection", new()
        {
            BackupData = new AzureNative.Workloads.Inputs.VMBackupDataArgs
            {
                BackupPolicy = new AzureNative.Workloads.Inputs.VMBackupPolicyPropertiesArgs
                {
                    Name = "defaultVmPolicy",
                },
                BackupType = "VM",
                DiskExclusionProperties = new AzureNative.Workloads.Inputs.DiskExclusionPropertiesArgs
                {
                    DiskLunList = new() { },
                    IsInclusionList = true,
                },
                RecoveryServicesVault = new AzureNative.Workloads.Inputs.ExistingRecoveryServicesVaultArgs
                {
                    Id = "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                    VaultType = "Existing",
                },
            },
            BackupName = "vmBackup",
            ConnectorName = "C1",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewACSSBackupConnection(ctx, "acssBackupConnection", &workloads.ACSSBackupConnectionArgs{
    			BackupData: workloads.VMBackupData{
    				BackupPolicy: workloads.VMBackupPolicyProperties{
    					Name: "defaultVmPolicy",
    				},
    				BackupType: "VM",
    				DiskExclusionProperties: workloads.DiskExclusionProperties{
    					DiskLunList:     []interface{}{},
    					IsInclusionList: true,
    				},
    				RecoveryServicesVault: workloads.ExistingRecoveryServicesVault{
    					Id:        "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
    					VaultType: "Existing",
    				},
    			},
    			BackupName:        pulumi.String("vmBackup"),
    			ConnectorName:     pulumi.String("C1"),
    			Location:          pulumi.String("westcentralus"),
    			ResourceGroupName: pulumi.String("test-rg"),
    			Tags:              nil,
    		})
    		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.workloads.ACSSBackupConnection;
    import com.pulumi.azurenative.workloads.ACSSBackupConnectionArgs;
    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 acssBackupConnection = new ACSSBackupConnection("acssBackupConnection", ACSSBackupConnectionArgs.builder()        
                .backupData(VMBackupDataArgs.builder()
                    .backupPolicy(VMBackupPolicyPropertiesArgs.builder()
                        .name("defaultVmPolicy")
                        .build())
                    .backupType("VM")
                    .diskExclusionProperties(DiskExclusionPropertiesArgs.builder()
                        .diskLunList()
                        .isInclusionList(true)
                        .build())
                    .recoveryServicesVault(ExistingRecoveryServicesVaultArgs.builder()
                        .id("/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault")
                        .vaultType("Existing")
                        .build())
                    .build())
                .backupName("vmBackup")
                .connectorName("C1")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    acss_backup_connection = azure_native.workloads.ACSSBackupConnection("acssBackupConnection",
        backup_data=azure_native.workloads.VMBackupDataArgs(
            backup_policy=azure_native.workloads.VMBackupPolicyPropertiesArgs(
                name="defaultVmPolicy",
            ),
            backup_type="VM",
            disk_exclusion_properties=azure_native.workloads.DiskExclusionPropertiesArgs(
                disk_lun_list=[],
                is_inclusion_list=True,
            ),
            recovery_services_vault=azure_native.workloads.ExistingRecoveryServicesVaultArgs(
                id="/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                vault_type="Existing",
            ),
        ),
        backup_name="vmBackup",
        connector_name="C1",
        location="westcentralus",
        resource_group_name="test-rg",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const acssBackupConnection = new azure_native.workloads.ACSSBackupConnection("acssBackupConnection", {
        backupData: {
            backupPolicy: {
                name: "defaultVmPolicy",
            },
            backupType: "VM",
            diskExclusionProperties: {
                diskLunList: [],
                isInclusionList: true,
            },
            recoveryServicesVault: {
                id: "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault",
                vaultType: "Existing",
            },
        },
        backupName: "vmBackup",
        connectorName: "C1",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        tags: {},
    });
    
    resources:
      acssBackupConnection:
        type: azure-native:workloads:ACSSBackupConnection
        properties:
          backupData:
            backupPolicy:
              name: defaultVmPolicy
            backupType: VM
            diskExclusionProperties:
              diskLunList: []
              isInclusionList: true
            recoveryServicesVault:
              id: /subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/test-vault
              vaultType: Existing
          backupName: vmBackup
          connectorName: C1
          location: westcentralus
          resourceGroupName: test-rg
          tags: {}
    

    Create ACSSBackupConnection Resource

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

    Constructor syntax

    new ACSSBackupConnection(name: string, args: ACSSBackupConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def ACSSBackupConnection(resource_name: str,
                             args: ACSSBackupConnectionArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ACSSBackupConnection(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             connector_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             backup_data: Optional[Union[HanaBackupDataArgs, SqlBackupDataArgs, VMBackupDataArgs]] = None,
                             backup_name: Optional[str] = None,
                             location: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None)
    func NewACSSBackupConnection(ctx *Context, name string, args ACSSBackupConnectionArgs, opts ...ResourceOption) (*ACSSBackupConnection, error)
    public ACSSBackupConnection(string name, ACSSBackupConnectionArgs args, CustomResourceOptions? opts = null)
    public ACSSBackupConnection(String name, ACSSBackupConnectionArgs args)
    public ACSSBackupConnection(String name, ACSSBackupConnectionArgs args, CustomResourceOptions options)
    
    type: azure-native:workloads:ACSSBackupConnection
    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 ACSSBackupConnectionArgs
    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 ACSSBackupConnectionArgs
    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 ACSSBackupConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ACSSBackupConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ACSSBackupConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var acssbackupConnectionResource = new AzureNative.Workloads.ACSSBackupConnection("acssbackupConnectionResource", new()
    {
        ConnectorName = "string",
        ResourceGroupName = "string",
        BackupData = new AzureNative.Workloads.Inputs.HanaBackupDataArgs
        {
            BackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
            {
                BackupManagementType = "AzureWorkload",
                Name = "string",
                MakePolicyConsistent = false,
                ProtectedItemsCount = 0,
                ResourceGuardOperationRequests = new[]
                {
                    "string",
                },
                Settings = new AzureNative.Workloads.Inputs.SettingsArgs
                {
                    IsCompression = false,
                    Issqlcompression = false,
                    TimeZone = "string",
                },
                SubProtectionPolicy = new[]
                {
                    new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                    {
                        PolicyType = "string",
                        RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                        {
                            RetentionPolicyType = "LongTermRetentionPolicy",
                            DailySchedule = new AzureNative.Workloads.Inputs.DailyRetentionScheduleArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                            MonthlySchedule = new AzureNative.Workloads.Inputs.MonthlyRetentionScheduleArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionScheduleDaily = new AzureNative.Workloads.Inputs.DailyRetentionFormatArgs
                                {
                                    DaysOfTheMonth = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.DayArgs
                                        {
                                            Date = 0,
                                            IsLast = false,
                                        },
                                    },
                                },
                                RetentionScheduleFormatType = "string",
                                RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.Workloads.DayOfWeek.Sunday,
                                    },
                                    WeeksOfTheMonth = new[]
                                    {
                                        AzureNative.Workloads.WeekOfMonth.First,
                                    },
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                            WeeklySchedule = new AzureNative.Workloads.Inputs.WeeklyRetentionScheduleArgs
                            {
                                DaysOfTheWeek = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Sunday,
                                },
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                            YearlySchedule = new AzureNative.Workloads.Inputs.YearlyRetentionScheduleArgs
                            {
                                MonthsOfYear = new[]
                                {
                                    AzureNative.Workloads.MonthOfYear.Invalid,
                                },
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionScheduleDaily = new AzureNative.Workloads.Inputs.DailyRetentionFormatArgs
                                {
                                    DaysOfTheMonth = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.DayArgs
                                        {
                                            Date = 0,
                                            IsLast = false,
                                        },
                                    },
                                },
                                RetentionScheduleFormatType = "string",
                                RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.Workloads.DayOfWeek.Sunday,
                                    },
                                    WeeksOfTheMonth = new[]
                                    {
                                        AzureNative.Workloads.WeekOfMonth.First,
                                    },
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        SchedulePolicy = new AzureNative.Workloads.Inputs.LogSchedulePolicyArgs
                        {
                            SchedulePolicyType = "LogSchedulePolicy",
                            ScheduleFrequencyInMins = 0,
                        },
                        SnapshotBackupAdditionalDetails = new AzureNative.Workloads.Inputs.SnapshotBackupAdditionalDetailsArgs
                        {
                            InstantRPDetails = "string",
                            InstantRpRetentionRangeInDays = 0,
                            UserAssignedManagedIdentityDetails = new AzureNative.Workloads.Inputs.UserAssignedManagedIdentityDetailsArgs
                            {
                                IdentityArmId = "string",
                                IdentityName = "string",
                                UserAssignedIdentityProperties = new AzureNative.Workloads.Inputs.UserAssignedIdentityPropertiesArgs
                                {
                                    ClientId = "string",
                                    PrincipalId = "string",
                                },
                            },
                        },
                        TieringPolicy = 
                        {
                            { "string", new AzureNative.Workloads.Inputs.TieringPolicyArgs
                            {
                                Duration = 0,
                                DurationType = "string",
                                TieringMode = "string",
                            } },
                        },
                    },
                },
                WorkLoadType = "string",
            },
            BackupType = "HANA",
            HdbuserstoreKeyName = "string",
            RecoveryServicesVault = new AzureNative.Workloads.Inputs.ExistingRecoveryServicesVaultArgs
            {
                Id = "string",
                VaultType = "Existing",
            },
            DbInstanceSnapshotBackupPolicy = new AzureNative.Workloads.Inputs.DBBackupPolicyPropertiesArgs
            {
                BackupManagementType = "AzureWorkload",
                Name = "string",
                MakePolicyConsistent = false,
                ProtectedItemsCount = 0,
                ResourceGuardOperationRequests = new[]
                {
                    "string",
                },
                Settings = new AzureNative.Workloads.Inputs.SettingsArgs
                {
                    IsCompression = false,
                    Issqlcompression = false,
                    TimeZone = "string",
                },
                SubProtectionPolicy = new[]
                {
                    new AzureNative.Workloads.Inputs.SubProtectionPolicyArgs
                    {
                        PolicyType = "string",
                        RetentionPolicy = new AzureNative.Workloads.Inputs.LongTermRetentionPolicyArgs
                        {
                            RetentionPolicyType = "LongTermRetentionPolicy",
                            DailySchedule = new AzureNative.Workloads.Inputs.DailyRetentionScheduleArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                            MonthlySchedule = new AzureNative.Workloads.Inputs.MonthlyRetentionScheduleArgs
                            {
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionScheduleDaily = new AzureNative.Workloads.Inputs.DailyRetentionFormatArgs
                                {
                                    DaysOfTheMonth = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.DayArgs
                                        {
                                            Date = 0,
                                            IsLast = false,
                                        },
                                    },
                                },
                                RetentionScheduleFormatType = "string",
                                RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.Workloads.DayOfWeek.Sunday,
                                    },
                                    WeeksOfTheMonth = new[]
                                    {
                                        AzureNative.Workloads.WeekOfMonth.First,
                                    },
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                            WeeklySchedule = new AzureNative.Workloads.Inputs.WeeklyRetentionScheduleArgs
                            {
                                DaysOfTheWeek = new[]
                                {
                                    AzureNative.Workloads.DayOfWeek.Sunday,
                                },
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                            YearlySchedule = new AzureNative.Workloads.Inputs.YearlyRetentionScheduleArgs
                            {
                                MonthsOfYear = new[]
                                {
                                    AzureNative.Workloads.MonthOfYear.Invalid,
                                },
                                RetentionDuration = new AzureNative.Workloads.Inputs.RetentionDurationArgs
                                {
                                    Count = 0,
                                    DurationType = "string",
                                },
                                RetentionScheduleDaily = new AzureNative.Workloads.Inputs.DailyRetentionFormatArgs
                                {
                                    DaysOfTheMonth = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.DayArgs
                                        {
                                            Date = 0,
                                            IsLast = false,
                                        },
                                    },
                                },
                                RetentionScheduleFormatType = "string",
                                RetentionScheduleWeekly = new AzureNative.Workloads.Inputs.WeeklyRetentionFormatArgs
                                {
                                    DaysOfTheWeek = new[]
                                    {
                                        AzureNative.Workloads.DayOfWeek.Sunday,
                                    },
                                    WeeksOfTheMonth = new[]
                                    {
                                        AzureNative.Workloads.WeekOfMonth.First,
                                    },
                                },
                                RetentionTimes = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        SchedulePolicy = new AzureNative.Workloads.Inputs.LogSchedulePolicyArgs
                        {
                            SchedulePolicyType = "LogSchedulePolicy",
                            ScheduleFrequencyInMins = 0,
                        },
                        SnapshotBackupAdditionalDetails = new AzureNative.Workloads.Inputs.SnapshotBackupAdditionalDetailsArgs
                        {
                            InstantRPDetails = "string",
                            InstantRpRetentionRangeInDays = 0,
                            UserAssignedManagedIdentityDetails = new AzureNative.Workloads.Inputs.UserAssignedManagedIdentityDetailsArgs
                            {
                                IdentityArmId = "string",
                                IdentityName = "string",
                                UserAssignedIdentityProperties = new AzureNative.Workloads.Inputs.UserAssignedIdentityPropertiesArgs
                                {
                                    ClientId = "string",
                                    PrincipalId = "string",
                                },
                            },
                        },
                        TieringPolicy = 
                        {
                            { "string", new AzureNative.Workloads.Inputs.TieringPolicyArgs
                            {
                                Duration = 0,
                                DurationType = "string",
                                TieringMode = "string",
                            } },
                        },
                    },
                },
                WorkLoadType = "string",
            },
            InstanceNumber = "string",
            SslConfiguration = new AzureNative.Workloads.Inputs.SSLConfigurationArgs
            {
                SslCryptoProvider = "string",
                SslHostNameInCertificate = "string",
                SslKeyStore = "string",
                SslTrustStore = "string",
            },
        },
        BackupName = "string",
        Location = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := workloads.NewACSSBackupConnection(ctx, "acssbackupConnectionResource", &workloads.ACSSBackupConnectionArgs{
    ConnectorName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    BackupData: workloads.HanaBackupData{
    BackupPolicy: workloads.DBBackupPolicyProperties{
    BackupManagementType: "AzureWorkload",
    Name: "string",
    MakePolicyConsistent: false,
    ProtectedItemsCount: 0,
    ResourceGuardOperationRequests: []string{
    "string",
    },
    Settings: workloads.Settings{
    IsCompression: false,
    Issqlcompression: false,
    TimeZone: "string",
    },
    SubProtectionPolicy: []workloads.SubProtectionPolicy{
    {
    PolicyType: "string",
    RetentionPolicy: {
    RetentionPolicyType: "LongTermRetentionPolicy",
    DailySchedule: {
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionTimes: []string{
    "string",
    },
    },
    MonthlySchedule: {
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionScheduleDaily: {
    DaysOfTheMonth: []workloads.Day{
    {
    Date: 0,
    IsLast: false,
    },
    },
    },
    RetentionScheduleFormatType: "string",
    RetentionScheduleWeekly: {
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    WeeksOfTheMonth: []workloads.WeekOfMonth{
    workloads.WeekOfMonthFirst,
    },
    },
    RetentionTimes: []string{
    "string",
    },
    },
    WeeklySchedule: {
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionTimes: []string{
    "string",
    },
    },
    YearlySchedule: {
    MonthsOfYear: []workloads.MonthOfYear{
    workloads.MonthOfYearInvalid,
    },
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionScheduleDaily: {
    DaysOfTheMonth: []workloads.Day{
    {
    Date: 0,
    IsLast: false,
    },
    },
    },
    RetentionScheduleFormatType: "string",
    RetentionScheduleWeekly: {
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    WeeksOfTheMonth: []workloads.WeekOfMonth{
    workloads.WeekOfMonthFirst,
    },
    },
    RetentionTimes: []string{
    "string",
    },
    },
    },
    SchedulePolicy: {
    SchedulePolicyType: "LogSchedulePolicy",
    ScheduleFrequencyInMins: 0,
    },
    SnapshotBackupAdditionalDetails: {
    InstantRPDetails: "string",
    InstantRpRetentionRangeInDays: 0,
    UserAssignedManagedIdentityDetails: {
    IdentityArmId: "string",
    IdentityName: "string",
    UserAssignedIdentityProperties: {
    ClientId: "string",
    PrincipalId: "string",
    },
    },
    },
    TieringPolicy: {
    String: {
    Duration: 0,
    DurationType: "string",
    TieringMode: "string",
    },
    },
    },
    },
    WorkLoadType: "string",
    },
    BackupType: "HANA",
    HdbuserstoreKeyName: "string",
    RecoveryServicesVault: workloads.ExistingRecoveryServicesVault{
    Id: "string",
    VaultType: "Existing",
    },
    DbInstanceSnapshotBackupPolicy: workloads.DBBackupPolicyProperties{
    BackupManagementType: "AzureWorkload",
    Name: "string",
    MakePolicyConsistent: false,
    ProtectedItemsCount: 0,
    ResourceGuardOperationRequests: []string{
    "string",
    },
    Settings: workloads.Settings{
    IsCompression: false,
    Issqlcompression: false,
    TimeZone: "string",
    },
    SubProtectionPolicy: []workloads.SubProtectionPolicy{
    {
    PolicyType: "string",
    RetentionPolicy: {
    RetentionPolicyType: "LongTermRetentionPolicy",
    DailySchedule: {
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionTimes: []string{
    "string",
    },
    },
    MonthlySchedule: {
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionScheduleDaily: {
    DaysOfTheMonth: []workloads.Day{
    {
    Date: 0,
    IsLast: false,
    },
    },
    },
    RetentionScheduleFormatType: "string",
    RetentionScheduleWeekly: {
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    WeeksOfTheMonth: []workloads.WeekOfMonth{
    workloads.WeekOfMonthFirst,
    },
    },
    RetentionTimes: []string{
    "string",
    },
    },
    WeeklySchedule: {
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionTimes: []string{
    "string",
    },
    },
    YearlySchedule: {
    MonthsOfYear: []workloads.MonthOfYear{
    workloads.MonthOfYearInvalid,
    },
    RetentionDuration: {
    Count: 0,
    DurationType: "string",
    },
    RetentionScheduleDaily: {
    DaysOfTheMonth: []workloads.Day{
    {
    Date: 0,
    IsLast: false,
    },
    },
    },
    RetentionScheduleFormatType: "string",
    RetentionScheduleWeekly: {
    DaysOfTheWeek: []workloads.DayOfWeek{
    workloads.DayOfWeekSunday,
    },
    WeeksOfTheMonth: []workloads.WeekOfMonth{
    workloads.WeekOfMonthFirst,
    },
    },
    RetentionTimes: []string{
    "string",
    },
    },
    },
    SchedulePolicy: {
    SchedulePolicyType: "LogSchedulePolicy",
    ScheduleFrequencyInMins: 0,
    },
    SnapshotBackupAdditionalDetails: {
    InstantRPDetails: "string",
    InstantRpRetentionRangeInDays: 0,
    UserAssignedManagedIdentityDetails: {
    IdentityArmId: "string",
    IdentityName: "string",
    UserAssignedIdentityProperties: {
    ClientId: "string",
    PrincipalId: "string",
    },
    },
    },
    TieringPolicy: {
    String: {
    Duration: 0,
    DurationType: "string",
    TieringMode: "string",
    },
    },
    },
    },
    WorkLoadType: "string",
    },
    InstanceNumber: "string",
    SslConfiguration: workloads.SSLConfiguration{
    SslCryptoProvider: "string",
    SslHostNameInCertificate: "string",
    SslKeyStore: "string",
    SslTrustStore: "string",
    },
    },
    BackupName: pulumi.String("string"),
    Location: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var acssbackupConnectionResource = new ACSSBackupConnection("acssbackupConnectionResource", ACSSBackupConnectionArgs.builder()        
        .connectorName("string")
        .resourceGroupName("string")
        .backupData(HanaBackupDataArgs.builder()
            .backupPolicy(DBBackupPolicyPropertiesArgs.builder()
                .backupManagementType("AzureWorkload")
                .name("string")
                .makePolicyConsistent(false)
                .protectedItemsCount(0)
                .resourceGuardOperationRequests("string")
                .settings(SettingsArgs.builder()
                    .isCompression(false)
                    .issqlcompression(false)
                    .timeZone("string")
                    .build())
                .subProtectionPolicy(SubProtectionPolicyArgs.builder()
                    .policyType("string")
                    .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                        .retentionPolicyType("LongTermRetentionPolicy")
                        .dailySchedule(DailyRetentionScheduleArgs.builder()
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .monthlySchedule(MonthlyRetentionScheduleArgs.builder()
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionScheduleDaily(DailyRetentionFormatArgs.builder()
                                .daysOfTheMonth(DayArgs.builder()
                                    .date(0)
                                    .isLast(false)
                                    .build())
                                .build())
                            .retentionScheduleFormatType("string")
                            .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                .daysOfTheWeek("Sunday")
                                .weeksOfTheMonth("First")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .weeklySchedule(WeeklyRetentionScheduleArgs.builder()
                            .daysOfTheWeek("Sunday")
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .yearlySchedule(YearlyRetentionScheduleArgs.builder()
                            .monthsOfYear("Invalid")
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionScheduleDaily(DailyRetentionFormatArgs.builder()
                                .daysOfTheMonth(DayArgs.builder()
                                    .date(0)
                                    .isLast(false)
                                    .build())
                                .build())
                            .retentionScheduleFormatType("string")
                            .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                .daysOfTheWeek("Sunday")
                                .weeksOfTheMonth("First")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .build())
                    .schedulePolicy(LogSchedulePolicyArgs.builder()
                        .schedulePolicyType("LogSchedulePolicy")
                        .scheduleFrequencyInMins(0)
                        .build())
                    .snapshotBackupAdditionalDetails(SnapshotBackupAdditionalDetailsArgs.builder()
                        .instantRPDetails("string")
                        .instantRpRetentionRangeInDays(0)
                        .userAssignedManagedIdentityDetails(UserAssignedManagedIdentityDetailsArgs.builder()
                            .identityArmId("string")
                            .identityName("string")
                            .userAssignedIdentityProperties(UserAssignedIdentityPropertiesArgs.builder()
                                .clientId("string")
                                .principalId("string")
                                .build())
                            .build())
                        .build())
                    .tieringPolicy(Map.of("string", Map.ofEntries(
                        Map.entry("duration", 0),
                        Map.entry("durationType", "string"),
                        Map.entry("tieringMode", "string")
                    )))
                    .build())
                .workLoadType("string")
                .build())
            .backupType("HANA")
            .hdbuserstoreKeyName("string")
            .recoveryServicesVault(ExistingRecoveryServicesVaultArgs.builder()
                .id("string")
                .vaultType("Existing")
                .build())
            .dbInstanceSnapshotBackupPolicy(DBBackupPolicyPropertiesArgs.builder()
                .backupManagementType("AzureWorkload")
                .name("string")
                .makePolicyConsistent(false)
                .protectedItemsCount(0)
                .resourceGuardOperationRequests("string")
                .settings(SettingsArgs.builder()
                    .isCompression(false)
                    .issqlcompression(false)
                    .timeZone("string")
                    .build())
                .subProtectionPolicy(SubProtectionPolicyArgs.builder()
                    .policyType("string")
                    .retentionPolicy(LongTermRetentionPolicyArgs.builder()
                        .retentionPolicyType("LongTermRetentionPolicy")
                        .dailySchedule(DailyRetentionScheduleArgs.builder()
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .monthlySchedule(MonthlyRetentionScheduleArgs.builder()
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionScheduleDaily(DailyRetentionFormatArgs.builder()
                                .daysOfTheMonth(DayArgs.builder()
                                    .date(0)
                                    .isLast(false)
                                    .build())
                                .build())
                            .retentionScheduleFormatType("string")
                            .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                .daysOfTheWeek("Sunday")
                                .weeksOfTheMonth("First")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .weeklySchedule(WeeklyRetentionScheduleArgs.builder()
                            .daysOfTheWeek("Sunday")
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .yearlySchedule(YearlyRetentionScheduleArgs.builder()
                            .monthsOfYear("Invalid")
                            .retentionDuration(RetentionDurationArgs.builder()
                                .count(0)
                                .durationType("string")
                                .build())
                            .retentionScheduleDaily(DailyRetentionFormatArgs.builder()
                                .daysOfTheMonth(DayArgs.builder()
                                    .date(0)
                                    .isLast(false)
                                    .build())
                                .build())
                            .retentionScheduleFormatType("string")
                            .retentionScheduleWeekly(WeeklyRetentionFormatArgs.builder()
                                .daysOfTheWeek("Sunday")
                                .weeksOfTheMonth("First")
                                .build())
                            .retentionTimes("string")
                            .build())
                        .build())
                    .schedulePolicy(LogSchedulePolicyArgs.builder()
                        .schedulePolicyType("LogSchedulePolicy")
                        .scheduleFrequencyInMins(0)
                        .build())
                    .snapshotBackupAdditionalDetails(SnapshotBackupAdditionalDetailsArgs.builder()
                        .instantRPDetails("string")
                        .instantRpRetentionRangeInDays(0)
                        .userAssignedManagedIdentityDetails(UserAssignedManagedIdentityDetailsArgs.builder()
                            .identityArmId("string")
                            .identityName("string")
                            .userAssignedIdentityProperties(UserAssignedIdentityPropertiesArgs.builder()
                                .clientId("string")
                                .principalId("string")
                                .build())
                            .build())
                        .build())
                    .tieringPolicy(Map.of("string", Map.ofEntries(
                        Map.entry("duration", 0),
                        Map.entry("durationType", "string"),
                        Map.entry("tieringMode", "string")
                    )))
                    .build())
                .workLoadType("string")
                .build())
            .instanceNumber("string")
            .sslConfiguration(SSLConfigurationArgs.builder()
                .sslCryptoProvider("string")
                .sslHostNameInCertificate("string")
                .sslKeyStore("string")
                .sslTrustStore("string")
                .build())
            .build())
        .backupName("string")
        .location("string")
        .tags(Map.of("string", "string"))
        .build());
    
    acssbackup_connection_resource = azure_native.workloads.ACSSBackupConnection("acssbackupConnectionResource",
        connector_name="string",
        resource_group_name="string",
        backup_data=azure_native.workloads.HanaBackupDataArgs(
            backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                backup_management_type="AzureWorkload",
                name="string",
                make_policy_consistent=False,
                protected_items_count=0,
                resource_guard_operation_requests=["string"],
                settings=azure_native.workloads.SettingsArgs(
                    is_compression=False,
                    issqlcompression=False,
                    time_zone="string",
                ),
                sub_protection_policy=[azure_native.workloads.SubProtectionPolicyArgs(
                    policy_type="string",
                    retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                        retention_policy_type="LongTermRetentionPolicy",
                        daily_schedule=azure_native.workloads.DailyRetentionScheduleArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_times=["string"],
                        ),
                        monthly_schedule=azure_native.workloads.MonthlyRetentionScheduleArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_schedule_daily=azure_native.workloads.DailyRetentionFormatArgs(
                                days_of_the_month=[azure_native.workloads.DayArgs(
                                    date=0,
                                    is_last=False,
                                )],
                            ),
                            retention_schedule_format_type="string",
                            retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                            ),
                            retention_times=["string"],
                        ),
                        weekly_schedule=azure_native.workloads.WeeklyRetentionScheduleArgs(
                            days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_times=["string"],
                        ),
                        yearly_schedule=azure_native.workloads.YearlyRetentionScheduleArgs(
                            months_of_year=[azure_native.workloads.MonthOfYear.INVALID],
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_schedule_daily=azure_native.workloads.DailyRetentionFormatArgs(
                                days_of_the_month=[azure_native.workloads.DayArgs(
                                    date=0,
                                    is_last=False,
                                )],
                            ),
                            retention_schedule_format_type="string",
                            retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                            ),
                            retention_times=["string"],
                        ),
                    ),
                    schedule_policy=azure_native.workloads.LogSchedulePolicyArgs(
                        schedule_policy_type="LogSchedulePolicy",
                        schedule_frequency_in_mins=0,
                    ),
                    snapshot_backup_additional_details=azure_native.workloads.SnapshotBackupAdditionalDetailsArgs(
                        instant_rp_details="string",
                        instant_rp_retention_range_in_days=0,
                        user_assigned_managed_identity_details=azure_native.workloads.UserAssignedManagedIdentityDetailsArgs(
                            identity_arm_id="string",
                            identity_name="string",
                            user_assigned_identity_properties=azure_native.workloads.UserAssignedIdentityPropertiesArgs(
                                client_id="string",
                                principal_id="string",
                            ),
                        ),
                    ),
                    tiering_policy={
                        "string": azure_native.workloads.TieringPolicyArgs(
                            duration=0,
                            duration_type="string",
                            tiering_mode="string",
                        ),
                    },
                )],
                work_load_type="string",
            ),
            backup_type="HANA",
            hdbuserstore_key_name="string",
            recovery_services_vault=azure_native.workloads.ExistingRecoveryServicesVaultArgs(
                id="string",
                vault_type="Existing",
            ),
            db_instance_snapshot_backup_policy=azure_native.workloads.DBBackupPolicyPropertiesArgs(
                backup_management_type="AzureWorkload",
                name="string",
                make_policy_consistent=False,
                protected_items_count=0,
                resource_guard_operation_requests=["string"],
                settings=azure_native.workloads.SettingsArgs(
                    is_compression=False,
                    issqlcompression=False,
                    time_zone="string",
                ),
                sub_protection_policy=[azure_native.workloads.SubProtectionPolicyArgs(
                    policy_type="string",
                    retention_policy=azure_native.workloads.LongTermRetentionPolicyArgs(
                        retention_policy_type="LongTermRetentionPolicy",
                        daily_schedule=azure_native.workloads.DailyRetentionScheduleArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_times=["string"],
                        ),
                        monthly_schedule=azure_native.workloads.MonthlyRetentionScheduleArgs(
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_schedule_daily=azure_native.workloads.DailyRetentionFormatArgs(
                                days_of_the_month=[azure_native.workloads.DayArgs(
                                    date=0,
                                    is_last=False,
                                )],
                            ),
                            retention_schedule_format_type="string",
                            retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                            ),
                            retention_times=["string"],
                        ),
                        weekly_schedule=azure_native.workloads.WeeklyRetentionScheduleArgs(
                            days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_times=["string"],
                        ),
                        yearly_schedule=azure_native.workloads.YearlyRetentionScheduleArgs(
                            months_of_year=[azure_native.workloads.MonthOfYear.INVALID],
                            retention_duration=azure_native.workloads.RetentionDurationArgs(
                                count=0,
                                duration_type="string",
                            ),
                            retention_schedule_daily=azure_native.workloads.DailyRetentionFormatArgs(
                                days_of_the_month=[azure_native.workloads.DayArgs(
                                    date=0,
                                    is_last=False,
                                )],
                            ),
                            retention_schedule_format_type="string",
                            retention_schedule_weekly=azure_native.workloads.WeeklyRetentionFormatArgs(
                                days_of_the_week=[azure_native.workloads.DayOfWeek.SUNDAY],
                                weeks_of_the_month=[azure_native.workloads.WeekOfMonth.FIRST],
                            ),
                            retention_times=["string"],
                        ),
                    ),
                    schedule_policy=azure_native.workloads.LogSchedulePolicyArgs(
                        schedule_policy_type="LogSchedulePolicy",
                        schedule_frequency_in_mins=0,
                    ),
                    snapshot_backup_additional_details=azure_native.workloads.SnapshotBackupAdditionalDetailsArgs(
                        instant_rp_details="string",
                        instant_rp_retention_range_in_days=0,
                        user_assigned_managed_identity_details=azure_native.workloads.UserAssignedManagedIdentityDetailsArgs(
                            identity_arm_id="string",
                            identity_name="string",
                            user_assigned_identity_properties=azure_native.workloads.UserAssignedIdentityPropertiesArgs(
                                client_id="string",
                                principal_id="string",
                            ),
                        ),
                    ),
                    tiering_policy={
                        "string": azure_native.workloads.TieringPolicyArgs(
                            duration=0,
                            duration_type="string",
                            tiering_mode="string",
                        ),
                    },
                )],
                work_load_type="string",
            ),
            instance_number="string",
            ssl_configuration=azure_native.workloads.SSLConfigurationArgs(
                ssl_crypto_provider="string",
                ssl_host_name_in_certificate="string",
                ssl_key_store="string",
                ssl_trust_store="string",
            ),
        ),
        backup_name="string",
        location="string",
        tags={
            "string": "string",
        })
    
    const acssbackupConnectionResource = new azure_native.workloads.ACSSBackupConnection("acssbackupConnectionResource", {
        connectorName: "string",
        resourceGroupName: "string",
        backupData: {
            backupPolicy: {
                backupManagementType: "AzureWorkload",
                name: "string",
                makePolicyConsistent: false,
                protectedItemsCount: 0,
                resourceGuardOperationRequests: ["string"],
                settings: {
                    isCompression: false,
                    issqlcompression: false,
                    timeZone: "string",
                },
                subProtectionPolicy: [{
                    policyType: "string",
                    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: [azure_native.workloads.DayOfWeek.Sunday],
                                weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                            },
                            retentionTimes: ["string"],
                        },
                        weeklySchedule: {
                            daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                            retentionDuration: {
                                count: 0,
                                durationType: "string",
                            },
                            retentionTimes: ["string"],
                        },
                        yearlySchedule: {
                            monthsOfYear: [azure_native.workloads.MonthOfYear.Invalid],
                            retentionDuration: {
                                count: 0,
                                durationType: "string",
                            },
                            retentionScheduleDaily: {
                                daysOfTheMonth: [{
                                    date: 0,
                                    isLast: false,
                                }],
                            },
                            retentionScheduleFormatType: "string",
                            retentionScheduleWeekly: {
                                daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                            },
                            retentionTimes: ["string"],
                        },
                    },
                    schedulePolicy: {
                        schedulePolicyType: "LogSchedulePolicy",
                        scheduleFrequencyInMins: 0,
                    },
                    snapshotBackupAdditionalDetails: {
                        instantRPDetails: "string",
                        instantRpRetentionRangeInDays: 0,
                        userAssignedManagedIdentityDetails: {
                            identityArmId: "string",
                            identityName: "string",
                            userAssignedIdentityProperties: {
                                clientId: "string",
                                principalId: "string",
                            },
                        },
                    },
                    tieringPolicy: {
                        string: {
                            duration: 0,
                            durationType: "string",
                            tieringMode: "string",
                        },
                    },
                }],
                workLoadType: "string",
            },
            backupType: "HANA",
            hdbuserstoreKeyName: "string",
            recoveryServicesVault: {
                id: "string",
                vaultType: "Existing",
            },
            dbInstanceSnapshotBackupPolicy: {
                backupManagementType: "AzureWorkload",
                name: "string",
                makePolicyConsistent: false,
                protectedItemsCount: 0,
                resourceGuardOperationRequests: ["string"],
                settings: {
                    isCompression: false,
                    issqlcompression: false,
                    timeZone: "string",
                },
                subProtectionPolicy: [{
                    policyType: "string",
                    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: [azure_native.workloads.DayOfWeek.Sunday],
                                weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                            },
                            retentionTimes: ["string"],
                        },
                        weeklySchedule: {
                            daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                            retentionDuration: {
                                count: 0,
                                durationType: "string",
                            },
                            retentionTimes: ["string"],
                        },
                        yearlySchedule: {
                            monthsOfYear: [azure_native.workloads.MonthOfYear.Invalid],
                            retentionDuration: {
                                count: 0,
                                durationType: "string",
                            },
                            retentionScheduleDaily: {
                                daysOfTheMonth: [{
                                    date: 0,
                                    isLast: false,
                                }],
                            },
                            retentionScheduleFormatType: "string",
                            retentionScheduleWeekly: {
                                daysOfTheWeek: [azure_native.workloads.DayOfWeek.Sunday],
                                weeksOfTheMonth: [azure_native.workloads.WeekOfMonth.First],
                            },
                            retentionTimes: ["string"],
                        },
                    },
                    schedulePolicy: {
                        schedulePolicyType: "LogSchedulePolicy",
                        scheduleFrequencyInMins: 0,
                    },
                    snapshotBackupAdditionalDetails: {
                        instantRPDetails: "string",
                        instantRpRetentionRangeInDays: 0,
                        userAssignedManagedIdentityDetails: {
                            identityArmId: "string",
                            identityName: "string",
                            userAssignedIdentityProperties: {
                                clientId: "string",
                                principalId: "string",
                            },
                        },
                    },
                    tieringPolicy: {
                        string: {
                            duration: 0,
                            durationType: "string",
                            tieringMode: "string",
                        },
                    },
                }],
                workLoadType: "string",
            },
            instanceNumber: "string",
            sslConfiguration: {
                sslCryptoProvider: "string",
                sslHostNameInCertificate: "string",
                sslKeyStore: "string",
                sslTrustStore: "string",
            },
        },
        backupName: "string",
        location: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:workloads:ACSSBackupConnection
    properties:
        backupData:
            backupPolicy:
                backupManagementType: AzureWorkload
                makePolicyConsistent: false
                name: string
                protectedItemsCount: 0
                resourceGuardOperationRequests:
                    - string
                settings:
                    isCompression: false
                    issqlcompression: false
                    timeZone: string
                subProtectionPolicy:
                    - policyType: string
                      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
                      snapshotBackupAdditionalDetails:
                        instantRPDetails: string
                        instantRpRetentionRangeInDays: 0
                        userAssignedManagedIdentityDetails:
                            identityArmId: string
                            identityName: string
                            userAssignedIdentityProperties:
                                clientId: string
                                principalId: string
                      tieringPolicy:
                        string:
                            duration: 0
                            durationType: string
                            tieringMode: string
                workLoadType: string
            backupType: HANA
            dbInstanceSnapshotBackupPolicy:
                backupManagementType: AzureWorkload
                makePolicyConsistent: false
                name: string
                protectedItemsCount: 0
                resourceGuardOperationRequests:
                    - string
                settings:
                    isCompression: false
                    issqlcompression: false
                    timeZone: string
                subProtectionPolicy:
                    - policyType: string
                      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
                      snapshotBackupAdditionalDetails:
                        instantRPDetails: string
                        instantRpRetentionRangeInDays: 0
                        userAssignedManagedIdentityDetails:
                            identityArmId: string
                            identityName: string
                            userAssignedIdentityProperties:
                                clientId: string
                                principalId: string
                      tieringPolicy:
                        string:
                            duration: 0
                            durationType: string
                            tieringMode: string
                workLoadType: string
            hdbuserstoreKeyName: string
            instanceNumber: string
            recoveryServicesVault:
                id: string
                vaultType: Existing
            sslConfiguration:
                sslCryptoProvider: string
                sslHostNameInCertificate: string
                sslKeyStore: string
                sslTrustStore: string
        backupName: string
        connectorName: string
        location: string
        resourceGroupName: string
        tags:
            string: string
    

    ACSSBackupConnection Resource Properties

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

    Inputs

    The ACSSBackupConnection resource accepts the following input properties:

    ConnectorName string
    The name of the connector resource
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    BackupData Pulumi.AzureNative.Workloads.Inputs.HanaBackupData | Pulumi.AzureNative.Workloads.Inputs.SqlBackupData | Pulumi.AzureNative.Workloads.Inputs.VMBackupData
    Information about the recovery services vault and backup policy used for backup.
    BackupName string
    The name of the backup connection resource of virtual instance for SAP.
    Location string
    The geo-location where the resource lives
    Tags Dictionary<string, string>
    Resource tags.
    ConnectorName string
    The name of the connector resource
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    BackupData HanaBackupDataArgs | SqlBackupDataArgs | VMBackupDataArgs
    Information about the recovery services vault and backup policy used for backup.
    BackupName string
    The name of the backup connection resource of virtual instance for SAP.
    Location string
    The geo-location where the resource lives
    Tags map[string]string
    Resource tags.
    connectorName String
    The name of the connector resource
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    backupData HanaBackupData | SqlBackupData | VMBackupData
    Information about the recovery services vault and backup policy used for backup.
    backupName String
    The name of the backup connection resource of virtual instance for SAP.
    location String
    The geo-location where the resource lives
    tags Map<String,String>
    Resource tags.
    connectorName string
    The name of the connector resource
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    backupData HanaBackupData | SqlBackupData | VMBackupData
    Information about the recovery services vault and backup policy used for backup.
    backupName string
    The name of the backup connection resource of virtual instance for SAP.
    location string
    The geo-location where the resource lives
    tags {[key: string]: string}
    Resource tags.
    connector_name str
    The name of the connector resource
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    backup_data HanaBackupDataArgs | SqlBackupDataArgs | VMBackupDataArgs
    Information about the recovery services vault and backup policy used for backup.
    backup_name str
    The name of the backup connection resource of virtual instance for SAP.
    location str
    The geo-location where the resource lives
    tags Mapping[str, str]
    Resource tags.
    connectorName String
    The name of the connector resource
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    backupData Property Map | Property Map | Property Map
    Information about the recovery services vault and backup policy used for backup.
    backupName String
    The name of the backup connection resource of virtual instance for SAP.
    location String
    The geo-location where the resource lives
    tags Map<String>
    Resource tags.

    Outputs

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

    Errors Pulumi.AzureNative.Workloads.Outputs.ConnectorErrorDefinitionResponse
    Defines the errors related to backup connection resource of virtual instance for SAP.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Defines the provisioning states.
    SystemData Pulumi.AzureNative.Workloads.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Errors ConnectorErrorDefinitionResponse
    Defines the errors related to backup connection resource of virtual instance for SAP.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Defines the provisioning states.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors ConnectorErrorDefinitionResponse
    Defines the errors related to backup connection resource of virtual instance for SAP.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Defines the provisioning states.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors ConnectorErrorDefinitionResponse
    Defines the errors related to backup connection resource of virtual instance for SAP.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Defines the provisioning states.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors ConnectorErrorDefinitionResponse
    Defines the errors related to backup connection resource of virtual instance for SAP.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Defines the provisioning states.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors Property Map
    Defines the errors related to backup connection resource of virtual instance for SAP.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Defines the provisioning states.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ConnectorErrorDefinitionResponse, ConnectorErrorDefinitionResponseArgs

    Code string
    Service specific error code which serves as the substatus for the HTTP error code.
    Details List<Pulumi.AzureNative.Workloads.Inputs.ConnectorErrorDefinitionResponse>
    Internal error details.
    Message string
    Description of the error.
    Code string
    Service specific error code which serves as the substatus for the HTTP error code.
    Details []ConnectorErrorDefinitionResponse
    Internal error details.
    Message string
    Description of the error.
    code String
    Service specific error code which serves as the substatus for the HTTP error code.
    details List<ConnectorErrorDefinitionResponse>
    Internal error details.
    message String
    Description of the error.
    code string
    Service specific error code which serves as the substatus for the HTTP error code.
    details ConnectorErrorDefinitionResponse[]
    Internal error details.
    message string
    Description of the error.
    code str
    Service specific error code which serves as the substatus for the HTTP error code.
    details Sequence[ConnectorErrorDefinitionResponse]
    Internal error details.
    message str
    Description of the error.
    code String
    Service specific error code which serves as the substatus for the HTTP error code.
    details List<Property Map>
    Internal error details.
    message String
    Description of the error.

    DBBackupPolicyProperties, DBBackupPolicyPropertiesArgs

    Name string
    The name of the DB backup policy.
    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    ResourceGuardOperationRequests List<string>
    ResourceGuard Operation Requests
    Settings Pulumi.AzureNative.Workloads.Inputs.Settings
    Common settings for the backup management
    SubProtectionPolicy List<Pulumi.AzureNative.Workloads.Inputs.SubProtectionPolicy>
    List of sub-protection policies which includes schedule and retention
    WorkLoadType string | Pulumi.AzureNative.Workloads.WorkloadType
    Type of workload for the backup management
    Name string
    The name of the DB backup policy.
    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    ResourceGuardOperationRequests []string
    ResourceGuard Operation Requests
    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
    name String
    The name of the DB backup policy.
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Integer
    Number of items associated with this policy.
    resourceGuardOperationRequests List<String>
    ResourceGuard Operation Requests
    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
    name string
    The name of the DB backup policy.
    makePolicyConsistent boolean
    Fix the policy inconsistency
    protectedItemsCount number
    Number of items associated with this policy.
    resourceGuardOperationRequests string[]
    ResourceGuard Operation Requests
    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
    name str
    The name of the DB backup policy.
    make_policy_consistent bool
    Fix the policy inconsistency
    protected_items_count int
    Number of items associated with this policy.
    resource_guard_operation_requests Sequence[str]
    ResourceGuard Operation Requests
    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
    name String
    The name of the DB backup policy.
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Number
    Number of items associated with this policy.
    resourceGuardOperationRequests List<String>
    ResourceGuard Operation Requests
    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" | "SAPHanaDBInstance"
    Type of workload for the backup management

    DBBackupPolicyPropertiesResponse, DBBackupPolicyPropertiesResponseArgs

    Name string
    The name of the DB backup policy.
    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    ResourceGuardOperationRequests List<string>
    ResourceGuard Operation Requests
    Settings Pulumi.AzureNative.Workloads.Inputs.SettingsResponse
    Common settings for the backup management
    SubProtectionPolicy List<Pulumi.AzureNative.Workloads.Inputs.SubProtectionPolicyResponse>
    List of sub-protection policies which includes schedule and retention
    WorkLoadType string
    Type of workload for the backup management
    Name string
    The name of the DB backup policy.
    MakePolicyConsistent bool
    Fix the policy inconsistency
    ProtectedItemsCount int
    Number of items associated with this policy.
    ResourceGuardOperationRequests []string
    ResourceGuard Operation Requests
    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
    name String
    The name of the DB backup policy.
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Integer
    Number of items associated with this policy.
    resourceGuardOperationRequests List<String>
    ResourceGuard Operation Requests
    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
    name string
    The name of the DB backup policy.
    makePolicyConsistent boolean
    Fix the policy inconsistency
    protectedItemsCount number
    Number of items associated with this policy.
    resourceGuardOperationRequests string[]
    ResourceGuard Operation Requests
    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
    name str
    The name of the DB backup policy.
    make_policy_consistent bool
    Fix the policy inconsistency
    protected_items_count int
    Number of items associated with this policy.
    resource_guard_operation_requests Sequence[str]
    ResourceGuard Operation Requests
    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
    name String
    The name of the DB backup policy.
    makePolicyConsistent Boolean
    Fix the policy inconsistency
    protectedItemsCount Number
    Number of items associated with this policy.
    resourceGuardOperationRequests List<String>
    ResourceGuard Operation Requests
    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.Workloads.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.Workloads.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.

    DailySchedule, DailyScheduleArgs

    ScheduleRunTimes List<string>
    List of times of day this schedule has to be run.
    ScheduleRunTimes []string
    List of times of day this schedule has to be run.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.
    scheduleRunTimes string[]
    List of times of day this schedule has to be run.
    schedule_run_times Sequence[str]
    List of times of day this schedule has to be run.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.

    DailyScheduleResponse, DailyScheduleResponseArgs

    ScheduleRunTimes List<string>
    List of times of day this schedule has to be run.
    ScheduleRunTimes []string
    List of times of day this schedule has to be run.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.
    scheduleRunTimes string[]
    List of times of day this schedule has to be run.
    schedule_run_times Sequence[str]
    List of times of day this schedule has to be run.
    scheduleRunTimes List<String>
    List of times of day this schedule has to be run.

    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

    DiskExclusionProperties, DiskExclusionPropertiesArgs

    DiskLunList List<int>
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    IsInclusionList bool
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    DiskLunList []int
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    IsInclusionList bool
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    diskLunList List<Integer>
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    isInclusionList Boolean
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    diskLunList number[]
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    isInclusionList boolean
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    disk_lun_list Sequence[int]
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    is_inclusion_list bool
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    diskLunList List<Number>
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    isInclusionList Boolean
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.

    DiskExclusionPropertiesResponse, DiskExclusionPropertiesResponseArgs

    DiskLunList List<int>
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    IsInclusionList bool
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    DiskLunList []int
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    IsInclusionList bool
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    diskLunList List<Integer>
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    isInclusionList Boolean
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    diskLunList number[]
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    isInclusionList boolean
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    disk_lun_list Sequence[int]
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    is_inclusion_list bool
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.
    diskLunList List<Number>
    List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
    isInclusionList Boolean
    Flag to indicate whether DiskLunList is to be included/ excluded from backup.

    ExistingRecoveryServicesVault, ExistingRecoveryServicesVaultArgs

    Id string
    The resource ID of the recovery services vault that has been created.
    Id string
    The resource ID of the recovery services vault that has been created.
    id String
    The resource ID of the recovery services vault that has been created.
    id string
    The resource ID of the recovery services vault that has been created.
    id str
    The resource ID of the recovery services vault that has been created.