Skip to content

Commit 07c5856

Browse files
authored
[Hub Generated] Review request for Microsoft.Education to add version preview/2021-12-01-preview (#18297)
* New Swagger Spec File * New Swagger Example Spec File * New Readme Config File * New Azure AZ Readme Config File * New Azure CLI Readme Config File * New Go Language Readme Config File * New Python Language Readme Config File * New Typescript Language Readme Config File * New C# Language Readme Config File * merging educationrp spec to public branch * Delete OperationGroupGet.json fix avocado error
1 parent 9299f33 commit 07c5856

34 files changed

+2664
-0
lines changed

specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/education.json

Lines changed: 1644 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"billingAccountName": "{billingAccountName}",
5+
"billingProfileName": "{billingProfileName}",
6+
"invoiceSectionName": "{invoiceSectionName}",
7+
"parameters": {
8+
"properties": {
9+
"displayName": "example lab",
10+
"budgetPerStudent": {
11+
"currency": "USD",
12+
"value": 100
13+
},
14+
"description": "example lab description",
15+
"expirationDate": "2021-12-09T22:11:29.422Z"
16+
}
17+
}
18+
},
19+
"responses": {
20+
"201": {
21+
"body": {
22+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
23+
"name": "default",
24+
"type": "Microsoft.Education/Labs",
25+
"properties": {
26+
"displayName": "example lab",
27+
"budgetPerStudent": {
28+
"currency": "USD",
29+
"value": 100
30+
},
31+
"description": "example lab description",
32+
"expirationDate": "2021-12-09T21:25:56.838Z",
33+
"effectiveDate": "2021-11-09T21:25:56.838Z",
34+
"status": "Active"
35+
}
36+
}
37+
},
38+
"200": {
39+
"body": {
40+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
41+
"name": "default",
42+
"type": "Microsoft.Education/Labs",
43+
"properties": {
44+
"displayName": "example lab",
45+
"budgetPerStudent": {
46+
"currency": "USD",
47+
"value": 100
48+
},
49+
"description": "example lab description",
50+
"expirationDate": "2021-12-09T21:25:56.838Z",
51+
"effectiveDate": "2021-11-09T21:25:56.838Z",
52+
"status": "Active"
53+
}
54+
}
55+
}
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"billingAccountName": "{billingAccountName}",
5+
"billingProfileName": "{billingProfileName}",
6+
"invoiceSectionName": "{invoiceSectionName}",
7+
"studentAlias": "{studentAlias}",
8+
"parameters": {
9+
"properties": {
10+
"firstName": "test",
11+
"lastName": "user",
12+
"email": "[email protected]",
13+
"role": "Student",
14+
"budget": {
15+
"currency": "USD",
16+
"value": 100
17+
},
18+
"expirationDate": "2021-11-09T22:13:21.795Z"
19+
}
20+
}
21+
},
22+
"responses": {
23+
"201": {
24+
"body": {
25+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}",
26+
"name": "{studentAlias}",
27+
"type": "Microsoft.Education/Students",
28+
"properties": {
29+
"firstName": "test",
30+
"lastName": "user",
31+
"email": "[email protected]",
32+
"role": "Student",
33+
"budget": {
34+
"currency": "USD",
35+
"value": 100
36+
},
37+
"subscriptionId": "000000000-0000-0000-0000-00000000000000",
38+
"expirationDate": "2022-11-09T21:43:54.161Z",
39+
"status": "Active",
40+
"effectiveDate": "2021-11-09T21:43:54.161Z"
41+
}
42+
}
43+
},
44+
"200": {
45+
"body": {
46+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}",
47+
"name": "{studentAlias}",
48+
"type": "Microsoft.Education/Students",
49+
"properties": {
50+
"firstName": "test",
51+
"lastName": "user",
52+
"email": "[email protected]",
53+
"role": "Student",
54+
"budget": {
55+
"currency": "USD",
56+
"value": 100
57+
},
58+
"subscriptionId": "000000000-0000-0000-0000-00000000000000",
59+
"expirationDate": "2022-11-09T21:43:54.161Z",
60+
"status": "Active",
61+
"effectiveDate": "2021-11-09T21:43:54.161Z"
62+
}
63+
}
64+
}
65+
}
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"billingAccountName": "{billingAccountName}",
4+
"billingProfileName": "{billingProfileName}",
5+
"invoiceSectionName": "{invoiceSectionName}",
6+
"api-version": "2021-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"billingAccountName": "{billingAccountName}",
4+
"billingProfileName": "{billingProfileName}",
5+
"invoiceSectionName": "{invoiceSectionName}",
6+
"studentAlias": "{studentAlias}",
7+
"api-version": "2021-12-01-preview"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"billingAccountName": "{billingAccountName}",
4+
"billingProfileName": "{billingProfileName}",
5+
"invoiceSectionName": "{invoiceSectionName}",
6+
"onlyUpdateStudentCount": false,
7+
"parameters": {
8+
"maxStudentCount": 10
9+
},
10+
"api-version": "2021-12-01-preview"
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
16+
"name": "default",
17+
"type": "Microsoft.Education/Labs",
18+
"properties": {
19+
"displayName": "example lab",
20+
"budgetPerStudent": {
21+
"currency": "USD",
22+
"value": 100
23+
},
24+
"description": "example lab description",
25+
"expirationDate": "2021-12-09T21:25:56.838Z",
26+
"effectiveDate": "2021-11-09T21:25:56.838Z",
27+
"status": "Active",
28+
"maxStudentCount": 10,
29+
"invitationCode": "exampleIviteCode"
30+
}
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.Education/grants/read",
11+
"display": {
12+
"provider": "Microsoft Education",
13+
"resource": "Grants",
14+
"operation": "Get grants",
15+
"description": "Read all grants"
16+
}
17+
},
18+
{
19+
"name": "Microsoft.Education/labs/read",
20+
"display": {
21+
"provider": "Microsoft Edcucation",
22+
"resource": "Labs",
23+
"operation": "Get labs",
24+
"description": "Read all labs"
25+
}
26+
},
27+
{
28+
"name": "Microsoft.Education/labs/write",
29+
"display": {
30+
"provider": "Microsoft Edcucation",
31+
"resource": "Labs",
32+
"operation": "Create or update lab",
33+
"description": "Create or update lab"
34+
}
35+
},
36+
{
37+
"name": "Microsoft.Education/labs/delete",
38+
"display": {
39+
"provider": "Microsoft Edcucation",
40+
"resource": "Labs",
41+
"operation": "Delete lab",
42+
"description": "Delete a lab"
43+
}
44+
}
45+
]
46+
}
47+
}
48+
}
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"billingAccountName": "{billingAccountName}",
4+
"billingProfileName": "{billingProfileName}",
5+
"includeAllocatedBudget": false,
6+
"api-version": "2021-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default",
12+
"name": "default",
13+
"type": "Microsoft.Education/Grants",
14+
"properties": {
15+
"offerCap": {
16+
"currency": "USD",
17+
"value": 100
18+
},
19+
"effectiveDate": "2021-11-09T09:08:05.505Z",
20+
"offerType": "Student",
21+
"expirationDate": "2021-11-09T09:08:05.505Z",
22+
"status": "Active"
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"billingAccountName": "{billingAccountName}",
4+
"billingProfileName": "{billingProfileName}",
5+
"includeAllocatedBudget": false,
6+
"api-version": "2021-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default",
14+
"name": "default",
15+
"type": "Microsoft.Education/Grants",
16+
"properties": {
17+
"offerCap": {
18+
"currency": "USD",
19+
"value": 1000
20+
},
21+
"effectiveDate": "2021-11-09T09:08:05.505Z",
22+
"offerType": "Academic",
23+
"expirationDate": "2021-11-09T09:08:05.505Z",
24+
"status": "Active"
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"billingAccountName": "{billingAccountName}",
4+
"billingProfileName": "{billingProfileName}",
5+
"includeAllocatedBudget": false,
6+
"api-version": "2021-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default",
14+
"name": "default",
15+
"type": "Microsoft.Education/Grants",
16+
"properties": {
17+
"offerCap": {
18+
"currency": "USD",
19+
"value": 1000
20+
},
21+
"effectiveDate": "2021-11-09T09:08:05.505Z",
22+
"offerType": "Academic",
23+
"expirationDate": "2021-11-09T09:08:05.505Z",
24+
"status": "Active",
25+
"allocatedBudget": {
26+
"currency": "USD",
27+
"value": 0
28+
}
29+
}
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)