Skip to content

Commit

Permalink
Release app microsoft.app 2024 02 02 preview (Azure#29312)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.App from version preview/2023-11-02-preview to version 2024-02-02-preview

* Updates readme

* Updates API version in new specs and examples

* Functions Extension endpoint for Web RP (Azure#27873)

* Functions extension api-spec commit

* merge with latest

* Functions Extension in 2024-02-02-preview

* correcetd version in readme

* avacado fail fix - version

* pattern addition

* fix for PathForResourceAction

* lint diff and model validation checks

* AutoRest exception fix

* endpoint response as string and not schema

* response schema with string

* example schema

* example within spec

* extension example with data

* extensions example with body

* body as string

* [Microsoft.App] add runtime attribute to app configuration (Azure#27892)

* add configuration.runtime for apps

* Add Nacos For Java Component. (Azure#28045)

* Add Nacos For Java Component.

* fix spell check.

* [Container Apps] Update Runtime to add DotNet support (Azure#28001)

* [Container Apps] Update Runtime to add DotNet support

* Remove default value

* Rename dotNet to dotnet

* [Container Apps] Remove AspireResourceServerApi type for DotNetComponent (Azure#28005)

* [Container Apps] Remove AspireResourceServerApi type for DotNetComponent

* Only keep changes to 2024-02-02-preview

* [ContainerApp] Support peer traffic encryption. (Azure#28129)

* Make the JavaComponent definitions polymorphism and expose fqdn for sba and eureka (Azure#28102)

* Make the JavaComponent definitions polymorphism

* fix api version

* revert error response change

* refine examples

* fix default value

* fix

* fix

* try to remove required

* try remove require in patch body

* fix

* try fix lint

* fix

* add suppression for discriminator

* fix

---------

Co-authored-by: Xuyang Cao <[email protected]>

* ContainerAppsBuild and ContainerAppsPatch API (Azure#27982)

* Added CloudBuild and CloudPatch

* Fixed pipeline errors

* Added ContainerApp example

* Fixed typo in example

* Fixed linting error

* Fixed spacing

* Addressed comments

* Addressed comments and modified sample

* Fixed linting error

* Addressed comments

* Linting

* Fixed typo

* Fixed Typo

* Resolving model validation error

* [Microsoft.App] add java agent related properties (Azure#28192)

* add java agent related properties

* fix build error

* fix format

* re-run pipeline

* update enum list and fix typo

* revert cspell config

* update level field type from enum to string

* add identifiers for array prop

* Fix error response for aca (Azure#28425)

* fix

* fix

* Adding identity for scale rules (Azure#28283)

* Adding identity for scale rules

* fix scale example

* Fix schema issue for Microsoft.App in 2024-02-02-preview (Azure#28454)

* fix

* fix

* fix

* fix

* fix

* fix

* Update Container Apps Swagger Schema to include kind property  (Azure#28405)

* Added support for KIND property to container apps schema

* added reference to example request schema

* prettier check

* changes to example conforming to swagger

* used enum for app kind

* minor fixes

* merged main

* Revert "merged main"

This reverts commit 2437d60.

* fixed checks

* Add detailed job execution to api (Azure#27977)

* Add detailed job execution to api

* Add fields

* address comment

* add x-ms-identifiers

* prettier

* address comments

* Address comments

* Address comments

* update example

* Fix property name

* Fix example

* [Microsoft.App] optimize java agent related properties (Azure#28573)

* optimize java agent related props

* fix

* adding logging property to include logger settings

---------

Co-authored-by: Bowen Wan <[email protected]>

* Add accountName for queueScaler (Azure#28672)

* add accountName for queueScaler

* updated example

* updated

* updated

* updated

* Adding identity settings (Azure#28117)

* Adding identity settings

* fix casing in examples

* Switch to array since ARM doesn't allow dictionaries.

* identity property should be required.

* prettier

* Updating description

* Adding Jobs spec

* Update specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/Jobs.json

Co-authored-by: Jitin John <[email protected]>

* Move IdentitySettings to CommonDefinitions

---------

Co-authored-by: Jitin John <[email protected]>

* Add SessionPools and Sessions (Azure#28047)

* Add SessionPools.json and Sessions.json

* Add private endpoint connections for managed environment (Azure#28775)

* add pe

* fix

* fix

* fix

* fix

* fix

* fix

* use v5

* fix

* fix

* Add support for SMB storage in connectedEnvironment (Azure#29158)

* Add support for SMB storage in connectedEnvironment

* move smb properties to common

* fix reference

---------

Co-authored-by: [email protected] <[email protected]>

* API spec for LogicApps extension on Microsoft.App (Azure#29083)

* API spec for LogicApps extension on Microsoft.App

* format

* fix typos

* fix issues

* fix example references

* fix more issues

* fix issues

* fix more model validation

* fix

* fix model

* fix format

* fix lintdiff

* fix example

* fix headers

* add delete

* add missing file

---------

Co-authored-by: Anand G Menon <[email protected]>

* Add publicNetworkAccess in managed environment (Azure#29092)

* fix

* fix

* fix example

* fix lint

* revert previous change for patch

* fix go sdk duplicate schema

* fix go sdk duplicate schema

* fix billing meter

* fix billing meter

---------

Co-authored-by: Jitin John <[email protected]>
Co-authored-by: SushmithaVReddy <[email protected]>
Co-authored-by: sonwan2020 <[email protected]>
Co-authored-by: Xiangyang Yu <[email protected]>
Co-authored-by: daniv-msft <[email protected]>
Co-authored-by: Xuyang Cao <[email protected]>
Co-authored-by: Xuyang Cao <[email protected]>
Co-authored-by: Harry Li <[email protected]>
Co-authored-by: Jimmy Fang <[email protected]>
Co-authored-by: Vaclav Turecek <[email protected]>
Co-authored-by: Shubham Sachdeva <[email protected]>
Co-authored-by: lihaMSFT <[email protected]>
Co-authored-by: Bowen Wan <[email protected]>
Co-authored-by: njucz <[email protected]>
Co-authored-by: yitaopan <[email protected]>
Co-authored-by: anandgmenon <[email protected]>
Co-authored-by: [email protected] <[email protected]>
  • Loading branch information
18 people authored Jun 17, 2024
1 parent 62da663 commit 20b4195
Show file tree
Hide file tree
Showing 226 changed files with 31,786 additions and 3 deletions.
6 changes: 6 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@
"otlp"
]
},
{
"filename": "**/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/ContainerApps.json",
"words": [
"workflowapp"
]
},
{
"filename": "**/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json",
"words": [
Expand Down
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,7 @@ myvolume
myworkbooks
n'eventtype
n'recognition
nacos
nadella
nagios
nameserver
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
{
"swagger": "2.0",
"info": {
"title": "ContainerApps API Client",
"version": "2024-02-02-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{appName}/resiliencyPolicies/{name}": {
"put": {
"tags": [
"AppResiliency"
],
"summary": "Create or update an application's resiliency policy.",
"description": "Create or update container app resiliency policy.",
"operationId": "AppResiliency_CreateOrUpdate",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "appName",
"description": "Name of the Container App.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"name": "name",
"description": "Name of the resiliency policy.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"name": "resiliencyEnvelope",
"in": "body",
"description": "The resiliency policy to create or update.",
"required": true,
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
}
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
}
},
"201": {
"description": "App Resiliency create or update has been started.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Create or Update App Resiliency": {
"$ref": "./examples/AppResiliency_CreateOrUpdate.json"
}
}
},
"patch": {
"tags": [
"AppResiliency"
],
"summary": "Update an application's resiliency policy.",
"description": "Update container app resiliency policy.",
"operationId": "AppResiliency_Update",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "appName",
"description": "Name of the Container App.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"name": "name",
"description": "Name of the resiliency policy.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"name": "resiliencyEnvelope",
"in": "body",
"description": "The resiliency policy to update.",
"required": true,
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
}
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Update App Resiliency": {
"$ref": "./examples/AppResiliency_Patch.json"
}
}
},
"delete": {
"tags": [
"AppResiliency"
],
"summary": "Delete an application's resiliency policy.",
"description": "Delete container app resiliency policy.",
"operationId": "AppResiliency_Delete",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "appName",
"description": "Name of the Container App.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"name": "name",
"description": "Name of the resiliency policy.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Resiliency policy deleted successfully."
},
"204": {
"description": "Resiliency policy does not exist."
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Delete App Resiliency": {
"$ref": "./examples/AppResiliency_Delete.json"
}
}
},
"get": {
"tags": [
"AppResiliency"
],
"summary": "Get an application's resiliency policy.",
"description": "Get container app resiliency policy.",
"operationId": "AppResiliency_Get",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "appName",
"description": "Name of the Container App.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"name": "name",
"description": "Name of the resiliency policy.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Get App Resiliency": {
"$ref": "./examples/AppResiliency_Get.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{appName}/resiliencyPolicies": {
"get": {
"tags": [
"AppResiliency"
],
"summary": "List an application's resiliency policies.",
"description": "List container app resiliency policies.",
"operationId": "AppResiliency_List",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "appName",
"description": "Name of the Container App.",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/AppResiliencyCollection"
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List App Resiliency": {
"$ref": "./examples/AppResiliency_List.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
}
}
Loading

0 comments on commit 20b4195

Please sign in to comment.