Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gbrossi76 opened this issue Jan 16, 2024 · 0 comments
Open
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@gbrossi76
Copy link

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

@jyotisaini jyotisaini added the SDK Issue pertains to the SDK itself and not specific to any service label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

2 participants