diff --git a/src/Compute/Compute/ChangeLog.md b/src/Compute/Compute/ChangeLog.md index 9e7a0994a067..3611abcbfcac 100644 --- a/src/Compute/Compute/ChangeLog.md +++ b/src/Compute/Compute/ChangeLog.md @@ -21,6 +21,17 @@ --> ## Upcoming Release * Edited `New-AzVm` cmdlet internal logic to use the `PlatformFaultDomain` value in the `PSVirtualMachine` object passed to it in the new virtual machine. +* Added `-DataAccessAuthMode` parameter to the following cmdlets: + - `New-AzDiskConfig` + - `New-AzDiskUpdateConfig` + - `New-AzSnapshotConfig` + - `New-AzSnapshotUpdateConfig` +* Added `-Architecture` parameter to the following cmdlets: + - `New-AzDiskConfig` + - `New-AzDiskUpdateConfig` + - `New-AzSnapshotConfig` + - `New-AzSnapshotUpdateConfig` + - `New-AzGalleryImageDefinition` ## Version 4.26.0 * Added `-ImageReferenceId` parameter to following cmdlets: `New-AzVm`, `New-AzVmConfig`, `New-AzVmss`, `Set-AzVmssStorageProfile` diff --git a/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs b/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs index 775953754fd2..a340a1c8f7b4 100644 --- a/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs +++ b/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs @@ -228,6 +228,20 @@ public partial class NewAzureRmDiskConfigCommand : Microsoft.Azure.Commands.Reso HelpMessage = "True if the image from which the OS disk is created supports accelerated networking.")] public bool? AcceleratedNetwork { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Additional authentication requirements when exporting or uploading to a disk or snapshot.")] + [PSArgumentCompleter("AzureActiveDirectory", "None")] + public string DataAccessAuthMode { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "CPU architecture supported by an OS disk. Possible values are \"X64\" and \"Arm64\".")] + [PSArgumentCompleter("X64", "Arm64")] + public string Architecture { get; set; } + protected override void ProcessRecord() { if (ShouldProcess("Disk", "New")) @@ -418,6 +432,15 @@ private void Run() vSupportedCapabilities.AcceleratedNetwork = AcceleratedNetwork; } + if (this.IsParameterBound(c => c.Architecture)) + { + if (vSupportedCapabilities == null) + { + vSupportedCapabilities = new SupportedCapabilities(); + } + vSupportedCapabilities.Architecture = this.Architecture; + } + var vDisk = new PSDisk { Zones = this.IsParameterBound(c => c.Zone) ? this.Zone : null, @@ -443,7 +466,8 @@ private void Run() PurchasePlan = this.IsParameterBound(c => c.PurchasePlan) ? this.PurchasePlan : null, SupportsHibernation = this.IsParameterBound(c => c.SupportsHibernation) ? SupportsHibernation : null, SupportedCapabilities = vSupportedCapabilities, - PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null + PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null, + DataAccessAuthMode = this.IsParameterBound(c => c.DataAccessAuthMode) ? DataAccessAuthMode : null }; WriteObject(vDisk); diff --git a/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskUpdateConfigCommand.cs b/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskUpdateConfigCommand.cs index 9339cc8b7805..6952ba968868 100644 --- a/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskUpdateConfigCommand.cs +++ b/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskUpdateConfigCommand.cs @@ -161,6 +161,20 @@ public partial class NewAzureRmDiskUpdateConfigCommand : Microsoft.Azure.Command HelpMessage = "True if the image from which the OS disk is created supports accelerated networking.")] public bool? AcceleratedNetwork { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Additional authentication requirements when exporting or uploading to a disk or snapshot.")] + [PSArgumentCompleter("AzureActiveDirectory", "None")] + public string DataAccessAuthMode { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "CPU architecture supported by an OS disk. Possible values are \"X64\" and \"Arm64\".")] + [PSArgumentCompleter("X64", "Arm64")] + public string Architecture { get; set; } + protected override void ProcessRecord() { @@ -274,6 +288,15 @@ private void Run() vSupportedCapabilities.AcceleratedNetwork = AcceleratedNetwork; } + if (this.IsParameterBound(c => c.Architecture)) + { + if (vSupportedCapabilities == null) + { + vSupportedCapabilities = new SupportedCapabilities(); + } + vSupportedCapabilities.Architecture = this.Architecture; + } + var vDiskUpdate = new PSDiskUpdate { OsType = this.IsParameterBound(c => c.OsType) ? this.OsType : (OperatingSystemTypes?)null, @@ -294,7 +317,8 @@ private void Run() PurchasePlan = this.IsParameterBound(c => c.PurchasePlan) ? this.PurchasePlan : null, SupportsHibernation = this.IsParameterBound(c => c.SupportsHibernation) ? SupportsHibernation : null, SupportedCapabilities = vSupportedCapabilities, - PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null + PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null, + DataAccessAuthMode = this.IsParameterBound(c => c.DataAccessAuthMode) ? DataAccessAuthMode : null }; WriteObject(vDiskUpdate); diff --git a/src/Compute/Compute/Generated/GalleryImage/GalleryImageCreateOrUpdateMethod.cs b/src/Compute/Compute/Generated/GalleryImage/GalleryImageCreateOrUpdateMethod.cs index 0160ba86226e..99d419e0775d 100644 --- a/src/Compute/Compute/Generated/GalleryImage/GalleryImageCreateOrUpdateMethod.cs +++ b/src/Compute/Compute/Generated/GalleryImage/GalleryImageCreateOrUpdateMethod.cs @@ -83,6 +83,11 @@ public override void ExecuteCmdlet() galleryImage.EndOfLifeDate = this.EndOfLifeDate; } + if (this.IsParameterBound(c => c.Architecture)) + { + galleryImage.Architecture = this.Architecture; + } + if (this.IsParameterBound(c => c.Tag)) { galleryImage.Tags = this.Tag.Cast().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value); @@ -327,6 +332,13 @@ public override void ExecuteCmdlet() Mandatory = false, ValueFromPipelineByPropertyName = true)] public GalleryImageFeature[] Feature { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "CPU architecture supported by an OS disk. Possible values are \"X64\" and \"Arm64\".")] + [PSArgumentCompleter("X64", "Arm64")] + public string Architecture { get; set; } } [Cmdlet(VerbsData.Update, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "GalleryImageDefinition", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)] diff --git a/src/Compute/Compute/Generated/Models/PSDisk.cs b/src/Compute/Compute/Generated/Models/PSDisk.cs index be823bb4ac0c..da4ab0879975 100644 --- a/src/Compute/Compute/Generated/Models/PSDisk.cs +++ b/src/Compute/Compute/Generated/Models/PSDisk.cs @@ -67,7 +67,6 @@ public string ResourceGroupName public string Location { get; set; } public ExtendedLocation ExtendedLocation { get; set; } public IDictionary Tags { get; set; } - // Gets or sets possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' public string NetworkAccessPolicy { get; set; } public string DiskAccessId { get; set; } public string Tier { get; set; } @@ -75,16 +74,8 @@ public string ResourceGroupName public PSPurchasePlan PurchasePlan { get; set; } public bool? SupportsHibernation { get; set; } public DiskSecurityProfile SecurityProfile { get; set; } - - // - // Summary: - // Gets or sets possible values include: 'Enabled', 'Disabled' public string PublicNetworkAccess { get; set; } - - // - // Summary: - // Gets or sets list of supported capabilities for the image from which the OS disk - // was created. public SupportedCapabilities SupportedCapabilities { get; set; } + public string DataAccessAuthMode { get; set; } } } diff --git a/src/Compute/Compute/Generated/Models/PSDiskUpdate.cs b/src/Compute/Compute/Generated/Models/PSDiskUpdate.cs index ad15201aa264..b8869c26d86c 100644 --- a/src/Compute/Compute/Generated/Models/PSDiskUpdate.cs +++ b/src/Compute/Compute/Generated/Models/PSDiskUpdate.cs @@ -56,5 +56,6 @@ public partial class PSDiskUpdate // Summary: // Gets or sets possible values include: 'Enabled', 'Disabled' public string PublicNetworkAccess { get; set; } + public string DataAccessAuthMode { get; set; } } } diff --git a/src/Compute/Compute/Generated/Models/PSGalleryImage.cs b/src/Compute/Compute/Generated/Models/PSGalleryImage.cs index e3a9f8a7b744..018b4df25dd4 100644 --- a/src/Compute/Compute/Generated/Models/PSGalleryImage.cs +++ b/src/Compute/Compute/Generated/Models/PSGalleryImage.cs @@ -59,6 +59,7 @@ public string ResourceGroupName public string Location { get; set; } public IDictionary Tags { get; set; } public IList Features { get; set; } + public string Architecture { get; set; } } } diff --git a/src/Compute/Compute/Generated/Models/PSSnapshot.cs b/src/Compute/Compute/Generated/Models/PSSnapshot.cs index dd0064e57011..bf0bcbfe93d7 100644 --- a/src/Compute/Compute/Generated/Models/PSSnapshot.cs +++ b/src/Compute/Compute/Generated/Models/PSSnapshot.cs @@ -81,6 +81,6 @@ public string ResourceGroupName // Gets or sets percentage complete for the background copy when a resource is created // via the CopyStart operation. public double? CompletionPercent { get; set; } - + public string DataAccessAuthMode { get; set; } } } diff --git a/src/Compute/Compute/Generated/Models/PSSnapshotUpdate.cs b/src/Compute/Compute/Generated/Models/PSSnapshotUpdate.cs index 517bd8ab0157..349109733cfb 100644 --- a/src/Compute/Compute/Generated/Models/PSSnapshotUpdate.cs +++ b/src/Compute/Compute/Generated/Models/PSSnapshotUpdate.cs @@ -34,10 +34,12 @@ public partial class PSSnapshotUpdate public IDictionary Tags { get; set; } public SnapshotSku Sku { get; set; } public bool? SupportsHibernation { get; set; } + public SupportedCapabilities SupportedCapabilities { get; set; } // // Summary: // Gets or sets possible values include: 'Enabled', 'Disabled' public string PublicNetworkAccess { get; set; } + public string DataAccessAuthMode { get; set; } } } diff --git a/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs b/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs index 7e1efda74034..9cb5b6ee1a95 100644 --- a/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs +++ b/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs @@ -173,6 +173,20 @@ public partial class NewAzureRmSnapshotConfigCommand : Microsoft.Azure.Commands. HelpMessage = "True if the image from which the OS disk is created supports accelerated networking.")] public bool? AcceleratedNetwork { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Additional authentication requirements when exporting or uploading to a disk or snapshot.")] + [PSArgumentCompleter("AzureActiveDirectory", "None")] + public string DataAccessAuthMode { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "CPU architecture supported by an OS disk. Possible values are \"X64\" and \"Arm64\".")] + [PSArgumentCompleter("X64", "Arm64")] + public string Architecture { get; set; } + protected override void ProcessRecord() { if (ShouldProcess("Snapshot", "New")) @@ -336,6 +350,15 @@ private void Run() vSupportedCapabilities.AcceleratedNetwork = AcceleratedNetwork; } + if (this.IsParameterBound(c => c.Architecture)) + { + if (vSupportedCapabilities == null) + { + vSupportedCapabilities = new SupportedCapabilities(); + } + vSupportedCapabilities.Architecture = this.Architecture; + } + var vSnapshot = new PSSnapshot { OsType = this.IsParameterBound(c => c.OsType) ? this.OsType : (OperatingSystemTypes?)null, @@ -354,7 +377,8 @@ private void Run() PurchasePlan = this.IsParameterBound(c => c.PurchasePlan) ? this.PurchasePlan : null, SupportsHibernation = this.IsParameterBound(c => c.SupportsHibernation) ? SupportsHibernation : null, SupportedCapabilities = vSupportedCapabilities, - PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null + PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null, + DataAccessAuthMode = this.IsParameterBound(c => c.DataAccessAuthMode) ? DataAccessAuthMode : null }; WriteObject(vSnapshot); diff --git a/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotUpdateConfigCommand.cs b/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotUpdateConfigCommand.cs index 7275d2602a14..7f47bb3c1f41 100644 --- a/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotUpdateConfigCommand.cs +++ b/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotUpdateConfigCommand.cs @@ -101,6 +101,20 @@ public partial class NewAzureRmSnapshotUpdateConfigCommand : Microsoft.Azure.Com [PSArgumentCompleter("Enabled", "Disabled")] public string PublicNetworkAccess { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Additional authentication requirements when exporting or uploading to a disk or snapshot.")] + [PSArgumentCompleter("AzureActiveDirectory", "None")] + public string DataAccessAuthMode { get; set; } + + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "CPU architecture supported by an OS disk. Possible values are \"X64\" and \"Arm64\".")] + [PSArgumentCompleter("X64", "Arm64")] + public string Architecture { get; set; } + protected override void ProcessRecord() { if (ShouldProcess("SnapshotUpdate", "New")) @@ -120,6 +134,8 @@ private void Run() // Sku SnapshotSku vSku = null; + SupportedCapabilities vSupportedCapabilities = null; + if (this.IsParameterBound(c => c.EncryptionSettingsEnabled)) { if (vEncryptionSettingsCollection == null) @@ -193,6 +209,15 @@ private void Run() vSku.Name = this.SkuName; } + if (this.IsParameterBound(c => c.Architecture)) + { + if (vSupportedCapabilities == null) + { + vSupportedCapabilities = new SupportedCapabilities(); + } + vSupportedCapabilities.Architecture = this.Architecture; + } + var vSnapshotUpdate = new PSSnapshotUpdate { OsType = this.IsParameterBound(c => c.OsType) ? this.OsType : (OperatingSystemTypes?)null, @@ -202,7 +227,9 @@ private void Run() Encryption = vEncryption, Sku = vSku, SupportsHibernation = this.IsParameterBound(c => c.SupportsHibernation) ? SupportsHibernation : null, - PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null + PublicNetworkAccess = this.IsParameterBound(c => c.PublicNetworkAccess) ? PublicNetworkAccess : null, + DataAccessAuthMode = this.IsParameterBound(c => c.DataAccessAuthMode) ? DataAccessAuthMode : null, + SupportedCapabilities = vSupportedCapabilities }; WriteObject(vSnapshotUpdate); diff --git a/src/Compute/Compute/Models/PSVirtualMachineImage.cs b/src/Compute/Compute/Models/PSVirtualMachineImage.cs index ed2fee8e2b60..f7bc1a3c33d4 100644 --- a/src/Compute/Compute/Models/PSVirtualMachineImage.cs +++ b/src/Compute/Compute/Models/PSVirtualMachineImage.cs @@ -81,5 +81,7 @@ public string DataDiskImagesText } public AutomaticOSUpgradeProperties AutomaticOSUpgradeProperties { get; set; } + + public string Architecture { get; set; } } } diff --git a/src/Compute/Compute/StorageServices/AddAzureVhdCommand.cs b/src/Compute/Compute/StorageServices/AddAzureVhdCommand.cs index 65dabad7a4d1..9fb4e53b4aab 100644 --- a/src/Compute/Compute/StorageServices/AddAzureVhdCommand.cs +++ b/src/Compute/Compute/StorageServices/AddAzureVhdCommand.cs @@ -102,7 +102,7 @@ public class AddAzureVhdCommand : ComputeClientBaseCmdlet public string DiskName { get; set; } [Parameter( - Mandatory = true, + Mandatory = true, Position = 1, ParameterSetName = DirectUploadToManagedDiskSet, ValueFromPipelineByPropertyName = true, @@ -461,7 +461,7 @@ private void CheckForInvalidVhd() try { bool resizeNeeded = false; - long resizeTo=0; + long resizeTo = 0; using (VirtualDiskStream vds = new VirtualDiskStream(filePath.FullName)) { if (vds.Length < 20971520 || vds.Length > 4396972769280) @@ -640,4 +640,4 @@ private void resizeVhdFile(long FileSize) } } } -} +} \ No newline at end of file diff --git a/src/Compute/Compute/help/New-AzDiskConfig.md b/src/Compute/Compute/help/New-AzDiskConfig.md index de47c57e25fa..3dfd57364ab9 100644 --- a/src/Compute/Compute/help/New-AzDiskConfig.md +++ b/src/Compute/Compute/help/New-AzDiskConfig.md @@ -24,8 +24,8 @@ New-AzDiskConfig [[-SkuName] ] [-Tier ] [-LogicalSectorSize ] [-KeyEncryptionKey ] [-DiskEncryptionSetId ] [-EncryptionType ] [-DiskAccessId ] [-NetworkAccessPolicy ] [-BurstingEnabled ] [-PublicNetworkAccess ] - [-AcceleratedNetwork ] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-AcceleratedNetwork ] [-DataAccessAuthMode ] [-Architecture ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -97,6 +97,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -Architecture +CPU architecture supported by an OS disk. Possible values are "X64" and "Arm64". + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -BurstingEnabled Enables bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. @@ -128,6 +143,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -DataAccessAuthMode +Additional authentication requirements when exporting or uploading to a disk or snapshot. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with azure. diff --git a/src/Compute/Compute/help/New-AzDiskUpdateConfig.md b/src/Compute/Compute/help/New-AzDiskUpdateConfig.md index 6031a2b6419b..2354cee75e65 100644 --- a/src/Compute/Compute/help/New-AzDiskUpdateConfig.md +++ b/src/Compute/Compute/help/New-AzDiskUpdateConfig.md @@ -20,7 +20,8 @@ New-AzDiskUpdateConfig [[-SkuName] ] [-Tier ] [-DiskIOPSReadOnly [-EncryptionSettingsEnabled ] [-DiskEncryptionKey ] [-KeyEncryptionKey ] [-DiskEncryptionSetId ] [-EncryptionType ] [-BurstingEnabled ] [-PublicNetworkAccess ] [-AcceleratedNetwork ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DataAccessAuthMode ] [-Architecture ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -70,6 +71,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -Architecture +CPU architecture supported by an OS disk. Possible values are "X64" and "Arm64". + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -BurstingEnabled Enables bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. @@ -85,6 +101,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -DataAccessAuthMode +Additional authentication requirements when exporting or uploading to a disk or snapshot. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with azure. diff --git a/src/Compute/Compute/help/New-AzGalleryImageDefinition.md b/src/Compute/Compute/help/New-AzGalleryImageDefinition.md index 8f82c2914729..99dfd0b392ef 100644 --- a/src/Compute/Compute/help/New-AzGalleryImageDefinition.md +++ b/src/Compute/Compute/help/New-AzGalleryImageDefinition.md @@ -20,7 +20,7 @@ New-AzGalleryImageDefinition [-ResourceGroupName] [-GalleryName] ] [-Eula ] [-HyperVGeneration ] [-MinimumMemory ] [-MinimumVCPU ] [-MaximumMemory ] [-MaximumVCPU ] [-PrivacyStatementUri ] [-PurchasePlanName ] [-PurchasePlanProduct ] [-PurchasePlanPublisher ] - [-ReleaseNoteUri ] [-Tag ] [-Feature ] + [-ReleaseNoteUri ] [-Tag ] [-Feature ] [-Architecture ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -78,7 +78,7 @@ New-AzGalleryImageDefinition -ResourceGroupName $rgName -GalleryName $galleryNam Creates a gallery image definition to contain image versions for specialized windows images. -### Example 4: Create an image definition for generalized windows images and set features. +### Example 4: Create an image definition for generalized windows images and set features. ```powershell $rgName = "myResourceGroup" @@ -186,6 +186,21 @@ Creates a gallery image definition for linux generalized images and specify eith ## PARAMETERS +### -Architecture +CPU architecture supported by an OS disk. Possible values are "X64" and "Arm64". + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -AsJob Run cmdlet in the background diff --git a/src/Compute/Compute/help/New-AzSnapshotConfig.md b/src/Compute/Compute/help/New-AzSnapshotConfig.md index 1d7e11e904d4..e91d6a48b3f9 100644 --- a/src/Compute/Compute/help/New-AzSnapshotConfig.md +++ b/src/Compute/Compute/help/New-AzSnapshotConfig.md @@ -21,7 +21,8 @@ New-AzSnapshotConfig [[-SkuName] ] [[-OsType] ] [[ [-DiskEncryptionKey ] [-KeyEncryptionKey ] [-DiskEncryptionSetId ] [-EncryptionType ] [-DiskAccessId ] [-NetworkAccessPolicy ] [-PublicNetworkAccess ] [-AcceleratedNetwork ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DataAccessAuthMode ] [-Architecture ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -71,6 +72,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -Architecture +CPU architecture supported by an OS disk. Possible values are "X64" and "Arm64". + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -CreateOption Specifies whether this cmdlet creates a disk in the virtual machine from a platform or user image, creates an empty disk, or attaches an existing disk. @@ -86,6 +102,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -DataAccessAuthMode +Additional authentication requirements when exporting or uploading to a disk or snapshot. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with azure. diff --git a/src/Compute/Compute/help/New-AzSnapshotUpdateConfig.md b/src/Compute/Compute/help/New-AzSnapshotUpdateConfig.md index 51ca31d63ee7..a78ceff59f43 100644 --- a/src/Compute/Compute/help/New-AzSnapshotUpdateConfig.md +++ b/src/Compute/Compute/help/New-AzSnapshotUpdateConfig.md @@ -17,7 +17,8 @@ New-AzSnapshotUpdateConfig [[-SkuName] ] [[-OsType] ] [-SupportsHibernation ] [-EncryptionSettingsEnabled ] [-DiskEncryptionKey ] [-KeyEncryptionKey ] [-DiskEncryptionSetId ] [-EncryptionType ] [-PublicNetworkAccess ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DataAccessAuthMode ] [-Architecture ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -53,6 +54,36 @@ This command updates an existing snapshot with name 'Snapshot01' in resource gro ## PARAMETERS +### -Architecture +CPU architecture supported by an OS disk. Possible values are "X64" and "Arm64". + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -DataAccessAuthMode +Additional authentication requirements when exporting or uploading to a disk or snapshot. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with azure.