From ad53882a72166786a5fda94f42040f2aef208dda Mon Sep 17 00:00:00 2001 From: Jinpei Li Date: Tue, 15 Jul 2025 16:15:56 +0800 Subject: [PATCH] Az.Compute update generation tool version: autorest.powershell v3->v4 --- .../Compute.Autorest/Az.Compute.nuspec | 4 +- .../Properties/AssemblyInfo.cs | 28 +++ src/Compute/Compute.Autorest/README.md | 13 +- .../UX/Microsoft.Compute/locations.json | 42 ---- .../custom/New-AzGalleryApplication.ps1 | 59 ++++-- .../New-AzGalleryApplicationVersion.ps1 | 68 ++++--- .../Set-AzVMRunCommand_ScriptLocalPath.ps1 | 10 +- ...Set-AzVmssVMRunCommand_ScriptLocalPath.ps1 | 12 +- .../Update-AzGalleryApplicationVersion.ps1 | 116 +++++++---- .../Compute.Autorest/docs/Az.Compute.md | 6 +- .../docs/Get-AzGalleryApplication.md | 26 ++- .../docs/Get-AzGalleryApplicationVersion.md | 59 +++++- .../docs/Invoke-AzSpotPlacementScore.md | 59 +++++- .../docs/New-AzGalleryApplication.md | 66 ++++++- .../docs/New-AzGalleryApplicationVersion.md | 79 ++++++-- .../docs/Remove-AzGalleryApplication.md | 24 ++- .../Remove-AzGalleryApplicationVersion.md | 48 ++++- .../docs/Remove-AzVMRunCommand.md | 24 ++- .../docs/Remove-AzVmssVMRunCommand.md | 48 ++++- .../docs/Set-AzVMRunCommand.md | 90 ++++++--- .../docs/Set-AzVmssVMRunCommand.md | 90 ++++++--- .../docs/Update-AzGalleryApplication.md | 80 +++++++- .../Update-AzGalleryApplicationVersion.md | 125 +++++++++--- .../Compute.Autorest/generate-info.json | 2 +- .../Compute.Autorest/resources/README.md | 11 ++ src/Compute/Compute.sln | 181 +++++++++++++++++- src/Compute/Compute/Az.Compute.psd1 | 101 +++++----- ...ccessControlProfileVersionRulesIdentity.md | 33 +--- ...cessControlProfileVersionRulesPrivilege.md | 29 +-- ...nVMAccessControlProfileVersionRulesRole.md | 27 +-- ...ontrolProfileVersionRulesRoleAssignment.md | 27 +-- .../help/Add-AzVmssSkuProfileVMSize.md | 30 +-- src/Compute/Compute/help/Az.Compute.md | 65 ++++++- .../Compute/help/Get-AzComputeResourceSku.md | 1 + .../Compute/help/Get-AzGalleryApplication.md | 26 ++- .../help/Get-AzGalleryApplicationVersion.md | 60 +++++- .../Get-AzGalleryInVMAccessControlProfile.md | 31 +-- ...zGalleryInVMAccessControlProfileVersion.md | 31 +-- src/Compute/Compute/help/Get-AzVMImage.md | 5 +- src/Compute/Compute/help/Get-AzVMSize.md | 1 - .../help/Invoke-AzSpotPlacementScore.md | 59 +++++- .../Compute/help/New-AzGalleryApplication.md | 66 ++++++- .../help/New-AzGalleryApplicationVersion.md | 79 ++++++-- .../Compute/help/New-AzGalleryImageVersion.md | 36 +++- .../New-AzGalleryInVMAccessControlProfile.md | 51 +++-- ...zGalleryInVMAccessControlProfileVersion.md | 50 +++-- ...ryInVMAccessControlProfileVersionConfig.md | 22 +-- .../help/New-AzRestorePointCollection.md | 2 +- src/Compute/Compute/help/New-AzVM.md | 2 +- src/Compute/Compute/help/New-AzVmssConfig.md | 8 +- .../help/Remove-AzGalleryApplication.md | 26 ++- .../Remove-AzGalleryApplicationVersion.md | 51 ++++- ...emove-AzGalleryInVMAccessControlProfile.md | 43 ++--- ...zGalleryInVMAccessControlProfileVersion.md | 43 ++--- ...ccessControlProfileVersionRulesIdentity.md | 25 +-- ...cessControlProfileVersionRulesPrivilege.md | 23 +-- ...nVMAccessControlProfileVersionRulesRole.md | 23 +-- ...ontrolProfileVersionRulesRoleAssignment.md | 25 +-- .../Compute/help/Remove-AzVMRunCommand.md | 25 ++- .../help/Remove-AzVmssSkuProfileVMSize.md | 21 +- .../Compute/help/Remove-AzVmssVMRunCommand.md | 49 ++++- .../help/Set-AzVMDiskEncryptionExtension.md | 10 +- .../Compute/help/Set-AzVMProxyAgentSetting.md | 2 +- .../Compute/help/Set-AzVMRunCommand.md | 90 ++++++--- .../help/Set-AzVmssDiskEncryptionExtension.md | 24 +-- .../help/Set-AzVmssProxyAgentSetting.md | 2 +- .../Compute/help/Set-AzVmssVMRunCommand.md | 90 ++++++--- .../help/Update-AzGalleryApplication.md | 81 +++++++- .../Update-AzGalleryApplicationVersion.md | 123 +++++++++--- .../help/Update-AzGalleryImageVersion.md | 28 ++- ...pdate-AzGalleryInVMAccessControlProfile.md | 39 ++-- ...zGalleryInVMAccessControlProfileVersion.md | 35 +++- src/Compute/Compute/help/Update-AzVmss.md | 6 +- 73 files changed, 2200 insertions(+), 896 deletions(-) create mode 100644 src/Compute/Compute.Autorest/Properties/AssemblyInfo.cs delete mode 100644 src/Compute/Compute.Autorest/UX/Microsoft.Compute/locations.json create mode 100644 src/Compute/Compute.Autorest/resources/README.md diff --git a/src/Compute/Compute.Autorest/Az.Compute.nuspec b/src/Compute/Compute.Autorest/Az.Compute.nuspec index 4095105af98a..e93afdde0bcc 100644 --- a/src/Compute/Compute.Autorest/Az.Compute.nuspec +++ b/src/Compute/Compute.Autorest/Az.Compute.nuspec @@ -2,7 +2,7 @@ Az.Compute - 0.1.0 + 0.3.0 Microsoft Corporation Microsoft Corporation true @@ -13,7 +13,7 @@ Microsoft Corporation. All rights reserved. Azure ResourceManager ARM PSModule $(service-name) - + diff --git a/src/Compute/Compute.Autorest/Properties/AssemblyInfo.cs b/src/Compute/Compute.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..6ac27c44f588 --- /dev/null +++ b/src/Compute/Compute.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Compute")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("10.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("10.1.0")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] + + diff --git a/src/Compute/Compute.Autorest/README.md b/src/Compute/Compute.Autorest/README.md index 3ba44d71dc19..3f0bca059872 100644 --- a/src/Compute/Compute.Autorest/README.md +++ b/src/Compute/Compute.Autorest/README.md @@ -42,20 +42,15 @@ module-version: 0.3.0 title: Compute subject-prefix: "" -# If there are post APIs for some kinds of actions in the RP, you may need to -# uncomment following line to support viaIdentity for these post APIs -# identity-correction-for-post: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: # Following is two common directive which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true # Remove following verbs - select: command diff --git a/src/Compute/Compute.Autorest/UX/Microsoft.Compute/locations.json b/src/Compute/Compute.Autorest/UX/Microsoft.Compute/locations.json deleted file mode 100644 index aaa122cf81da..000000000000 --- a/src/Compute/Compute.Autorest/UX/Microsoft.Compute/locations.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "resourceType": "locations", - "apiVersion": "2024-06-01-preview", - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.compute" - }, - "commands": [ - { - "name": "Invoke-AzSpotPlacementScore", - "description": "Generates placement scores for Spot VM skus.", - "path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/placementScores/spot/generate", - "help": { - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.compute/invoke-azspotplacementscore" - }, - "parameterSets": [ - { - "parameters": [ - "-Location ", - "[-SubscriptionId ]" - ] - } - ] - }, - "examples": [ - { - "description": "Generates placement scores for Spot VM skus.", - "parameters": [ - { - "name": "-Location", - "value": "[Path.location]" - }, - { - "name": "-SubscriptionId", - "value": "[Path.subscriptionId]" - } - ] - } - ] - } - ] -} diff --git a/src/Compute/Compute.Autorest/custom/New-AzGalleryApplication.ps1 b/src/Compute/Compute.Autorest/custom/New-AzGalleryApplication.ps1 index 65450ff4c611..1c6b46a02981 100644 --- a/src/Compute/Compute.Autorest/custom/New-AzGalleryApplication.ps1 +++ b/src/Compute/Compute.Autorest/custom/New-AzGalleryApplication.ps1 @@ -14,10 +14,12 @@ Create or update a gallery Application Definition. #> function New-AzGalleryApplication { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication])] - [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the Shared Application Gallery in which the Application Definition is to be created. @@ -32,60 +34,77 @@ function New-AzGalleryApplication { # The maximum length is 80 characters. ${Name}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaJsonFilePath')] + [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials which uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Resource location ${Location}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes])] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.PSArgumentCompleterAttribute("Windows", "Linux")] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes] + [System.String] # This property allows you to specify the supported type of the OS that application is built for. - # - # - # Possible values are: - # - # **Windows** - # + # + # + # Possible values are: + # + # **Windows** + # # **Linux** ${SupportedOSType}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # The description of this gallery Application Definition resource. # This property is updatable. ${Description}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Path of Json file supplied to the Create operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Json string supplied to the Create operation + ${JsonString}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] diff --git a/src/Compute/Compute.Autorest/custom/New-AzGalleryApplicationVersion.ps1 b/src/Compute/Compute.Autorest/custom/New-AzGalleryApplicationVersion.ps1 index 4eaf3a417eab..c64005c73c0e 100644 --- a/src/Compute/Compute.Autorest/custom/New-AzGalleryApplicationVersion.ps1 +++ b/src/Compute/Compute.Autorest/custom/New-AzGalleryApplicationVersion.ps1 @@ -13,16 +13,20 @@ Create or update a gallery Application Version. Create or update a gallery Application Version. #> function New-AzGalleryApplicationVersion { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion])] - [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the gallery Application Definition in which the Application Version is to be created. ${GalleryApplicationName}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the Shared Application Gallery in which the Application Definition resides. @@ -38,34 +42,38 @@ function New-AzGalleryApplicationVersion { # Format: .. ${Name}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaJsonFilePath')] + [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials which uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Resource location ${Location}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. # The defaultConfigurationLink of the artifact, must be a readable storage page blob. ${DefaultConfigFileLink}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Required. @@ -73,14 +81,14 @@ function New-AzGalleryApplicationVersion { # This is limited to 4096 characters. ${Install}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Required. # The mediaLink of the artifact, must be a readable storage page blob. ${PackageFileLink}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.DateTime] # The end of life date of the gallery image version. @@ -88,13 +96,13 @@ function New-AzGalleryApplicationVersion { # This property is updatable. ${PublishingProfileEndOfLifeDate}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.Management.Automation.SwitchParameter] # If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. ${PublishingProfileExcludeFromLatest}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Required. @@ -102,7 +110,7 @@ function New-AzGalleryApplicationVersion { # This is limited to 4096 characters. ${Remove}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.Int32] # The number of replicas of the Image Version to be created per region. @@ -110,23 +118,22 @@ function New-AzGalleryApplicationVersion { # This property is updatable. ${ReplicaCount}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion[]] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion[]] # The target regions where the Image Version is going to be replicated to. # This property is updatable. - # To construct, see NOTES section for TARGETREGION properties and create a hash table. ${TargetRegion}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. @@ -135,12 +142,25 @@ function New-AzGalleryApplicationVersion { # This is limited to 4096 characters. ${Update}, + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Path of Json file supplied to the Create operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Json string supplied to the Create operation + ${JsonString}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] @@ -194,7 +214,7 @@ function New-AzGalleryApplicationVersion { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. @@ -203,7 +223,7 @@ function New-AzGalleryApplicationVersion { # If not specified, the package file will be named the same as the Gallery Application name. ${PackageFileName}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. diff --git a/src/Compute/Compute.Autorest/custom/Set-AzVMRunCommand_ScriptLocalPath.ps1 b/src/Compute/Compute.Autorest/custom/Set-AzVMRunCommand_ScriptLocalPath.ps1 index 736492204e74..5c545db88201 100644 --- a/src/Compute/Compute.Autorest/custom/Set-AzVMRunCommand_ScriptLocalPath.ps1 +++ b/src/Compute/Compute.Autorest/custom/Set-AzVMRunCommand_ScriptLocalPath.ps1 @@ -15,7 +15,7 @@ # ---------------------------------------------------------------------------------- function Set-AzVMRunCommand_ScriptLocalPath { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IVirtualMachineRunCommand])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -78,17 +78,15 @@ function Set-AzVMRunCommand_ScriptLocalPath { [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[]] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[]] # The parameters used by the script. - # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[]] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[]] # The parameters used by the script. - # To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. ${ProtectedParameter}, [Parameter()] @@ -156,7 +154,7 @@ function Set-AzVMRunCommand_ScriptLocalPath { [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, diff --git a/src/Compute/Compute.Autorest/custom/Set-AzVmssVMRunCommand_ScriptLocalPath.ps1 b/src/Compute/Compute.Autorest/custom/Set-AzVmssVMRunCommand_ScriptLocalPath.ps1 index c91d0cf734b2..57622f5eae3d 100644 --- a/src/Compute/Compute.Autorest/custom/Set-AzVmssVMRunCommand_ScriptLocalPath.ps1 +++ b/src/Compute/Compute.Autorest/custom/Set-AzVmssVMRunCommand_ScriptLocalPath.ps1 @@ -15,7 +15,7 @@ # ---------------------------------------------------------------------------------- function Set-AzVmssVMRunCommand_ScriptLocalPath { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IVirtualMachineRunCommand])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -84,17 +84,15 @@ function Set-AzVmssVMRunCommand_ScriptLocalPath { [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[]] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[]] # The parameters used by the script. - # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, - + [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[]] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[]] # The parameters used by the script. - # To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. ${ProtectedParameter}, [Parameter()] @@ -162,7 +160,7 @@ function Set-AzVmssVMRunCommand_ScriptLocalPath { [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, diff --git a/src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1 b/src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1 index 2bf1e75888c0..625669344ffc 100644 --- a/src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1 +++ b/src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1 @@ -14,22 +14,28 @@ Update a gallery Application Version. #> function Update-AzGalleryApplicationVersion { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the gallery Application Definition in which the Application Version is to be updated. ${GalleryApplicationName}, - + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the Shared Application Gallery in which the Application Definition resides. ${GalleryName}, - + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Alias('GalleryApplicationVersionName')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] @@ -38,133 +44,175 @@ function Update-AzGalleryApplicationVersion { # Digits must be within the range of a 32-bit integer. # Format: .. ${Name}, - + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, - + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaJsonFilePath')] + [Parameter(ParameterSetName='UpdateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Subscription credentials which uniquely identify Microsoft Azure subscription. # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, - + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - - [Parameter()] + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Optional. + # The name to assign the downloaded config file on the VM. + # This is limited to 4096 characters. + # If not specified, the config file will be named the Gallery Application name appended with "_config". + ${ConfigFileName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. # The defaultConfigurationLink of the artifact, must be a readable storage page blob. ${DefaultConfigFileLink}, - - [Parameter(Mandatory)] + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Required. # The mediaLink of the artifact, must be a readable storage page blob. ${PackageFileLink}, - - [Parameter()] + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Optional. + # The name to assign the downloaded package file on the VM. + # This is limited to 4096 characters. + # If not specified, the package file will be named the same as the Gallery Application name. + ${PackageFileName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.DateTime] # The end of life date of the gallery image version. # This property can be used for decommissioning purposes. # This property is updatable. ${PublishingProfileEndOfLifeDate}, - - [Parameter()] + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.Management.Automation.SwitchParameter] # If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. ${PublishingProfileExcludeFromLatest}, - - [Parameter()] + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.Int32] # The number of replicas of the Image Version to be created per region. # This property would take effect for a region when regionalReplicaCount is not specified. # This property is updatable. ${ReplicaCount}, - - [Parameter()] + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IUpdateResourceDefinitionTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IUpdateResourceDefinitionTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, - - [Parameter()] + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion[]] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion[]] # The target regions where the Image Version is going to be replicated to. # This property is updatable. - # To construct, see NOTES section for TARGETREGION properties and create a hash table. ${TargetRegion}, - + + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Path of Json file supplied to the Update operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] + [System.String] + # Json string supplied to the Update operation + ${JsonString}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, - + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, - + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, - + [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, - + [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, - + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, - + [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, - + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Runtime')] [System.Management.Automation.SwitchParameter] diff --git a/src/Compute/Compute.Autorest/docs/Az.Compute.md b/src/Compute/Compute.Autorest/docs/Az.Compute.md index e58193ea8374..6f688d0a7c3c 100644 --- a/src/Compute/Compute.Autorest/docs/Az.Compute.md +++ b/src/Compute/Compute.Autorest/docs/Az.Compute.md @@ -1,6 +1,6 @@ --- Module Name: Az.Compute -Module Guid: 64d81db2-280c-4cff-a9f8-9e3ef386b229 +Module Guid: a6e7404d-a42b-4e3f-880c-8b5e012c5adc Download Help Link: https://learn.microsoft.com/powershell/module/az.compute Help Version: 1.0.0.0 Locale: en-US @@ -39,10 +39,10 @@ The operation to delete the run command. The operation to delete the VMSS VM run command. ### [Set-AzVMRunCommand](Set-AzVMRunCommand.md) -The operation to create or update the run command. +The operation to update the run command. ### [Set-AzVmssVMRunCommand](Set-AzVmssVMRunCommand.md) -The operation to create or update the VMSS VM run command. +The operation to update the VMSS VM run command. ### [Update-AzGalleryApplication](Update-AzGalleryApplication.md) Update a gallery Application Definition. diff --git a/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplication.md b/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplication.md index e70a0ada7410..33584a46b95a 100644 --- a/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplication.md @@ -29,6 +29,12 @@ Get-AzGalleryApplication -GalleryName -Name -ResourceGroupName Get-AzGalleryApplication -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityGallery +``` +Get-AzGalleryApplication -GalleryInputObject -Name [-DefaultProfile ] + [] +``` + ## DESCRIPTION Retrieves information about a gallery Application Definition. @@ -66,6 +72,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: GetViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery from which the Application Definitions are to be retrieved. @@ -83,7 +104,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -102,7 +122,7 @@ The name of the gallery Application Definition to be retrieved. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityGallery Aliases: GalleryApplicationName Required: True @@ -152,7 +172,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplicationVersion.md b/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplicationVersion.md index 50132259d262..a60c1da80ee6 100644 --- a/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/docs/Get-AzGalleryApplicationVersion.md @@ -21,16 +21,28 @@ Get-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -GalleryName -Name - -ResourceGroupName [-SubscriptionId ] [-Expand ] - [-DefaultProfile ] [] + -ResourceGroupName [-SubscriptionId ] [-Expand ] [-DefaultProfile ] + [] ``` ### GetViaIdentity ``` -Get-AzGalleryApplicationVersion -InputObject [-Expand ] +Get-AzGalleryApplicationVersion -InputObject [-Expand ] + [-DefaultProfile ] [] +``` + +### GetViaIdentityApplication +``` +Get-AzGalleryApplicationVersion -ApplicationInputObject -Name [-Expand ] [-DefaultProfile ] [] ``` +### GetViaIdentityGallery +``` +Get-AzGalleryApplicationVersion -GalleryApplicationName -GalleryInputObject + -Name [-Expand ] [-DefaultProfile ] [] +``` + ## DESCRIPTION Retrieves information about a gallery Application Version. @@ -52,6 +64,21 @@ Retrieve all the Gallery Application Version resources in the provided Resource ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: GetViaIdentityApplication +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -72,8 +99,8 @@ Accept wildcard characters: False The expand expression to apply on the operation. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationStatusTypes -Parameter Sets: Get, GetViaIdentity +Type: System.String +Parameter Sets: Get, GetViaIdentity, GetViaIdentityApplication, GetViaIdentityGallery Aliases: Required: False @@ -88,7 +115,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: Get, GetViaIdentityGallery, List Aliases: Required: True @@ -98,6 +125,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: GetViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition resides. @@ -115,7 +157,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -134,7 +175,7 @@ The name of the gallery Application Version to be retrieved. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityApplication, GetViaIdentityGallery Aliases: GalleryApplicationVersionName Required: True @@ -184,7 +225,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/Invoke-AzSpotPlacementScore.md b/src/Compute/Compute.Autorest/docs/Invoke-AzSpotPlacementScore.md index 0bc7febefce9..b643ef61c897 100644 --- a/src/Compute/Compute.Autorest/docs/Invoke-AzSpotPlacementScore.md +++ b/src/Compute/Compute.Autorest/docs/Invoke-AzSpotPlacementScore.md @@ -39,6 +39,18 @@ Invoke-AzSpotPlacementScore -InputObject [-AvailabilityZone] [-WhatIf] [] ``` +### PostViaJsonFilePath +``` +Invoke-AzSpotPlacementScore -Location -JsonFilePath [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### PostViaJsonString +``` +Invoke-AzSpotPlacementScore -Location -JsonString [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Generates placement scores for Spot VM skus. @@ -261,10 +273,9 @@ Accept wildcard characters: False ### -DesiredSize The desired resource SKUs. -To construct, see NOTES section for DESIREDSIZE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.IResourceSize[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize[] Parameter Sets: PostExpanded, PostViaIdentityExpanded Aliases: @@ -277,7 +288,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -291,12 +301,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Post operation + +```yaml +Type: System.String +Parameter Sets: PostViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Post operation + +```yaml +Type: System.String +Parameter Sets: PostViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The name of the Azure region. ```yaml Type: System.String -Parameter Sets: Post, PostExpanded +Parameter Sets: Post, PostExpanded, PostViaJsonFilePath, PostViaJsonString Aliases: Required: True @@ -308,10 +348,9 @@ Accept wildcard characters: False ### -SpotPlacementScoresInput SpotPlacementScores API Input. -To construct, see NOTES section for SPOTPLACEMENTSCORESINPUT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementScoresInput +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresInput Parameter Sets: Post, PostViaIdentity Aliases: SpotPlacementRecommenderInput @@ -328,7 +367,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: Post, PostExpanded +Parameter Sets: Post, PostExpanded, PostViaJsonFilePath, PostViaJsonString Aliases: Required: False @@ -374,13 +413,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementScoresInput - ### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresInput + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementScoresResponse +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresResponse ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md b/src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md index fb471cd8694a..4fe55c49e43d 100644 --- a/src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md @@ -12,12 +12,27 @@ Create or update a gallery Application Definition. ## SYNTAX +### CreateExpanded (Default) ``` New-AzGalleryApplication -GalleryName -Name -ResourceGroupName -Location - -SupportedOSType [-SubscriptionId ] [-Description ] [-Tag ] + -SupportedOSType [-SubscriptionId ] [-Description ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzGalleryApplication -GalleryName -Name -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzGalleryApplication -GalleryName -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION Create or update a gallery Application Definition. @@ -48,7 +63,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -68,7 +84,7 @@ This property is updatable. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -93,12 +109,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -175,15 +221,15 @@ Accept wildcard characters: False This property allows you to specify the supported type of the OS that application is built for. - Possible values are: + Possible values are: - **Windows** + **Windows** **Linux** ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: True @@ -198,7 +244,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -246,7 +292,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/New-AzGalleryApplicationVersion.md b/src/Compute/Compute.Autorest/docs/New-AzGalleryApplicationVersion.md index 0057ca6fb520..9994a60a5e57 100644 --- a/src/Compute/Compute.Autorest/docs/New-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/docs/New-AzGalleryApplicationVersion.md @@ -12,6 +12,7 @@ Create or update a gallery Application Version. ## SYNTAX +### CreateExpanded (Default) ``` New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name -ResourceGroupName -Install -Location -Remove [-SubscriptionId ] @@ -22,6 +23,20 @@ New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ] ``` +### CreateViaJsonFilePath +``` +New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName -JsonString [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Create or update a gallery Application Version. @@ -66,7 +81,7 @@ If not specified, the config file will be named the Gallery Application name app ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -82,7 +97,7 @@ The defaultConfigurationLink of the artifact, must be a readable storage page bl ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -93,7 +108,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -144,7 +160,37 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString Aliases: Required: True @@ -159,7 +205,7 @@ Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -208,7 +254,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -226,7 +272,7 @@ If not specified, the package file will be named the same as the Gallery Applica ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -243,7 +289,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -258,7 +304,7 @@ If set to true, Virtual Machines deployed from the latest version of the Image D ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -275,7 +321,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -292,7 +338,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -338,7 +384,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -351,11 +397,10 @@ Accept wildcard characters: False ### -TargetRegion The target regions where the Image Version is going to be replicated to. This property is updatable. -To construct, see NOTES section for TARGETREGION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -373,7 +418,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -421,7 +466,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md index 3105775cf2af..ebb420707be1 100644 --- a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md @@ -25,6 +25,12 @@ Remove-AzGalleryApplication -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityGallery +``` +Remove-AzGalleryApplication -GalleryInputObject -Name [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a gallery Application. @@ -70,6 +76,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition is to be deleted. @@ -87,7 +108,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -106,7 +126,7 @@ The name of the gallery Application Definition to be deleted. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityGallery Aliases: GalleryApplicationName Required: True diff --git a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md index 1b6292ad57e8..7584b4d23403 100644 --- a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md @@ -25,6 +25,19 @@ Remove-AzGalleryApplicationVersion -InputObject [-DefaultProf [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityApplication +``` +Remove-AzGalleryApplicationVersion -ApplicationInputObject -Name + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityGallery +``` +Remove-AzGalleryApplicationVersion -GalleryApplicationName -GalleryInputObject + -Name [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION Delete a gallery Application Version. @@ -39,6 +52,21 @@ Delete a gallery application version. ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityApplication +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -75,7 +103,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityGallery Aliases: Required: True @@ -85,6 +113,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition resides. @@ -102,7 +145,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -121,7 +163,7 @@ The name of the gallery Application Version to be deleted. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityApplication, DeleteViaIdentityGallery Aliases: GalleryApplicationVersionName Required: True diff --git a/src/Compute/Compute.Autorest/docs/Remove-AzVMRunCommand.md b/src/Compute/Compute.Autorest/docs/Remove-AzVMRunCommand.md index f24796d2f19e..899fd31f87ef 100644 --- a/src/Compute/Compute.Autorest/docs/Remove-AzVMRunCommand.md +++ b/src/Compute/Compute.Autorest/docs/Remove-AzVMRunCommand.md @@ -25,6 +25,12 @@ Remove-AzVMRunCommand -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityVirtualMachine +``` +Remove-AzVMRunCommand -RunCommandName -VirtualMachineInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION The operation to delete the run command. @@ -72,7 +78,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -136,7 +141,7 @@ The name of the virtual machine run command. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVirtualMachine Aliases: Required: True @@ -162,6 +167,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VirtualMachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityVirtualMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VMName The name of the virtual machine where the run command should be deleted. diff --git a/src/Compute/Compute.Autorest/docs/Remove-AzVmssVMRunCommand.md b/src/Compute/Compute.Autorest/docs/Remove-AzVmssVMRunCommand.md index 7e720fadb80d..b5eaa7c75e34 100644 --- a/src/Compute/Compute.Autorest/docs/Remove-AzVmssVMRunCommand.md +++ b/src/Compute/Compute.Autorest/docs/Remove-AzVmssVMRunCommand.md @@ -25,6 +25,19 @@ Remove-AzVmssVMRunCommand -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityVirtualMachine +``` +Remove-AzVmssVMRunCommand -RunCommandName -VirtualMachineInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityVirtualMachineScaleSet +``` +Remove-AzVmssVMRunCommand -InstanceId -RunCommandName + -VirtualMachineScaleSetInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION The operation to delete the VMSS VM run command. @@ -72,7 +85,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -91,7 +103,7 @@ The instance ID of the virtual machine. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVirtualMachineScaleSet Aliases: Required: True @@ -151,7 +163,7 @@ The name of the virtual machine run command. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVirtualMachine, DeleteViaIdentityVirtualMachineScaleSet Aliases: Required: True @@ -177,6 +189,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VirtualMachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityVirtualMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -VirtualMachineScaleSetInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityVirtualMachineScaleSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VMScaleSetName The name of the VM scale set. diff --git a/src/Compute/Compute.Autorest/docs/Set-AzVMRunCommand.md b/src/Compute/Compute.Autorest/docs/Set-AzVMRunCommand.md index d7c04dced033..54f0d600c52b 100644 --- a/src/Compute/Compute.Autorest/docs/Set-AzVMRunCommand.md +++ b/src/Compute/Compute.Autorest/docs/Set-AzVMRunCommand.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzVMRunCommand ## SYNOPSIS -The operation to create or update the run command. +The operation to update the run command. ## SYNTAX @@ -40,8 +40,22 @@ Set-AzVMRunCommand -ResourceGroupName -RunCommandName -VMName [] ``` +### UpdateViaJsonFilePath +``` +Set-AzVMRunCommand -ResourceGroupName -RunCommandName -VMName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzVMRunCommand -ResourceGroupName -RunCommandName -VMName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -The operation to create or update the run command. +The operation to update the run command. ## EXAMPLES @@ -158,7 +172,7 @@ If set to true, provisioning will complete as soon as the script starts and will ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -190,7 +204,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -206,7 +220,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -223,7 +237,7 @@ Refer errorBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -233,12 +247,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: True @@ -269,7 +313,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -285,7 +329,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -302,7 +346,7 @@ Refer outputBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -314,11 +358,10 @@ Accept wildcard characters: False ### -Parameter The parameters used by the script. -To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -330,11 +373,10 @@ Accept wildcard characters: False ### -ProtectedParameter The parameters used by the script. -To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -364,7 +406,7 @@ Specifies the user account password on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -379,7 +421,7 @@ Specifies the user account on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -425,7 +467,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -441,7 +483,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -518,7 +560,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -533,7 +575,7 @@ The timeout in seconds to execute the run command. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -551,7 +593,7 @@ See instance view of run command in case of script failures to see executionMess ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -614,7 +656,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IVirtualMachineRunCommand ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/Set-AzVmssVMRunCommand.md b/src/Compute/Compute.Autorest/docs/Set-AzVmssVMRunCommand.md index 3787ad2df8d9..40acc9bb20d1 100644 --- a/src/Compute/Compute.Autorest/docs/Set-AzVmssVMRunCommand.md +++ b/src/Compute/Compute.Autorest/docs/Set-AzVmssVMRunCommand.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzVmssVMRunCommand ## SYNOPSIS -The operation to create or update the VMSS VM run command. +The operation to update the VMSS VM run command. ## SYNTAX @@ -40,8 +40,22 @@ Set-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunComm [] ``` +### UpdateViaJsonFilePath +``` +Set-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunCommandName + -VMScaleSetName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunCommandName + -VMScaleSetName -JsonString [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -The operation to create or update the VMSS VM run command. +The operation to update the VMSS VM run command. ## EXAMPLES @@ -158,7 +172,7 @@ If set to true, provisioning will complete as soon as the script starts and will ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -190,7 +204,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -206,7 +220,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -223,7 +237,7 @@ Refer errorBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -248,12 +262,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: True @@ -284,7 +328,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -300,7 +344,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -317,7 +361,7 @@ Refer outputBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -329,11 +373,10 @@ Accept wildcard characters: False ### -Parameter The parameters used by the script. -To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -345,11 +388,10 @@ Accept wildcard characters: False ### -ProtectedParameter The parameters used by the script. -To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -379,7 +421,7 @@ Specifies the user account password on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -394,7 +436,7 @@ Specifies the user account on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -440,7 +482,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -456,7 +498,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -533,7 +575,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -548,7 +590,7 @@ The timeout in seconds to execute the run command. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -566,7 +608,7 @@ See instance view of run command in case of script failures to see executionMess ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: ScriptLocalPath, UpdateExpanded Aliases: Required: False @@ -629,7 +671,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IVirtualMachineRunCommand ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplication.md b/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplication.md index 85937b4b9c64..be11e7338aac 100644 --- a/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplication.md @@ -25,6 +25,26 @@ Update-AzGalleryApplication -InputObject [-Description ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### UpdateViaIdentityGalleryExpanded +``` +Update-AzGalleryApplication -GalleryInputObject -Name [-Description ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzGalleryApplication -GalleryName -Name -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzGalleryApplication -GalleryName -Name -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + ## DESCRIPTION Update a gallery Application Definition. @@ -76,7 +96,7 @@ This property is updatable. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -86,12 +106,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: UpdateViaIdentityGalleryExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition is to be updated. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -103,7 +138,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -117,6 +151,36 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the gallery Application Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. @@ -124,7 +188,7 @@ The maximum length is 80 characters. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: GalleryApplicationName Required: True @@ -154,7 +218,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -170,7 +234,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -185,7 +249,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -235,7 +299,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication ## NOTES diff --git a/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md b/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md index 9cb72088c268..2a8031a23f48 100644 --- a/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md @@ -15,8 +15,8 @@ Update a gallery Application Version. ### UpdateExpanded (Default) ``` Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name - -ResourceGroupName -PackageFileLink [-SubscriptionId ] - [-DefaultConfigFileLink ] [-PublishingProfileEndOfLifeDate ] + -ResourceGroupName -PackageFileLink [-SubscriptionId ] [-ConfigFileName ] + [-DefaultConfigFileLink ] [-PackageFileName ] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -25,10 +25,24 @@ Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ### UpdateViaIdentityExpanded ``` Update-AzGalleryApplicationVersion -InputObject -PackageFileLink - [-DefaultConfigFileLink ] [-PublishingProfileEndOfLifeDate ] - [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] - [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-ConfigFileName ] [-DefaultConfigFileLink ] [-PackageFileName ] + [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] + [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName -JsonString [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -67,13 +81,31 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigFileName +Optional. +The name to assign the downloaded config file on the VM. +This is limited to 4096 characters. +If not specified, the config file will be named the Gallery Application name appended with "_config". + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultConfigFileLink Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -84,7 +116,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -103,7 +136,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -118,7 +151,7 @@ The name of the Shared Application Gallery in which the Application Definition r ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -130,7 +163,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -144,6 +176,36 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the gallery Application Version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. @@ -152,7 +214,7 @@ Format: \.\.\ ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: GalleryApplicationVersionName Required: True @@ -183,7 +245,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: True @@ -193,6 +255,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PackageFileName +Optional. +The name to assign the downloaded package file on the VM. +This is limited to 4096 characters. +If not specified, the package file will be named the same as the Gallery Application name. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PublishingProfileEndOfLifeDate The end of life date of the gallery image version. This property can be used for decommissioning purposes. @@ -200,7 +280,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -215,7 +295,7 @@ If set to true, Virtual Machines deployed from the latest version of the Image D ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -232,7 +312,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -247,7 +327,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -263,7 +343,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -278,7 +358,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -291,11 +371,10 @@ Accept wildcard characters: False ### -TargetRegion The target regions where the Image Version is going to be replicated to. This property is updatable. -To construct, see NOTES section for TARGETREGION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -345,7 +424,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute.Autorest/generate-info.json b/src/Compute/Compute.Autorest/generate-info.json index 847cb86b5e6c..b8531a4769a8 100644 --- a/src/Compute/Compute.Autorest/generate-info.json +++ b/src/Compute/Compute.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "09c3a2ba-feac-4626-bc87-601e6e968bbf" + "generate_Id": "3fa290b3-7684-4311-b5be-dfde9f628501" } diff --git a/src/Compute/Compute.Autorest/resources/README.md b/src/Compute/Compute.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Compute/Compute.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/Compute/Compute.sln b/src/Compute/Compute.sln index f398f7040ba1..46874ae8a8db 100644 --- a/src/Compute/Compute.sln +++ b/src/Compute/Compute.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -43,98 +43,264 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestF EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KeyVault.Management.Sdk", "..\KeyVault\KeyVault.Management.Sdk\KeyVault.Management.Sdk.csproj", "{2B0B2D44-5207-4192-894E-9AB8DEE6F791}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Compute", "..\..\generated\Compute\Compute.Autorest\Az.Compute.csproj", "{C91353E2-2D7C-4AE6-86B1-930603BA5ACE}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.KeyVault", "..\..\generated\KeyVault\KeyVault.Autorest\Az.KeyVault.csproj", "{D860E73B-C9A5-49E5-BE44-2744FEA020E2}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServiceIdentity", "..\..\generated\ManagedServiceIdentity\ManagedServiceIdentity.Autorest\Az.ManagedServiceIdentity.csproj", "{443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Compute.Autorest", "Compute.Autorest", "{18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Compute", "..\..\generated\Compute\Compute.Autorest\Az.Compute.csproj", "{6E641A72-EFEF-4EEC-9D88-C48188CBE133}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Debug|x64.ActiveCfg = Debug|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Debug|x64.Build.0 = Debug|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Debug|x86.ActiveCfg = Debug|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Debug|x86.Build.0 = Debug|Any CPU {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Release|Any CPU.ActiveCfg = Release|Any CPU {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Release|Any CPU.Build.0 = Release|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Release|x64.ActiveCfg = Release|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Release|x64.Build.0 = Release|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Release|x86.ActiveCfg = Release|Any CPU + {2FBCF816-C140-488F-B4D7-B1B0056DE8A7}.Release|x86.Build.0 = Release|Any CPU {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Debug|x64.ActiveCfg = Debug|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Debug|x64.Build.0 = Debug|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Debug|x86.ActiveCfg = Debug|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Debug|x86.Build.0 = Debug|Any CPU {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Release|Any CPU.ActiveCfg = Release|Any CPU {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Release|Any CPU.Build.0 = Release|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Release|x64.ActiveCfg = Release|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Release|x64.Build.0 = Release|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Release|x86.ActiveCfg = Release|Any CPU + {D5FBF931-F600-4883-9A71-84B5CBE6D543}.Release|x86.Build.0 = Release|Any CPU {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Debug|x64.ActiveCfg = Debug|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Debug|x64.Build.0 = Debug|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Debug|x86.ActiveCfg = Debug|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Debug|x86.Build.0 = Debug|Any CPU {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Release|Any CPU.ActiveCfg = Release|Any CPU {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Release|Any CPU.Build.0 = Release|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Release|x64.ActiveCfg = Release|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Release|x64.Build.0 = Release|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Release|x86.ActiveCfg = Release|Any CPU + {2B36B161-EAAB-4B1D-90CD-41E9F632CAD1}.Release|x86.Build.0 = Release|Any CPU {4825F338-4FC0-4893-8E40-115107A9FE7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4825F338-4FC0-4893-8E40-115107A9FE7F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Debug|x64.ActiveCfg = Debug|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Debug|x64.Build.0 = Debug|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Debug|x86.ActiveCfg = Debug|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Debug|x86.Build.0 = Debug|Any CPU {4825F338-4FC0-4893-8E40-115107A9FE7F}.Release|Any CPU.ActiveCfg = Release|Any CPU {4825F338-4FC0-4893-8E40-115107A9FE7F}.Release|Any CPU.Build.0 = Release|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Release|x64.ActiveCfg = Release|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Release|x64.Build.0 = Release|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Release|x86.ActiveCfg = Release|Any CPU + {4825F338-4FC0-4893-8E40-115107A9FE7F}.Release|x86.Build.0 = Release|Any CPU {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Debug|x64.ActiveCfg = Debug|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Debug|x64.Build.0 = Debug|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Debug|x86.ActiveCfg = Debug|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Debug|x86.Build.0 = Debug|Any CPU {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Release|Any CPU.ActiveCfg = Release|Any CPU {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Release|Any CPU.Build.0 = Release|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Release|x64.ActiveCfg = Release|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Release|x64.Build.0 = Release|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Release|x86.ActiveCfg = Release|Any CPU + {5D3E2D46-FC35-419F-A73F-A3B3F52C9C56}.Release|x86.Build.0 = Release|Any CPU {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Debug|x64.ActiveCfg = Debug|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Debug|x64.Build.0 = Debug|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Debug|x86.ActiveCfg = Debug|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Debug|x86.Build.0 = Debug|Any CPU {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Release|Any CPU.ActiveCfg = Release|Any CPU {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Release|Any CPU.Build.0 = Release|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Release|x64.ActiveCfg = Release|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Release|x64.Build.0 = Release|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Release|x86.ActiveCfg = Release|Any CPU + {D2EBE76C-3F40-42A7-8F95-0138E4F5BCB3}.Release|x86.Build.0 = Release|Any CPU {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Debug|x64.ActiveCfg = Debug|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Debug|x64.Build.0 = Debug|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Debug|x86.ActiveCfg = Debug|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Debug|x86.Build.0 = Debug|Any CPU {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Release|Any CPU.ActiveCfg = Release|Any CPU {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Release|Any CPU.Build.0 = Release|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Release|x64.ActiveCfg = Release|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Release|x64.Build.0 = Release|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Release|x86.ActiveCfg = Release|Any CPU + {A617847D-04FA-4CF5-B3B1-F19D4AFDB3DC}.Release|x86.Build.0 = Release|Any CPU {034544D6-0C50-41E3-878B-244E6A06E66F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {034544D6-0C50-41E3-878B-244E6A06E66F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Debug|x64.ActiveCfg = Debug|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Debug|x64.Build.0 = Debug|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Debug|x86.ActiveCfg = Debug|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Debug|x86.Build.0 = Debug|Any CPU {034544D6-0C50-41E3-878B-244E6A06E66F}.Release|Any CPU.ActiveCfg = Release|Any CPU {034544D6-0C50-41E3-878B-244E6A06E66F}.Release|Any CPU.Build.0 = Release|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Release|x64.ActiveCfg = Release|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Release|x64.Build.0 = Release|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Release|x86.ActiveCfg = Release|Any CPU + {034544D6-0C50-41E3-878B-244E6A06E66F}.Release|x86.Build.0 = Release|Any CPU {09E7C891-D90A-4624-B6D0-575646781BD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {09E7C891-D90A-4624-B6D0-575646781BD8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Debug|x64.ActiveCfg = Debug|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Debug|x64.Build.0 = Debug|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Debug|x86.ActiveCfg = Debug|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Debug|x86.Build.0 = Debug|Any CPU {09E7C891-D90A-4624-B6D0-575646781BD8}.Release|Any CPU.ActiveCfg = Release|Any CPU {09E7C891-D90A-4624-B6D0-575646781BD8}.Release|Any CPU.Build.0 = Release|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Release|x64.ActiveCfg = Release|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Release|x64.Build.0 = Release|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Release|x86.ActiveCfg = Release|Any CPU + {09E7C891-D90A-4624-B6D0-575646781BD8}.Release|x86.Build.0 = Release|Any CPU {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Debug|x64.ActiveCfg = Debug|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Debug|x64.Build.0 = Debug|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Debug|x86.ActiveCfg = Debug|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Debug|x86.Build.0 = Debug|Any CPU {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Release|Any CPU.ActiveCfg = Release|Any CPU {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Release|Any CPU.Build.0 = Release|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Release|x64.ActiveCfg = Release|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Release|x64.Build.0 = Release|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Release|x86.ActiveCfg = Release|Any CPU + {3DC035AE-0DDF-451A-ABA9-2599199BE4D0}.Release|x86.Build.0 = Release|Any CPU {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Debug|x64.ActiveCfg = Debug|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Debug|x64.Build.0 = Debug|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Debug|x86.ActiveCfg = Debug|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Debug|x86.Build.0 = Debug|Any CPU {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Release|Any CPU.ActiveCfg = Release|Any CPU {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Release|Any CPU.Build.0 = Release|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Release|x64.ActiveCfg = Release|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Release|x64.Build.0 = Release|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Release|x86.ActiveCfg = Release|Any CPU + {EEFF1D71-49F0-42F2-B09A-10E459464AE5}.Release|x86.Build.0 = Release|Any CPU {04FD9605-A3EF-476C-B3BF-4863940B5692}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {04FD9605-A3EF-476C-B3BF-4863940B5692}.Debug|Any CPU.Build.0 = Debug|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Debug|x64.ActiveCfg = Debug|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Debug|x64.Build.0 = Debug|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Debug|x86.ActiveCfg = Debug|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Debug|x86.Build.0 = Debug|Any CPU {04FD9605-A3EF-476C-B3BF-4863940B5692}.Release|Any CPU.ActiveCfg = Release|Any CPU {04FD9605-A3EF-476C-B3BF-4863940B5692}.Release|Any CPU.Build.0 = Release|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Release|x64.ActiveCfg = Release|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Release|x64.Build.0 = Release|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Release|x86.ActiveCfg = Release|Any CPU + {04FD9605-A3EF-476C-B3BF-4863940B5692}.Release|x86.Build.0 = Release|Any CPU {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Debug|x64.ActiveCfg = Debug|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Debug|x64.Build.0 = Debug|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Debug|x86.ActiveCfg = Debug|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Debug|x86.Build.0 = Debug|Any CPU {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Release|Any CPU.ActiveCfg = Release|Any CPU {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Release|Any CPU.Build.0 = Release|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Release|x64.ActiveCfg = Release|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Release|x64.Build.0 = Release|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Release|x86.ActiveCfg = Release|Any CPU + {0DCD3E5B-ACF9-4A36-951F-862BD69E64C4}.Release|x86.Build.0 = Release|Any CPU {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Debug|x64.ActiveCfg = Debug|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Debug|x64.Build.0 = Debug|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Debug|x86.ActiveCfg = Debug|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Debug|x86.Build.0 = Debug|Any CPU {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Release|Any CPU.ActiveCfg = Release|Any CPU {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Release|Any CPU.Build.0 = Release|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Release|x64.ActiveCfg = Release|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Release|x64.Build.0 = Release|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Release|x86.ActiveCfg = Release|Any CPU + {1E53770D-2153-4AB3-8B64-3FEFF3C8A421}.Release|x86.Build.0 = Release|Any CPU {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Debug|x64.ActiveCfg = Debug|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Debug|x64.Build.0 = Debug|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Debug|x86.ActiveCfg = Debug|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Debug|x86.Build.0 = Debug|Any CPU {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Release|Any CPU.ActiveCfg = Release|Any CPU {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Release|Any CPU.Build.0 = Release|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Release|x64.ActiveCfg = Release|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Release|x64.Build.0 = Release|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Release|x86.ActiveCfg = Release|Any CPU + {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31}.Release|x86.Build.0 = Release|Any CPU {F45CEC09-0408-43D6-A679-5149715D9904}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F45CEC09-0408-43D6-A679-5149715D9904}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Debug|x64.ActiveCfg = Debug|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Debug|x64.Build.0 = Debug|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Debug|x86.ActiveCfg = Debug|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Debug|x86.Build.0 = Debug|Any CPU {F45CEC09-0408-43D6-A679-5149715D9904}.Release|Any CPU.ActiveCfg = Release|Any CPU {F45CEC09-0408-43D6-A679-5149715D9904}.Release|Any CPU.Build.0 = Release|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Release|x64.ActiveCfg = Release|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Release|x64.Build.0 = Release|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Release|x86.ActiveCfg = Release|Any CPU + {F45CEC09-0408-43D6-A679-5149715D9904}.Release|x86.Build.0 = Release|Any CPU {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Debug|x64.ActiveCfg = Debug|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Debug|x64.Build.0 = Debug|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Debug|x86.ActiveCfg = Debug|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Debug|x86.Build.0 = Debug|Any CPU {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Release|Any CPU.ActiveCfg = Release|Any CPU {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Release|Any CPU.Build.0 = Release|Any CPU - {C91353E2-2D7C-4AE6-86B1-930603BA5ACE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C91353E2-2D7C-4AE6-86B1-930603BA5ACE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C91353E2-2D7C-4AE6-86B1-930603BA5ACE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C91353E2-2D7C-4AE6-86B1-930603BA5ACE}.Release|Any CPU.Build.0 = Release|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Release|x64.ActiveCfg = Release|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Release|x64.Build.0 = Release|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Release|x86.ActiveCfg = Release|Any CPU + {2B0B2D44-5207-4192-894E-9AB8DEE6F791}.Release|x86.Build.0 = Release|Any CPU {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Debug|x64.ActiveCfg = Debug|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Debug|x64.Build.0 = Debug|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Debug|x86.ActiveCfg = Debug|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Debug|x86.Build.0 = Debug|Any CPU {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Release|Any CPU.ActiveCfg = Release|Any CPU {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Release|Any CPU.Build.0 = Release|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Release|x64.ActiveCfg = Release|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Release|x64.Build.0 = Release|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Release|x86.ActiveCfg = Release|Any CPU + {D860E73B-C9A5-49E5-BE44-2744FEA020E2}.Release|x86.Build.0 = Release|Any CPU {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Debug|x64.ActiveCfg = Debug|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Debug|x64.Build.0 = Debug|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Debug|x86.ActiveCfg = Debug|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Debug|x86.Build.0 = Debug|Any CPU {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|Any CPU.ActiveCfg = Release|Any CPU {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|Any CPU.Build.0 = Release|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x64.ActiveCfg = Release|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x64.Build.0 = Release|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x86.ActiveCfg = Release|Any CPU + {443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x86.Build.0 = Release|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Debug|x64.ActiveCfg = Debug|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Debug|x64.Build.0 = Debug|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Debug|x86.ActiveCfg = Debug|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Debug|x86.Build.0 = Debug|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Release|Any CPU.Build.0 = Release|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Release|x64.ActiveCfg = Release|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Release|x64.Build.0 = Release|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Release|x86.ActiveCfg = Release|Any CPU + {6E641A72-EFEF-4EEC-9D88-C48188CBE133}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -154,5 +320,6 @@ Global {DAD5BF2B-686B-4269-8FFA-5A86D7C23A31} = {6781D587-D8BB-48B9-9952-B05F3D237606} {F45CEC09-0408-43D6-A679-5149715D9904} = {E9336DDF-EEF7-474E-BCF1-ED87313F4D17} {2B0B2D44-5207-4192-894E-9AB8DEE6F791} = {6781D587-D8BB-48B9-9952-B05F3D237606} + {6E641A72-EFEF-4EEC-9D88-C48188CBE133} = {18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7} EndGlobalSection EndGlobal diff --git a/src/Compute/Compute/Az.Compute.psd1 b/src/Compute/Compute/Az.Compute.psd1 index b572edb92508..d85b58f090ec 100644 --- a/src/Compute/Compute/Az.Compute.psd1 +++ b/src/Compute/Compute/Az.Compute.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 7/4/2025 +# Generated on: 2025-07-15 # @{ @@ -65,10 +65,10 @@ RequiredAssemblies = 'Compute.Autorest/bin/Az.Compute.private.dll', 'Microsoft.WindowsAzure.Storage.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'Compute.Automation.generated.format.ps1xml', @@ -89,15 +89,19 @@ FunctionsToExport = 'Get-AzGalleryApplication', 'Get-AzGalleryApplicationVersion 'Update-AzGalleryApplicationVersion' # 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. -CmdletsToExport = 'Add-AzImageDataDisk', 'Add-AzVhd', +CmdletsToExport = 'Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity', + 'Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege', + 'Add-AzGalleryInVMAccessControlProfileVersionRulesRole', + 'Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment', + 'Add-AzImageDataDisk', 'Add-AzVhd', 'Add-AzVMAdditionalUnattendContent', 'Add-AzVMDataDisk', 'Add-AzVmGalleryApplication', 'Add-AzVMNetworkInterface', 'Add-AzVMSecret', 'Add-AzVmssAdditionalUnattendContent', 'Add-AzVmssDataDisk', 'Add-AzVmssDiagnosticsExtension', 'Add-AzVmssExtension', 'Add-AzVmssGalleryApplication', 'Add-AzVMSshPublicKey', 'Add-AzVmssNetworkInterfaceConfiguration', - 'Add-AzVmssSkuProfileVMSize', 'Remove-AzVmssSkuProfileVMSize', - 'Add-AzVmssRunCommand', 'Add-AzVmssSecret', 'Add-AzVmssSshPublicKey', + 'Add-AzVmssRunCommand', 'Add-AzVmssSecret', + 'Add-AzVmssSkuProfileVMSize', 'Add-AzVmssSshPublicKey', 'Add-AzVmssVMDataDisk', 'Add-AzVmssWinRMListener', 'ConvertTo-AzVMManagedDisk', 'Disable-AzVMDiskEncryption', 'Disable-AzVmssDiskEncryption', @@ -108,7 +112,9 @@ CmdletsToExport = 'Add-AzImageDataDisk', 'Add-AzVhd', 'Get-AzDiskEncryptionSet', 'Get-AzDiskEncryptionSetAssociatedResource', 'Get-AzGallery', 'Get-AzGalleryImageDefinition', 'Get-AzGalleryImageVersion', - 'Get-AzHost', 'Get-AzHostGroup', 'Get-AzHostSize', 'Get-AzImage', + 'Get-AzGalleryInVMAccessControlProfile', + 'Get-AzGalleryInVMAccessControlProfileVersion', 'Get-AzHost', + 'Get-AzHostGroup', 'Get-AzHostSize', 'Get-AzImage', 'Get-AzProximityPlacementGroup', 'Get-AzRemoteDesktopFile', 'Get-AzRestorePoint', 'Get-AzRestorePointCollection', 'Get-AzSnapshot', 'Get-AzSshKey', 'Get-AzVM', 'Get-AzVMAccessExtension', @@ -134,7 +140,10 @@ CmdletsToExport = 'Add-AzImageDataDisk', 'Add-AzVhd', 'New-AzDiskEncryptionSetConfig', 'New-AzDiskPurchasePlanConfig', 'New-AzDiskUpdateConfig', 'New-AzGallery', 'New-AzGalleryImageDefinition', 'New-AzGalleryImageVersion', - 'New-AzHost', 'New-AzHostGroup', 'New-AzImage', 'New-AzImageConfig', + 'New-AzGalleryInVMAccessControlProfile', + 'New-AzGalleryInVMAccessControlProfileVersion', + 'New-AzGalleryInVMAccessControlProfileVersionConfig', 'New-AzHost', + 'New-AzHostGroup', 'New-AzImage', 'New-AzImageConfig', 'New-AzProximityPlacementGroup', 'New-AzRestorePoint', 'New-AzRestorePointCollection', 'New-AzSnapshot', 'New-AzSnapshotConfig', 'New-AzSnapshotUpdateConfig', 'New-AzSshKey', @@ -149,14 +158,21 @@ CmdletsToExport = 'Add-AzImageDataDisk', 'Add-AzVhd', 'Remove-AzCapacityReservationGroup', 'Remove-AzDisk', 'Remove-AzDiskAccess', 'Remove-AzDiskEncryptionSet', 'Remove-AzGallery', 'Remove-AzGalleryImageDefinition', - 'Remove-AzGalleryImageVersion', 'Remove-AzHost', 'Remove-AzHostGroup', - 'Remove-AzImage', 'Remove-AzImageDataDisk', - 'Remove-AzProximityPlacementGroup', 'Remove-AzRestorePoint', - 'Remove-AzRestorePointCollection', 'Remove-AzSnapshot', - 'Remove-AzSshKey', 'Remove-AzVM', 'Remove-AzVMAccessExtension', - 'Remove-AzVMAEMExtension', 'Remove-AzVMBackup', - 'Remove-AzVMChefExtension', 'Remove-AzVMCustomScriptExtension', - 'Remove-AzVMDataDisk', 'Remove-AzVMDiagnosticsExtension', + 'Remove-AzGalleryImageVersion', + 'Remove-AzGalleryInVMAccessControlProfile', + 'Remove-AzGalleryInVMAccessControlProfileVersion', + 'Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity', + 'Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege', + 'Remove-AzGalleryInVMAccessControlProfileVersionRulesRole', + 'Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment', + 'Remove-AzHost', 'Remove-AzHostGroup', 'Remove-AzImage', + 'Remove-AzImageDataDisk', 'Remove-AzProximityPlacementGroup', + 'Remove-AzRestorePoint', 'Remove-AzRestorePointCollection', + 'Remove-AzSnapshot', 'Remove-AzSshKey', 'Remove-AzVM', + 'Remove-AzVMAccessExtension', 'Remove-AzVMAEMExtension', + 'Remove-AzVMBackup', 'Remove-AzVMChefExtension', + 'Remove-AzVMCustomScriptExtension', 'Remove-AzVMDataDisk', + 'Remove-AzVMDiagnosticsExtension', 'Remove-AzVMDiskEncryptionExtension', 'Remove-AzVMDscExtension', 'Remove-AzVMExtension', 'Remove-AzVmGalleryApplication', 'Remove-AzVMNetworkInterface', 'Remove-AzVMSecret', @@ -164,13 +180,13 @@ CmdletsToExport = 'Add-AzImageDataDisk', 'Add-AzVhd', 'Remove-AzVmssDataDisk', 'Remove-AzVmssDiagnosticsExtension', 'Remove-AzVmssExtension', 'Remove-AzVmssGalleryApplication', 'Remove-AzVmssNetworkInterfaceConfiguration', - 'Remove-AzVmssRunCommand', 'Remove-AzVmssVMDataDisk', - 'Repair-AzVmssServiceFabricUpdateDomain', 'Restart-AzHost', - 'Restart-AzVM', 'Restart-AzVmss', 'Revoke-AzDiskAccess', - 'Revoke-AzSnapshotAccess', 'Save-AzVhd', 'Save-AzVMImage', - 'Set-AzDiskDiskEncryptionKey', 'Set-AzDiskImageReference', - 'Set-AzDiskKeyEncryptionKey', 'Set-AzDiskSecurityProfile', - 'Set-AzDiskUpdateDiskEncryptionKey', + 'Remove-AzVmssRunCommand', 'Remove-AzVmssSkuProfileVMSize', + 'Remove-AzVmssVMDataDisk', 'Repair-AzVmssServiceFabricUpdateDomain', + 'Restart-AzHost', 'Restart-AzVM', 'Restart-AzVmss', + 'Revoke-AzDiskAccess', 'Revoke-AzSnapshotAccess', 'Save-AzVhd', + 'Save-AzVMImage', 'Set-AzDiskDiskEncryptionKey', + 'Set-AzDiskImageReference', 'Set-AzDiskKeyEncryptionKey', + 'Set-AzDiskSecurityProfile', 'Set-AzDiskUpdateDiskEncryptionKey', 'Set-AzDiskUpdateKeyEncryptionKey', 'Set-AzImageOsDisk', 'Set-AzSnapshotDiskEncryptionKey', 'Set-AzSnapshotImageReference', 'Set-AzSnapshotKeyEncryptionKey', @@ -183,41 +199,26 @@ CmdletsToExport = 'Add-AzImageDataDisk', 'Add-AzVhd', 'Set-AzVMDataDisk', 'Set-AzVMDiagnosticsExtension', 'Set-AzVMDiskEncryptionExtension', 'Set-AzVMDscExtension', 'Set-AzVMExtension', 'Set-AzVMOperatingSystem', 'Set-AzVMOSDisk', - 'Set-AzVMPlan', 'Set-AzVMSecurityProfile', 'Set-AzVMSourceImage', + 'Set-AzVMPlan', 'Set-AzVMProxyAgentSetting', + 'Set-AzVMSecurityProfile', 'Set-AzVMSourceImage', 'Set-AzVMSqlServerExtension', 'Set-AzVmss', 'Set-AzVmssBootDiagnostic', 'Set-AzVmssDiskEncryptionExtension', 'Set-AzVmssOrchestrationServiceState', 'Set-AzVmssOsProfile', - 'Set-AzVmssRollingUpgradePolicy', 'Set-AzVmssSecurityProfile', - 'Set-AzVmssStorageProfile', 'Set-AzVmssUefi', 'Set-AzVmssVM', - 'Set-AzVMUefi', 'Start-AzVM', 'Start-AzVmss', - 'Start-AzVmssRollingExtensionUpgrade', + 'Set-AzVmssProxyAgentSetting', 'Set-AzVmssRollingUpgradePolicy', + 'Set-AzVmssSecurityProfile', 'Set-AzVmssStorageProfile', + 'Set-AzVmssUefi', 'Set-AzVmssVM', 'Set-AzVMUefi', 'Start-AzVM', + 'Start-AzVmss', 'Start-AzVmssRollingExtensionUpgrade', 'Start-AzVmssRollingOSUpgrade', 'Stop-AzVM', 'Stop-AzVmss', 'Stop-AzVmssRollingUpgrade', 'Test-AzVMAEMExtension', 'Update-AzAvailabilitySet', 'Update-AzCapacityReservation', 'Update-AzCapacityReservationGroup', 'Update-AzDisk', 'Update-AzDiskEncryptionSet', 'Update-AzGallery', 'Update-AzGalleryImageDefinition', 'Update-AzGalleryImageVersion', - 'Update-AzHost', 'Update-AzImage', 'Update-AzRestorePointCollection', - 'Update-AzSnapshot', 'Update-AzSshKey', 'Update-AzVM', 'Update-AzVmss', - 'Update-AzVmssInstance', 'Update-AzVmssVM', - 'New-AzGalleryInVMAccessControlProfile', - 'Remove-AzGalleryInVMAccessControlProfile', - 'Get-AzGalleryInVMAccessControlProfile', - 'New-AzGalleryInVMAccessControlProfileVersion', - 'New-AzGalleryInVMAccessControlProfileVersionConfig', - 'Remove-AzGalleryInVMAccessControlProfileVersion', - 'Get-AzGalleryInVMAccessControlProfileVersion', - 'Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege', - 'Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege', - 'Add-AzGalleryInVMAccessControlProfileVersionRulesRole', - 'Remove-AzGalleryInVmAccessControlProfileVersionRulesRole', - 'Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity', - 'Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity', - 'Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment', - 'Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment', - 'Update-AzGalleryInVMAccessControlProfileVersion', 'Update-AzGalleryInVMAccessControlProfile', - 'Set-AzVMProxyAgentSetting', 'Set-AzVmssProxyAgentSetting' + 'Update-AzGalleryInVMAccessControlProfileVersion', 'Update-AzHost', + 'Update-AzImage', 'Update-AzRestorePointCollection', + 'Update-AzSnapshot', 'Update-AzSshKey', 'Update-AzVM', 'Update-AzVmss', + 'Update-AzVmssInstance', 'Update-AzVmssVM' # Variables to export from this module # VariablesToExport = @() @@ -243,7 +244,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','Compute','IAAS','VM','VirtualMachine' + Tags = 'Azure', 'ResourceManager', 'ARM', 'Compute', 'IAAS', 'VM', 'VirtualMachine' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -278,7 +279,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md index a236b11dde01..fadc17591ea5 100644 --- a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md +++ b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md @@ -16,7 +16,7 @@ Adds a Rules Identity to a PSGalleryInVmAccessControlProfileVersion object. Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion -IdentityName [-UserName ] [-GroupName ] [-ExePath ] [-ProcessName ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -29,7 +29,7 @@ The **Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity** cmdlet adds a $inVMAccessControlProfileVersion = New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myProfileVersion" -Location "West US 2" -Mode "Audit" -DefaultAccess "Deny" -TargetLocation @("West US 2") Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA" -UserName "SYSTEM" -GroupName "Administrators" -ExePath "C:\Windows\System32\cscript.exe" -ProcessName "cscript" -Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA2" -UserName "SYSTEM" -GroupName "Administrators" -ExePath "C:\Windows\System32\cscript.exe" -ProcessName "cscript" +Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA2" -UserName "SYSTEM" -GroupName "Administrators" -ExePath "C:\Windows\System32\cscript.exe" -ProcessName "cscript" ``` Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two rule identities. @@ -40,7 +40,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two ru The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -55,7 +55,7 @@ Accept wildcard characters: False The path to the executable. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -70,7 +70,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -85,7 +85,7 @@ Accept wildcard characters: False The groupName corresponding to this identity. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -100,7 +100,7 @@ Accept wildcard characters: False The name of the identity. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name @@ -115,7 +115,7 @@ Accept wildcard characters: False The process name of the executable. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -126,26 +126,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -UserName The username corresponding to this identity. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: diff --git a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md index c9a1ebd35eaf..0cd5d611945b 100644 --- a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md +++ b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md @@ -16,7 +16,7 @@ Adds a Rules Privilege to a PSGalleryInVmAccessControlProfileVersion object. Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege -GalleryInVmAccessControlProfileVersion -PrivilegeName -Path [-QueryParameter ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ## DESCRIPTION @@ -29,7 +29,7 @@ The **Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege** cmdlet adds a $inVMAccessControlProfileVersion = New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myProfileVersion" -Location "West US 2" -Mode "Audit" -DefaultAccess "Deny" -TargetLocation @("West US 2") Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -PrivilegeName "GoalState" -Path "/machine" -QueryParameter @{ comp = "goalstate" } -Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -PrivilegeName "GoalState2" -Path "/machine" -QueryParameter @{ comp = "goalstate" } +Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -PrivilegeName "GoalState2" -Path "/machine" -QueryParameter @{ comp = "goalstate" } ``` Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two rule privileges. @@ -40,7 +40,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two ru The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -55,7 +55,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -70,7 +70,7 @@ Accept wildcard characters: False The HTTP path corresponding to the privilege. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -85,7 +85,7 @@ Accept wildcard characters: False The name of the privilege. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name @@ -96,26 +96,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -QueryParameter The query parameters to match in the path. ```yaml -Type: Hashtable +Type: System.Collections.Hashtable Parameter Sets: (All) Aliases: diff --git a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRole.md b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRole.md index 68d66169c805..04a322cd8ec6 100644 --- a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRole.md +++ b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRole.md @@ -15,7 +15,7 @@ Adds a Rules Role to a PSGalleryInVmAccessControlProfileVersion object. ``` Add-AzGalleryInVMAccessControlProfileVersionRulesRole -GalleryInVmAccessControlProfileVersion -RoleName - -Privilege [-DefaultProfile ] [-ProgressAction ] + -Privilege [-DefaultProfile ] [] ``` @@ -29,7 +29,7 @@ The **Add-AzGalleryInVMAccessControlProfileVersionRulesRole** cmdlet adds a Rule $inVMAccessControlProfileVersion = New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myProfileVersion" -Location "West US 2" -Mode "Audit" -DefaultAccess "Deny" -TargetLocation @("West US 2") Add-AzGalleryInVMAccessControlProfileVersionRulesRole -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -RoleName "Provisioning" -Privilege @("GoalState") -Add-AzGalleryInVMAccessControlProfileVersionRulesRole -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -RoleName "Provisioning2" -Privilege @("GoalState") +Add-AzGalleryInVMAccessControlProfileVersionRulesRole -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -RoleName "Provisioning2" -Privilege @("GoalState") ``` Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two rule roles. @@ -40,7 +40,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two ru The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -55,7 +55,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -70,7 +70,7 @@ Accept wildcard characters: False A list of privileges needed by this role. ```yaml -Type: String[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -81,26 +81,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleName The name of the role. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name diff --git a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md index 76411a5a48a1..d24556b00657 100644 --- a/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md +++ b/src/Compute/Compute/help/Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md @@ -15,7 +15,7 @@ Adds a Rules Role Assignment to a PSGalleryInVmAccessControlProfileVersion objec ``` Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion -Role - -Identity [-DefaultProfile ] [-ProgressAction ] + -Identity [-DefaultProfile ] [] ``` @@ -29,7 +29,7 @@ The **Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment** cmdlet a $inVMAccessControlProfileVersion = New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myProfileVersion" -Location "West US 2" -Mode "Audit" -DefaultAccess "Deny" -TargetLocation @("West US 2") Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning" -Identity @("WinPA") -Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning2" -Identity @("WinPA") +Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning2" -Identity @("WinPA") ``` Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two rule role assignments. @@ -40,7 +40,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, then add two ru The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -55,7 +55,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -70,7 +70,7 @@ Accept wildcard characters: False A list of identities that can access the privileges defined by the role. ```yaml -Type: String[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -81,26 +81,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Role The name of the role. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: diff --git a/src/Compute/Compute/help/Add-AzVmssSkuProfileVMSize.md b/src/Compute/Compute/help/Add-AzVmssSkuProfileVMSize.md index 5308ead22d30..c8a5fc4c8456 100644 --- a/src/Compute/Compute/help/Add-AzVmssSkuProfileVMSize.md +++ b/src/Compute/Compute/help/Add-AzVmssSkuProfileVMSize.md @@ -14,9 +14,9 @@ Add a VM size into VMSS Sku Profile for VMSS Instance Mix. ## SYNTAX ``` -Add-AzVmssSkuProfileVMSize [-VirtualMachineScaleSet] [-VmSize] - [[-Rank] ] [[-AllocationStrategy] ] [-DefaultProfile ] [-WhatIf] - [-Confirm] [] +Add-AzVmssSkuProfileVMSize -VirtualMachineScaleSet -VmSize [-Rank ] + [-AllocationStrategy ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -38,12 +38,12 @@ Retrieve the VMSS and add a new VM size "Standard_D4s_v4" with rank 1 to the VMS LowestPrice, CapacityOptimized, or Prioritized ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Required: False -Position: 3 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False @@ -53,7 +53,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -68,12 +68,12 @@ Accept wildcard characters: False Between 0 and the number of VM sizes in the Sku Profile ```yaml -Type: Int32 +Type: System.Nullable`1[System.Int32] Parameter Sets: (All) Aliases: Required: False -Position: 2 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False @@ -83,12 +83,12 @@ Accept wildcard characters: False VMSS object ```yaml -Type: PSVirtualMachineScaleSet +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet Parameter Sets: (All) Aliases: Required: True -Position: 0 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False @@ -98,12 +98,12 @@ Accept wildcard characters: False Valid VM size ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False @@ -113,7 +113,7 @@ Accept wildcard characters: False Prompts you for confirmation before running the cmdlet. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: cf @@ -129,7 +129,7 @@ Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: wi @@ -159,4 +159,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[VMSS Instance Mix](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/instance-mix-overview) \ No newline at end of file +[VMSS Instance Mix](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/instance-mix-overview) diff --git a/src/Compute/Compute/help/Az.Compute.md b/src/Compute/Compute/help/Az.Compute.md index 552a075e9342..e9422ce12fab 100644 --- a/src/Compute/Compute/help/Az.Compute.md +++ b/src/Compute/Compute/help/Az.Compute.md @@ -11,6 +11,18 @@ Locale: en-US This topic displays the help topics for the Azure Compute Cmdlets. ## Az.Compute Cmdlets +### [Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity](Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md) +Adds a Rules Identity to a PSGalleryInVmAccessControlProfileVersion object. + +### [Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege](Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md) +Adds a Rules Privilege to a PSGalleryInVmAccessControlProfileVersion object. + +### [Add-AzGalleryInVMAccessControlProfileVersionRulesRole](Add-AzGalleryInVMAccessControlProfileVersionRulesRole.md) +Adds a Rules Role to a PSGalleryInVmAccessControlProfileVersion object. + +### [Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment](Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md) +Adds a Rules Role Assignment to a PSGalleryInVmAccessControlProfileVersion object. + ### [Add-AzImageDataDisk](Add-AzImageDataDisk.md) Adds a data disk to an image object. @@ -125,6 +137,12 @@ Get or list gallery image definitions. ### [Get-AzGalleryImageVersion](Get-AzGalleryImageVersion.md) Get or list gallery image versions. +### [Get-AzGalleryInVMAccessControlProfile](Get-AzGalleryInVMAccessControlProfile.md) +Gets the specified gallery inVMAccessControlProfile or a list of gallery inVMAccessControlProfiles from the specified gallery. + +### [Get-AzGalleryInVMAccessControlProfileVersion](Get-AzGalleryInVMAccessControlProfileVersion.md) +Gets the specified version of a gallery inVMAccessControlProfile or a list of versions from the specified gallery inVMAccessControlProfile. + ### [Get-AzHost](Get-AzHost.md) Get or list hosts. @@ -314,6 +332,15 @@ Create a gallery image definition. ### [New-AzGalleryImageVersion](New-AzGalleryImageVersion.md) Create a gallery image version. +### [New-AzGalleryInVMAccessControlProfile](New-AzGalleryInVMAccessControlProfile.md) +Creates a new gallery inVMAccessControlProfile. + +### [New-AzGalleryInVMAccessControlProfileVersion](New-AzGalleryInVMAccessControlProfileVersion.md) +Creates a new version of a gallery inVMAccessControlProfile. + +### [New-AzGalleryInVMAccessControlProfileVersionConfig](New-AzGalleryInVMAccessControlProfileVersionConfig.md) +Creates a local PSGalleryInVmAccessControlProfileVersion object. + ### [New-AzHost](New-AzHost.md) Creates a host. @@ -422,6 +449,24 @@ Delete a gallery image definition. ### [Remove-AzGalleryImageVersion](Remove-AzGalleryImageVersion.md) Delete a gallery image version. +### [Remove-AzGalleryInVMAccessControlProfile](Remove-AzGalleryInVMAccessControlProfile.md) +Removes a gallery inVMAccessControlProfile. + +### [Remove-AzGalleryInVMAccessControlProfileVersion](Remove-AzGalleryInVMAccessControlProfileVersion.md) +Removes a specific version of a gallery inVMAccessControlProfile. + +### [Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity](Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md) +Removes a Rules Identity from a PSGalleryInVmAccessControlProfileVersion object. + +### [Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege](Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md) +Removes a Rules Privilege from a PSGalleryInVmAccessControlProfileVersion object. + +### [Remove-AzGalleryInVMAccessControlProfileVersionRulesRole](Remove-AzGalleryInVMAccessControlProfileVersionRulesRole.md) +Removes a Rules Role from a PSGalleryInVmAccessControlProfileVersion object. + +### [Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment](Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md) +Removes a Rules Role Assignment from a PSGalleryInVmAccessControlProfileVersion object. + ### [Remove-AzHost](Remove-AzHost.md) Removes a host. @@ -438,7 +483,7 @@ Removes a data disk from an image object. Delete Proximity Placement Group resource. ### [Remove-AzRestorePoint](Remove-AzRestorePoint.md) -This cmdlet can remove a Restore Point +This cmdlet can remove a Restore Point ### [Remove-AzRestorePointCollection](Remove-AzRestorePointCollection.md) This Cmdlet can remove Restore Point Collection @@ -638,8 +683,11 @@ Sets the operating system disk properties on a virtual machine. ### [Set-AzVMPlan](Set-AzVMPlan.md) Sets the Marketplace plan information on a virtual machine. +### [Set-AzVMProxyAgentSetting](Set-AzVMProxyAgentSetting.md) +Sets the Proxy Agent settings properties for a PSVirtualMachine object. + ### [Set-AzVMRunCommand](Set-AzVMRunCommand.md) -The operation to create or update the run command. +The operation to update the run command. ### [Set-AzVMSecurityProfile](Set-AzVMSecurityProfile.md) Sets the SecurityType enum for Virtual Machines. @@ -665,6 +713,9 @@ Sets the orchestration service state for the VMSS. ### [Set-AzVmssOsProfile](Set-AzVmssOsProfile.md) Sets the VMSS operating system profile properties. +### [Set-AzVmssProxyAgentSetting](Set-AzVmssProxyAgentSetting.md) +Sets the Proxy Agent settings properties for a PSVirtualMachineScaleSet object. + ### [Set-AzVmssRollingUpgradePolicy](Set-AzVmssRollingUpgradePolicy.md) Sets the VMSS rolling upgrade policy properties. @@ -681,7 +732,7 @@ Modifies UEFI properties of gen 2 virtual machines that are part of virtual mach Modifies the state of a VMSS instance. ### [Set-AzVmssVMRunCommand](Set-AzVmssVMRunCommand.md) -The operation to create or update the VMSS VM run command. +The operation to update the VMSS VM run command. ### [Set-AzVMUefi](Set-AzVMUefi.md) Modifies UEFI properties of a gen 2 virtual machine @@ -693,7 +744,7 @@ Starts an Azure virtual machine. Starts the VMSS or a set of virtual machines within the VMSS. ### [Start-AzVmssRollingExtensionUpgrade](Start-AzVmssRollingExtensionUpgrade.md) -This cmdlet starts a rolling upgrade for all extensions on the given Virtual Machine Scale Set to the latest available version. +This cmdlet starts a rolling upgrade for all extensions on the given Virtual Machine Scale Set to the latest available version. ### [Start-AzVmssRollingOSUpgrade](Start-AzVmssRollingOSUpgrade.md) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. @@ -740,6 +791,12 @@ Update a gallery image definition. ### [Update-AzGalleryImageVersion](Update-AzGalleryImageVersion.md) Update a gallery image version. +### [Update-AzGalleryInVMAccessControlProfile](Update-AzGalleryInVMAccessControlProfile.md) +Updates a gallery inVMAccessControlProfile. + +### [Update-AzGalleryInVMAccessControlProfileVersion](Update-AzGalleryInVMAccessControlProfileVersion.md) +Updates a specific version of a gallery inVMAccessControlProfile. + ### [Update-AzHost](Update-AzHost.md) Updates the Dedicated Host. diff --git a/src/Compute/Compute/help/Get-AzComputeResourceSku.md b/src/Compute/Compute/help/Get-AzComputeResourceSku.md index 93062e39b9a7..a5f72e5c4d2a 100644 --- a/src/Compute/Compute/help/Get-AzComputeResourceSku.md +++ b/src/Compute/Compute/help/Get-AzComputeResourceSku.md @@ -36,6 +36,7 @@ Get-AzComputeResourceSku -Location "westus" | Where-Object { ([int]($_.Capabilities | Where-Object { $_.Name -eq 'vCPUs' }).Value) -le 4 } | Select-Object -ExpandProperty Name ``` + ```output Standard_A0 Standard_A1 diff --git a/src/Compute/Compute/help/Get-AzGalleryApplication.md b/src/Compute/Compute/help/Get-AzGalleryApplication.md index b8c9158f40c1..1550b73dea9d 100644 --- a/src/Compute/Compute/help/Get-AzGalleryApplication.md +++ b/src/Compute/Compute/help/Get-AzGalleryApplication.md @@ -25,6 +25,12 @@ Get-AzGalleryApplication -GalleryName -Name -ResourceGroupName [] ``` +### GetViaIdentityGallery +``` +Get-AzGalleryApplication -Name -GalleryInputObject [-DefaultProfile ] + [] +``` + ### GetViaIdentity ``` Get-AzGalleryApplication -InputObject [-DefaultProfile ] @@ -68,6 +74,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: GetViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery from which the Application Definitions are to be retrieved. @@ -85,7 +106,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -104,7 +124,7 @@ The name of the gallery Application Definition to be retrieved. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityGallery Aliases: GalleryApplicationName Required: True @@ -154,7 +174,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication ## NOTES diff --git a/src/Compute/Compute/help/Get-AzGalleryApplicationVersion.md b/src/Compute/Compute/help/Get-AzGalleryApplicationVersion.md index d3e8648a9ce0..f63ccfd20b01 100644 --- a/src/Compute/Compute/help/Get-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute/help/Get-AzGalleryApplicationVersion.md @@ -19,17 +19,30 @@ Get-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ] ``` +### GetViaIdentityGallery +``` +Get-AzGalleryApplicationVersion -GalleryApplicationName -Name + -GalleryInputObject [-Expand ] [-DefaultProfile ] + [] +``` + ### Get ``` Get-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name - -ResourceGroupName [-SubscriptionId ] [-Expand ] + -ResourceGroupName [-SubscriptionId ] [-Expand ] [-DefaultProfile ] + [] +``` + +### GetViaIdentityApplication +``` +Get-AzGalleryApplicationVersion -Name -ApplicationInputObject [-Expand ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` -Get-AzGalleryApplicationVersion -InputObject [-Expand ] - [-DefaultProfile ] [] +Get-AzGalleryApplicationVersion -InputObject [-Expand ] [-DefaultProfile ] + [] ``` ## DESCRIPTION @@ -53,6 +66,21 @@ Retrieve all the Gallery Application Version resources in the provided Resource ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: GetViaIdentityApplication +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -73,8 +101,8 @@ Accept wildcard characters: False The expand expression to apply on the operation. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationStatusTypes -Parameter Sets: Get, GetViaIdentity +Type: System.String +Parameter Sets: GetViaIdentityGallery, Get, GetViaIdentityApplication, GetViaIdentity Aliases: Required: False @@ -89,7 +117,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: List, Get +Parameter Sets: List, GetViaIdentityGallery, Get Aliases: Required: True @@ -99,6 +127,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: GetViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition resides. @@ -116,7 +159,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -135,7 +177,7 @@ The name of the gallery Application Version to be retrieved. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: GetViaIdentityGallery, Get, GetViaIdentityApplication Aliases: GalleryApplicationVersionName Required: True @@ -185,7 +227,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfile.md b/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfile.md index 5cff060bd182..a3a6600c95fb 100644 --- a/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfile.md +++ b/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfile.md @@ -16,13 +16,13 @@ Gets the specified gallery inVMAccessControlProfile or a list of gallery inVMAcc ``` Get-AzGalleryInVMAccessControlProfile -ResourceGroupName -GalleryName [-GalleryInVMAccessControlProfileName ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### ResourceIdParameter ``` Get-AzGalleryInVMAccessControlProfile [-ResourceId] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ## DESCRIPTION @@ -39,7 +39,7 @@ Gets the specified gallery inVMAccessControlProfile named "myProfile" from the g ### Example 2 ```powershell -Get-AzGalleryInVMAccessControlProfile -ResourceGroupName "myResourceGroup" -GalleryName "myGallery" +Get-AzGalleryInVMAccessControlProfile -ResourceGroupName "myResourceGroup" -GalleryName "myGallery" ``` Gets the list of all gallery inVMAccessControlProfiles from the gallery "myGallery" in the resource group "myResourceGroup". @@ -50,7 +50,7 @@ Gets the list of all gallery inVMAccessControlProfiles from the gallery "myGalle The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -65,7 +65,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: Name @@ -80,7 +80,7 @@ Accept wildcard characters: False The name of the gallery. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -91,26 +91,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -125,7 +110,7 @@ Accept wildcard characters: False {{ Fill ResourceId Description }} ```yaml -Type: String +Type: System.String Parameter Sets: ResourceIdParameter Aliases: diff --git a/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfileVersion.md b/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfileVersion.md index 647be6fa5881..b982360c5582 100644 --- a/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfileVersion.md +++ b/src/Compute/Compute/help/Get-AzGalleryInVMAccessControlProfileVersion.md @@ -16,13 +16,13 @@ Gets the specified version of a gallery inVMAccessControlProfile or a list of ve ``` Get-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName -GalleryName -GalleryInVMAccessControlProfileName [-GalleryInVMAccessControlProfileVersionName ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ### ResourceIdParameter ``` Get-AzGalleryInVMAccessControlProfileVersion [-ResourceId] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ## DESCRIPTION @@ -50,7 +50,7 @@ Gets the list of all versions of the gallery inVMAccessControlProfile from the g The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -65,7 +65,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -80,7 +80,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile Version. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: Name @@ -95,7 +95,7 @@ Accept wildcard characters: False The name of the gallery. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -106,26 +106,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -140,7 +125,7 @@ Accept wildcard characters: False {{ Fill ResourceId Description }} ```yaml -Type: String +Type: System.String Parameter Sets: ResourceIdParameter Aliases: diff --git a/src/Compute/Compute/help/Get-AzVMImage.md b/src/Compute/Compute/help/Get-AzVMImage.md index 5528972e4337..a41bdafbde33 100644 --- a/src/Compute/Compute/help/Get-AzVMImage.md +++ b/src/Compute/Compute/help/Get-AzVMImage.md @@ -23,7 +23,7 @@ Get-AzVMImage -Location [-EdgeZone ] -PublisherName -O ### GetVMImageDetail ``` Get-AzVMImage -Location [-EdgeZone ] -PublisherName -Offer -Skus - -Version [-DefaultProfile ] + -Version [-Expand ] [-DefaultProfile ] [] ``` @@ -47,7 +47,6 @@ Version Location PublisherName HyperVGeneration Architecture 26100.3194.250210 centralus MicrosoftWindowsServer 26100.3476.250306 centralus MicrosoftWindowsServer 26100.3775.250406 centralus MicrosoftWindowsServer - ``` This command gets all the versions of VMImage that match the specified values. @@ -155,7 +154,7 @@ The expand expression to apply on the operation. Possible values are: 'propertie ```yaml Type: System.String -Parameter Sets: ListVMImage +Parameter Sets: (All) Aliases: Required: False diff --git a/src/Compute/Compute/help/Get-AzVMSize.md b/src/Compute/Compute/help/Get-AzVMSize.md index 3da9dec95599..1da704599697 100644 --- a/src/Compute/Compute/help/Get-AzVMSize.md +++ b/src/Compute/Compute/help/Get-AzVMSize.md @@ -32,7 +32,6 @@ For listing available VM sizes by subscription or location, use instead [Get-AzC ## EXAMPLES - ### Example 1: Get sizes for an availability set ```powershell Get-AzVMSize -ResourceGroupName "ResourceGroup03" -AvailabilitySetName "AvailabilitySet17" diff --git a/src/Compute/Compute/help/Invoke-AzSpotPlacementScore.md b/src/Compute/Compute/help/Invoke-AzSpotPlacementScore.md index f032d8c4ab1e..92125b6e00f3 100644 --- a/src/Compute/Compute/help/Invoke-AzSpotPlacementScore.md +++ b/src/Compute/Compute/help/Invoke-AzSpotPlacementScore.md @@ -19,6 +19,18 @@ Invoke-AzSpotPlacementScore -Location [-SubscriptionId ] [-Avai [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### PostViaJsonString +``` +Invoke-AzSpotPlacementScore -Location [-SubscriptionId ] -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### PostViaJsonFilePath +``` +Invoke-AzSpotPlacementScore -Location [-SubscriptionId ] -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ### Post ``` Invoke-AzSpotPlacementScore -Location [-SubscriptionId ] @@ -262,10 +274,9 @@ Accept wildcard characters: False ### -DesiredSize The desired resource SKUs. -To construct, see NOTES section for DESIREDSIZE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.IResourceSize[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize[] Parameter Sets: PostExpanded, PostViaIdentityExpanded Aliases: @@ -278,7 +289,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -292,12 +302,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Post operation + +```yaml +Type: System.String +Parameter Sets: PostViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Post operation + +```yaml +Type: System.String +Parameter Sets: PostViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The name of the Azure region. ```yaml Type: System.String -Parameter Sets: PostExpanded, Post +Parameter Sets: PostExpanded, PostViaJsonString, PostViaJsonFilePath, Post Aliases: Required: True @@ -309,10 +349,9 @@ Accept wildcard characters: False ### -SpotPlacementScoresInput SpotPlacementScores API Input. -To construct, see NOTES section for SPOTPLACEMENTSCORESINPUT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementScoresInput +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresInput Parameter Sets: Post, PostViaIdentity Aliases: SpotPlacementRecommenderInput @@ -329,7 +368,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: PostExpanded, Post +Parameter Sets: PostExpanded, PostViaJsonString, PostViaJsonFilePath, Post Aliases: Required: False @@ -375,13 +414,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementScoresInput - ### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresInput + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementScoresResponse +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresResponse ## NOTES diff --git a/src/Compute/Compute/help/New-AzGalleryApplication.md b/src/Compute/Compute/help/New-AzGalleryApplication.md index e6b8f87b0bcb..935a00265d09 100644 --- a/src/Compute/Compute/help/New-AzGalleryApplication.md +++ b/src/Compute/Compute/help/New-AzGalleryApplication.md @@ -12,13 +12,28 @@ Create or update a gallery Application Definition. ## SYNTAX +### CreateExpanded (Default) ``` New-AzGalleryApplication -GalleryName -Name -ResourceGroupName - [-SubscriptionId ] -Location -SupportedOSType [-Description ] + [-SubscriptionId ] -Location -SupportedOSType [-Description ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonString +``` +New-AzGalleryApplication -GalleryName -Name -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzGalleryApplication -GalleryName -Name -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Create or update a gallery Application Definition. @@ -49,7 +64,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -69,7 +85,7 @@ This property is updatable. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -94,12 +110,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -176,15 +222,15 @@ Accept wildcard characters: False This property allows you to specify the supported type of the OS that application is built for. - Possible values are: + Possible values are: - **Windows** + **Windows** **Linux** ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: True @@ -199,7 +245,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -247,7 +293,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication ## NOTES diff --git a/src/Compute/Compute/help/New-AzGalleryApplicationVersion.md b/src/Compute/Compute/help/New-AzGalleryApplicationVersion.md index a46c5aa120b9..c1d1e2464b29 100644 --- a/src/Compute/Compute/help/New-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute/help/New-AzGalleryApplicationVersion.md @@ -12,6 +12,7 @@ Create or update a gallery Application Version. ## SYNTAX +### CreateExpanded (Default) ``` New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name -ResourceGroupName [-SubscriptionId ] -Location -Install -Remove @@ -22,6 +23,20 @@ New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ] ``` +### CreateViaJsonString +``` +New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Create or update a gallery Application Version. @@ -66,7 +81,7 @@ If not specified, the config file will be named the Gallery Application name app ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -82,7 +97,7 @@ The defaultConfigurationLink of the artifact, must be a readable storage page bl ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -93,7 +108,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -144,7 +160,37 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString Aliases: Required: True @@ -159,7 +205,7 @@ Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -208,7 +254,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -226,7 +272,7 @@ If not specified, the package file will be named the same as the Gallery Applica ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -243,7 +289,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -258,7 +304,7 @@ If set to true, Virtual Machines deployed from the latest version of the Image D ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -275,7 +321,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -292,7 +338,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -338,7 +384,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -351,11 +397,10 @@ Accept wildcard characters: False ### -TargetRegion The target regions where the Image Version is going to be replicated to. This property is updatable. -To construct, see NOTES section for TARGETREGION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -373,7 +418,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -421,7 +466,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute/help/New-AzGalleryImageVersion.md b/src/Compute/Compute/help/New-AzGalleryImageVersion.md index dfb9bfe49f40..ddc311bc6ac1 100644 --- a/src/Compute/Compute/help/New-AzGalleryImageVersion.md +++ b/src/Compute/Compute/help/New-AzGalleryImageVersion.md @@ -19,9 +19,9 @@ New-AzGalleryImageVersion [-ResourceGroupName] [-GalleryName] [-DataDiskImage ] [-OSDiskImage ] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-SourceImageId ] [-SourceImageVMId ] [-StorageAccountType ] [-Tag ] - [-TargetRegion ] [-TargetExtendedLocation ] - [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-TargetRegion ] [-TargetExtendedLocation ] [-BlockDeletionBeforeEndOfLife] + [-ReplicationMode ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -302,6 +302,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -BlockDeletionBeforeEndOfLife +This boolean will be passed by the customers to enable their GalleryImageVersion resources from accidental deletions. If this boolean is set to true, the image deletions will be blocked before its EndOfLife date. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -DataDiskImage Data disk images. e.g. @{Source = @{Id = }; Lun = 1; SizeInGB = 100; HostCaching = "ReadOnly" } @@ -462,6 +477,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -ReplicationMode +To achieve parity with managed images, the Gallery service allows customers to designate an image version as being used for 'testing' by choosing ReplicationMode = Shallow. When choosing Shallow replication, the gallery image version is provisioned much quicker as a full copy of the source image is not made. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. diff --git a/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfile.md b/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfile.md index c221d9f7d57b..c949d3a1ac41 100644 --- a/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfile.md +++ b/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfile.md @@ -16,7 +16,7 @@ Creates a new gallery inVMAccessControlProfile. New-AzGalleryInVMAccessControlProfile -ResourceGroupName -GalleryName -GalleryInVMAccessControlProfileName -Location -OsType -ApplicableHostEndPoint [-Description ] [-DefaultProfile ] - [-ProgressAction ] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -37,7 +37,7 @@ Creates a new gallery inVMAccessControlProfile. This property allows you to specify the Endpoint type for which this profile is defining the access control for. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -52,7 +52,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -68,7 +68,7 @@ The description of this gallery inVMAccessControlProfile resource. This property is updatable. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -83,7 +83,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name @@ -98,7 +98,7 @@ Accept wildcard characters: False The name of the gallery. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -113,7 +113,7 @@ Accept wildcard characters: False The location of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +128,7 @@ Accept wildcard characters: False This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -139,13 +139,28 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} +### -ResourceGroupName +The name of the resource group. ```yaml -Type: ActionPreference +Type: System.String Parameter Sets: (All) -Aliases: proga +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf Required: False Position: Named @@ -154,18 +169,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ResourceGroupName -The name of the resource group. +### -WhatIf +Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: wi -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersion.md b/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersion.md index a9cd0f24a9d0..829c872931eb 100644 --- a/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersion.md +++ b/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersion.md @@ -16,7 +16,8 @@ Creates a new version of a gallery inVMAccessControlProfile. New-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName -GalleryName -GalleryInVMAccessControlProfileName -GalleryInVmAccessControlProfileVersion - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -29,7 +30,7 @@ This cmdlet takes in PSGalleryInVMAccessControlProfileVersion object created fro ### Example 1 ```powershell -New-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName "myResourceGroup" -GalleryName "myGallery" -GalleryInVMAccessControlProfileName "myProfile" -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion +New-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName "myResourceGroup" -GalleryName "myGallery" -GalleryInVMAccessControlProfileName "myProfile" -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion ``` Creates a version of a gallery inVMAccessControlProfile. @@ -58,7 +59,7 @@ Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessCont Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning" -Identity @("WinPA") # Create the gallery inVMAccessControlProfile version resource in Azure -New-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryInVMAccessControlProfileName $inVMAccessProfileName -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion +New-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryInVMAccessControlProfileName $inVMAccessProfileName -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion ``` Creates a complete InVM Access Control Profile setup by first creating a gallery and InVM Access Control Profile, then building a local profile version configuration with rules, and finally deploying it to Azure. @@ -69,7 +70,7 @@ Creates a complete InVM Access Control Profile setup by first creating a gallery The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -84,7 +85,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -99,7 +100,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -114,7 +115,7 @@ Accept wildcard characters: False The name of the gallery. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -125,13 +126,28 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} +### -ResourceGroupName +The name of the resource group. ```yaml -Type: ActionPreference +Type: System.String Parameter Sets: (All) -Aliases: proga +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf Required: False Position: Named @@ -140,18 +156,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ResourceGroupName -The name of the resource group. +### -WhatIf +Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: wi -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersionConfig.md b/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersionConfig.md index 34442ca99567..5a9aea4b70b6 100644 --- a/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersionConfig.md +++ b/src/Compute/Compute/help/New-AzGalleryInVMAccessControlProfileVersionConfig.md @@ -15,7 +15,7 @@ Creates a local PSGalleryInVmAccessControlProfileVersion object. ``` New-AzGalleryInVMAccessControlProfileVersionConfig -Name -Location -Mode -DefaultAccess -TargetLocation [-ExcludeFromLatest] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -28,7 +28,7 @@ which then can be used with the **[New-AzGalleryInVMAccessControlProfileVersion] ### Example 1 ```powershell -New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myProfileVersion" -Location "West US 2" -Mode "Audit" -DefaultAccess "Deny" -TargetLocation @("West US", "West US 2") -ExcludeFromLatest +New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myProfileVersion" -Location "West US 2" -Mode "Audit" -DefaultAccess "Deny" -TargetLocation @("West US", "West US 2") -ExcludeFromLatest ``` Creates a local PSGalleryInVmAccessControlProfileVersion object with the specified parameters. @@ -39,12 +39,11 @@ $CPVersionConfig = New-AzGalleryInVMAccessControlProfileVersionConfig -Name "myP | Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege -PrivilegeName "GoalState" -Path "/machine" -QueryParameter @{ comp = "goalstate" } ` | Add-AzGalleryInVMAccessControlProfileVersionRulesRole -RoleName "Provisioning" -Privilege @("GoalState") ` | Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -IdentityName "WinPA" -UserName "SYSTEM" -GroupName "Administrators" -ExePath "C:\Windows\System32\cscript.exe" -ProcessName "cscript" ` -| Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -Role "Provisioning" -Identity @("WinPA") +| Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -Role "Provisioning" -Identity @("WinPA") ``` Creates a local PSGalleryInVmAccessControlProfileVersion object then add rules. - ## PARAMETERS ### -DefaultAccess @@ -137,21 +136,6 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -TargetLocation The names of the target regions where the Resource Profile version is going to be replicated to. This property is updatable. diff --git a/src/Compute/Compute/help/New-AzRestorePointCollection.md b/src/Compute/Compute/help/New-AzRestorePointCollection.md index 6271b4576053..52e52202d4f8 100644 --- a/src/Compute/Compute/help/New-AzRestorePointCollection.md +++ b/src/Compute/Compute/help/New-AzRestorePointCollection.md @@ -23,7 +23,7 @@ New-AzRestorePointCollection [-ResourceGroupName] [-Name] [-So ``` New-AzRestorePointCollection [-ResourceGroupName] [-Name] [[-SourceId] ] [-RestorePointCollectionId] -Location [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/src/Compute/Compute/help/New-AzVM.md b/src/Compute/Compute/help/New-AzVM.md index d6f4fe119ab8..e388f5095f79 100644 --- a/src/Compute/Compute/help/New-AzVM.md +++ b/src/Compute/Compute/help/New-AzVM.md @@ -57,7 +57,7 @@ New-AzVM [[-ResourceGroupName] ] [[-Location] ] [-EdgeZone ] [-EvictionPolicy ] [-MaxPrice ] [-EncryptionAtHost] [-HostGroupId ] [-CapacityReservationGroupId ] [-UserData ] [-PlatformFaultDomain ] [-HibernationEnabled] [-vCPUCountAvailable ] [-vCPUCountPerCore ] - [-IfMatch ] [-IfNoneMatch ] [-DefaultProfile ] + [-IfMatch ] [-IfNoneMatch ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` diff --git a/src/Compute/Compute/help/New-AzVmssConfig.md b/src/Compute/Compute/help/New-AzVmssConfig.md index 1fd736ae7ff9..9570feb7496f 100644 --- a/src/Compute/Compute/help/New-AzVmssConfig.md +++ b/src/Compute/Compute/help/New-AzVmssConfig.md @@ -35,8 +35,8 @@ New-AzVmssConfig [[-Overprovision] ] [[-Location] ] [-EdgeZone [-EnableSecureBoot ] [-SecurityPostureId ] [-SecurityPostureExcludeExtension ] [-SkuProfileVmSize ] [-SkuProfileAllocationStrategy ] [-EnableResilientVMCreate] [-EnableResilientVMDelete] [-EnableAutomaticZoneRebalance] [-AutomaticZoneRebalanceStrategy ] - [-AutomaticZoneRebalanceBehavior ] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-AutomaticZoneRebalanceBehavior ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### ExplicitIdentityParameterSet @@ -62,8 +62,8 @@ New-AzVmssConfig [[-Overprovision] ] [[-Location] ] [-EdgeZone [-EnableSecureBoot ] [-SecurityPostureId ] [-SecurityPostureExcludeExtension ] [-SkuProfileVmSize ] [-SkuProfileAllocationStrategy ] [-EnableResilientVMCreate] [-EnableResilientVMDelete] [-EnableAutomaticZoneRebalance] [-AutomaticZoneRebalanceStrategy ] - [-AutomaticZoneRebalanceBehavior ] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-AutomaticZoneRebalanceBehavior ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/src/Compute/Compute/help/Remove-AzGalleryApplication.md b/src/Compute/Compute/help/Remove-AzGalleryApplication.md index 3f9cbf3e599c..24acfee28b5a 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryApplication.md +++ b/src/Compute/Compute/help/Remove-AzGalleryApplication.md @@ -19,6 +19,12 @@ Remove-AzGalleryApplication -GalleryName -Name -ResourceGroupN [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityGallery +``` +Remove-AzGalleryApplication -Name -GalleryInputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzGalleryApplication -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] @@ -32,7 +38,7 @@ Delete a gallery Application. ### Example 1: Remove a Gallery Application ```powershell -Remove-AzGalleryApplication -ResourceGroupName $rgName -GalleryName $galleryName -Name $name +Remove-AzGalleryApplication -ResourceGroupName $rgNmae -GalleryName $galleryName -Name $name ``` Delete a gallery application. @@ -70,6 +76,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition is to be deleted. @@ -87,7 +108,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -106,7 +126,7 @@ The name of the gallery Application Definition to be deleted. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityGallery Aliases: GalleryApplicationName Required: True diff --git a/src/Compute/Compute/help/Remove-AzGalleryApplicationVersion.md b/src/Compute/Compute/help/Remove-AzGalleryApplicationVersion.md index 9297b93ab38a..c5addc6f0bc4 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute/help/Remove-AzGalleryApplicationVersion.md @@ -19,6 +19,20 @@ Remove-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName [-PassThru] [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityGallery +``` +Remove-AzGalleryApplicationVersion -GalleryApplicationName -Name + -GalleryInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityApplication +``` +Remove-AzGalleryApplicationVersion -Name -ApplicationInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzGalleryApplicationVersion -InputObject [-DefaultProfile ] [-AsJob] @@ -32,13 +46,28 @@ Delete a gallery Application Version. ### Example 1: Remove a Gallery Application Version ```powershell -Remove-AzGalleryApplicationVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name +Remove-AzGalleryApplicationVersion -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name ``` Delete a gallery application version. ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityApplication +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -75,7 +104,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityGallery Aliases: Required: True @@ -85,6 +114,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityGallery +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition resides. @@ -102,7 +146,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -121,7 +164,7 @@ The name of the gallery Application Version to be deleted. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityGallery, DeleteViaIdentityApplication Aliases: GalleryApplicationVersionName Required: True diff --git a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfile.md b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfile.md index 7a91922b2051..c0e140233a27 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfile.md +++ b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfile.md @@ -16,20 +16,20 @@ Removes a gallery inVMAccessControlProfile. ``` Remove-AzGalleryInVMAccessControlProfile -ResourceGroupName -GalleryName -GalleryInVMAccessControlProfileName [-Force] [-AsJob] [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### ResourceIdParameter ``` Remove-AzGalleryInVMAccessControlProfile [-Force] -ResourceId [-AsJob] - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ObjectParameter ``` Remove-AzGalleryInVMAccessControlProfile [-Force] -InputObject [-AsJob] - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -40,7 +40,7 @@ The **Remove-AzGalleryInVMAccessControlProfile** cmdlet removes a gallery inVMAc ### Example 1 ```powershell -Remove-AzGalleryInVMAccessControlProfile -ResourceGroupName "myResourceGroup" -GalleryName "myGallery" -GalleryInVMAccessControlProfileName "myControlProfile" +Remove-AzGalleryInVMAccessControlProfile -ResourceGroupName "myResourceGroup" -GalleryName "myGallery" -GalleryInVMAccessControlProfileName "myControlProfile" ``` Delete the specified gallery inVMAccessControlProfile. @@ -51,7 +51,7 @@ Delete the specified gallery inVMAccessControlProfile. Run cmdlet in the background ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: @@ -66,7 +66,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -81,7 +81,7 @@ Accept wildcard characters: False Forces the command to run without asking for user confirmation. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: @@ -96,7 +96,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: Name @@ -111,7 +111,7 @@ Accept wildcard characters: False The name of the gallery. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -126,7 +126,7 @@ Accept wildcard characters: False The PS Gallery in VM Access Control Profile object ```yaml -Type: PSGalleryInVMAccessControlProfile +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfile Parameter Sets: ObjectParameter Aliases: GalleryInVMAccessControlProfile @@ -137,26 +137,11 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -171,7 +156,7 @@ Accept wildcard characters: False The resource ID for Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: ResourceIdParameter Aliases: @@ -186,7 +171,7 @@ Accept wildcard characters: False Prompts you for confirmation before running the cmdlet. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: cf @@ -202,7 +187,7 @@ Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: wi diff --git a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersion.md b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersion.md index b15e824920b0..d7432abfa40e 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersion.md +++ b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersion.md @@ -16,21 +16,21 @@ Removes a specific version of a gallery inVMAccessControlProfile. ``` Remove-AzGalleryInVMAccessControlProfileVersion -ResourceGroupName -GalleryName -GalleryInVMAccessControlProfileName -GalleryInVMAccessControlProfileVersionName [-Force] - [-AsJob] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ResourceIdParameter ``` Remove-AzGalleryInVMAccessControlProfileVersion [-Force] -ResourceId [-AsJob] - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ObjectParameter ``` Remove-AzGalleryInVMAccessControlProfileVersion [-Force] -InputObject - [-AsJob] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -52,7 +52,7 @@ Delete the specified gallery inVMAccessControlProfile version. Run cmdlet in the background ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: @@ -67,7 +67,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -82,7 +82,7 @@ Accept wildcard characters: False Forces the command to run without asking for user confirmation. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: @@ -97,7 +97,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -112,7 +112,7 @@ Accept wildcard characters: False The name of the Gallery In VM Access Control Profile Version. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: Name @@ -127,7 +127,7 @@ Accept wildcard characters: False The name of the gallery. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -142,7 +142,7 @@ Accept wildcard characters: False The PS Gallery in VM Access Control Profile object ```yaml -Type: PSGalleryInVMAccessControlProfile +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfile Parameter Sets: ObjectParameter Aliases: GalleryInVMAccessControlProfile @@ -153,26 +153,11 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. ```yaml -Type: String +Type: System.String Parameter Sets: DefaultParameter Aliases: @@ -187,7 +172,7 @@ Accept wildcard characters: False The resource ID for Gallery In VM Access Control Profile. ```yaml -Type: String +Type: System.String Parameter Sets: ResourceIdParameter Aliases: @@ -202,7 +187,7 @@ Accept wildcard characters: False Prompts you for confirmation before running the cmdlet. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: cf @@ -218,7 +203,7 @@ Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: wi diff --git a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md index 1ae0ed7d4b0d..be314cf4c530 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md +++ b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity.md @@ -15,7 +15,7 @@ Removes a Rules Identity from a PSGalleryInVmAccessControlProfileVersion object. ``` Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion -IdentityName - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -30,7 +30,7 @@ $inVMAccessControlProfileVersion = New-AzGalleryInVMAccessControlProfileVersion Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA" -UserName "SYSTEM" -GroupName "Administrators" -ExePath "C:\Windows\System32\cscript.exe" -ProcessName "cscript" Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA2" -UserName "SYSTEM" -GroupName "Administrators" -ExePath "C:\Windows\System32\cscript.exe" -ProcessName "cscript" -Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA2" +Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -IdentityName "WinPA2" ``` Creates a local PSGalleryInVMAccessControlProfileVersion object, add two rule identities, then remove the identity with name "WinPA2". @@ -41,7 +41,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, add two rule id The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -56,7 +56,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -71,7 +71,7 @@ Accept wildcard characters: False The name of the identity. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name @@ -82,21 +82,6 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md index 9e61b9217012..9fc4ccb25c51 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md +++ b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege.md @@ -15,7 +15,7 @@ Removes a Rules Privilege from a PSGalleryInVmAccessControlProfileVersion object ``` Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege -GalleryInVmAccessControlProfileVersion -PrivilegeName - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -41,7 +41,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, add two rule pr The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -56,7 +56,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -71,7 +71,7 @@ Accept wildcard characters: False The name of the privilege. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name @@ -82,21 +82,6 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRole.md b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRole.md index c137d0bb572c..95252172e103 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRole.md +++ b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRole.md @@ -15,7 +15,7 @@ Removes a Rules Role from a PSGalleryInVmAccessControlProfileVersion object. ``` Remove-AzGalleryInVMAccessControlProfileVersionRulesRole -GalleryInVmAccessControlProfileVersion -RoleName - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -41,7 +41,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, add two rule ro The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -56,7 +56,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -67,26 +67,11 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleName The name of the role. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Name diff --git a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md index 2b8e34f26c9a..f898f23a2661 100644 --- a/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md +++ b/src/Compute/Compute/help/Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment.md @@ -15,7 +15,7 @@ Removes a Rules Role Assignment from a PSGalleryInVmAccessControlProfileVersion ``` Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion -Role - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -30,7 +30,7 @@ $inVMAccessControlProfileVersion = New-AzGalleryInVMAccessControlProfileVersion Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning" -Identity @("WinPA") Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning2" -Identity @("WinPA") -Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning2" +Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment -GalleryInVmAccessControlProfileVersion $inVMAccessControlProfileVersion -Role "Provisioning2" ``` Creates a local PSGalleryInVMAccessControlProfileVersion object, add two rule role assignments, then remove the role assignment with role name "Provisioning2". @@ -41,7 +41,7 @@ Creates a local PSGalleryInVMAccessControlProfileVersion object, add two rule ro The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -56,7 +56,7 @@ Accept wildcard characters: False PSGalleryInVmAccessControlProfileVersion object created from New-AzGalleryInVMAccessControlProfileVersionConfig. ```yaml -Type: PSGalleryInVMAccessControlProfileVersion +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSGalleryInVMAccessControlProfileVersion Parameter Sets: (All) Aliases: @@ -67,26 +67,11 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Role The name of the role. ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: diff --git a/src/Compute/Compute/help/Remove-AzVMRunCommand.md b/src/Compute/Compute/help/Remove-AzVMRunCommand.md index e36cb1a27f52..c46b34b9233f 100644 --- a/src/Compute/Compute/help/Remove-AzVMRunCommand.md +++ b/src/Compute/Compute/help/Remove-AzVMRunCommand.md @@ -19,6 +19,13 @@ Remove-AzVMRunCommand -ResourceGroupName -RunCommandName [-Sub [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityVirtualMachine +``` +Remove-AzVMRunCommand -RunCommandName -VirtualMachineInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzVMRunCommand -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] @@ -72,7 +79,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -136,7 +142,7 @@ The name of the virtual machine run command. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVirtualMachine Aliases: Required: True @@ -162,6 +168,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VirtualMachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityVirtualMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VMName The name of the virtual machine where the run command should be deleted. diff --git a/src/Compute/Compute/help/Remove-AzVmssSkuProfileVMSize.md b/src/Compute/Compute/help/Remove-AzVmssSkuProfileVMSize.md index 9bed1118f6dd..87fe0372b9c6 100644 --- a/src/Compute/Compute/help/Remove-AzVmssSkuProfileVMSize.md +++ b/src/Compute/Compute/help/Remove-AzVmssSkuProfileVMSize.md @@ -14,8 +14,9 @@ Remove a VM size from VMSS Sku Profile for VMSS Instance Mix. ## SYNTAX ``` -Remove-AzVmssSkuProfileVMSize [-VirtualMachineScaleSet] [-VmSize] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] +Remove-AzVmssSkuProfileVMSize -VirtualMachineScaleSet -VmSize + [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -37,7 +38,7 @@ Retrieve the VMSS and remove the VM size "Standard_D4s_v4" from the Sku Profile. The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -52,12 +53,12 @@ Accept wildcard characters: False VMSS object ```yaml -Type: PSVirtualMachineScaleSet +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet Parameter Sets: (All) Aliases: Required: True -Position: 0 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False @@ -67,12 +68,12 @@ Accept wildcard characters: False Valid VM size ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False @@ -82,7 +83,7 @@ Accept wildcard characters: False Prompts you for confirmation before running the cmdlet. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: cf @@ -98,7 +99,7 @@ Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: SwitchParameter +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: wi @@ -126,4 +127,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[VMSS Instance Mix](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/instance-mix-overview) \ No newline at end of file +[VMSS Instance Mix](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/instance-mix-overview) diff --git a/src/Compute/Compute/help/Remove-AzVmssVMRunCommand.md b/src/Compute/Compute/help/Remove-AzVmssVMRunCommand.md index e0ffdedc5d47..454b5246cc97 100644 --- a/src/Compute/Compute/help/Remove-AzVmssVMRunCommand.md +++ b/src/Compute/Compute/help/Remove-AzVmssVMRunCommand.md @@ -19,6 +19,20 @@ Remove-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunC [-PassThru] [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityVirtualMachineScaleSet +``` +Remove-AzVmssVMRunCommand -InstanceId -RunCommandName + -VirtualMachineScaleSetInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityVirtualMachine +``` +Remove-AzVmssVMRunCommand -RunCommandName -VirtualMachineInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzVmssVMRunCommand -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] @@ -72,7 +86,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -91,7 +104,7 @@ The instance ID of the virtual machine. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVirtualMachineScaleSet Aliases: Required: True @@ -151,7 +164,7 @@ The name of the virtual machine run command. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityVirtualMachineScaleSet, DeleteViaIdentityVirtualMachine Aliases: Required: True @@ -177,6 +190,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -VirtualMachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityVirtualMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -VirtualMachineScaleSetInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: DeleteViaIdentityVirtualMachineScaleSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -VMScaleSetName The name of the VM scale set. diff --git a/src/Compute/Compute/help/Set-AzVMDiskEncryptionExtension.md b/src/Compute/Compute/help/Set-AzVMDiskEncryptionExtension.md index d62c80d8db99..9c818c64fd4b 100644 --- a/src/Compute/Compute/help/Set-AzVMDiskEncryptionExtension.md +++ b/src/Compute/Compute/help/Set-AzVMDiskEncryptionExtension.md @@ -16,12 +16,12 @@ Enables encryption on a running IaaS virtual machine in Azure. ### SinglePassParameterSet (Default) ``` Set-AzVMDiskEncryptionExtension [-ResourceGroupName] [-VMName] - [-DiskEncryptionKeyVaultUrl] [-DiskEncryptionKeyVaultId] [-EncryptionIdentity ] - [[-KeyEncryptionKeyUrl] ] [[-KeyEncryptionKeyVaultId] ] [[-KeyEncryptionAlgorithm] ] + [-DiskEncryptionKeyVaultUrl] [-DiskEncryptionKeyVaultId] [[-KeyEncryptionKeyUrl] ] + [[-KeyEncryptionKeyVaultId] ] [-EncryptionIdentity ] [[-KeyEncryptionAlgorithm] ] [[-VolumeType] ] [[-SequenceVersion] ] [[-TypeHandlerVersion] ] [[-Name] ] [[-Passphrase] ] [-Force] [-DisableAutoUpgradeMinorVersion] [-SkipVmBackup] [-ExtensionType ] - [-ExtensionPublisherName ] [-EncryptFormatAll] [-DefaultProfile ] [-WhatIf] - [-Confirm] [] + [-ExtensionPublisherName ] [-EncryptFormatAll] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### AADClientSecretParameterSet @@ -385,6 +385,8 @@ Accept wildcard characters: False ### -EncryptionIdentity Resource ID of the managed identity with access to keyvault for ADE operations. + + ```yaml Type: System.String Parameter Sets: SinglePassParameterSet diff --git a/src/Compute/Compute/help/Set-AzVMProxyAgentSetting.md b/src/Compute/Compute/help/Set-AzVMProxyAgentSetting.md index d79ba22d3e34..35ab884056df 100644 --- a/src/Compute/Compute/help/Set-AzVMProxyAgentSetting.md +++ b/src/Compute/Compute/help/Set-AzVMProxyAgentSetting.md @@ -15,7 +15,7 @@ Sets the Proxy Agent settings properties for a PSVirtualMachine object. ``` Set-AzVMProxyAgentSetting -VM [-EnableProxyAgent ] [-WireServerMode ] [-WireServerProfile ] [-ImdsMode ] [-ImdsProfile ] [-KeyIncarnationId ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION diff --git a/src/Compute/Compute/help/Set-AzVMRunCommand.md b/src/Compute/Compute/help/Set-AzVMRunCommand.md index f8675f8b724c..df6febaf181f 100644 --- a/src/Compute/Compute/help/Set-AzVMRunCommand.md +++ b/src/Compute/Compute/help/Set-AzVMRunCommand.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzVMRunCommand ## SYNOPSIS -The operation to create or update the run command. +The operation to update the run command. ## SYNTAX @@ -40,8 +40,22 @@ Set-AzVMRunCommand -ResourceGroupName -RunCommandName -VMName [] ``` +### UpdateViaJsonFilePath +``` +Set-AzVMRunCommand -ResourceGroupName -RunCommandName -VMName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Set-AzVMRunCommand -ResourceGroupName -RunCommandName -VMName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -The operation to create or update the run command. +The operation to update the run command. ## EXAMPLES @@ -158,7 +172,7 @@ If set to true, provisioning will complete as soon as the script starts and will ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -190,7 +204,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -206,7 +220,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -223,7 +237,7 @@ Refer errorBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -233,12 +247,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: True @@ -269,7 +313,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -285,7 +329,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -302,7 +346,7 @@ Refer outputBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -314,11 +358,10 @@ Accept wildcard characters: False ### -Parameter The parameters used by the script. -To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -330,11 +373,10 @@ Accept wildcard characters: False ### -ProtectedParameter The parameters used by the script. -To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -364,7 +406,7 @@ Specifies the user account password on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -379,7 +421,7 @@ Specifies the user account on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -424,7 +466,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -440,7 +482,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -517,7 +559,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -532,7 +574,7 @@ The timeout in seconds to execute the run command. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -550,7 +592,7 @@ See instance view of run command in case of script failures to see executionMess ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -613,7 +655,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IVirtualMachineRunCommand ## NOTES diff --git a/src/Compute/Compute/help/Set-AzVmssDiskEncryptionExtension.md b/src/Compute/Compute/help/Set-AzVmssDiskEncryptionExtension.md index a46317142e3e..51352cba037c 100644 --- a/src/Compute/Compute/help/Set-AzVmssDiskEncryptionExtension.md +++ b/src/Compute/Compute/help/Set-AzVmssDiskEncryptionExtension.md @@ -14,10 +14,10 @@ Enables disk encryption on a VM scale set. ``` Set-AzVmssDiskEncryptionExtension [-ResourceGroupName] [-VMScaleSetName] - [-DiskEncryptionKeyVaultUrl] [-DiskEncryptionKeyVaultId] [-EncryptionIdentity ] [-KeyEncryptionKeyUrl ] - [-KeyEncryptionKeyVaultId ] [-KeyEncryptionAlgorithm ] [-VolumeType ] [-ForceUpdate] - [-TypeHandlerVersion ] [-ExtensionPublisherName ] [-ExtensionName ] - [-ExtensionType ] [-EncryptFormatAll] [-Passphrase ] [-Force] + [-DiskEncryptionKeyVaultUrl] [-DiskEncryptionKeyVaultId] [-EncryptionIdentity ] + [-KeyEncryptionKeyUrl ] [-KeyEncryptionKeyVaultId ] [-KeyEncryptionAlgorithm ] + [-VolumeType ] [-ForceUpdate] [-TypeHandlerVersion ] [-ExtensionPublisherName ] + [-ExtensionName ] [-ExtensionType ] [-EncryptFormatAll] [-Passphrase ] [-Force] [-DisableAutoUpgradeMinorVersion] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -121,33 +121,33 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -EncryptionIdentity -Resource ID of the managed identity with access to keyvault for ADE operations. +### -EncryptFormatAll +EncryptFormatAll data drives that are not already encrypted ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: False Accept wildcard characters: False ``` -### -EncryptFormatAll -EncryptFormatAll data drives that are not already encrypted +### -EncryptionIdentity +Resource ID of the managed identity with access to keyvault for ADE operations. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/src/Compute/Compute/help/Set-AzVmssProxyAgentSetting.md b/src/Compute/Compute/help/Set-AzVmssProxyAgentSetting.md index c39d83c59409..5ac44924a89d 100644 --- a/src/Compute/Compute/help/Set-AzVmssProxyAgentSetting.md +++ b/src/Compute/Compute/help/Set-AzVmssProxyAgentSetting.md @@ -15,7 +15,7 @@ Sets the Proxy Agent settings properties for a PSVirtualMachineScaleSet object. ``` Set-AzVmssProxyAgentSetting -VirtualMachineScaleSet [-EnableProxyAgent ] [-WireServerMode ] [-WireServerProfile ] [-ImdsMode ] [-ImdsProfile ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION diff --git a/src/Compute/Compute/help/Set-AzVmssVMRunCommand.md b/src/Compute/Compute/help/Set-AzVmssVMRunCommand.md index 2a730ee00a21..70134715267e 100644 --- a/src/Compute/Compute/help/Set-AzVmssVMRunCommand.md +++ b/src/Compute/Compute/help/Set-AzVmssVMRunCommand.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzVmssVMRunCommand ## SYNOPSIS -The operation to create or update the VMSS VM run command. +The operation to update the VMSS VM run command. ## SYNTAX @@ -41,8 +41,22 @@ Set-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunComm [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonFilePath +``` +Set-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunCommandName + -VMScaleSetName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Set-AzVmssVMRunCommand -InstanceId -ResourceGroupName -RunCommandName + -VMScaleSetName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -The operation to create or update the VMSS VM run command. +The operation to update the VMSS VM run command. ## EXAMPLES @@ -159,7 +173,7 @@ If set to true, provisioning will complete as soon as the script starts and will ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -191,7 +205,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -207,7 +221,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -224,7 +238,7 @@ Refer errorBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -249,12 +263,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: True @@ -285,7 +329,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -301,7 +345,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -318,7 +362,7 @@ Refer outputBlobManagedIdentity parameter. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -330,11 +374,10 @@ Accept wildcard characters: False ### -Parameter The parameters used by the script. -To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -346,11 +389,10 @@ Accept wildcard characters: False ### -ProtectedParameter The parameters used by the script. -To construct, see NOTES section for PROTECTEDPARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInputParameter[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter[] +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -380,7 +422,7 @@ Specifies the user account password on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -395,7 +437,7 @@ Specifies the user account on the VM when executing the run command. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -440,7 +482,7 @@ ObjectId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -456,7 +498,7 @@ ClientId should not be used if this is provided. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -533,7 +575,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -548,7 +590,7 @@ The timeout in seconds to execute the run command. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -566,7 +608,7 @@ See instance view of run command in case of script failures to see executionMess ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, ScriptLocalPath Aliases: Required: False @@ -629,7 +671,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IVirtualMachineRunCommand ## NOTES diff --git a/src/Compute/Compute/help/Update-AzGalleryApplication.md b/src/Compute/Compute/help/Update-AzGalleryApplication.md index ea1b1d5b7f2f..88365f4600ff 100644 --- a/src/Compute/Compute/help/Update-AzGalleryApplication.md +++ b/src/Compute/Compute/help/Update-AzGalleryApplication.md @@ -19,6 +19,27 @@ Update-AzGalleryApplication -GalleryName -Name -ResourceGroupN [-NoWait] [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonString +``` +Update-AzGalleryApplication -GalleryName -Name -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzGalleryApplication -GalleryName -Name -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityGalleryExpanded +``` +Update-AzGalleryApplication -Name -GalleryInputObject [-Description ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzGalleryApplication -InputObject [-Description ] [-Tag ] @@ -77,7 +98,7 @@ This property is updatable. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -87,12 +108,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: UpdateViaIdentityGalleryExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -GalleryName The name of the Shared Application Gallery in which the Application Definition is to be updated. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -104,7 +140,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -118,6 +153,36 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the gallery Application Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. @@ -125,7 +190,7 @@ The maximum length is 80 characters. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, UpdateViaIdentityGalleryExpanded Aliases: GalleryApplicationName Required: True @@ -155,7 +220,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -171,7 +236,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -186,7 +251,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -236,7 +301,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplication ## NOTES diff --git a/src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md b/src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md index a83832ea9309..2eb1849706e9 100644 --- a/src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md @@ -15,19 +15,33 @@ Update a gallery Application Version. ### UpdateExpanded (Default) ``` Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name - -ResourceGroupName [-SubscriptionId ] -PackageFileLink - [-DefaultConfigFileLink ] [-PublishingProfileEndOfLifeDate ] + -ResourceGroupName [-SubscriptionId ] -PackageFileLink [-ConfigFileName ] + [-DefaultConfigFileLink ] [-PackageFileName ] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name + -ResourceGroupName [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzGalleryApplicationVersion -InputObject -PackageFileLink - [-DefaultConfigFileLink ] [-PublishingProfileEndOfLifeDate ] - [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] - [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ConfigFileName ] [-DefaultConfigFileLink ] [-PackageFileName ] + [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] + [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -67,13 +81,31 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigFileName +Optional. +The name to assign the downloaded config file on the VM. +This is limited to 4096 characters. +If not specified, the config file will be named the Gallery Application name appended with "_config". + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultConfigFileLink Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -84,7 +116,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -103,7 +136,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -118,7 +151,7 @@ The name of the Shared Application Gallery in which the Application Definition r ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -130,7 +163,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity @@ -144,6 +176,36 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the gallery Application Version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. @@ -152,7 +214,7 @@ Format: \.\.\ ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: GalleryApplicationVersionName Required: True @@ -183,7 +245,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: True @@ -193,6 +255,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PackageFileName +Optional. +The name to assign the downloaded package file on the VM. +This is limited to 4096 characters. +If not specified, the package file will be named the same as the Gallery Application name. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PublishingProfileEndOfLifeDate The end of life date of the gallery image version. This property can be used for decommissioning purposes. @@ -200,7 +280,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -215,7 +295,7 @@ If set to true, Virtual Machines deployed from the latest version of the Image D ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -232,7 +312,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -247,7 +327,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -263,7 +343,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -278,7 +358,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -291,11 +371,10 @@ Accept wildcard characters: False ### -TargetRegion The target regions where the Image Version is going to be replicated to. This property is updatable. -To construct, see NOTES section for TARGETREGION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -345,7 +424,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute/help/Update-AzGalleryImageVersion.md b/src/Compute/Compute/help/Update-AzGalleryImageVersion.md index 5def0a720ac8..e69b6cef7ed5 100644 --- a/src/Compute/Compute/help/Update-AzGalleryImageVersion.md +++ b/src/Compute/Compute/help/Update-AzGalleryImageVersion.md @@ -18,8 +18,8 @@ Update-AzGalleryImageVersion [-ResourceGroupName] [-GalleryName] [-Name] [-AsJob] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-TargetExtendedLocation ] [-AllowDeletionOfReplicatedLocation ] - [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-BlockDeletionBeforeEndOfLife ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### ResourceIdParameter @@ -27,8 +27,8 @@ Update-AzGalleryImageVersion [-ResourceGroupName] [-GalleryName] [-AsJob] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-TargetExtendedLocation ] [-AllowDeletionOfReplicatedLocation ] - [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-BlockDeletionBeforeEndOfLife ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### ObjectParameter @@ -36,8 +36,9 @@ Update-AzGalleryImageVersion [-ResourceId] [-AsJob] [-PublishingProfile Update-AzGalleryImageVersion [-InputObject] [-AsJob] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-TargetExtendedLocation ] - [-AllowDeletionOfReplicatedLocation ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-AllowDeletionOfReplicatedLocation ] [-BlockDeletionBeforeEndOfLife ] + [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -131,6 +132,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -BlockDeletionBeforeEndOfLife +This boolean will be passed by the customers to enable their GalleryImageVersion resources from accidental deletions. If this boolean is set to true, the image deletions will be blocked before its EndOfLife date. + +```yaml +Type: System.Nullable`1[System.Boolean] +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/Update-AzGalleryInVMAccessControlProfile.md b/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfile.md index 4cbbb4c94910..7fa4d75f47cd 100644 --- a/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfile.md +++ b/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfile.md @@ -15,8 +15,8 @@ Updates a gallery inVMAccessControlProfile. ``` Update-AzGalleryInVMAccessControlProfile -ResourceGroupName -GalleryName -GalleryInVMAccessControlProfileName -Location [-ApplicableHostEndPoint ] - [-Description ] [-DefaultProfile ] [-ProgressAction ] - [] + [-Description ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -124,13 +124,28 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} +### -ResourceGroupName +The name of the resource group. ```yaml -Type: System.Management.Automation.ActionPreference +Type: System.String Parameter Sets: (All) -Aliases: proga +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf Required: False Position: Named @@ -139,18 +154,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ResourceGroupName -The name of the resource group. +### -WhatIf +Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: wi -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfileVersion.md b/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfileVersion.md index 73ddaeba108f..aa64cdc632bd 100644 --- a/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfileVersion.md +++ b/src/Compute/Compute/help/Update-AzGalleryInVMAccessControlProfileVersion.md @@ -16,7 +16,7 @@ Updates a specific version of a gallery inVMAccessControlProfile. Update-AzGalleryInVMAccessControlProfileVersion -GalleryInVmAccessControlProfileVersion [-TargetLocation ] [-ExcludeFromLatest ] [-DefaultProfile ] - [-ProgressAction ] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -81,13 +81,28 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} +### -TargetLocation +The names of the target regions where the Resource Profile version is going to be replicated to. This property is updatable. ```yaml -Type: System.Management.Automation.ActionPreference +Type: System.String[] Parameter Sets: (All) -Aliases: proga +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf Required: False Position: Named @@ -96,18 +111,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -TargetLocation -The names of the target regions where the Resource Profile version is going to be replicated to. This property is updatable. +### -WhatIf +Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml -Type: System.String[] +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: wi Required: False Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/Compute/Compute/help/Update-AzVmss.md b/src/Compute/Compute/help/Update-AzVmss.md index 52006857a3c4..d0210cc036a2 100644 --- a/src/Compute/Compute/help/Update-AzVmss.md +++ b/src/Compute/Compute/help/Update-AzVmss.md @@ -39,7 +39,8 @@ Update-AzVmss [-ResourceGroupName] [-VMScaleSetName] [-SkuProfileAllocationStrategy ] [-EnableResilientVMCreate ] [-EnableResilientVMDelete ] [-EnableAutomaticZoneRebalance ] [-AutomaticZoneRebalanceStrategy ] [-AutomaticZoneRebalanceBehavior ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ### ExplicitIdentityParameterSet @@ -69,7 +70,8 @@ Update-AzVmss [-ResourceGroupName] [-VMScaleSetName] [-SkuProfileAllocationStrategy ] [-EnableResilientVMCreate ] [-EnableResilientVMDelete ] [-EnableAutomaticZoneRebalance ] [-AutomaticZoneRebalanceStrategy ] [-AutomaticZoneRebalanceBehavior ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION