Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Resources to add version…
Browse files Browse the repository at this point in the history
… stable/2019-06-01 (#6610)

* Adds base for updating Microsoft.Resources from version stable/2018-06-01 to version 2019-06-01

* Updates readme

* Updates API version in new specs and examples

* Adding managedByTenants to subscription

Adding managedByTenants property for GET subscription and GET subscriptions calls.

* Fixing ManagedByTenant

Putting tenantId in 'properties' to fix errors

* Adding description to satisfy warning

Adding description for ManagedByTenant to satisfy a warning.

* Adding GetSubscriptions example

* Adding GetSubscription.json example

* Update GetSubscriptions.json

* Adding examples

* Update GetSubscription.json

* Update GetSubscriptions.json

* Update subscriptions.json

* Update GetSubscriptions.json

* Update GetSubscription.json

* Update GetSubscription.json

* Update GetSubscriptions.json

* Update GetSubscription.json

* Update GetSubscriptions.json

* Update GetSubscriptions.json
  • Loading branch information
Dan Booher authored and raych1 committed Jul 17, 2019
1 parent 86b1eee commit 18cac01
Show file tree
Hide file tree
Showing 4 changed files with 531 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"api-version": "2019-06-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"tenantId": "31c75423-32d6-4322-88b7-c478bdde4858",
"displayName": "Example Subscription",
"state": "Enabled",
"subscriptionPolicies": {
"locationPlacementId": "Internal_2014-09-01",
"quotaId": "Internal_2014-09-01",
"spendingLimit": "Off"
},
"authorizationSource": "Bypassed",
"managedByTenants": [
{
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"parameters": {
"api-version": "2019-06-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"tenantId": "31c75423-32d6-4322-88b7-c478bdde4858",
"displayName": "Example Subscription",
"state": "Enabled",
"subscriptionPolicies": {
"locationPlacementId": "Internal_2014-09-01",
"quotaId": "Internal_2014-09-01",
"spendingLimit": "Off"
},
"authorizationSource": "RoleBased",
"managedByTenants": [
{
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
}
]
},
{
"id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
"subscriptionId": "72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
"tenantId": "2a0ff0de-96b2-4859-bb7c-a430d07a3e0c",
"displayName": "Example Subscription2",
"state": "Enabled",
"subscriptionPolicies": {
"locationPlacementId": "Internal_2014-09-01",
"quotaId": "Internal_2014-09-01",
"spendingLimit": "Off"
},
"authorizationSource": "RoleBased",
"managedByTenants": [
{
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
},
{
"tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a"
}
]
}
],
"nextLink": "..."
}
}
}
}
Loading

0 comments on commit 18cac01

Please sign in to comment.