Skip to content

Commit

Permalink
Release app microsoft.app 2022 10 01 (#21683)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.App from version preview/2022-06-01-preview to version 2022-10-01

* Updates readme

* Updates API version in new specs and examples

* Add AppState and LatestReadyRevisionName (#21034)

* Add new props

* add defaults

* Add swagger for client cert & CORS policy (#21126)

* Fix password format of env domain for 2022-10-01 (#21463)

* fix

* fix

* Remove AppState property as we decided to postpone it (#21483)

* Remove AppState property as we decided to postpone it

* Fix swagger issues

* More swagger fixes

* s360 swagger correctness fixes (#21472)

Co-authored-by: Nan Jiang <naji@microsoft.com>

* Add kind for managed environment (#21589)

* add

* fix

* fix (#21730)

* fix (#21747)

Co-authored-by: p-bouchon <107427816+p-bouchon@users.noreply.github.com>
Co-authored-by: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com>
Co-authored-by: zhenqxuMSFT <zhenqxu@microsoft.com>
Co-authored-by: najian <jiangnan8924@gmail.com>
Co-authored-by: Nan Jiang <naji@microsoft.com>
  • Loading branch information
6 people authored Dec 8, 2022
1 parent 63adf8a commit df77748
Show file tree
Hide file tree
Showing 96 changed files with 12,884 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{
"swagger": "2.0",
"info": {
"version": "2022-10-01",
"title": "ContainerApps API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/availableManagedEnvironmentsWorkloadProfileTypes": {
"get": {
"tags": [
"AvailableWorkloadProfiles"
],
"summary": "Get available workload profiles by location.",
"description": "Get all available workload profiles for a location.",
"operationId": "AvailableWorkloadProfiles_Get",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/AvailableWorkloadProfilesCollection"
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"BillingMeters_Get": {
"$ref": "./examples/AvailableWorkloadProfiles_Get.json"
}
}
}
}
},
"definitions": {
"AvailableWorkloadProfile": {
"description": "A premium workload profile.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
}
],
"properties": {
"location": {
"type": "string",
"description": "Region of the workload profile."
},
"properties": {
"description": "Revision resource specific properties",
"type": "object",
"properties": {
"billingMeterCategory": {
"description": "Used to map workload profile types to billing meter.",
"type": "string",
"enum": [
"PremiumSkuGeneralPurpose",
"PremiumSkuMemoryOptimized",
"PremiumSkuComputeOptimized"
],
"x-ms-enum": {
"name": "Category",
"modelAsString": true
}
},
"applicability": {
"type": "string",
"description": "indicates whether the profile is default for the location.",
"enum": [
"LocationDefault",
"Custom"
],
"x-ms-enum": {
"name": "Applicability",
"modelAsString": true
}
},
"cores": {
"type": "integer",
"format": "int32",
"description": "Number of cores in CPU."
},
"memoryGiB": {
"type": "integer",
"format": "int32",
"description": "Memory in GiB."
},
"displayName": {
"type": "string",
"description": "The everyday name of the workload profile."
}
}
}
}
},
"AvailableWorkloadProfilesCollection": {
"description": "Collection of available workload profiles in the location.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of workload profiles.",
"type": "array",
"items": {
"$ref": "#/definitions/AvailableWorkloadProfile"
}
},
"nextLink": {
"description": "Link to next page of resources.",
"type": "string",
"readOnly": true
}
}
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"swagger": "2.0",
"info": {
"version": "2022-10-01",
"title": "ContainerApps API Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/billingMeters": {
"get": {
"tags": [
"BillingMeters"
],
"summary": "Get billing meters by location.",
"description": "Get all billingMeters for a location.",
"operationId": "BillingMeters_Get",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/BillingMeterCollection"
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"BillingMeters_Get": {
"$ref": "./examples/BillingMeters_Get.json"
}
}
}
}
},
"definitions": {
"BillingMeter": {
"description": "A premium billing meter.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
}
],
"properties": {
"location": {
"type": "string",
"description": "Region for the billing meter."
},
"properties": {
"description": "Revision resource specific properties",
"type": "object",
"properties": {
"category": {
"description": "Used to map workload profile types to billing meter.",
"type": "string",
"enum": [
"PremiumSkuGeneralPurpose",
"PremiumSkuMemoryOptimized",
"PremiumSkuComputeOptimized"
],
"x-ms-enum": {
"name": "Category",
"modelAsString": true
}
},
"meterType": {
"type": "string",
"description": "Billing meter type."
},
"displayName": {
"type": "string",
"description": "The everyday name of the billing meter."
}
}
}
}
},
"BillingMeterCollection": {
"description": "Collection of premium workload billing meters.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of billing meters.",
"type": "array",
"items": {
"$ref": "#/definitions/BillingMeter"
}
}
}
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}
Loading

0 comments on commit df77748

Please sign in to comment.