-
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.
[Hub Generated] Review request for Microsoft.Resources to add version…
… 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
Showing
4 changed files
with
531 additions
and
1 deletion.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...rces/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscription.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...ces/resource-manager/Microsoft.Resources/stable/2019-06-01/examples/GetSubscriptions.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,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": "..." | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.