forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 0
Release 0.9.8 #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 0.9.8 #83
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PR from parent
PR from parent
PR from parent
PR from parent branch
PR from parent
pr from parent
PR from parent
pr from parent
pr from parent
PR from parent
PR from parent
PR from parent
PR from parent
PR from parent
PR from parent
PR from parent
------------- 1) ARM cmdlets for SQLVM extension added ( followed DSC's ARM cmdlet pattern ) 2) supports configuring auto patching in ARM mode 3) supports configuring auto backup in ARM mode 4) Get sqlvm extension status in ARM mode 5) remove sqlvm extension in ARM mode Pending Open issues: ------------------ - MAML file generation & help documentation - adding new functional tests - follow up with Azure team to check why Extenstion statusus were always returning null in Get-* cmdlet Testing: ------ Environment: SQLVM created via new Azure portal using ARM Powershell script used: ----------------------- Switch-AzureMode -Name AzureResourceManager $subscriptionName = "__Subscription__" $vmName = "__vm_name__" $resourceGroupName = "__resourcegroupName__" Add-azureaccount select-azuresubscription -SubscriptionName $subscriptionName # Get Azure VM created using ARM $vm = get-azurevm -ResourceGroupName $resourceGroupName -Name $vmName ########### #Set auto patching ########### $aps = New-AzureVMSqlServerAutoPatchingConfig -Enable -DayOfWeek "EveryDay" -MaintenanceWindowStartingHour 20 -MaintenanceWindowDuration 120 -PatchCategory "Important" $vm | Set-AzureVMSqlServerExtension -AutoPatchingSettings $aps -ResourceGroupName $resourceGroupName -VMName $vmName -Version "1.2" -Verbose ########### #Set auto backup ########### $storageUrl = "https://__account__.blob.core.windows.net/" $storageAccountKey = "__KEY__" $storageAccountKeySecure = convertto-securestring $storageAccountKey -asplaintext -force $abs = New-AzureVMSqlServerAutoBackupConfig -Enable -RetentionPeriod 22 -StorageUri $storageUrl -StorageKey $storageAccountKeySecure $vm = get-azurevm -ResourceGroupName $resourceGroupName -Name $vmName $vm | Set-AzureVMSqlServerExtension -AutoBackupSettings $abs -ResourceGroupName $resourceGroupName -VMName $vmName -Version "1.2" -Verbose ########### #get extension status ########### Get-AzureVMSqlServerExtension -ResourceGroupName $resourceGroupName -VMName $vmName -Name $vmName ########### #remove extension ########### Remove-AzureVMSqlServerExtension -ResourceGroupName $resourceGroupName -VMName $vmName -Name $vmName Task# 5468533 - SQL IaaS Extension PowerShell Resource Management support
…Azure-dev Conflicts: src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs
PR from parent
…red in JSON serializer - no special handling is needed in Get-AzureVMSqlServerExtension to mask secrets
Conflicts: ChangeLog.md
… cmdlets.
- Replacing this file with recent version from
https://github.com/Azure/azure-powershell/blob/dev/setup/azurecmdfiles.wxi
… back to read AutoBackup and AutoPatching settings
More warning messages for upcoming changes in ARM cmdlets
ARM cmdlets for SQLVM extension supporting auto-patching and auto-backup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.