-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Release app microsoft.app 2023 04 01 preview #24103
Merged
Merged
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
41ffa32
Adds base for updating Microsoft.App from version preview/2022-11-01-…
Juliehzl 7107e96
Updates readme
Juliehzl cdb5294
Updates API version in new specs and examples
Juliehzl 6c3d940
support terminationGracePeriodSeconds (#23476)
njuCZ 4c4b42d
Support SubPath in volume mount and mount options for azure file volu…
LaylaLiu-gmail 8a49d04
Add replica/container running state (#23617)
xwang971 f8b4b9a
add event trigger for Container Jobs 2023-04-01-preview (#23724)
tdaroly dbd7b63
Resolve Comments for Event driven jobs (#23729)
tdaroly 2ea2211
Swagger change for mtls and runningState (#23767)
zhenqxuMSFT b80ac0f
Add ContainerApp Start/Stop for 2023-04-01-preview (#23497)
Zijian-Ju a7f520b
Add new source controls properties (#23891)
sanchitmehta 719fee7
Change event trigger replica properties to executions, add polling in…
trajkobal 45991aa
Add single execution history endpoint, refactor copy paste code for j…
trajkobal dad7d3c
Add springboard properties (#23932)
ahmelsayed 1e26714
Fix Lint issues in ContainerApps.json (#24107)
Zijian-Ju 37dba84
fix param (#24166)
Seris370 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
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -1356,6 +1356,8 @@ MSLISTSTATUS | |
MSMCAZR | ||
msrp | ||
MSTI | ||
Mtls | ||
mtls | ||
mucho | ||
multiapi | ||
Multiclass | ||
|
2 changes: 1 addition & 1 deletion
2
specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/AuthConfigs.json
This file contains 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
2 changes: 1 addition & 1 deletion
2
.../resource-manager/Microsoft.App/preview/2023-04-01-preview/AvailableWorkloadProfiles.json
This file contains 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
2 changes: 1 addition & 1 deletion
2
...fication/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/BillingMeters.json
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2022-11-01-preview", | ||
"version": "2023-04-01-preview", | ||
"title": "ContainerApps API Client" | ||
}, | ||
"host": "management.azure.com", | ||
|
@@ -530,11 +530,11 @@ | |
} | ||
}, | ||
"ScaleRuleAuth": { | ||
"description": "Auth Secrets for Container App Scale Rule", | ||
"description": "Auth Secrets for Scale Rule", | ||
"type": "object", | ||
"properties": { | ||
"secretRef": { | ||
"description": "Name of the Container App secret from which to pull the auth params.", | ||
"description": "Name of the secret from which to pull the auth params.", | ||
"type": "string" | ||
}, | ||
"triggerParameter": { | ||
|
@@ -578,6 +578,11 @@ | |
"description": "User friendly suffix that is appended to the revision name", | ||
"type": "string" | ||
}, | ||
"terminationGracePeriodSeconds": { | ||
"description": "Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", | ||
"format": "int64", | ||
"type": "integer" | ||
}, | ||
"initContainers": { | ||
"description": "List of specialized containers that run before app containers.", | ||
"type": "array", | ||
|
@@ -611,6 +616,16 @@ | |
"x-ms-identifiers": [ | ||
"name" | ||
] | ||
}, | ||
"serviceBinds": { | ||
"description": "List of container app services bound to the app", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/ServiceBind" | ||
}, | ||
"x-ms-identifier": [ | ||
"name" | ||
] | ||
} | ||
} | ||
}, | ||
|
@@ -648,6 +663,10 @@ | |
"x-ms-identifiers": [ | ||
"secretRef" | ||
] | ||
}, | ||
"mountOptions": { | ||
"description": "Mount options used while mounting the AzureFile. Must be a comma-separated string.", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
|
@@ -676,6 +695,10 @@ | |
"mountPath": { | ||
"description": "Path within the container at which the volume should be mounted.Must not contain ':'.", | ||
"type": "string" | ||
}, | ||
"subPath": { | ||
"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
|
@@ -1136,6 +1159,20 @@ | |
] | ||
} | ||
} | ||
}, | ||
"ServiceBind": { | ||
"description": "Configuration to bind a ContainerApp to a dev ContainerApp Service", | ||
"type": "object", | ||
"properties": { | ||
"serviceId": { | ||
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. If it will always be an Azure Resource Id, consider using https://github.com/Azure/autorest/blob/main/docs/extensions/readme.md#x-ms-arm-id-details. |
||
"description": "Resource id of the target service", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "Name of the service bind", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"securityDefinitions": { | ||
|
2 changes: 1 addition & 1 deletion
2
.../app/resource-manager/Microsoft.App/preview/2023-04-01-preview/ConnectedEnvironments.json
This file contains 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
2 changes: 1 addition & 1 deletion
2
...e-manager/Microsoft.App/preview/2023-04-01-preview/ConnectedEnvironmentsCertificates.json
This file contains 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
2 changes: 1 addition & 1 deletion
2
...manager/Microsoft.App/preview/2023-04-01-preview/ConnectedEnvironmentsDaprComponents.json
This file contains 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
2 changes: 1 addition & 1 deletion
2
...ource-manager/Microsoft.App/preview/2023-04-01-preview/ConnectedEnvironmentsStorages.json
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2022-11-01-preview", | ||
"version": "2023-04-01-preview", | ||
"title": "ContainerApps API Client" | ||
}, | ||
"host": "management.azure.com", | ||
|
@@ -483,6 +483,124 @@ | |
} | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/start": { | ||
"post": { | ||
"tags": [ | ||
"ContainerApps" | ||
], | ||
"summary": "Start a container app", | ||
"operationId": "ContainerApps_Start", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"name": "containerAppName", | ||
"in": "path", | ||
"description": "Name of the Container App.", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._\\(\\)]+$" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Container App started successfully.", | ||
"schema": { | ||
"$ref": "#/definitions/ContainerApp" | ||
} | ||
}, | ||
"202": { | ||
"description": "Start operation is in progress.", | ||
"headers": { | ||
"Location": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "Common error response.", | ||
"schema": { | ||
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"Start Container App": { | ||
"$ref": "./examples/ContainerApps_Start.json" | ||
} | ||
}, | ||
"x-ms-long-running-operation": true, | ||
"x-ms-long-running-operation-options": { | ||
"final-state-via": "location" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/stop": { | ||
"post": { | ||
"tags": [ | ||
"ContainerApps" | ||
], | ||
"summary": "Stop a container app", | ||
"operationId": "ContainerApps_Stop", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"name": "containerAppName", | ||
"in": "path", | ||
"description": "Name of the Container App.", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^[-\\w\\._\\(\\)]+$" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Container App stopped successfully.", | ||
"schema": { | ||
"$ref": "#/definitions/ContainerApp" | ||
} | ||
}, | ||
"202": { | ||
"description": "Stop operation is in progress.", | ||
"headers": { | ||
"Location": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "Common error response.", | ||
"schema": { | ||
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"Stop Container App": { | ||
"$ref": "./examples/ContainerApps_Stop.json" | ||
} | ||
}, | ||
"x-ms-long-running-operation": true, | ||
"x-ms-long-running-operation-options": { | ||
"final-state-via": "location" | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
|
@@ -535,6 +653,10 @@ | |
"format": "int32", | ||
"description": "Optional. Max inactive revisions a Container App can have.", | ||
"type": "integer" | ||
}, | ||
"service": { | ||
"$ref": "#/definitions/Service", | ||
"description": "Container App to be a dev Container App Service" | ||
} | ||
} | ||
}, | ||
|
@@ -1205,6 +1327,19 @@ | |
"x-ms-client-flatten": true | ||
} | ||
} | ||
}, | ||
"Service": { | ||
"description": "Container App to be a dev service", | ||
"type": "object", | ||
"required": [ | ||
"type" | ||
], | ||
"properties": { | ||
"type": { | ||
"description": "Dev ContainerApp service type", | ||
"type": "string" | ||
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. |
||
} | ||
} | ||
} | ||
}, | ||
"securityDefinitions": { | ||
|
Oops, something went wrong.
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.
Minor: terminationGracePeriodInSeconds (notice the word "In").