sbm-eval / Secret_Breach-Survey

0 stars 0 forks source link

raj_01 #255

Open shahriar-raj opened 6 days ago

shahriar-raj commented 6 days ago

Trying to create a SQL VM with auto backup enabled, but getting a 400 error with code BackupScheduleTypeNotSet, despite backupScheduleType being specified in the request.

Request

{
    "location": "westeurope",
    "properties": {
        "autoBackupSettings": {
            "enable": true,
            "enableEncryption": false,
            "retentionPeriod": 21,
            "storageAccountUrl": "https://unlikely23exst2acctpiakc.blob.core.windows.net/",
            "password": "",
            "backupSystemDbs": false,
            "backupScheduleType": "Automated",
            "fullBackupFrequency": "Weekly",
            "fullBackupStartTime": 0,
            "fullBackupWindowHours": 0,
            "logBackupFrequency": 0
        },
        "serverConfigurationsManagementSettings": {
            "sqlConnectivityUpdateSettings": {
                "connectivityType": "PRIVATE",
                "port": 1433,
                "sqlAuthUpdateUserName": "",
                "sqlAuthUpdatePassword": ""
            },
            "additionalFeaturesServerConfigurations": {
                "isRServicesEnabled": false
            }
        },
        "sqlManagement": "Full",
        "sqlServerLicenseType": "PAYG",
    },
    "tags": {}
}

Response

400 Bad Request

{
    "error": {
        "code": "BackupScheduleTypeNotSet",
        "message": "Backup schedule type needs to be set."
    }
}

1.txt You're currently signed in as shahriarraj121@gmail.com shahriar raj Displaying 1.txt.