autoBackupSettings not found on Microsoft.SqlVirtualMachine/sqlVirtualMachines
See original GitHub issue- Package Name: @azure/arm-sqlvirtualmachine
- Package Version: @azure/arm-sqlvirtualmachine@3.1.0
- Operating system: linux
- nodejs
- version: v12.16.1
- browser
- name/version:
- typescript
- version: Version 4.0.2
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://docs.microsoft.com
Describe the bug A clear and concise description of what the bug is.
SQLVirtualMachine.autoBackupSettings
is not present. I provisioned a test Azure SQL server on VMs and can see my SQL VM using await sqlVMClient.sqlVirtualMachines.listByResourceGroup(resourceGroupName)
.
I configured the VM’s auto backup like this:
I’m unable to see this info from the API results.
To Reproduce Steps to reproduce the behavior:
- Provision a new Azure SQL server for Virtual Machines
- Set the the client
- Get a list of VMs (using
listByResourceGroup
) - See that
autoBackupSettings
is not a property on the returned results:
{
"id": "/subscriptions/<REDACTED>/resourceGroups/<REDACTED>_group/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/<REDACTED>",
"location": "westus",
"name": "<REDACTED>",
"provisioningState": "Succeeded",
"sqlImageOffer": "SQL2019-WS2019",
"sqlImageSku": "Developer",
"sqlManagement": "Full",
"sqlServerLicenseType": "PAYG",
"type": "Microsoft.SqlVirtualMachine/sqlVirtualMachines",
"virtualMachineResourceId": "/subscriptions/<REDACTED>/resourceGroups/<REDACTED>_group/providers/Microsoft.Compute/virtualMachines/<REDACTED>"
}
Expected behavior A clear and concise description of what you expected to happen.
vm.autoBackupSettings.retentionPeriod
should show 20 days.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Sql Virtual Machines - Update - REST API (Azure SQL VM)
400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.
Read more >Sql Virtual Machines - Create Or Update - REST API (Azure ...
Auto backup settings for SQL Server. ... 400 SqlVmAlreadyIncludedInGroup - SQL virtual machine cannot be moved from one group to another in ...
Read more >Automated Backup v2 for SQL Server 2016/2017 Azure VMs
Automated Backup v2 automatically configures Managed Backup to Microsoft Azure for all existing and new databases on an Azure VM running SQL ...
Read more >Sql Virtual Machines - Start Assessment - REST API (Azure ...
400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.
Read more >Sql Virtual Machines - List By Resource Group - Microsoft Learn
Learn more about SQL VM service - Gets all SQL virtual machines in a resource group.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hdavidzhu Yes we have filed an internal tracking item to get the documentation updated.
@bluefooted added need author feedback label. which will automatically close this issue if the issue author doesn’t have any objections in 7 days.