-
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.
Grlin/Adding Principal Type to RA (#3737)
* adding principal type to putRA * updating version to 2018-09-01-preview * base commit, version 2018-01-01-preview * adding principal type + updating version number * adding principalType known values
- Loading branch information
Showing
21 changed files
with
1,870 additions
and
4 deletions.
There are no files selected for viewing
1,243 changes: 1,243 additions & 0 deletions
1,243
...ager/Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleBasedCalls.json
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...Microsoft.Authorization/preview/2018-09-01-preview/examples/DeleteRoleAssignmentById.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,22 @@ | ||
{ | ||
"parameters": { | ||
"scope": "scope", | ||
"roleId": "roleAssignmentId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "roleassignmentId" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...crosoft.Authorization/preview/2018-09-01-preview/examples/DeleteRoleAssignmentByName.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,22 @@ | ||
{ | ||
"parameters": { | ||
"scope": "scope", | ||
"roleAssignmentName": "roleAssignmentName", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "roleassignmentId" | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...ger/Microsoft.Authorization/preview/2018-09-01-preview/examples/DeleteRoleDefinition.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,40 @@ | ||
{ | ||
"parameters": { | ||
"scope": "scope", | ||
"roleDefinitionId": "roleDefinitionId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"roleName": "Role name", | ||
"type": "roletype", | ||
"description": "Role description", | ||
"assignableScopes": [ | ||
"/subscriptions/subId" | ||
], | ||
"permissions": [ | ||
{ | ||
"actions": [ | ||
"action" | ||
], | ||
"notActions": [ | ||
|
||
], | ||
"dataActions": [ | ||
"dataAction" | ||
], | ||
"notDataActions": [ | ||
|
||
] | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId", | ||
"type": "Microsoft.Authorization/roleDefinitions", | ||
"name": "roleDefinitionId" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...Microsoft.Authorization/preview/2018-09-01-preview/examples/GetAllProviderOperations.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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "id", | ||
"name": "name", | ||
"type": "type", | ||
"displayName": "displayName", | ||
"resourceTypes": [ | ||
{ | ||
"name": "name", | ||
"displayName": "name", | ||
"operations": [ | ||
|
||
] | ||
} | ||
], | ||
"operations": [ | ||
|
||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...er/Microsoft.Authorization/preview/2018-09-01-preview/examples/GetAllRoleAssignments.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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "raId" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...e-manager/Microsoft.Authorization/preview/2018-09-01-preview/examples/GetPermissions.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,30 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "rgname", | ||
"subscriptionId": "subID", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"actions": [ | ||
|
||
], | ||
"notActions": [ | ||
|
||
], | ||
"dataActions": [ | ||
|
||
], | ||
"notDataActions": [ | ||
|
||
] | ||
} | ||
], | ||
"nextLink": "nextlink" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
.../Microsoft.Authorization/preview/2018-09-01-preview/examples/GetProviderOperationsRP.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": { | ||
"resourceProviderNamespace": "resourceProviderNamespace", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "id", | ||
"name": "name", | ||
"type": "type", | ||
"displayName": "displayName", | ||
"resourceTypes": [ | ||
{ | ||
"name": "name", | ||
"displayName": "name", | ||
"operations": [ | ||
|
||
] | ||
} | ||
], | ||
"operations": [ | ||
|
||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...r/Microsoft.Authorization/preview/2018-09-01-preview/examples/GetResourcePermissions.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,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId", | ||
"resourceGroupName": "rgname", | ||
"resourceProviderNamespace": "rpnamespace", | ||
"parentResourcePath": "parentResourcePath", | ||
"resourceType": "resourceType", | ||
"resourceName": "resourceName", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"actions": [ | ||
|
||
], | ||
"notActions": [ | ||
|
||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...er/Microsoft.Authorization/preview/2018-09-01-preview/examples/GetRoleAssignmentById.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,21 @@ | ||
{ | ||
"parameters": { | ||
"roleId": "roleassignmentId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "roleassignmentId" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
.../Microsoft.Authorization/preview/2018-09-01-preview/examples/GetRoleAssignmentByName.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,23 @@ | ||
{ | ||
"parameters": { | ||
"scope": "scope", | ||
"roleAssignmentName": "roleAssignmentName", | ||
"subscriptionId": "subId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "raId" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...Microsoft.Authorization/preview/2018-09-01-preview/examples/GetRoleAssignmentByScope.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,25 @@ | ||
{ | ||
"parameters": { | ||
"scope": "scope", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "raId" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...soft.Authorization/preview/2018-09-01-preview/examples/GetRoleAssignmentsForResource.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,30 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "rgname", | ||
"resourceProviderNamespace": "resourceProviderNamespace", | ||
"parentResourcePath": "parentResourcePath", | ||
"resourceType": "resourceType", | ||
"resourceName": "resourceName", | ||
"subscriptionId": "subId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "raId" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...Authorization/preview/2018-09-01-preview/examples/GetRoleAssignmentsForResourceGroup.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,26 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "rgname", | ||
"subscriptionId": "subId", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"roleDefinitionId": "/subscriptions/subId/providers/Microsoft.Authorization/roleDefinitions/roledefinitionId", | ||
"principalId": "Pid", | ||
"scope": "/subscriptions/subId/resourcegroups/rgname", | ||
"canDelegate":false | ||
}, | ||
"id": "/subscriptions/subId/resourcegroups/rgname/providers/Microsoft.Authorization/roleAssignments/roleassignmentId", | ||
"type": "Microsoft.Authorization/roleAssignments", | ||
"name": "raId" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.