Skip to content

Commit dad93e8

Browse files
authored
Merge pull request #198461 from fitzgeraldsteele/fisteele-userdata-batchdelete
VMSS Flex Compatibility Updates
2 parents ca4ee6a + 040bc52 commit dad93e8

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

articles/virtual-machine-scale-sets/orchestration-modes-api-comparison.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This article compares the API differences between Uniform and [Flexible orchestr
2727
| Uniform API | Flexible alternative |
2828
|-|-|
2929
| [Deallocate](/rest/api/compute/virtualmachinescalesetvms/deallocate) | [Invoke Single VM API - Deallocate](/rest/api/compute/virtualmachines/deallocate) |
30-
| [Delete](/rest/api/compute/virtualmachinescalesetvms/delete) | [Invoke Single VM API -Delete](/rest/api/compute/virtualmachines/delete) |
30+
| [Delete](/rest/api/compute/virtualmachinescalesetvms/delete) | VMSS Batch delete API supported by VMSS in Flexible Orchestration Mode |
3131
| [Get Instance View](/rest/api/compute/virtualmachinescalesetvms/getinstanceview) | [Invoke Single VM API - Instance View](/rest/api/compute/virtualmachines/instanceview) |
3232
| [Perform Maintenance](/rest/api/compute/virtualmachinescalesetvms/performmaintenance) | [Invoke Single VM API - Perform Maintenance](/rest/api/compute/virtualmachines/performmaintenance) |
3333
| [Power Off](/rest/api/compute/virtualmachinescalesetvms/poweroff) | [Invoke Single VM API - Power Off](/rest/api/compute/virtualmachines/poweroff) |

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,15 @@ The following table compares the Flexible orchestration mode, Uniform orchestrat
104104
| Spot instances and pricing  | Yes, you can have both Spot and Regular priority instances | Yes, instances must either be all Spot or all Regular | No, Regular priority instances only |
105105
| Mix operating systems | Yes, Linux and Windows can reside in the same Flexible scale set | No, instances are the same operating system | Yes, Linux and Windows can reside in the same availability set |
106106
| Disk Types | Managed disks only, all storage types | Managed and unmanaged disks, all storage types | Managed and unmanaged disks, Ultradisk not supported |
107+
| Disk Server Side Encryption with Customer Managed Keys | Yes | Yes | Yes |
107108
| Write Accelerator  | No | Yes | Yes |
108109
| Proximity Placement Groups  | Yes, read [Proximity Placement Groups documentation](../virtual-machine-scale-sets/proximity-placement-groups.md) | Yes, read [Proximity Placement Groups documentation](../virtual-machine-scale-sets/proximity-placement-groups.md) | Yes |
109110
| Azure Dedicated Hosts  | No | Yes | Yes |
110111
| Managed Identity | User Assigned Identity Only | System Assigned or User Assigned | N/A (can specify Managed Identity on individual instances) |
111112
| Add/remove existing VM to the group | No | No | No |
112113
| Service Fabric | No | Yes | No |
113114
| Azure Kubernetes Service (AKS) / AKE | No | Yes | No |
114-
| UserData | Partial, UserData can be specified for individual VMs | Yes | UserData can be specified for individual VMs |
115+
| UserData | Yes | Yes | UserData can be specified for individual VMs |
115116

116117

117118
### Autoscaling and instance orchestration
@@ -129,7 +130,7 @@ The following table compares the Flexible orchestration mode, Uniform orchestrat
129130
| Instance Protection | No, use [Azure resource lock](../azure-resource-manager/management/lock-resources.md) | Yes | No |
130131
| Scale In Policy | No | Yes | No |
131132
| VMSS Get Instance View | No | Yes | N/A |
132-
| VM Batch Operations (Start all, Stop all, delete subset, etc.) | No (can trigger operations on each instance using VM API) | Yes | No |
133+
| VM Batch Operations (Start all, Stop all, delete subset, etc.) | Partial, Batch delete is supported. Other operations can be triggered on each instance using VM API) | Yes | No |
133134

