-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Added Azure Container Instance API Version 2024-10-01-preview #30569
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
Merged
MicroJamesLim
merged 26 commits into
Azure:main
from
MicroJamesLim:MicroJamesLim/containerinstances-2024-10-01-preview
Sep 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
238478f
Copy files from stable/2023-05-01
jamezlim d9de423
Update version to preview/2024-10-01-preview
jamezlim 7bc506b
Added tag for 2024-10-01-preview in readme file
jamezlim ab56599
added 2024-10-01-preview
jamezlim b1871c6
remove additionalProperties
jamezlim a330cd9
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim 7b38efa
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim f4f701c
Merge remote-tracking branch 'upstream/main' into MicroJamesLim/conta…
jamezlim d6474c3
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim 59799b7
Copy files from stable/2023-05-01
jamezlim f09a2d3
Update version to preview/2024-10-01-preview
jamezlim e786c7a
Added tag for 2024-10-01-preview in readme file
jamezlim f9bddd8
added 2024-10-01-preview
jamezlim f40381f
remove additionalProperties
jamezlim 250d610
resolved PR comment
jamezlim 605c91e
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim 66cc743
update from secrets to secretReferences
jamezlim 251baec
suppress additionalProperties
jamezlim 0e0386c
delete file
jamezlim b8da33a
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim 574b260
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
jamezlim 2e412bb
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim 3e4cf82
update to 'arm-id' format
jamezlim c0a4e26
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim 923200c
Merge remote-tracking branch 'upstream/main' into MicroJamesLim/conta…
jamezlim 27badf3
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
suppress additionalProperties
- Loading branch information
commit 251baec625cd94a63d03c9c0abc7abc5998f46e8
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...fication/containerinstance/resource-manager/Microsoft.ContainerInstance/suppressions.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| suppressions: | ||
| - code: AvoidAdditionalProperties | ||
| from: swagger.yaml | ||
| reason: Keeping it for legacy tooling |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is this property used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also a dictionary just as 'SecretVolume'. The 'SecretVolume' is a dictionary of customer provided explicit secret values whereas 'SecretReferenceVolume' is a customer provided secret reference value. The value will point to one of the 'SecretReference' object defined in line 839
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to add the additional properties to indicate a dictionary object as stated here https://swagger.io/docs/specification/data-models/dictionaries/
but the PR was giving me Swagger LintDiff validation failures RPC-Policy-V1-05, RPC-Put-V1-23. Please advise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because ARM is trying to reduce instances of unschematized APIs to make it easier for consumers of those APIs to understand them and use them reliably
It is recommended to use arrays with pairs in place of dictionary if defining a schema is not possible.
If it is not possible provide an explanation for why you need this and obtain a suppresion for the Swagger LintDiff validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback. Suppressed.