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

Docs for ArmDeploymentProperties.Parameters are not specific enough #42151

Open
JoshLove-msft opened this issue Feb 23, 2024 · 0 comments
Open
Labels
ARM Mgmt This issue is related to a management-plane library.

Comments

@JoshLove-msft
Copy link
Member

The generated docs seem to be the same for all BinaryData properties, but for Parameters, the "value" in the key value pair needs to itself be a JSON object, so the example should have:

BinaryData.FromObjectAsJson(new { parameterName = { value = "parameterValue" })

As opposed to what it currently has:

BinaryData.FromObjectAsJson(new { key = "value" })

I know this is generated, but it would be good to improve this.

@JoshLove-msft JoshLove-msft added the Mgmt This issue is related to a management-plane library. label Feb 23, 2024
@jsquire jsquire added the ARM label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

2 participants