diff --git a/src/Compute/Compute.Autorest/README.md b/src/Compute/Compute.Autorest/README.md index 3f13ab7dde8d..da1b55c3d36b 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 4dc1c61bb50f..000000000000 --- a/src/Compute/Compute.Autorest/UX/Microsoft.Compute/locations.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "resourceType": "locations", - "apiVersion": "2025-06-05", - "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..6110d6cf9442 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,87 @@ 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)] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded', 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)] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded', 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')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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='CreateViaIdentityGalleryExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity] + # Identity Parameter + ${GalleryInputObject}, + + [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 4d010ef9605b..9aa0b10908e0 100644 --- a/src/Compute/Compute.Autorest/custom/New-AzGalleryApplicationVersion.ps1 +++ b/src/Compute/Compute.Autorest/custom/New-AzGalleryApplicationVersion.ps1 @@ -13,17 +13,21 @@ 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])] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion", DeprecatedOutputProperties = ("PublishingProfileTargetExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation", "ReplicationStatusSummary Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus", "TargetRegion Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion", "EncryptionDataDiskImage Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IDataDiskImageEncryption"), NewOutputProperties = ("PublishingProfileTargetExtendedLocation System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]", "ReplicationStatusSummary System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]", "TargetRegion System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]", "EncryptionDataDiskImage System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IDataDiskImageEncryption]"))] - [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='CreateViaIdentityGalleryExpanded', 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. @@ -39,34 +43,44 @@ 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)] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Resource location ${Location}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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)] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Required. @@ -74,14 +88,18 @@ function New-AzGalleryApplicationVersion { # This is limited to 4096 characters. ${Install}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.DateTime] # The end of life date of the gallery image version. @@ -89,13 +107,17 @@ function New-AzGalleryApplicationVersion { # This property is updatable. ${PublishingProfileEndOfLifeDate}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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)] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Required. @@ -103,7 +125,9 @@ function New-AzGalleryApplicationVersion { # This is limited to 4096 characters. ${Remove}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.Int32] # The number of replicas of the Image Version to be created per region. @@ -111,23 +135,28 @@ function New-AzGalleryApplicationVersion { # This property is updatable. ${ReplicaCount}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. @@ -136,12 +165,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()] @@ -195,7 +237,9 @@ function New-AzGalleryApplicationVersion { # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')] [System.String] # Optional. @@ -204,14 +248,28 @@ function New-AzGalleryApplicationVersion { # If not specified, the package file will be named the same as the Gallery Application name. ${PackageFileName}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded')] [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} + ${ConfigFileName}, + + [Parameter(ParameterSetName='CreateViaIdentityApplicationExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity] + # Identity Parameter + ${ApplicationInputObject}, + + [Parameter(ParameterSetName='CreateViaIdentityGalleryExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity] + # Identity Parameter + ${GalleryInputObject} ) process { Az.Compute.internal\New-AzGalleryApplicationVersion @PSBoundParameters 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 480d2784959a..9b6ecc164ead 100644 --- a/src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1 +++ b/src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1 @@ -14,23 +14,31 @@ Update a gallery Application Version. #> function Update-AzGalleryApplicationVersion { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion])] - [Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion", DeprecatedOutputProperties = ("PublishingProfileTargetExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation", "ReplicationStatusSummary Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus", "TargetRegion Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion"), NewOutputProperties = ("PublishingProfileTargetExtendedLocation System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]", "ReplicationStatusSummary System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]", "TargetRegion System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]"))] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded', 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='UpdateViaIdentityApplicationExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Alias('GalleryApplicationVersionName')] [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] [System.String] @@ -39,133 +47,205 @@ 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='UpdateViaIdentityApplicationExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity] + # Identity Parameter + ${ApplicationInputObject}, + [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='UpdateViaIdentityGalleryExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity] + # Identity Parameter + ${GalleryInputObject}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] + [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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] [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='UpdateViaIdentityApplicationExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded', 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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] + [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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] [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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] [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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] [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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] [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='UpdateViaIdentityApplicationExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')] [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 9f513c789f11..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: 969c43c4-cc53-4871-b660-e3afb5b5796b +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 4b37b132350e..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.Api20250605.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.Api20250605.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.Api20250605.ISpotPlacementScoresInput - ### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresInput + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.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..9c79c8cb6317 100644 --- a/src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md @@ -12,12 +12,34 @@ 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] [] ``` +### CreateViaIdentityGalleryExpanded +``` +New-AzGalleryApplication -GalleryInputObject -Name -Location + -SupportedOSType [-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 +70,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 +91,7 @@ This property is updatable. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -78,12 +101,57 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: CreateViaIdentityGalleryExpanded +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 created. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +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 @@ -98,7 +166,7 @@ Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: True @@ -145,7 +213,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -161,7 +229,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -175,15 +243,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, CreateViaIdentityGalleryExpanded Aliases: Required: True @@ -198,7 +266,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -244,9 +312,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity + ## 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..54d92583e96d 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,40 @@ New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ] ``` +### CreateViaIdentityApplicationExpanded +``` +New-AzGalleryApplicationVersion -ApplicationInputObject -Name -Install + -Location -Remove [-ConfigFileName ] [-DefaultConfigFileLink ] + [-PackageFileLink ] [-PackageFileName ] [-PublishingProfileEndOfLifeDate ] + [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] + [-TargetRegion ] [-Update ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityGalleryExpanded +``` +New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryInputObject + -Name -Install -Location -Remove [-ConfigFileName ] + [-DefaultConfigFileLink ] [-PackageFileLink ] [-PackageFileName ] + [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] + [-Tag ] [-TargetRegion ] [-Update ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### 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. @@ -43,6 +78,21 @@ Using SAS Uri for the blob for PackageFileLink. ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: CreateViaIdentityApplicationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -66,7 +116,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, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -82,7 +132,7 @@ The defaultConfigurationLink of the artifact, must be a readable storage page bl ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -93,7 +143,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 @@ -112,7 +163,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -122,12 +173,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: CreateViaIdentityGalleryExpanded +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. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -144,7 +210,37 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded +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 +255,7 @@ Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: True @@ -208,7 +304,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -226,7 +322,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, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -243,7 +339,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -258,7 +354,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, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -275,7 +371,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: True @@ -292,7 +388,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -307,7 +403,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -323,7 +419,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -338,7 +434,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -351,11 +447,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, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -373,7 +468,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityApplicationExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -419,9 +514,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity + ## 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 31de2d38d787..c6057021d07a 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 e3e13730ce81..b60be670eaab 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..539fbd1d8367 100644 --- a/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md @@ -15,8 +15,18 @@ 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] + [] +``` + +### UpdateViaIdentityApplicationExpanded +``` +Update-AzGalleryApplicationVersion -ApplicationInputObject -Name + -PackageFileLink [-ConfigFileName ] [-DefaultConfigFileLink ] + [-PackageFileName ] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -25,12 +35,36 @@ Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ### UpdateViaIdentityExpanded ``` Update-AzGalleryApplicationVersion -InputObject -PackageFileLink - [-DefaultConfigFileLink ] [-PublishingProfileEndOfLifeDate ] + [-ConfigFileName ] [-DefaultConfigFileLink ] [-PackageFileName ] + [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] + [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityGalleryExpanded +``` +Update-AzGalleryApplicationVersion -GalleryApplicationName -GalleryInputObject + -Name -PackageFileLink [-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 Update a gallery Application Version. @@ -52,6 +86,21 @@ Using SAS Uri for the blob for PackageFileLink. ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: UpdateViaIdentityApplicationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -67,13 +116,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, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded +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, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -84,7 +151,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 +171,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -113,12 +181,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 resides. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -130,7 +213,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 +226,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 +264,7 @@ Format: \.\.\ ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: GalleryApplicationVersionName Required: True @@ -183,7 +295,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: True @@ -193,6 +305,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, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded +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 +330,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -215,7 +345,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, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -232,7 +362,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -247,7 +377,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -263,7 +393,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 +408,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -291,11 +421,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, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded Aliases: Required: False @@ -345,7 +474,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 04cc338b277d..5a351b61f660 100644 --- a/src/Compute/Compute.Autorest/generate-info.json +++ b/src/Compute/Compute.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "721e76b4-562a-4c6c-a968-79a86bbb3336" + "generate_Id": "86d9f7c9-26cc-43a3-af2f-6b960af3e940" } diff --git a/src/Compute/Compute.sln b/src/Compute/Compute.sln index 0117242b333d..72136f74416a 100644 --- a/src/Compute/Compute.sln +++ b/src/Compute/Compute.sln @@ -49,7 +49,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServiceIdentity", 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", "{059EADF3-9281-4557-A80B-367109F10C1F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Compute", "..\..\generated\Compute\Compute.Autorest\Az.Compute.csproj", "{175525F9-04F8-470C-8803-6CB296BF126F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -289,18 +289,18 @@ Global {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 - {059EADF3-9281-4557-A80B-367109F10C1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Debug|x64.ActiveCfg = Debug|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Debug|x64.Build.0 = Debug|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Debug|x86.ActiveCfg = Debug|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Debug|x86.Build.0 = Debug|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Release|Any CPU.Build.0 = Release|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Release|x64.ActiveCfg = Release|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Release|x64.Build.0 = Release|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Release|x86.ActiveCfg = Release|Any CPU - {059EADF3-9281-4557-A80B-367109F10C1F}.Release|x86.Build.0 = Release|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Debug|x64.ActiveCfg = Debug|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Debug|x64.Build.0 = Debug|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Debug|x86.ActiveCfg = Debug|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Debug|x86.Build.0 = Debug|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Release|Any CPU.Build.0 = Release|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Release|x64.ActiveCfg = Release|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Release|x64.Build.0 = Release|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Release|x86.ActiveCfg = Release|Any CPU + {175525F9-04F8-470C-8803-6CB296BF126F}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -320,6 +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} - {059EADF3-9281-4557-A80B-367109F10C1F} = {18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7} + {175525F9-04F8-470C-8803-6CB296BF126F} = {18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7} EndGlobalSection EndGlobal diff --git a/src/Compute/Compute/help/Az.Compute.md b/src/Compute/Compute/help/Az.Compute.md index 1c212ffb42e5..e9422ce12fab 100644 --- a/src/Compute/Compute/help/Az.Compute.md +++ b/src/Compute/Compute/help/Az.Compute.md @@ -687,7 +687,7 @@ Sets the Marketplace plan information on a virtual machine. 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. @@ -732,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 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/Invoke-AzSpotPlacementScore.md b/src/Compute/Compute/help/Invoke-AzSpotPlacementScore.md index 60b7d0de6295..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.Api20250605.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.Api20250605.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.Api20250605.ISpotPlacementScoresInput - ### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ISpotPlacementScoresInput + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.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..f1f76a0016a8 100644 --- a/src/Compute/Compute/help/New-AzGalleryApplication.md +++ b/src/Compute/Compute/help/New-AzGalleryApplication.md @@ -12,13 +12,35 @@ Create or update a gallery Application Definition. ## SYNTAX +### CreateExpanded (Default) ``` -New-AzGalleryApplication -GalleryName -Name -ResourceGroupName - [-SubscriptionId ] -Location -SupportedOSType [-Description ] +New-AzGalleryApplication -Name -GalleryName -ResourceGroupName + [-SubscriptionId ] -Location -SupportedOSType [-Description ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzGalleryApplication -Name -GalleryName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzGalleryApplication -Name -GalleryName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityGalleryExpanded +``` +New-AzGalleryApplication -Name -GalleryInputObject -Location + -SupportedOSType [-Description ] [-Tag ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Create or update a gallery Application Definition. @@ -49,7 +71,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 +92,7 @@ This property is updatable. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -79,12 +102,57 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: CreateViaIdentityGalleryExpanded +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 created. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +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 @@ -99,7 +167,7 @@ Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: True @@ -146,7 +214,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -162,7 +230,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -176,15 +244,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, CreateViaIdentityGalleryExpanded Aliases: Required: True @@ -199,7 +267,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded Aliases: Required: False @@ -245,9 +313,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity + ## 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..9aa47568150c 100644 --- a/src/Compute/Compute/help/New-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute/help/New-AzGalleryApplicationVersion.md @@ -12,8 +12,9 @@ Create or update a gallery Application Version. ## SYNTAX +### CreateExpanded (Default) ``` -New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName -Name +New-AzGalleryApplicationVersion -Name -GalleryApplicationName -GalleryName -ResourceGroupName [-SubscriptionId ] -Location -Install -Remove [-DefaultConfigFileLink ] [-PackageFileLink ] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] @@ -22,6 +23,41 @@ New-AzGalleryApplicationVersion -GalleryApplicationName -GalleryName ] ``` +### CreateViaIdentityGalleryExpanded +``` +New-AzGalleryApplicationVersion -Name -GalleryApplicationName + -GalleryInputObject -Location -Install -Remove + [-DefaultConfigFileLink ] [-PackageFileLink ] [-PublishingProfileEndOfLifeDate ] + [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] [-Tag ] + [-TargetRegion ] [-Update ] [-PackageFileName ] [-ConfigFileName ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzGalleryApplicationVersion -Name -GalleryApplicationName -GalleryName + -ResourceGroupName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzGalleryApplicationVersion -Name -GalleryApplicationName -GalleryName + -ResourceGroupName [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityApplicationExpanded +``` +New-AzGalleryApplicationVersion -Name -ApplicationInputObject -Location + -Install -Remove [-DefaultConfigFileLink ] [-PackageFileLink ] + [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] + [-Tag ] [-TargetRegion ] [-Update ] [-PackageFileName ] + [-ConfigFileName ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Create or update a gallery Application Version. @@ -43,6 +79,21 @@ Using SAS Uri for the blob for PackageFileLink. ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: CreateViaIdentityApplicationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -66,7 +117,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, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -82,7 +133,7 @@ The defaultConfigurationLink of the artifact, must be a readable storage page bl ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -93,7 +144,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 @@ -112,7 +164,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -122,12 +174,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -GalleryInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: CreateViaIdentityGalleryExpanded +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. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -144,7 +211,37 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded +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 +256,7 @@ Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: True @@ -208,7 +305,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -226,7 +323,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, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -243,7 +340,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -258,7 +355,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, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -275,7 +372,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: True @@ -292,7 +389,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -307,7 +404,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -323,7 +420,7 @@ The subscription ID forms part of the URI for every service call. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -338,7 +435,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -351,11 +448,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, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -373,7 +469,7 @@ This is limited to 4096 characters. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityGalleryExpanded, CreateViaIdentityApplicationExpanded Aliases: Required: False @@ -419,9 +515,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion +### Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryApplicationVersion ## NOTES diff --git a/src/Compute/Compute/help/Remove-AzGalleryApplication.md b/src/Compute/Compute/help/Remove-AzGalleryApplication.md index 060c0753f72a..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] @@ -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 e78918d61303..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] @@ -39,6 +53,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 +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-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-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-AzVMRunCommand.md b/src/Compute/Compute/help/Set-AzVMRunCommand.md index 8c980e626261..9f3df7b84b12 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-AzVmssVMRunCommand.md b/src/Compute/Compute/help/Set-AzVmssVMRunCommand.md index 44a201eaf31c..7a5f8a6a05e4 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..f6fe8990724b 100644 --- a/src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md @@ -15,22 +15,55 @@ 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] [] ``` -### UpdateViaIdentityExpanded +### UpdateViaIdentityGalleryExpanded ``` -Update-AzGalleryApplicationVersion -InputObject -PackageFileLink - [-DefaultConfigFileLink ] [-PublishingProfileEndOfLifeDate ] +Update-AzGalleryApplicationVersion -GalleryApplicationName -Name + -GalleryInputObject -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] [] +``` + +### UpdateViaIdentityApplicationExpanded +``` +Update-AzGalleryApplicationVersion -Name -ApplicationInputObject + -PackageFileLink [-ConfigFileName ] [-DefaultConfigFileLink ] + [-PackageFileName ] [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] + [-ReplicaCount ] [-Tag ] [-TargetRegion ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzGalleryApplicationVersion -InputObject -PackageFileLink + [-ConfigFileName ] [-DefaultConfigFileLink ] [-PackageFileName ] + [-PublishingProfileEndOfLifeDate ] [-PublishingProfileExcludeFromLatest] [-ReplicaCount ] + [-Tag ] [-TargetRegion ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Update a gallery Application Version. @@ -52,6 +85,21 @@ Using SAS Uri for the blob for PackageFileLink. ## PARAMETERS +### -ApplicationInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity +Parameter Sets: UpdateViaIdentityApplicationExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -67,13 +115,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, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, 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, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -84,7 +150,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 +170,7 @@ The name of the gallery Application Definition in which the Application Version ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -113,12 +180,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 resides. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -130,7 +212,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 +225,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 +263,7 @@ Format: \.\.\ ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, UpdateViaIdentityApplicationExpanded Aliases: GalleryApplicationVersionName Required: True @@ -183,7 +294,7 @@ The mediaLink of the artifact, must be a readable storage page blob. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: True @@ -193,6 +304,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, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, 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 +329,7 @@ This property is updatable. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -215,7 +344,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, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -232,7 +361,7 @@ This property is updatable. ```yaml Type: System.Int32 -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -247,7 +376,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -263,7 +392,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 +407,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -291,11 +420,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, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -345,7 +473,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/tools/StaticAnalysis/Exceptions/Az.Compute/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Compute/BreakingChangeIssues.csv index 4f7377ed7f84..4bc63293af37 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Compute/BreakingChangeIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Compute/BreakingChangeIssues.csv @@ -1,10 +1,45 @@ "Module","ClassName","Target","Severity","ProblemId","Description","Remediation" -"Az.Compute","Get-AzGalleryApplication","Get-AzGalleryApplication","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Invoke-AzSpotPlacementScore","Invoke-AzSpotPlacementScore","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Remove-AzGalleryApplication","Remove-AzGalleryApplication","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Remove-AzGalleryApplicationVersion","Remove-AzGalleryApplicationVersion","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Remove-AzVMRunCommand","Remove-AzVMRunCommand","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Remove-AzVmssVMRunCommand","Remove-AzVmssVMRunCommand","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Update-AzGalleryApplication","Update-AzGalleryApplication","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." -"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3010","The property 'OperationId' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity' has been removed.","Add the property 'OperationId' back to type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IComputeIdentity'." +"Az.Compute","Get-AzGalleryApplication","Get-AzGalleryApplication","0","3000","The type of property 'SupportedOSType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes]' to 'System.String'.","Change the type of property 'SupportedOSType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes]'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileTargetExtendedLocation' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]'.","Change the type of property 'PublishingProfileTargetExtendedLocation' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'ReplicationStatusSummary' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]'.","Change the type of property 'ReplicationStatusSummary' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'TargetRegion' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]'.","Change the type of property 'TargetRegion' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'ReplicationStatusAggregatedState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.AggregatedReplicationState]' to 'System.String'.","Change the type of property 'ReplicationStatusAggregatedState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.AggregatedReplicationState]'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.GalleryProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.GalleryProvisioningState]'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileReplicationMode' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationMode]' to 'System.String'.","Change the type of property 'PublishingProfileReplicationMode' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationMode]'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileStorageAccountType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]' to 'System.String'.","Change the type of property 'PublishingProfileStorageAccountType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]'." +"Az.Compute","Get-AzGalleryApplicationVersion","Get-AzGalleryApplicationVersion","0","2020","The cmdlet 'Get-AzGalleryApplicationVersion' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationStatusTypes' for parameter 'Expand'.","Change the type for parameter 'Expand' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationStatusTypes'." +"Az.Compute","Invoke-AzSpotPlacementScore","Invoke-AzSpotPlacementScore","0","3000","The type of property 'PlacementScore' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.ISpotPlacementScoresResponse' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IPlacementScore' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IPlacementScore]'.","Change the type of property 'PlacementScore' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IPlacementScore'." +"Az.Compute","Invoke-AzSpotPlacementScore","Invoke-AzSpotPlacementScore","0","3000","The type of property 'DesiredSize' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.ISpotPlacementScoresResponse' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize]'.","Change the type of property 'DesiredSize' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize'." +"Az.Compute","Invoke-AzSpotPlacementScore","Invoke-AzSpotPlacementScore","0","3000","The type of property 'DesiredLocation' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.ISpotPlacementScoresResponse' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'DesiredLocation' back to 'System.String[]'." +"Az.Compute","Invoke-AzSpotPlacementScore","Invoke-AzSpotPlacementScore","0","3000","The type of property 'DesiredSize' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.ISpotPlacementScoresInput' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize]'.","Change the type of property 'DesiredSize' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IResourceSize'." +"Az.Compute","Invoke-AzSpotPlacementScore","Invoke-AzSpotPlacementScore","0","3000","The type of property 'DesiredLocation' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.ISpotPlacementScoresInput' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'DesiredLocation' back to 'System.String[]'." +"Az.Compute","New-AzGalleryApplication","New-AzGalleryApplication","0","3000","The type of property 'SupportedOSType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes]' to 'System.String'.","Change the type of property 'SupportedOSType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes]'." +"Az.Compute","New-AzGalleryApplication","New-AzGalleryApplication","0","2020","The cmdlet 'New-AzGalleryApplication' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes' for parameter 'SupportedOSType'.","Change the type for parameter 'SupportedOSType' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileTargetExtendedLocation' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]'.","Change the type of property 'PublishingProfileTargetExtendedLocation' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'ReplicationStatusSummary' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]'.","Change the type of property 'ReplicationStatusSummary' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'TargetRegion' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]'.","Change the type of property 'TargetRegion' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'ReplicationStatusAggregatedState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.AggregatedReplicationState]' to 'System.String'.","Change the type of property 'ReplicationStatusAggregatedState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.AggregatedReplicationState]'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.GalleryProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.GalleryProvisioningState]'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileReplicationMode' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationMode]' to 'System.String'.","Change the type of property 'PublishingProfileReplicationMode' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationMode]'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileStorageAccountType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]' to 'System.String'.","Change the type of property 'PublishingProfileStorageAccountType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'EncryptionDataDiskImage' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IDataDiskImageEncryption' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IDataDiskImageEncryption]'.","Change the type of property 'EncryptionDataDiskImage' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IDataDiskImageEncryption'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'SecurityProfileConfidentialVMEncryptionType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ConfidentialVMEncryptionType]' to 'System.String'.","Change the type of property 'SecurityProfileConfidentialVMEncryptionType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ConfidentialVMEncryptionType]'." +"Az.Compute","New-AzGalleryApplicationVersion","New-AzGalleryApplicationVersion","0","3000","The type of property 'StorageAccountType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.ITargetRegion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]' to 'System.String'.","Change the type of property 'StorageAccountType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]'." +"Az.Compute","Set-AzVMRunCommand","Set-AzVMRunCommand","0","3000","The type of property 'InstanceViewStatuses' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IInstanceViewStatus' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IInstanceViewStatus]'.","Change the type of property 'InstanceViewStatuses' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IInstanceViewStatus'." +"Az.Compute","Set-AzVMRunCommand","Set-AzVMRunCommand","0","3000","The type of property 'ProtectedParameter' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter]'.","Change the type of property 'ProtectedParameter' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter'." +"Az.Compute","Set-AzVMRunCommand","Set-AzVMRunCommand","0","3000","The type of property 'Parameter' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter]'.","Change the type of property 'Parameter' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter'." +"Az.Compute","Set-AzVMRunCommand","Set-AzVMRunCommand","0","3000","The type of property 'InstanceViewExecutionState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ExecutionState]' to 'System.String'.","Change the type of property 'InstanceViewExecutionState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ExecutionState]'." +"Az.Compute","Set-AzVmssVMRunCommand","Set-AzVmssVMRunCommand","0","3000","The type of property 'InstanceViewStatuses' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IInstanceViewStatus' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IInstanceViewStatus]'.","Change the type of property 'InstanceViewStatuses' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IInstanceViewStatus'." +"Az.Compute","Set-AzVmssVMRunCommand","Set-AzVmssVMRunCommand","0","3000","The type of property 'ProtectedParameter' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter]'.","Change the type of property 'ProtectedParameter' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter'." +"Az.Compute","Set-AzVmssVMRunCommand","Set-AzVmssVMRunCommand","0","3000","The type of property 'Parameter' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter]'.","Change the type of property 'Parameter' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRunCommandInputParameter'." +"Az.Compute","Set-AzVmssVMRunCommand","Set-AzVmssVMRunCommand","0","3000","The type of property 'InstanceViewExecutionState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IVirtualMachineRunCommand' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ExecutionState]' to 'System.String'.","Change the type of property 'InstanceViewExecutionState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ExecutionState]'." +"Az.Compute","Update-AzGalleryApplication","Update-AzGalleryApplication","0","3000","The type of property 'SupportedOSType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplication' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes]' to 'System.String'.","Change the type of property 'SupportedOSType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.OperatingSystemTypes]'." +"Az.Compute","Update-AzGalleryApplication","Update-AzGalleryApplication","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzGalleryApplication' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzGalleryApplication'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileTargetExtendedLocation' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation]'.","Change the type of property 'PublishingProfileTargetExtendedLocation' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IGalleryTargetExtendedLocation'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'ReplicationStatusSummary' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus]'.","Change the type of property 'ReplicationStatusSummary' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.IRegionalReplicationStatus'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'TargetRegion' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion]'.","Change the type of property 'TargetRegion' back to 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.ITargetRegion'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'ReplicationStatusAggregatedState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.AggregatedReplicationState]' to 'System.String'.","Change the type of property 'ReplicationStatusAggregatedState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.AggregatedReplicationState]'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.GalleryProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.GalleryProvisioningState]'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileReplicationMode' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationMode]' to 'System.String'.","Change the type of property 'PublishingProfileReplicationMode' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.ReplicationMode]'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","3000","The type of property 'PublishingProfileStorageAccountType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersion' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]' to 'System.String'.","Change the type of property 'PublishingProfileStorageAccountType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Compute.Support.StorageAccountType]'." +"Az.Compute","Update-AzGalleryApplicationVersion","Update-AzGalleryApplicationVersion","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzGalleryApplicationVersion' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzGalleryApplicationVersion'." \ No newline at end of file