Skip to content

Commit df77748

Browse files
Juliehzlp-bouchonruslanyzhenqxuMSFTnajian
authored
Release app microsoft.app 2022 10 01 (#21683)
* 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 <[email protected]> * Add kind for managed environment (#21589) * add * fix * fix (#21730) * fix (#21747) Co-authored-by: p-bouchon <[email protected]> Co-authored-by: Ruslan Yakushev <[email protected]> Co-authored-by: zhenqxuMSFT <[email protected]> Co-authored-by: najian <[email protected]> Co-authored-by: Nan Jiang <[email protected]>
1 parent 63adf8a commit df77748

File tree

96 files changed

+12884
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+12884
-2
lines changed

specification/app/resource-manager/Microsoft.App/stable/2022-10-01/AuthConfigs.json

Lines changed: 980 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-10-01",
5+
"title": "ContainerApps API Client"
6+
},
7+
"host": "management.azure.com",
8+
"schemes": [
9+
"https"
10+
],
11+
"produces": [
12+
"application/json"
13+
],
14+
"paths": {
15+
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/availableManagedEnvironmentsWorkloadProfileTypes": {
16+
"get": {
17+
"tags": [
18+
"AvailableWorkloadProfiles"
19+
],
20+
"summary": "Get available workload profiles by location.",
21+
"description": "Get all available workload profiles for a location.",
22+
"operationId": "AvailableWorkloadProfiles_Get",
23+
"parameters": [
24+
{
25+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
26+
},
27+
{
28+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
29+
},
30+
{
31+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
32+
}
33+
],
34+
"responses": {
35+
"200": {
36+
"description": "OK",
37+
"schema": {
38+
"$ref": "#/definitions/AvailableWorkloadProfilesCollection"
39+
}
40+
},
41+
"default": {
42+
"description": "Error response.",
43+
"schema": {
44+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
45+
}
46+
}
47+
},
48+
"x-ms-pageable": {
49+
"nextLinkName": "nextLink"
50+
},
51+
"x-ms-examples": {
52+
"BillingMeters_Get": {
53+
"$ref": "./examples/AvailableWorkloadProfiles_Get.json"
54+
}
55+
}
56+
}
57+
}
58+
},
59+
"definitions": {
60+
"AvailableWorkloadProfile": {
61+
"description": "A premium workload profile.",
62+
"type": "object",
63+
"allOf": [
64+
{
65+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
66+
}
67+
],
68+
"properties": {
69+
"location": {
70+
"type": "string",
71+
"description": "Region of the workload profile."
72+
},
73+
"properties": {
74+
"description": "Revision resource specific properties",
75+
"type": "object",
76+
"properties": {
77+
"billingMeterCategory": {
78+
"description": "Used to map workload profile types to billing meter.",
79+
"type": "string",
80+
"enum": [
81+
"PremiumSkuGeneralPurpose",
82+
"PremiumSkuMemoryOptimized",
83+
"PremiumSkuComputeOptimized"
84+
],
85+
"x-ms-enum": {
86+
"name": "Category",
87+
"modelAsString": true
88+
}
89+
},
90+
"applicability": {
91+
"type": "string",
92+
"description": "indicates whether the profile is default for the location.",
93+
"enum": [
94+
"LocationDefault",
95+
"Custom"
96+
],
97+
"x-ms-enum": {
98+
"name": "Applicability",
99+
"modelAsString": true
100+
}
101+
},
102+
"cores": {
103+
"type": "integer",
104+
"format": "int32",
105+
"description": "Number of cores in CPU."
106+
},
107+
"memoryGiB": {
108+
"type": "integer",
109+
"format": "int32",
110+
"description": "Memory in GiB."
111+
},
112+
"displayName": {
113+
"type": "string",
114+
"description": "The everyday name of the workload profile."
115+
}
116+
}
117+
}
118+
}
119+
},
120+
"AvailableWorkloadProfilesCollection": {
121+
"description": "Collection of available workload profiles in the location.",
122+
"required": [
123+
"value"
124+
],
125+
"type": "object",
126+
"properties": {
127+
"value": {
128+
"description": "Collection of workload profiles.",
129+
"type": "array",
130+
"items": {
131+
"$ref": "#/definitions/AvailableWorkloadProfile"
132+
}
133+
},
134+
"nextLink": {
135+
"description": "Link to next page of resources.",
136+
"type": "string",
137+
"readOnly": true
138+
}
139+
}
140+
}
141+
},
142+
"securityDefinitions": {
143+
"azure_auth": {
144+
"type": "oauth2",
145+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
146+
"flow": "implicit",
147+
"description": "Azure Active Directory OAuth2 Flow",
148+
"scopes": {
149+
"user_impersonation": "impersonate your user account"
150+
}
151+
}
152+
}
153+
}
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-10-01",
5+
"title": "ContainerApps API Client"
6+
},
7+
"host": "management.azure.com",
8+
"schemes": [
9+
"https"
10+
],
11+
"produces": [
12+
"application/json"
13+
],
14+
"paths": {
15+
"/subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/billingMeters": {
16+
"get": {
17+
"tags": [
18+
"BillingMeters"
19+
],
20+
"summary": "Get billing meters by location.",
21+
"description": "Get all billingMeters for a location.",
22+
"operationId": "BillingMeters_Get",
23+
"parameters": [
24+
{
25+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
26+
},
27+
{
28+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
29+
},
30+
{
31+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
32+
}
33+
],
34+
"responses": {
35+
"200": {
36+
"description": "OK",
37+
"schema": {
38+
"$ref": "#/definitions/BillingMeterCollection"
39+
}
40+
},
41+
"default": {
42+
"description": "Error response.",
43+
"schema": {
44+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
45+
}
46+
}
47+
},
48+
"x-ms-examples": {
49+
"BillingMeters_Get": {
50+
"$ref": "./examples/BillingMeters_Get.json"
51+
}
52+
}
53+
}
54+
}
55+
},
56+
"definitions": {
57+
"BillingMeter": {
58+
"description": "A premium billing meter.",
59+
"type": "object",
60+
"allOf": [
61+
{
62+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
63+
}
64+
],
65+
"properties": {
66+
"location": {
67+
"type": "string",
68+
"description": "Region for the billing meter."
69+
},
70+
"properties": {
71+
"description": "Revision resource specific properties",
72+
"type": "object",
73+
"properties": {
74+
"category": {
75+
"description": "Used to map workload profile types to billing meter.",
76+
"type": "string",
77+
"enum": [
78+
"PremiumSkuGeneralPurpose",
79+
"PremiumSkuMemoryOptimized",
80+
"PremiumSkuComputeOptimized"
81+
],
82+
"x-ms-enum": {
83+
"name": "Category",
84+
"modelAsString": true
85+
}
86+
},
87+
"meterType": {
88+
"type": "string",
89+
"description": "Billing meter type."
90+
},
91+
"displayName": {
92+
"type": "string",
93+
"description": "The everyday name of the billing meter."
94+
}
95+
}
96+
}
97+
}
98+
},
99+
"BillingMeterCollection": {
100+
"description": "Collection of premium workload billing meters.",
101+
"required": [
102+
"value"
103+
],
104+
"type": "object",
105+
"properties": {
106+
"value": {
107+
"description": "Collection of billing meters.",
108+
"type": "array",
109+
"items": {
110+
"$ref": "#/definitions/BillingMeter"
111+
}
112+
}
113+
}
114+
}
115+
},
116+
"securityDefinitions": {
117+
"azure_auth": {
118+
"type": "oauth2",
119+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
120+
"flow": "implicit",
121+
"description": "Azure Active Directory OAuth2 Flow",
122+
"scopes": {
123+
"user_impersonation": "impersonate your user account"
124+
}
125+
}
126+
}
127+
}

0 commit comments

Comments
 (0)