Skip to content

Commit

Permalink
Add swagger for ACE provisioning GSM sevice, the related APIs can be …
Browse files Browse the repository at this point in the history
…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
jeffrey-ACE-zz authored and jianghaolu committed Jan 25, 2018
1 parent 3c781e1 commit 679502c
Show file tree
Hide file tree
Showing 7 changed files with 591 additions and 0 deletions.
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": ""
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
Loading

2 comments on commit 679502c

@AutorestCI
Copy link

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

@AutorestCI
Copy link

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

Please sign in to comment.