-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Microsoft.App] add runtime attribute to app configuration #27892
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
Changes from 6 commits
7efcf40
45571b6
deac963
d9807de
77598f0
0832d39
a793c6e
6d5f81b
02c7595
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -652,6 +652,10 @@ | |
| "$ref": "#/definitions/Dapr", | ||
| "description": "Dapr configuration for the Container App." | ||
| }, | ||
| "runtime": { | ||
| "$ref": "#/definitions/Runtime", | ||
| "description": "App runtime configuration for the Container App." | ||
| }, | ||
| "maxInactiveRevisions": { | ||
| "format": "int32", | ||
| "description": "Optional. Max inactive revisions a Container App can have.", | ||
|
|
@@ -856,6 +860,36 @@ | |
| } | ||
| } | ||
| }, | ||
| "Runtime": { | ||
| "description": "Container App Runtime configuration.", | ||
| "type": "object", | ||
| "properties": { | ||
| "kind": { | ||
| "description": "Container App language runtime kind, Default is generic", | ||
| "enum": [ | ||
| "generic", | ||
| "java" | ||
| ], | ||
| "type": "string", | ||
| "default": "generic", | ||
| "x-ms-enum": { | ||
| "name": "kind", | ||
| "modelAsString": true | ||
| } | ||
| }, | ||
| "java": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please confirm that ARM will treat this object as optional, and that we won't have to declare it if the customer didn't define it?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure, no "required" restriction on runtime variables
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! |
||
| "description": "Java app configuration", | ||
| "type": "object", | ||
| "properties": { | ||
| "enableMetrics": { | ||
| "description": "Enable jmx core metrics for the java app", | ||
| "default": false, | ||
| "type": "boolean" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "Ingress": { | ||
| "description": "Container App Ingress configuration.", | ||
| "type": "object", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
kindandjavashould not have default values, because the user may want to update only one of them.https://github.com/Azure/azure-rest-api-specs/pull/27892/checks?check_run_id=22018340669
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, default value removed