Skip to content

Commit bdba7ee

Browse files
authored
Merge branch 'main' into lnx/revertcore
2 parents 5b98811 + 13f3375 commit bdba7ee

File tree

181 files changed

+34928
-37
lines changed

Some content is hidden

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

181 files changed

+34928
-37
lines changed

.github/policies/resourceManagement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ configuration:
17641764
then:
17651765
- mentionUsers:
17661766
mentionees:
1767-
- idear1203
1767+
- MikeRys
17681768
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
17691769
assignMentionees: False
17701770
- if:

documentation/breaking-changes/breaking-changes-attribute-help.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ Alternatively, set the env variable "SuppressAzurePowerShellBreakingChangeWarnin
6060
Set-Item Env:\SuppressAzurePowerShellBreakingChangeWarnings "true"
6161
```
6262

63+
This environment variable must be set before importing the **Az** or **Az.Accounts** PowerShell module for it to take effect in the current PowerShell session.
64+
65+
For additional methods to disable breaking change warning messages in Azure PowerShell, see [Configure Azure PowerShell global settings](https://learn.microsoft.com/powershell/azure/configure-global-settings#breaking-change-warning-messages).
66+
6367
NOTE :
6468
- The only time you will see the output (at runtime) of an attribute applied to a parameter (property or field) is if the parameter is actually invoked on the cmdline. The breaking change attributes to all parameters that are not invoked are ignored.
6569

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
## Upcoming Release
2323
* Added optional parameters `-SecurityPostureId` and `-SecurityPostureExcludeExtension` to cmdlets `New-AzVmss` and `New-AzVmssConfig`.
2424
* Updated image aliases to be up-to-date in the azure-powershell\src\Compute\Strategies\ComputeRp\Images.json file.
25+
* Added `NvmeDisk` argument completer to `DiffDiskPlacement` parameter for `Set-AzVMOSDisk` and `Set-AzVmssStorageProfile` cmdlets, allowing options for disk placement as `CacheDisk`, `ResourceDisk`, or `NvmeDisk`.
2526

2627
## Version 8.4.0
2728
* Added `SkuProfileVmSize` and `SkuProfileAllocationStrategy` parameters to `New-AzVmss`, `New-AzVmssConfig`, and `Update-AzVmss` cmdlets for VMSS Instance Mix operations.

src/Compute/Compute/Generated/VirtualMachineScaleSet/Config/SetAzureRmVmssStorageProfileCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ public partial class SetAzureRmVmssStorageProfileCommand : Microsoft.Azure.Comma
130130
[Parameter(
131131
Mandatory = false,
132132
ValueFromPipelineByPropertyName = true,
133-
HelpMessage = "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e. cache disk or resource disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. This parameter can only be used if the parameter DiffDiskSetting is set to 'Local'.")]
134-
[PSArgumentCompleter("CacheDisk", "ResourceDisk")]
133+
HelpMessage = "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e. cache disk, resource disk or Nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. This parameter can only be used if the parameter DiffDiskSetting is set to 'Local'.")]
134+
[PSArgumentCompleter("CacheDisk", "ResourceDisk", "NvmeDisk")]
135135
public string DiffDiskPlacement { get; set; }
136136

137137
[Parameter(
@@ -678,4 +678,4 @@ private void Run()
678678
WriteObject(this.VirtualMachineScaleSet);
679679
}
680680
}
681-
}
681+
}

src/Compute/Compute/Manual/PSVirtualMachineScaleSet.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
// limitations under the License.
1515
//
1616

17-
// Warning: This code was generated by a tool.
18-
//
19-
// Changes to this file may cause incorrect behavior and will be lost if the
20-
// code is regenerated.
21-
2217
namespace Microsoft.Azure.Commands.Compute.Automation.Models
2318
{
2419
public partial class PSVirtualMachineScaleSet

src/Compute/Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -181,8 +181,8 @@ public class SetAzureVMOSDiskCommand : ComputeClientBaseCmdlet
181181
[Parameter(
182182
Mandatory = false,
183183
ValueFromPipelineByPropertyName = true,
184-
HelpMessage = "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e. cache disk or resource disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. This parameter can only be used if the parameter DiffDiskSetting is set to 'Local'.")]
185-
[PSArgumentCompleter("CacheDisk", "ResourceDisk")]
184+
HelpMessage = "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e. cache disk, resource disk or Nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. This parameter can only be used if the parameter DiffDiskSetting is set to 'Local'.")]
185+
[PSArgumentCompleter("CacheDisk", "ResourceDisk", "NvmeDisk")]
186186
public string DiffDiskPlacement { get; set; }
187187

188188
[Parameter(
@@ -360,4 +360,4 @@ public override void ExecuteCmdlet()
360360
WriteObject(this.VM);
361361
}
362362
}
363-
}
363+
}

src/Compute/Compute/help/New-AzGalleryImageDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Accept wildcard characters: False
322322
### -Feature
323323
324324
A list of gallery image features.
325-
For SecurityType, acceptable inputs are: None, TrustedlaunchSupported, Trustedlaunch, ConfidentialVM, ConfidentialVMSupported, TrustedandConfidentialVMSupported
325+
For SecurityType, acceptable inputs are: None, TrustedlaunchSupported, Trustedlaunch, ConfidentialVM, ConfidentialVMSupported, TrustedLaunchAndConfidentialVmSupported
326326
327327
```yaml
328328
Type: Microsoft.Azure.Management.Compute.Models.GalleryImageFeature[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<PsModuleName>EventHub</PsModuleName>
4+
</PropertyGroup>
5+
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.props" />
6+
<PropertyGroup>
7+
<TargetFramework>netstandard2.0</TargetFramework>
8+
<AssemblyName>Microsoft.Azure.PowerShell.EventHub.Management.Sdk</AssemblyName>
9+
<RootNamespace>Microsoft.Azure.Management.EventHub</RootNamespace>
10+
<NoWarn>$(NoWarn);CS0108;CS1573</NoWarn>
11+
</PropertyGroup>
12+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.Post.props" />
13+
</Project>

0 commit comments

Comments
 (0)