Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Education to add version…
Browse files Browse the repository at this point in the history
… 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
yuhhuo committed Apr 19, 2022
1 parent 9299f33 commit 07c5856
Show file tree
Hide file tree
Showing 34 changed files with 2,664 additions and 0 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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
}
}
}
]
}
}
}
}
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
}
}
}
}
}
}
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"
}
}
]
}
}
}
}
Loading

0 comments on commit 07c5856

Please sign in to comment.