-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Microsoft.Management 2020-05-01 apiversion #10046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
568846f
add 2020-05-01 apiversion
ramoka178 41239dc
fix sdk model validation errors
ramoka178 964467a
fix lint
ramoka178 92baa6c
add 204
ramoka178 63a0489
spacing
ramoka178 be84b77
code review comments
ramoka178 77535a1
code review comments
ramoka178 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...nager/Microsoft.Management/stable/2020-05-01/examples/AddManagementGroupSubscription.json
This file contains hidden or 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,25 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "Group", | ||
| "subscriptionId": "728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "Cache-Control": "no-cache" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "name": "728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "id": " /providers/Microsoft.Management/managementGroups/Group/subscriptions/728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "type": "Microsoft.Management/managementGroups/subscriptions", | ||
| "properties": { | ||
| "displayName": "Group", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/Group" | ||
| }, | ||
| "state": "Active", | ||
| "tenant": "e751ac82-623b-4913-8d74-22637c832373" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
19 changes: 19 additions & 0 deletions
19
...Microsoft.Management/stable/2020-05-01/examples/CheckManagementGroupNameAvailability.json
This file contains hidden or 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,19 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "checkNameAvailabilityRequest": { | ||
| "name": "nameTocheck", | ||
| "type": "Microsoft.Management/managementGroups" | ||
| }, | ||
| "Cache-Control": "no-cache" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailable": false, | ||
| "reason": "AlreadyExists", | ||
| "message": "Error message" | ||
| } | ||
| } | ||
| } | ||
| } |
9 changes: 9 additions & 0 deletions
9
...urce-manager/Microsoft.Management/stable/2020-05-01/examples/DeleteHierarchySettings.json
This file contains hidden or 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,9 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "root" | ||
| }, | ||
| "responses": { | ||
| "200": {} | ||
| } | ||
| } |
18 changes: 18 additions & 0 deletions
18
...source-manager/Microsoft.Management/stable/2020-05-01/examples/DeleteManagementGroup.json
This file contains hidden or 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,18 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "GroupToDelete", | ||
| "Cache-Control": "no-cache" | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/GroupToDelete", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "GroupToDelete", | ||
| "status": "NotStarted" | ||
| } | ||
| }, | ||
| "204": {} | ||
| } | ||
| } |
28 changes: 28 additions & 0 deletions
28
...crosoft.Management/stable/2020-05-01/examples/GetAllSubscriptionsFromManagementGroup.json
This file contains hidden or 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": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "Group" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "name": "728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "id": "/providers/Microsoft.Management/managementGroups/Group/subscriptions/728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "type": "Microsoft.Management/managementGroups/subscriptions", | ||
| "properties": { | ||
| "displayName": "S5", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/Group" | ||
| }, | ||
| "state": "Active", | ||
| "tenant": "e751ac82-623b-4913-8d74-22637c832373" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": null | ||
| } | ||
| } | ||
| } | ||
| } | ||
37 changes: 37 additions & 0 deletions
37
...oups/resource-manager/Microsoft.Management/stable/2020-05-01/examples/GetDescendants.json
This file contains hidden or 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,37 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "20000000-0000-0000-0000-000000000000" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0001-0000-0000-000000000000", | ||
| "properties": { | ||
| "displayName": "Group 1", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "/subscriptions/20000000-0004-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups/subscriptions", | ||
| "name": "20000000-0004-0000-0000-000000000000", | ||
| "properties": { | ||
| "displayName": "Subscription 4", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000" | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": null | ||
| } | ||
| } | ||
| } | ||
| } |
64 changes: 64 additions & 0 deletions
64
...tgroups/resource-manager/Microsoft.Management/stable/2020-05-01/examples/GetEntities.json
This file contains hidden or 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,64 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0001-0000-0000-000000000000", | ||
| "properties": { | ||
| "tenantId": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "Group 1 Tenant 2", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000" | ||
| }, | ||
| "permissions": "view", | ||
| "inheritedPermissions": "view", | ||
| "parentDisplayNameChain": [ | ||
| "Tenant Root Group", | ||
| "Group 1 Tenant 2 Parent" | ||
| ], | ||
| "parentNameChain": [ | ||
| "TenantRootGroup", | ||
| "Group1Tenant2Parent" | ||
| ], | ||
| "numberOfDescendants": 3, | ||
| "numberOfChildren": 2, | ||
| "numberOfChildGroups": 1 | ||
| } | ||
| }, | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0004-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0004-0000-0000-000000000000", | ||
| "properties": { | ||
| "tenantId": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "Group 4 Tenant 2", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000" | ||
| }, | ||
| "permissions": "delete", | ||
| "inheritedPermissions": "delete", | ||
| "parentDisplayNameChain": [ | ||
| "Tenant Root Group", | ||
| "Group 4 Tenant 2 Parent" | ||
| ], | ||
| "parentNameChain": [ | ||
| "TenantRootGroup", | ||
| "Group4 Tenant2Parent" | ||
| ], | ||
| "numberOfDescendants": 0, | ||
| "numberOfChildren": 0, | ||
| "numberOfChildGroups": 0 | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": null | ||
| } | ||
| } | ||
| } | ||
| } |
20 changes: 20 additions & 0 deletions
20
...esource-manager/Microsoft.Management/stable/2020-05-01/examples/GetHierarchySettings.json
This file contains hidden or 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,20 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "root" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/root/settings/default", | ||
| "type": "Microsoft.Management/managementGroups/settings", | ||
| "name": "root", | ||
| "properties": { | ||
| "tenantId": "20000000-0000-0000-0000-000000000000", | ||
| "defaultManagementGroup": "/providers/Microsoft.Management/managementGroups/DefaultGroup", | ||
| "requireAuthorizationForGroupCreation": true | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
.../resource-manager/Microsoft.Management/stable/2020-05-01/examples/GetManagementGroup.json
This file contains hidden or 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,30 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "20000000-0001-0000-0000-000000000000", | ||
| "Cache-Control": "no-cache" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0001-0000-0000-000000000000", | ||
| "properties": { | ||
| "tenantId": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "Group 1 Tenant 2", | ||
| "details": { | ||
| "version": 1, | ||
| "updatedTime": "2018-01-01T00:00:00.00Z", | ||
| "updatedBy": "16b8ef21-5c9f-420c-bcc9-e4f8c9f30b4b", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/RootGroup", | ||
| "name": "RootGroup", | ||
| "displayName": "RootGroup" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
63 changes: 63 additions & 0 deletions
63
...manager/Microsoft.Management/stable/2020-05-01/examples/GetManagementGroupWithExpand.json
This file contains hidden or 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,63 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "20000000-0001-0000-0000-000000000000", | ||
| "$expand": "children", | ||
| "Cache-Control": "no-cache" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0001-0000-0000-000000000000", | ||
| "properties": { | ||
| "tenantId": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "Group 1 Tenant 2", | ||
| "details": { | ||
| "version": 1, | ||
| "updatedTime": "2018-01-01T00:00:00.00Z", | ||
| "updatedBy": "Test", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000", | ||
| "name": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "20000000-0000-0000-0000-000000000000" | ||
| } | ||
| }, | ||
| "children": [ | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0002-0000-0000-000000000000", | ||
| "displayName": "Group 2 Tenant 2" | ||
| }, | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0003-0000-0000-000000000000", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "20000000-0003-0000-0000-000000000000", | ||
| "displayName": "Group 3 Tenant 2" | ||
| }, | ||
| { | ||
| "id": "/subscriptions/10000000-F004-0000-0000-000000000000", | ||
| "type": "/subscriptions", | ||
| "name": "10000000-F004-0000-0000-000000000000", | ||
| "displayName": "Subscription 4 Tenant 1" | ||
| }, | ||
| { | ||
| "id": "/subscriptions/20000000-F005-0000-0000-000000000000", | ||
| "type": "/subscriptions", | ||
| "name": "20000000-F005-0000-0000-000000000000", | ||
| "displayName": "Subscription 5 Tenant 2" | ||
| }, | ||
| { | ||
| "id": "/subscriptions/30000000-F003-0000-0000-000000000000", | ||
| "type": "/subscriptions", | ||
| "name": "30000000-F003-0000-0000-000000000000", | ||
| "displayName": "Subscription 3 Tenant 3" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
62 changes: 62 additions & 0 deletions
62
...crosoft.Management/stable/2020-05-01/examples/GetManagementGroupWithExpandAndRecurse.json
This file contains hidden or 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,62 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-05-01", | ||
| "groupId": "20000000-0001-0000-0000-000000000000", | ||
| "$expand": "children", | ||
| "$recurse": true, | ||
| "Cache-Control": "no-cache" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/RootGroup", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "RootGroup", | ||
| "properties": { | ||
| "tenantId": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "RootGroup", | ||
| "details": { | ||
| "version": 2, | ||
| "updatedTime": "2018-01-25T02:26:49.0022093Z", | ||
| "updatedBy": "bd490e30-04cb-433e-b8c8-6066959a8bab", | ||
| "parent": { | ||
| "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000", | ||
| "name": "20000000-0000-0000-0000-000000000000", | ||
| "displayName": "20000000-0000-0000-0000-000000000000" | ||
| } | ||
| }, | ||
| "children": [ | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/Child", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "Child", | ||
| "displayName": "Child", | ||
| "children": [ | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/Leaf", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "Leaf", | ||
| "displayName": "Leaf", | ||
| "children": [ | ||
| { | ||
| "id": "/subscriptions/728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "type": "/subscriptions", | ||
| "name": "728bcbe4-8d56-4510-86c2-4921b8beefbc", | ||
| "displayName": "Pay-As-You-Go" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "id": "/providers/Microsoft.Management/managementGroups/AnotherChild", | ||
| "type": "Microsoft.Management/managementGroups", | ||
| "name": "AnotherChild", | ||
| "displayName": "Leaf" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.