Azure / Azure/azure-docs-json-samples

Issue with deployment() function documentation

Open
#47 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
98
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Visual studio flags this syntax as incorrect
```
uri(deployment().properties.templateLink.uri
```
I'm unclear what's wrong with it, as I have lifted it directly from the site above. There seems to be no valid way, at least from the perspective of VisualStudio to correctly leverage this function.
```
uri(deployment().templateLink
```
According to VisualStudio the above is 100% correct, but the error returned from the deployment is that templateLink is not valid, only name and properties are valid. Yet, NEITHER of those two things show up when I attempt to use them. When I put them in manually it shows me the red wavy that means it's wrong.

It's difficult to leverage some of these when I'm unable to fully understand why the provided MS examples don't work. Can we get a full breakdown of all available properties for all functions in the documentation please?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.