Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3919ecd
Initial version of Subscription Creation API Swagger
amagams Feb 23, 2018
19a919b
Making Offer Type as enum
amagams Feb 23, 2018
d799d74
Removing the API to monitor an operation since the client automatical…
amagams Feb 23, 2018
5d44b15
Rename folder to match with the swagger version
amagams Feb 23, 2018
931a5a3
Improving the descriptions of models
amagams Feb 28, 2018
a4c75bf
Editing readme.md file
amagams Feb 28, 2018
ae55fa6
Correcting the createSubscription.json example file
amagams Feb 28, 2018
7feabda
variable name fix in example json
amagams Feb 28, 2018
f64198c
correcting the Tenant id
amagams Feb 28, 2018
85443e0
Correcting the exmaple file name in Swagger
amagams Feb 28, 2018
cef2be0
Rename BillingAccount->EnrollmentAccount
amagams Mar 9, 2018
882c078
renaming Billing to Enrollment
amagams Mar 9, 2018
2a4555b
fix createSubscription.json example file
amagams Mar 9, 2018
549bb10
Adding the tag package-all-subscription
amagams Mar 12, 2018
d3a8186
Merging subscriptions.json swagger from Microsoft.Resources in Micros…
amagams Mar 16, 2018
95fc8cf
Renaming subscription.json to subscriptions.json to be consistent wit…
amagams Mar 19, 2018
782fa82
file rename in readme.md
amagams Mar 19, 2018
bc4c145
Rename the client from SubscriptionManagementClient to SubscriptionCl…
amagams Mar 19, 2018
8c9aef6
making object id a string instead of guid, and removing tenant id
amagams Mar 20, 2018
5d31f58
Updating examples
amagams Mar 20, 2018
05e0359
removed extra property from required in model
amagams Mar 20, 2018
9a5ddb0
Getting the new stable subscriptions.json
amagams Mar 20, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"billingAccountName": "73f8ab6e-cfa0-42be-b886-be6e77c2980c",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enrollmentAccountName

"api-version": "2018-03-01-preview",
"body": {
"properties": {
"offerType": "MS-AZR-0017P",
"displayName": "Test Ea Azure Sub",
"owners": [
{
"tenantId": "05053bdf-7e6a-4f96-854f-1dae531c170b",
"objectId": "973034ff-acb7-409c-b731-e789672c7b31"
},
{
"tenantId": "05053bdf-7e6a-4f96-854f-1dae531c170b",
"objectId": "67439a9e-8519-4016-a630-f5f805eba567"
}
]
}
}
},
"responses": {
"202": {
"headers": {
"Location": "/providers/Microsoft.Subscription/subscriptionOperations/aeb76128-ebde-4f5a-a9ed-e7bbf2dbc994?api-version=2018-03-01-preview",
"Retry-After": "60"
}
},
"200": {
"body": {
"subscriptionLink": "/subscriptions/c03acf6e-5295-44c2-92d3-cb1daa4c701c"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2018-03-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Subscription/createOperation/action",
"display": {
"provider": "Microsoft Subscription",
"resource": "Resources",
"operation": "Create a subscription",
"description": "Create an Azure subscription."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2018-03-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Subscription/subscriptionOperations/c03acf6e-5295-44c2-92d3-cb1daa4c701c",
"status": "Pending",
"statusDetail": "Subscription Creation in Progress"
},
{
"id": "/providers/Microsoft.Subscription/subscriptionOperations/d46dcd37-f8b3-43a4-aed6-41de9131412d",
"status": "Pending",
"statusDetail": "Subscription Creation in Progress"
},
{
"id": "/providers/Microsoft.Subscription/subscriptionOperations/54e3cde0-2420-451c-969d-f538d5349834",
"status": "Completed",
"statusDetail": "Subscription Created Successfully"
}
]
}
}
}
}
Loading