Skip to content

Commit 1e0dbd9

Browse files
authored
[Release 3.5.0] Merge release-3.5.0 --> master (Azure#3483)
* Update Compute client library version to 14.0.0 and re-generate Powershell code with DiskRP support * Fix VM output issue when AvailabilitySet is set with Compact display mode * Update VM helper cmdlets to support Managed disk * Update New-AzureRmAvailabilitySet and Get-AzureRmAvailabilitySet to support Managed disk * Update change log for Compute * WORK: PS test for Images * WORK: add images PS tests * Fix tab space * Adding test for ConvertTo-AzureRmVMManagedDisk * Fix tab spacing * Change CreationDataCreateOption to CreateOption * Add Update-AzureRmAvailabilitySet cmdlet * Add SourceVaultId to Key encryption key commands * Add Access and DurationIdSecond to Grant Access cmdlets * Add StorageAccountType to Add-AzureRmVmssDataDisk and rename ManagedDiskStorageAccountType to StorageAccountType * Update image tests. * Update the markdown and help files. * disk tests * Powershell tests for VMSS with managed disks * update compute test proj file to include any recorded files. * adding disk tests * adding disk and snapshot test * records * session records * Add TestVirtualMachine_Managed test. * Add session record files. * Add more validation for disk rp tests. * Remove tabs in VirtualMachineTests.ps1 file * Add Remove-AzureRmDataDisk test * Add Set-AzureRmDiskImage and Set-AzureRmSnapshotImage to the tests * Add Update-AzureRmImage cmdlet and set alias Name for ImageName parameter. * Update help and markdown files. * Revert auto-generated cmdlets to manually written cmdlets. * Add ShouldProcess support to Update, Grant, Revoke, Start, Restart cmdlets * Add ShouldProcess support to config cmdlets * Updating Remove-AzureRmVmssExtension cmdlet back to previous. * Remove Get-AzureRmContainerServiceListNext because it is included Get-AzureRmContainerService * Adding Add-AzureRmVmssDataDisk and Remove-AzureRmVmssDataDisk * Update help and markdown files. * Update the order of the paramters not to break existing ones. * Update the markdown file. * Limit the max number of position value to 3 for new cmdlets. * Suppress breaking change exceptions. * Update module version for Compute * Suppress exceptions for sign job
1 parent 763d2dc commit 1e0dbd9

File tree

267 files changed

+73984
-9084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+73984
-9084
lines changed

src/ResourceManager/Compute/AzureRM.Compute.psd1

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '2.5.0'
15+
ModuleVersion = '2.6.0'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -75,7 +75,8 @@ FunctionsToExport = @()
7575

7676
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
7777
CmdletsToExport = 'Remove-AzureRmAvailabilitySet', 'Get-AzureRmAvailabilitySet',
78-
'New-AzureRmAvailabilitySet', 'Get-AzureRmVMExtensionImageType',
78+
'New-AzureRmAvailabilitySet', 'Update-AzureRmAvailabilitySet',
79+
'Get-AzureRmVMExtensionImageType',
7980
'Get-AzureRmVMExtensionImage', 'Get-AzureRmVMADDomainExtension',
8081
'Set-AzureRmVMADDomainExtension', 'Get-AzureRmVMAEMExtension',
8182
'Remove-AzureRmVMAEMExtension', 'Set-AzureRmVMAEMExtension',
@@ -118,12 +119,12 @@ CmdletsToExport = 'Remove-AzureRmAvailabilitySet', 'Get-AzureRmAvailabilitySet',
118119
'Remove-AzureRmContainerService', 'Get-AzureRmContainerService',
119120
'Get-AzureRmVmssVM', 'Set-AzureRmVmssVM',
120121
'Add-AzureRmVmssAdditionalUnattendContent',
121-
'Add-AzureRmVmssExtension',
122+
'Add-AzureRmVmssExtension', 'Add-AzureRmVmssDataDisk',
122123
'Add-AzureRmVmssNetworkInterfaceConfiguration',
123124
'Add-AzureRmVmssSecret', 'Add-AzureRmVmssSshPublicKey',
124125
'Add-AzureRmVmssWinRMListener', 'New-AzureRmVmssConfig',
125126
'New-AzureRmVmssIpConfig', 'New-AzureRmVmssVaultCertificateConfig',
126-
'Remove-AzureRmVmssExtension',
127+
'Remove-AzureRmVmssExtension', 'Remove-AzureRmVmssDataDisk',
127128
'Remove-AzureRmVmssNetworkInterfaceConfiguration',
128129
'Set-AzureRmVmssOsProfile', 'Set-AzureRmVmssStorageProfile',
129130
'New-AzureRmVmss', 'Update-AzureRmVmss', 'Stop-AzureRmVmss',
@@ -138,7 +139,23 @@ CmdletsToExport = 'Remove-AzureRmAvailabilitySet', 'Get-AzureRmAvailabilitySet',
138139
'Get-AzureRmVMDiskEncryptionStatus',
139140
'Remove-AzureRmVMDiskEncryptionExtension',
140141
'Set-AzureRmVMDiskEncryptionExtension',
141-
'Set-AzureRmVMBackupExtension'
142+
'Set-AzureRmVMBackupExtension',
143+
'New-AzureRmDisk', 'Update-AzureRmDisk', 'Get-AzureRmDisk', 'Remove-AzureRmDisk',
144+
'Grant-AzureRmDiskAccess', 'Revoke-AzureRmDiskAccess',
145+
'New-AzureRmDiskConfig',
146+
'Set-AzureRmDiskDiskEncryptionKey', 'Set-AzureRmDiskImageReference', 'Set-AzureRmDiskKeyEncryptionKey',
147+
'New-AzureRmDiskUpdateConfig',
148+
'Set-AzureRmDiskUpdateDiskEncryptionKey', 'Set-AzureRmDiskUpdateImageReference', 'Set-AzureRmDiskUpdateKeyEncryptionKey',
149+
'New-AzureRmSnapshot', 'Update-AzureRmSnapshot', 'Get-AzureRmSnapshot', 'Remove-AzureRmSnapshot',
150+
'Grant-AzureRmSnapshotAccess', 'Revoke-AzureRmSnapshotAccess',
151+
'New-AzureRmSnapshotConfig',
152+
'Set-AzureRmSnapshotDiskEncryptionKey', 'Set-AzureRmSnapshotImageReference', 'Set-AzureRmSnapshotKeyEncryptionKey',
153+
'New-AzureRmSnapshotUpdateConfig',
154+
'Set-AzureRmSnapshotUpdateDiskEncryptionKey', 'Set-AzureRmSnapshotUpdateImageReference', 'Set-AzureRmSnapshotUpdateKeyEncryptionKey',
155+
'New-AzureRmImage', 'Update-AzureRmImage', 'Get-AzureRmImage', 'Remove-AzureRmImage',
156+
'New-AzureRmImageConfig',
157+
'Set-AzureRmImageOsDisk', 'Add-AzureRmImageDataDisk', 'Remove-AzureRmImageDataDisk',
158+
'ConvertTo-AzureRmVMManagedDisk'
142159

143160
# Variables to export from this module
144161
# VariablesToExport = @()
@@ -175,15 +192,18 @@ PrivateData = @{
175192
# IconUri = ''
176193

177194
# ReleaseNotes of this module
178-
ReleaseNotes = '* Fix Get-AzureRmVM with -Status issue: Get-AzureRmVM throws an exception when Get-AzureRmVM lists multiple VMs and some of the VMs are deleted during Get-AzureRmVM is performed.
179-
* New parameters in New-AzureRmVMSqlServerAutoBackupConfig cmdlet to support Auto Backup for SQL Server 2016 VMs.
180-
- BackupSystemDbs : Specifies if system databases should be added to Sql Server Managed Backup.
181-
- BackupScheduleType : Specifies the type of managed backup schedule, manual or automated. If it''s manual, schedule settings need to be specified.
182-
- FullBackupFrequency : Specifies the frequency of Full Backup, daily or weekly.
183-
- FullBackupStartHour : Specifies the hour of the day when the Sql Server Full Backup should start.
184-
- FullBackupWindowInHours : Specifies the window (in hours) when Sql Server Full Backup should occur.
185-
- LogBackupFrequencyInMinutes : Specifies the frequency of Sql Server Log Backup.
186-
* New-AzureVMSqlServer* cmdlets are renamed to New-AzureRmVMSqlServer* now. Old ones will continue to work however.
195+
ReleaseNotes = '* New cmdlets for Managed disk
196+
- Disk cmdlets: New-AzureRmDisk, Update-AzureRmDisk, Get-AzureRmDisk, Remove-AzureRmDisk,
197+
Grant-AzureRmDiskAccess, Revoke-AzureRmDiskAccess,
198+
New-AzureRmDiskConfig, Set-AzureRmDiskDiskEncryptionKey, Set-AzureRmDiskImageReference, Set-AzureRmDiskKeyEncryptionKey,
199+
New-AzureRmDiskUpdateConfig, Set-AzureRmDiskUpdateDiskEncryptionKey, Set-AzureRmDiskUpdateImageReference, Set-AzureRmDiskUpdateKeyEncryptionKey
200+
- Snapshot cmdlets: New-AzureRmSnapshot, Update-AzureRmSnapshot, Get-AzureRmSnapshot, Remove-AzureRmSnapshot,
201+
Grant-AzureRmSnapshotAccess, Revoke-AzureRmSnapshotAccess,
202+
New-AzureRmSnapshotConfig, Set-AzureRmSnapshotDiskEncryptionKey, Set-AzureRmSnapshotImageReference, Set-AzureRmSnapshotKeyEncryptionKey,
203+
New-AzureRmSnapshotUpdateConfig, Set-AzureRmSnapshotUpdateDiskEncryptionKey, Set-AzureRmSnapshotUpdateImageReference, Set-AzureRmSnapshotUpdateKeyEncryptionKey
204+
- Image cmdlets: New-AzureRmImage, Get-AzureRmImage, Remove-AzureRmImage,
205+
New-AzureRmImageConfig, Set-AzureRmImageOsDisk, Add-AzureRmImageDataDisk, Remove-AzureRmImageDataDisk
206+
- VM cmdlet: ConvertTo-AzureRmVMManagedDisk
187207
'
188208

189209
# External dependent modules of this module

src/ResourceManager/Compute/ChangeLog.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,29 @@
1919
-->
2020
## Current Release
2121

22+
## Version 2.6.0
23+
* New cmdlets for Managed disk
24+
- Disk cmdlets: New-AzureRmDisk, Update-AzureRmDisk, Get-AzureRmDisk, Remove-AzureRmDisk,
25+
Grant-AzureRmDiskAccess, Revoke-AzureRmDiskAccess,
26+
New-AzureRmDiskConfig, Set-AzureRmDiskDiskEncryptionKey, Set-AzureRmDiskImageReference, Set-AzureRmDiskKeyEncryptionKey,
27+
New-AzureRmDiskUpdateConfig, Set-AzureRmDiskUpdateDiskEncryptionKey, Set-AzureRmDiskUpdateImageReference, Set-AzureRmDiskUpdateKeyEncryptionKey
28+
- Snapshot cmdlets: New-AzureRmSnapshot, Update-AzureRmSnapshot, Get-AzureRmSnapshot, Remove-AzureRmSnapshot,
29+
Grant-AzureRmSnapshotAccess, Revoke-AzureRmSnapshotAccess,
30+
New-AzureRmSnapshotConfig, Set-AzureRmSnapshotDiskEncryptionKey, Set-AzureRmSnapshotImageReference, Set-AzureRmSnapshotKeyEncryptionKey,
31+
New-AzureRmSnapshotUpdateConfig, Set-AzureRmSnapshotUpdateDiskEncryptionKey, Set-AzureRmSnapshotUpdateImageReference, Set-AzureRmSnapshotUpdateKeyEncryptionKey
32+
- Image cmdlets: New-AzureRmImage, Get-AzureRmImage, Remove-AzureRmImage,
33+
New-AzureRmImageConfig, Set-AzureRmImageOsDisk, Add-AzureRmImageDataDisk, Remove-AzureRmImageDataDisk
34+
- VM cmdlet: ConvertTo-AzureRmVMManagedDisk
35+
2236
## Version 2.5.0
2337
* Fix Get-AzureRmVM with -Status issue: Get-AzureRmVM throws an exception when Get-AzureRmVM lists multiple VMs and some of the VMs are deleted during Get-AzureRmVM is performed.
2438
* New parameters in New-AzureRmVMSqlServerAutoBackupConfig cmdlet to support Auto Backup for SQL Server 2016 VMs.
25-
- BackupSystemDbs : Specifies if system databases should be added to Sql Server Managed Backup.
26-
- BackupScheduleType : Specifies the type of managed backup schedule, manual or automated. If it's manual, schedule settings need to be specified.
27-
- FullBackupFrequency : Specifies the frequency of Full Backup, daily or weekly.
28-
- FullBackupStartHour : Specifies the hour of the day when the Sql Server Full Backup should start.
29-
- FullBackupWindowInHours : Specifies the window (in hours) when Sql Server Full Backup should occur.
30-
- LogBackupFrequencyInMinutes : Specifies the frequency of Sql Server Log Backup.
39+
- BackupSystemDbs : Specifies if system databases should be added to Sql Server Managed Backup.
40+
- BackupScheduleType : Specifies the type of managed backup schedule, manual or automated. If it's manual, schedule settings need to be specified.
41+
- FullBackupFrequency : Specifies the frequency of Full Backup, daily or weekly.
42+
- FullBackupStartHour : Specifies the hour of the day when the Sql Server Full Backup should start.
43+
- FullBackupWindowInHours : Specifies the window (in hours) when Sql Server Full Backup should occur.
44+
- LogBackupFrequencyInMinutes : Specifies the frequency of Sql Server Log Backup.
3145
* New-AzureVMSqlServer* cmdlets are renamed to New-AzureRmVMSqlServer* now. Old ones will continue to work however.
3246

3347
## Version 2.4.0

0 commit comments

Comments
 (0)