134135
### High availability 
135136

articles/virtual-machines/flexible-virtual-machine-scale-sets.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,15 @@ The following tables list the Flexible orchestration mode features and links to
113113
| Spot instances and pricing  | Yes, you can have both Spot and Regular priority instances |
114114
| Mix operating systems | Yes, Linux and Windows can reside in the same Flexible scale set |
115115
| Disk Types | Managed disks only, all storage types |
116+
| Disk Server Side Encryption with Customer Managed Keys | Yes |
116117
| Write Accelerator  | No |
117118
| Proximity Placement Groups  | Yes, read [Proximity Placement Groups documentation](../virtual-machine-scale-sets/proximity-placement-groups.md) |
118119
| Azure Dedicated Hosts  | No |
119120
| Managed Identity | User Assigned Identity Only |
120121
| Add/remove existing VM to the group | No |
121122
| Service Fabric | No |
122123
| Azure Kubernetes Service (AKS) / AKE | No |
123-
| UserData | Partial, UserData can be specified for individual VMs |
124+
| UserData | Yes |
124125

125126

126127
### Autoscaling and instance orchestration
@@ -139,7 +140,7 @@ The following tables list the Flexible orchestration mode features and links to
139140
| Instance Protection | No, use [Azure resource lock](../azure-resource-manager/management/lock-resources.md) |
140141
| Scale In Policy | No |
141142
| VMSS Get Instance View | No |
142-
| VM Batch Operations (Start all, Stop all, delete subset, etc.) | No (can trigger operations on each instance using VM API) |
143+
| VM Batch Operations (Start all, Stop all, delete subset, etc.) | Partial, Batch delete is supported. Other operations can be triggered on each instance using VM API) |
143144

144145
### High availability 
145146

articles/virtual-machines/linux/disks-enable-customer-managed-keys-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.subservice: disks
1212

1313
# Use the Azure CLI to enable server-side encryption with customer-managed keys for managed disks
1414

15-
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Flexible scale sets
15+
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
1616

1717
Azure Disk Storage allows you to manage your own keys when using server-side encryption (SSE) for managed disks, if you choose. For conceptual information on SSE with customer managed keys, as well as other managed disk encryption types, see the [Customer-managed keys](../disk-encryption.md#customer-managed-keys) section of our disk encryption article.
1818

articles/virtual-machines/windows/disks-enable-customer-managed-keys-powershell.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: devx-track-azurepowershell, ignite-fall-2021
1212

1313
# Azure PowerShell - Enable customer-managed keys with server-side encryption - managed disks
1414

15-
**Applies to:** :heavy_check_mark: Windows VMs
15+
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
1616

1717
Azure Disk Storage allows you to manage your own keys when using server-side encryption (SSE) for managed disks, if you choose. For conceptual information on SSE with customer-managed keys, and other managed disk encryption types, see the [Customer-managed keys](../disk-encryption.md#customer-managed-keys) section of our disk encryption article.
1818

@@ -114,7 +114,9 @@ $diskEncryptionSet = Get-AzDiskEncryptionSet -ResourceGroupName $rgName -Name $d
114114
New-AzDiskUpdateConfig -EncryptionType "EncryptionAtRestWithCustomerKey" -DiskEncryptionSetId $diskEncryptionSet.Id | Update-AzDisk -ResourceGroupName $rgName -DiskName $diskName
115115
```
116116

117-
### Encrypt an existing virtual machine scale set with SSE and customer-managed keys
117+
### Encrypt an existing virtual machine scale set (uniform orchestration mode) with SSE and customer-managed keys
118+
119+
This script will work for scale sets in uniform orchestration mode only. For scale sets in flexible orchestration mode, follow the Encrypt existing managed disks for each VM.
118120

119121
Copy the script, replace all the example values with your own parameters, and then run it:
120122

0 commit comments

Comments
 (0)