Skip to content

Commit 5b51cce

Browse files
Juliehzlpauld-msftanandanthonySeris370Chenghui Yu
authored
Release microsoft.app 2023 05 02 preview (#25051)
* Adds base for updating Microsoft.App from version preview/2023-04-01-preview to version 2023-05-02-preview * Updates readme * Updates API version in new specs and examples * fix description for endTime in JobExecution (#24359) * fix description for endTime in JobExecution * fix for breaking change error * Introduce Microsoft.App/builders tracked resource and Microsoft.App/builds proxy resource (#24240) * cherry picked commit to introduce builders and builds, and updated api version * added linting suppressions to readme * pre feedback: v3 -> v5, common build/er params, rename identity to identityresourceid, inprogress -> creating * fix typo * fix model validation * added updating provisioning status, and fixed a missed provisioning status ref * Create identity to registry mapping in builder object (#24275) * create identity to registry mapping in builder object * update mapping to be a dictionary of container registries, to enforce single container registry * run prettier * run prettier on examples fil * pr feedback: v5 -> v3 and added x ms param location * fix plural naming to singular * Add GetVerificationId API (#24286) * add api * fix typo * fix spacing * fix spacing * change version --------- Co-authored-by: Chenghui Yu <[email protected]> * Support multiple port for container app (#24332) (#24459) * Support multiple port for container app * lint * comment * Add blob storage token store support (#24455) * add blob storage token store support * update * update trigger type enum - schedule for jobs (#24399) * update trigger type enum - schedule for jobs * update trigger type enum - schedule for jobs * add previous changes merged to main * add encryption settings (#24822) * rename verification id to custom domain verification id (#24874) Co-authored-by: Chenghui Yu <[email protected]> * Removed SourceToCloud feature from 2023-05-02-preview (#24860) * Anfranci/fixstartexectemplateabv0423 (#24863) * fix start job exec template required property * fix start job exec template required property * fix start job exec template required property * fix start job exec template required property * Add list usages api for Microsoft.App (#24833) * add api * update * update * update * update * empty line --------- Co-authored-by: Paul Dorsch <[email protected]> Co-authored-by: anandanthony <[email protected]> Co-authored-by: Seris370 <[email protected]> Co-authored-by: Chenghui Yu <[email protected]> Co-authored-by: zhenqxuMSFT <[email protected]> Co-authored-by: njucz <[email protected]> Co-authored-by: Xingjian Wang <[email protected]>
1 parent 990705d commit 5b51cce

File tree

124 files changed

+17164
-0
lines changed

Some content is hidden

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

124 files changed

+17164
-0
lines changed

specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/AuthConfigs.json

Lines changed: 1034 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2023-05-02-preview",
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 workload profile with specific hardware configure to run container apps.",
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+
"category": {
78+
"description": "Used to categorize workload profiles.",
79+
"type": "string"
80+
},
81+
"applicability": {
82+
"type": "string",
83+
"description": "indicates whether the profile is default for the location.",
84+
"enum": [
85+
"LocationDefault",
86+
"Custom"
87+
],
88+
"x-ms-enum": {
89+
"name": "Applicability",
90+
"modelAsString": true
91+
}
92+
},
93+
"cores": {
94+
"type": "integer",
95+
"format": "int32",
96+
"description": "Number of cores in CPU."
97+
},
98+
"memoryGiB": {
99+
"type": "integer",
100+
"format": "int32",
101+
"description": "Memory in GiB."
102+
},
103+
"displayName": {
104+
"type": "string",
105+
"description": "The everyday name of the workload profile."
106+
}
107+
}
108+
}
109+
}
110+
},
111+
"AvailableWorkloadProfilesCollection": {
112+
"description": "Collection of available workload profiles in the location.",
113+
"required": [
114+
"value"
115+
],
116+
"type": "object",
117+
"properties": {
118+
"value": {
119+
"description": "Collection of workload profiles.",
120+
"type": "array",
121+
"items": {
122+
"$ref": "#/definitions/AvailableWorkloadProfile"
123+
}
124+
},
125+
"nextLink": {
126+
"description": "Link to next page of resources.",
127+
"type": "string",
128+
"readOnly": true
129+
}
130+
}
131+
}
132+
},
133+
"securityDefinitions": {
134+
"azure_auth": {
135+
"type": "oauth2",
136+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
137+
"flow": "implicit",
138+
"description": "Azure Active Directory OAuth2 Flow",
139+
"scopes": {
140+
"user_impersonation": "impersonate your user account"
141+
}
142+
}
143+
}
144+
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2023-05-02-preview",
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": "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 categorize billing meters.",
76+
"type": "string"
77+
},
78+
"meterType": {
79+
"type": "string",
80+
"description": "Billing meter type."
81+
},
82+
"displayName": {
83+
"type": "string",
84+
"description": "The everyday name of the billing meter."
85+
}
86+
}
87+
}
88+
}
89+
},
90+
"BillingMeterCollection": {
91+
"description": "Collection of billing meters.",
92+
"required": [
93+
"value"
94+
],
95+
"type": "object",
96+
"properties": {
97+
"value": {
98+
"description": "Collection of billing meters.",
99+
"type": "array",
100+
"items": {
101+
"$ref": "#/definitions/BillingMeter"
102+
}
103+
}
104+
}
105+
}
106+
},
107+
"securityDefinitions": {
108+
"azure_auth": {
109+
"type": "oauth2",
110+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
111+
"flow": "implicit",
112+
"description": "Azure Active Directory OAuth2 Flow",
113+
"scopes": {
114+
"user_impersonation": "impersonate your user account"
115+
}
116+
}
117+
}
118+
}

0 commit comments

Comments
 (0)