Skip to content

Typo in property name (Get-AzContainerGroup) #22268

@ThePoShWolf

Description

@ThePoShWolf

Description

When examining the output from Get-AzContainerGroup, I noticed that several properties that I would expect start with PreviousState instead start with: PreviouState.

Here is the list:

  • PreviouState
  • PreviouStateDetailStatus
  • PreviouStateExitCode
  • PreviouStateFinishTime
  • PreviouStateStartTime

These properties can be found using the issue script below.

Issue script & Debug output

$aci = Get-AzContainerGroup -ResourceGroupName 'rg name' -Name 'aci name'
$aci.property.Container[0].PSObject.Properties.Name | ?{$_ -like 'Previous*'}

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.5
PSEdition                      Core
GitCommitId                    7.3.5
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.12.4                Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script     3.2.0                 Az.ContainerInstance                {Add-AzContainerInstanceOutput, Get-AzContainerGroup, Get-AzContainerInstanceCachedImage, Get-AzContainerInstanceCapability…}

Error output

# No errors, just a typo being reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure PS TeamBreaking Change ReleaseThis PR contains breaking changeContainer InstancesTrackingWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions