-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Showing
34 changed files
with
2,664 additions
and
0 deletions.
There are no files selected for viewing
1,644 changes: 1,644 additions & 0 deletions
1,644
.../education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/education.json
Large diffs are not rendered by default.
Oops, something went wrong.
57 changes: 57 additions & 0 deletions
57
...n/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/CreateLab.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"invoiceSectionName": "{invoiceSectionName}", | ||
"parameters": { | ||
"properties": { | ||
"displayName": "example lab", | ||
"budgetPerStudent": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"description": "example lab description", | ||
"expirationDate": "2021-12-09T22:11:29.422Z" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Labs", | ||
"properties": { | ||
"displayName": "example lab", | ||
"budgetPerStudent": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"description": "example lab description", | ||
"expirationDate": "2021-12-09T21:25:56.838Z", | ||
"effectiveDate": "2021-11-09T21:25:56.838Z", | ||
"status": "Active" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Labs", | ||
"properties": { | ||
"displayName": "example lab", | ||
"budgetPerStudent": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"description": "example lab description", | ||
"expirationDate": "2021-12-09T21:25:56.838Z", | ||
"effectiveDate": "2021-11-09T21:25:56.838Z", | ||
"status": "Active" | ||
} | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...source-manager/Microsoft.Education/preview/2021-12-01-preview/examples/CreateStudent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"invoiceSectionName": "{invoiceSectionName}", | ||
"studentAlias": "{studentAlias}", | ||
"parameters": { | ||
"properties": { | ||
"firstName": "test", | ||
"lastName": "user", | ||
"email": "test@contoso.com", | ||
"role": "Student", | ||
"budget": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"expirationDate": "2021-11-09T22:13:21.795Z" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}", | ||
"name": "{studentAlias}", | ||
"type": "Microsoft.Education/Students", | ||
"properties": { | ||
"firstName": "test", | ||
"lastName": "user", | ||
"email": "test@contoso.com", | ||
"role": "Student", | ||
"budget": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"subscriptionId": "000000000-0000-0000-0000-00000000000000", | ||
"expirationDate": "2022-11-09T21:43:54.161Z", | ||
"status": "Active", | ||
"effectiveDate": "2021-11-09T21:43:54.161Z" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}", | ||
"name": "{studentAlias}", | ||
"type": "Microsoft.Education/Students", | ||
"properties": { | ||
"firstName": "test", | ||
"lastName": "user", | ||
"email": "test@contoso.com", | ||
"role": "Student", | ||
"budget": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"subscriptionId": "000000000-0000-0000-0000-00000000000000", | ||
"expirationDate": "2022-11-09T21:43:54.161Z", | ||
"status": "Active", | ||
"effectiveDate": "2021-11-09T21:43:54.161Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...n/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/DeleteLab.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"invoiceSectionName": "{invoiceSectionName}", | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...source-manager/Microsoft.Education/preview/2021-12-01-preview/examples/DeleteStudent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"invoiceSectionName": "{invoiceSectionName}", | ||
"studentAlias": "{studentAlias}", | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...e-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GenerateInviteCode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"invoiceSectionName": "{invoiceSectionName}", | ||
"onlyUpdateStudentCount": false, | ||
"parameters": { | ||
"maxStudentCount": 10 | ||
}, | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Labs", | ||
"properties": { | ||
"displayName": "example lab", | ||
"budgetPerStudent": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"description": "example lab description", | ||
"expirationDate": "2021-12-09T21:25:56.838Z", | ||
"effectiveDate": "2021-11-09T21:25:56.838Z", | ||
"status": "Active", | ||
"maxStudentCount": 10, | ||
"invitationCode": "exampleIviteCode" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...source-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GetOperations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.Education/grants/read", | ||
"display": { | ||
"provider": "Microsoft Education", | ||
"resource": "Grants", | ||
"operation": "Get grants", | ||
"description": "Read all grants" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Education/labs/read", | ||
"display": { | ||
"provider": "Microsoft Edcucation", | ||
"resource": "Labs", | ||
"operation": "Get labs", | ||
"description": "Read all labs" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Education/labs/write", | ||
"display": { | ||
"provider": "Microsoft Edcucation", | ||
"resource": "Labs", | ||
"operation": "Create or update lab", | ||
"description": "Create or update lab" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Education/labs/delete", | ||
"display": { | ||
"provider": "Microsoft Edcucation", | ||
"resource": "Labs", | ||
"operation": "Delete lab", | ||
"description": "Delete a lab" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ation/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/Grant.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"includeAllocatedBudget": false, | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Grants", | ||
"properties": { | ||
"offerCap": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"effectiveDate": "2021-11-09T09:08:05.505Z", | ||
"offerType": "Student", | ||
"expirationDate": "2021-11-09T09:08:05.505Z", | ||
"status": "Active" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...rce-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantDefaultList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"includeAllocatedBudget": false, | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Grants", | ||
"properties": { | ||
"offerCap": { | ||
"currency": "USD", | ||
"value": 1000 | ||
}, | ||
"effectiveDate": "2021-11-09T09:08:05.505Z", | ||
"offerType": "Academic", | ||
"expirationDate": "2021-11-09T09:08:05.505Z", | ||
"status": "Active" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...Education/preview/2021-12-01-preview/examples/GrantDefaultListIncludeAllocatedBudget.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"includeAllocatedBudget": false, | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Grants", | ||
"properties": { | ||
"offerCap": { | ||
"currency": "USD", | ||
"value": 1000 | ||
}, | ||
"effectiveDate": "2021-11-09T09:08:05.505Z", | ||
"offerType": "Academic", | ||
"expirationDate": "2021-11-09T09:08:05.505Z", | ||
"status": "Active", | ||
"allocatedBudget": { | ||
"currency": "USD", | ||
"value": 0 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
.../Microsoft.Education/preview/2021-12-01-preview/examples/GrantIncludeAllocatedBudget.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"billingAccountName": "{billingAccountName}", | ||
"billingProfileName": "{billingProfileName}", | ||
"includeAllocatedBudget": false, | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Grants", | ||
"properties": { | ||
"offerCap": { | ||
"currency": "USD", | ||
"value": 100 | ||
}, | ||
"effectiveDate": "2021-11-09T09:08:05.505Z", | ||
"offerType": "Student", | ||
"expirationDate": "2021-11-09T09:08:05.505Z", | ||
"status": "Active", | ||
"allocatedBudget": { | ||
"currency": "USD", | ||
"value": 0 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...n/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GrantList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"includeAllocatedBudget": false, | ||
"api-version": "2021-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default", | ||
"name": "default", | ||
"type": "Microsoft.Education/Grants", | ||
"properties": { | ||
"offerCap": { | ||
"currency": "USD", | ||
"value": 1000 | ||
}, | ||
"effectiveDate": "2021-11-09T09:08:05.505Z", | ||
"offerType": "Academic", | ||
"expirationDate": "2021-11-09T09:08:05.505Z", | ||
"status": "Active" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.