-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add swagger for ACE provisioning GSM sevice, the related APIs can be …
…used for ManagementPartner management (#2285) * add new specification for ACE provisioning GSM, add the GetPartner api first, will add another 3 api later * fix the description and data format for gsm swagger * update gsm samples * add more operations and samples for gsm * Fix syntax error * Cannot have multiple operations with the same operationId, so update the second Partner_Get to PartnerNoId_Get * add preview sub folder * add descriptions for all the properties, updated samples and other fix * Add more descriptions and fix operation names * Remove the get operation without partner id
- Loading branch information
1 parent
3c781e1
commit 679502c
Showing
7 changed files
with
591 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/DeletePartnerDetails.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,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-01", | ||
"partnerId": "123456" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": "" | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...source-manager/Microsoft.ManagementPartner/preview/2018-02-01/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": "2018-02-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.ManagementPartner/partners/read", | ||
"display": { | ||
"provider": "Microsoft ManagementPartner", | ||
"resource": "ManagementPartner", | ||
"operation": "Get ManagementPartner", | ||
"description": "Read All ManagementPartner" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.ManagementPartner/partners/write", | ||
"display": { | ||
"provider": "Microsoft ManagementPartner", | ||
"resource": "ManagementPartner", | ||
"operation": "Create ManagementPartner", | ||
"description": "Create any ManagementPartner" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.ManagementPartner/partners/action", | ||
"display": { | ||
"provider": "Microsoft ManagementPartner", | ||
"resource": "ManagementPartner", | ||
"operation": "Update ManagementPartner", | ||
"description": "Update any ManagementPartner" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.ManagementPartner/partners/delete", | ||
"display": { | ||
"provider": "Microsoft ManagementPartner", | ||
"resource": "ManagementPartner", | ||
"operation": "Delete ManagementPartner", | ||
"description": "Delete any ManagementPartner" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ce-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/GetPartnerDetails.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-01", | ||
"partnerId": "123456" | ||
|
||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/microsoft.managementpartner/partners/123456", | ||
"type": "Microsoft.ManagementPartner/partner", | ||
"name": "123456", | ||
"etag": 3, | ||
"properties": { | ||
"partnerId": "123456", | ||
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1", | ||
"objectId": "aa67f786-0552-423e-8849-244ed12bf581", | ||
"version": "3", | ||
"updatedTime": "2018-01-20T01:52:57.9126052Z", | ||
"createdTime": "2018-01-20T01:23:40.5280496Z", | ||
"state": "Active" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/PatchPartnerDetails.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-01", | ||
"partnerId": "123456" | ||
|
||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/microsoft.managementpartner/partners/123456", | ||
"type": "Microsoft.ManagementPartner/partner", | ||
"name": "123456", | ||
"etag": 3, | ||
"properties": { | ||
"partnerId": "123456", | ||
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1", | ||
"objectId": "aa67f786-0552-423e-8849-244ed12bf581", | ||
"version": "3", | ||
"updatedTime": "2018-01-20T01:52:57.9126052Z", | ||
"createdTime": "2018-01-20T01:23:40.5280496Z", | ||
"state": "Active" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ce-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/PutPartnerDetails.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-01", | ||
"partnerId": "123456" | ||
|
||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/microsoft.managementpartner/partners/123456", | ||
"type": "Microsoft.ManagementPartner/partner", | ||
"name": "123456", | ||
"etag": 3, | ||
"properties": { | ||
"partnerId": "123456", | ||
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1", | ||
"objectId": "aa67f786-0552-423e-8849-244ed12bf581", | ||
"version": "3", | ||
"updatedTime": "2018-01-20T01:52:57.9126052Z", | ||
"createdTime": "2018-01-20T01:23:40.5280496Z", | ||
"state": "Active" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.
679502c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit was treated and no generation was made for Python
679502c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit was treated and no generation was made for Python