Skip to content

cmdlets with -LifecycleState param does not work with list of states #172

@gbrossi76

Description

@gbrossi76

cmdlets with -LifecycleState param does not work with list of states

example:

PS> Get-OCIComputeInstancesList -CompartmentId $myCompartmentId -LifecycleState Running,Starting
Get-OCIComputeInstancesList: Cannot convert 'System.Object[]' to the type 'System.Nullable`1[Oci.CoreService.Models.Instance+LifecycleStateEnum]' required by parameter 'LifecycleState'. Specified method is not supported.

OCI.PSModules 73.1.0
tested in PowerShell 7.2 and 7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKIssue pertains to the SDK itself and not specific to any service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions