-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Changes from 14 commits
41ffa32
7107e96
cdb5294
6c3d940
4c4b42d
8a49d04
f8b4b9a
dbd7b63
2ea2211
b80ac0f
a7f520b
719fee7
45991aa
dad7d3c
1e26714
37dba84
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 |
---|---|---|
|
@@ -1356,6 +1356,8 @@ MSLISTSTATUS | |
MSMCAZR | ||
msrp | ||
MSTI | ||
Mtls | ||
mtls | ||
mucho | ||
multiapi | ||
Multiclass | ||
|
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": { | ||
|
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": { | ||
|
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").