3.0.0 • Published 5 years ago
@datafire/azure_authorization_authorization_roledefinitionscalls v3.0.0
@datafire/azure_authorization_authorization_roledefinitionscalls
Client library for AuthorizationManagementClient
Installation and Usage
npm install --save @datafire/azure_authorization_authorization_roledefinitionscalls
let azure_authorization_authorization_roledefinitionscalls = require('@datafire/azure_authorization_authorization_roledefinitionscalls').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations allow you to manage role definitions. A role definition describes the set of actions that can be performed on resources.
Actions
Permissions_ListForResourceGroup
Gets all permissions the caller has for a resource group.
azure_authorization_authorization_roledefinitionscalls.Permissions_ListForResourceGroup({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": ""
}, context)
Input
- input
object
- resourceGroupName required
string
: The name of the resource group. - api-version required
string
: The API version to use for this operation. - subscriptionId required
string
: The ID of the target subscription.
- resourceGroupName required
Output
- output PermissionGetResult
Permissions_ListForResource
Gets all permissions the caller has for a resource.
azure_authorization_authorization_roledefinitionscalls.Permissions_ListForResource({
"resourceGroupName": "",
"resourceProviderNamespace": "",
"parentResourcePath": "",
"resourceType": "",
"resourceName": "",
"api-version": "",
"subscriptionId": ""
}, context)
Input
- input
object
- resourceGroupName required
string
: The name of the resource group. - resourceProviderNamespace required
string
: The namespace of the resource provider. - parentResourcePath required
string
: The parent resource identity. - resourceType required
string
: The resource type of the resource. - resourceName required
string
: The name of the resource to get the permissions for. - api-version required
string
: The API version to use for this operation. - subscriptionId required
string
: The ID of the target subscription.
- resourceGroupName required
Output
- output PermissionGetResult
RoleDefinitions_List
Get all role definitions that are applicable at scope and above.
azure_authorization_authorization_roledefinitionscalls.RoleDefinitions_List({
"scope": "",
"api-version": ""
}, context)
Input
- input
object
- scope required
string
: The scope of the role definition. - $filter
string
: The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. - api-version required
string
: The API version to use for this operation.
- scope required
Output
- output RoleDefinitionListResult
RoleDefinitions_Delete
Deletes a role definition.
azure_authorization_authorization_roledefinitionscalls.RoleDefinitions_Delete({
"scope": "",
"roleDefinitionId": "",
"api-version": ""
}, context)
Input
- input
object
- scope required
string
: The scope of the role definition. - roleDefinitionId required
string
: The ID of the role definition to delete. - api-version required
string
: The API version to use for this operation.
- scope required
Output
- output RoleDefinition
RoleDefinitions_Get
Get role definition by name (GUID).
azure_authorization_authorization_roledefinitionscalls.RoleDefinitions_Get({
"scope": "",
"roleDefinitionId": "",
"api-version": ""
}, context)
Input
- input
object
- scope required
string
: The scope of the role definition. - roleDefinitionId required
string
: The ID of the role definition. - api-version required
string
: The API version to use for this operation.
- scope required
Output
- output RoleDefinition
RoleDefinitions_CreateOrUpdate
Creates or updates a role definition.
azure_authorization_authorization_roledefinitionscalls.RoleDefinitions_CreateOrUpdate({
"scope": "",
"roleDefinitionId": "",
"roleDefinition": null,
"api-version": ""
}, context)
Input
- input
object
- scope required
string
: The scope of the role definition. - roleDefinitionId required
string
: The ID of the role definition. - roleDefinition required RoleDefinition
- api-version required
string
: The API version to use for this operation.
- scope required
Output
- output RoleDefinition
Definitions
Permission
- Permission
object
: Role definition permissions.- actions
array
: Allowed actions.- items
string
- items
- dataActions
array
: Allowed Data actions.- items
string
- items
- notActions
array
: Denied actions.- items
string
- items
- notDataActions
array
: Denied Data actions.- items
string
- items
- actions
PermissionGetResult
- PermissionGetResult
object
: Permissions information.- nextLink
string
: The URL to use for getting the next set of results. - value
array
: An array of permissions.- items Permission
- nextLink
RoleDefinition
- RoleDefinition
object
: Role definition.- id
string
: The role definition ID. - name
string
: The role definition name. - properties RoleDefinitionProperties
- type
string
: The role definition type.
- id
RoleDefinitionFilter
- RoleDefinitionFilter
object
: Role Definitions filter- roleName
string
: Returns role definition with the specific name. - type
string
: Returns role definition with the specific type.
- roleName
RoleDefinitionListResult
- RoleDefinitionListResult
object
: Role definition list operation result.- nextLink
string
: The URL to use for getting the next set of results. - value
array
: Role definition list.- items RoleDefinition
- nextLink
RoleDefinitionProperties
- RoleDefinitionProperties
object
: Role definition properties.- assignableScopes
array
: Role definition assignable scopes.- items
string
- items
- description
string
: The role definition description. - permissions
array
: Role definition permissions.- items Permission
- roleName
string
: The role name. - type
string
: The role type.
- assignableScopes
3.0.0
5 years ago