Skip to content

Commit 07f2266

Browse files
JuliehzlLGDoorAlancere
authored
Release app microsoft.app 2024 03 01 (#28571)
* Adds base for updating Microsoft.App from version stable/2023-05-01 to version 2024-03-01 * Updates readme * Updates API version in new specs and examples * [ContainerApp] Support peer traffic encryption. (#28159) * fix (#28426) * Add new feature GPU and job diagnostics to 2024-03-01 (#27875) * fix * fix * Add more features to 2024-03-01 which are same with 2023-05-02-preview (#28369) * fix * fix * fix * update readme * add sdk-suppressions.yaml --------- Co-authored-by: Alancere <[email protected]> --------- Co-authored-by: Xiangyang Yu <[email protected]> Co-authored-by: Alancere <[email protected]>
1 parent a6678df commit 07f2266

File tree

128 files changed

+17546
-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.

128 files changed

+17546
-2
lines changed

specification/app/resource-manager/Microsoft.App/stable/2024-03-01/AuthConfigs.json

Lines changed: 1034 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2024-03-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/v5/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+
"gpus": {
104+
"type": "integer",
105+
"format": "int32",
106+
"description": "Number of GPUs."
107+
},
108+
"displayName": {
109+
"type": "string",
110+
"description": "The everyday name of the workload profile."
111+
}
112+
}
113+
}
114+
}
115+
},
116+
"AvailableWorkloadProfilesCollection": {
117+
"description": "Collection of available workload profiles in the location.",
118+
"required": [
119+
"value"
120+
],
121+
"type": "object",
122+
"properties": {
123+
"value": {
124+
"description": "Collection of workload profiles.",
125+
"type": "array",
126+
"items": {
127+
"$ref": "#/definitions/AvailableWorkloadProfile"
128+
}
129+
},
130+
"nextLink": {
131+
"description": "Link to next page of resources.",
132+
"type": "string",
133+
"readOnly": true
134+
}
135+
}
136+
}
137+
},
138+
"securityDefinitions": {
139+
"azure_auth": {
140+
"type": "oauth2",
141+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
142+
"flow": "implicit",
143+
"description": "Azure Active Directory OAuth2 Flow",
144+
"scopes": {
145+
"user_impersonation": "impersonate your user account"
146+
}
147+
}
148+
}
149+
}
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": "2024-03-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": "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)