Skip to content

Commit

Permalink
Grlin/Adding Principal Type to RA (#3737)
Browse files Browse the repository at this point in the history
* 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
grlin authored and anuchandy committed Sep 4, 2018
1 parent 6607b99 commit 47a0b4a
Show file tree
Hide file tree
Showing 21 changed files with 1,870 additions and 4 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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": [

]
}
]
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
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": [

]
}
}
}
}
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": [

]
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}
Loading

0 comments on commit 47a0b4a

Please sign in to comment.