You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Compute/Compute/ChangeLog.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,8 @@
20
20
21
21
-->
22
22
## Upcoming Release
23
-
* Removed the image alias `CoreOS` as the publisher CoreOS no longer has any images for Azure.
24
-
* Updated the names of the `openSUSE-Leap` and `SLES` aliases to `OpenSuseLeap154` and `SuseSles15SP4` respectively. Updated these aliases to point to an image that actually exists and updated the alias names to be descriptive and versioned.
25
-
* Added new descriptive and versioned alias names for the Linux image aliases.
26
23
* Addressed bug in `Remove-AzVmss` to throw error when `-InstanceId` is null. [#21162]
24
+
* Added `-CustomData`, `-AdminPassword`, and `-ExactVersion` parameters to `Invoke-AzVMReimage`.
27
25
* Removed the image alias `CoreOS` as the publisher CoreOS no longer has any images for Azure.
28
26
Updated the names of the `openSUSE-Leap` and `SLES` aliases to `OpenSuseLeap154` and `SuseSles15SP4` respectively. Updated these aliases to point to an image that actually exists.
29
27
* Added a breaking change warning to `New-AzVM` and `New-AzVmss` for future planned image alias removals due to the images reaching their End of Support date.
@@ -87,5 +110,23 @@ public override void ExecuteCmdlet()
87
110
88
111
[Parameter(Mandatory=false,HelpMessage="Run cmdlet in the background")]
89
112
publicSwitchParameterAsJob{get;set;}
113
+
114
+
[Parameter(
115
+
Mandatory=false,
116
+
ValueFromPipelineByPropertyName=true,
117
+
HelpMessage="Specifies in decimal number, the version the OS disk should be reimaged to. If exact version is not provided, the OS disk is reimaged to the existing version of OS Disk.")]
118
+
publicstringExactVersion{get;set;}
119
+
120
+
[Parameter(
121
+
Mandatory=false,
122
+
ValueFromPipelineByPropertyName=true,
123
+
HelpMessage="Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.")]
124
+
publicstringCustomData{get;set;}
125
+
126
+
[Parameter(
127
+
Mandatory=false,
128
+
ValueFromPipelineByPropertyName=true,
129
+
HelpMessage="Specifies the password of the administrator account.")]
<br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
56
+
<br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)
57
+
58
+
```yaml
59
+
Type: System.String
60
+
Parameter Sets: (All)
61
+
Aliases:
62
+
63
+
Required: False
64
+
Position: Named
65
+
Default value: None
66
+
Accept pipeline input: True (ByPropertyName)
67
+
Accept wildcard characters: False
68
+
```
69
+
34
70
### -AsJob
35
71
Run cmdlet in the background
36
72
@@ -46,6 +82,25 @@ Accept pipeline input: False
46
82
Accept wildcard characters: False
47
83
```
48
84
85
+
### -CustomData
86
+
Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
87
+
<br><br> **Note: Do not pass any secrets or passwords in customData property**
88
+
<br><br> This property cannot be updated after the VM is created.
89
+
<br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)
90
+
<br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)
91
+
92
+
```yaml
93
+
Type: System.String
94
+
Parameter Sets: (All)
95
+
Aliases:
96
+
97
+
Required: False
98
+
Position: Named
99
+
Default value: None
100
+
Accept pipeline input: True (ByPropertyName)
101
+
Accept wildcard characters: False
102
+
```
103
+
49
104
### -DefaultProfile
50
105
The credentials, account, tenant, and subscription used for communication with Azure.
51
106
@@ -61,6 +116,21 @@ Accept pipeline input: False
61
116
Accept wildcard characters: False
62
117
```
63
118
119
+
### -ExactVersion
120
+
Specifies in decimal number, the version the OS disk should be reimaged to. If exact version is not provided, the OS disk is reimaged to the existing version of OS Disk.
121
+
122
+
```yaml
123
+
Type: System.String
124
+
Parameter Sets: (All)
125
+
Aliases:
126
+
127
+
Required: False
128
+
Position: Named
129
+
Default value: None
130
+
Accept pipeline input: True (ByPropertyName)
131
+
Accept wildcard characters: False
132
+
```
133
+
64
134
### -ResourceGroupName
65
135
Specifies the name of the resource group of the virtual machine.
0 commit comments