Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@
"httpSettings": {
"$ref": "#/definitions/HttpSettings",
"description": "The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization."
},
"encryptionSettings": {
"$ref": "#/definitions/EncryptionSettings",
"description": "The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization."
}
},
"x-ms-client-flatten": true
Expand Down Expand Up @@ -354,6 +358,20 @@
}
}
},
"EncryptionSettings": {
"description": "The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.",
"type": "object",
"properties": {
"containerAppAuthEncryptionSecretName": {
"description": "The secret name which is referenced for EncryptionKey.",
"type": "string"
},
"containerAppAuthSigningSecretName": {
"description": "The secret name which is referenced for SigningKey.",
"type": "string"
}
}
},
"HttpSettingsRoutes": {
"description": "The configuration settings of the paths HTTP requests.",
"type": "object",
Expand Down Expand Up @@ -399,6 +417,10 @@
"$ref": "#/definitions/LoginRoutes",
"description": "The routes that specify the endpoints used for login and logout requests."
},
"tokenStore": {
"$ref": "#/definitions/TokenStore",
"description": "The configuration settings of the token store."
},
"preserveUrlFragmentsForLogins": {
"description": "<code>true</code> if the fragments from the request are preserved after the login request is made; otherwise, <code>false</code>.",
"type": "boolean"
Expand Down Expand Up @@ -430,6 +452,38 @@
}
}
},
"TokenStore": {
"description": "The configuration settings of the token store.",
"type": "object",
"properties": {
"enabled": {
"description": "<code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.\n The default is <code>false</code>.",
"type": "boolean"
},
"tokenRefreshExtensionHours": {
"format": "double",
"description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours.",
"type": "number"
},
"azureBlobStorage": {
"$ref": "#/definitions/BlobStorageTokenStore",
"description": "The configuration settings of the storage of the tokens if blob storage is used."
}
}
},
"BlobStorageTokenStore": {
"description": "The configuration settings of the storage of the tokens if blob storage is used.",
"type": "object",
"required": [
"sasUrlSettingName"
],
"properties": {
"sasUrlSettingName": {
"description": "The name of the app secrets containing the SAS URL of the blob storage containing the tokens.",
"type": "string"
}
}
},
"CookieExpiration": {
"description": "The configuration settings of the session cookie's expiration.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,16 @@
"corsPolicy": {
"description": "CORS policy for container app",
"$ref": "#/definitions/CorsPolicy"
},
"additionalPortMappings": {
"description": "Settings to expose additional ports on container app",
"type": "array",
"items": {
"$ref": "#/definitions/IngressPortMapping"
},
"x-ms-identifiers": [
"targetPort"
]
}
}
},
Expand Down Expand Up @@ -1166,6 +1176,30 @@
}
}
},
"IngressPortMapping": {
"description": "Port mappings of container app ingress",
"type": "object",
"required": [
"external",
"targetPort"
],
"properties": {
"external": {
"description": "Specifies whether the app port is accessible outside of the environment",
"type": "boolean"
},
"targetPort": {
"format": "int32",
"description": "Specifies the port user's container listens on",
"type": "integer"
},
"exposedPort": {
"format": "int32",
"description": "Specifies the exposed port for the target port. If not specified, it defaults to target port",
"type": "integer"
}
}
},
"CustomHostnameAnalysisResult": {
"description": "Custom domain analysis.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"swagger": "2.0",
"info": {
"version": "2024-03-01",
"title": "ContainerApps API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.App/getCustomDomainVerificationId": {
"post": {
"tags": [
"Subscriptions"
],
"description": "Get the verification id of a subscription used for verifying custom domains",
"operationId": "GetCustomDomainVerificationId",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. The custom domain verification id has been returned successfully.",
"schema": {
"$ref": "#/definitions/CustomDomainVerificationId"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List all operations": {
"$ref": "./examples/Subscriptions_GetCustomDomainVerificationId.json"
}
}
}
}
},
"definitions": {
"CustomDomainVerificationId": {
"description": "Custom domain verification Id of a subscription",
"type": "string",
"readOnly": true
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"swagger": "2.0",
"info": {
"version": "2024-03-01",
"title": "ContainerApps API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/usages": {
"get": {
"tags": [
"Usages"
],
"operationId": "Usages_List",
"description": "Gets, for the specified location, the current resource usage information as well as the limits under the subscription.",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The location for which resource usage is queried.",
"pattern": "^[-\\w\\._]+$"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ListUsagesResult"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List usages": {
"$ref": "./examples/Usages_List.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/usages": {
"get": {
"tags": [
"Usages"
],
"operationId": "ManagedEnvironmentUsages_List",
"description": "Gets the current usage information as well as the limits for environment.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "environmentName",
"in": "path",
"description": "Name of the Environment.",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ListUsagesResult"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List managed environment usages": {
"$ref": "./examples/ManagedEnvironmentUsages_List.json"
}
}
}
}
},
"definitions": {
"UsageName": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The name of the resource."
},
"localizedValue": {
"type": "string",
"description": "The localized name of the resource."
}
},
"description": "The Usage Names."
},
"Usage": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "An enum describing the unit of usage measurement.",
"enum": [
"Count"
],
"x-ms-enum": {
"name": "UsageUnit",
"modelAsString": false
}
},
"currentValue": {
"type": "number",
"format": "float",
"description": "The current usage of the resource."
},
"limit": {
"type": "number",
"format": "float",
"description": "The maximum permitted usage of the resource."
},
"name": {
"$ref": "#/definitions/UsageName",
"description": "The name of the type of usage."
}
},
"required": [
"unit",
"currentValue",
"limit",
"name"
],
"description": "Describes Compute Resource Usage."
},
"ListUsagesResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Usage"
},
"x-ms-identifiers": [
"name"
],
"description": "The list of compute resource usages."
},
"nextLink": {
"type": "string",
"description": "The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information."
}
}
}
}
}
Loading