-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
PolicyAssignment Invalid Type #22375
Comments
Label prediction was below confidence level |
@kazrael2119 Can you help take a look at this issue? Thanks |
Hi @zane-atomus , |
Released here:https://www.npmjs.com/package/@azure/arm-policy/v/5.0.2 |
@zane-atomus Can you check if the version 5.0.2 can resolve your issue ? Thanks |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Describe the bug
When creating a policy following the sample in
azure-sdk-for-js/sdk/policy/arm-policy/samples/v5/typescript/src/policyAssignmentCreateSample.ts
, the type of theparameters
property is invalid. It expects thevalue
field to be of typeRecord<string, unknown>
, whereas in the sample (and for my usecase) the type isstring
.To Reproduce
Steps to reproduce the behavior:
parameters
field.Expected behavior
We are able to create a policy assignment with the format above where parameters' value types are allowed to be string.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This problem was created when upgrading the version of my installed package from 4.2.0 to 5.0.1.
The text was updated successfully, but these errors were encountered: