npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_authorization_authorization_rolebasedcalls

v4.0.0

Published

DataFire integration for AuthorizationManagementClient

Downloads

10

Readme

@datafire/azure_authorization_authorization_rolebasedcalls

Client library for AuthorizationManagementClient

Installation and Usage

npm install --save @datafire/azure_authorization_authorization_rolebasedcalls
let azure_authorization_authorization_rolebasedcalls = require('@datafire/azure_authorization_authorization_rolebasedcalls').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 enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

Actions

ProviderOperationsMetadata_List

Gets provider operations metadata for all resource providers.

azure_authorization_authorization_rolebasedcalls.ProviderOperationsMetadata_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for this operation.
    • $expand string: Specifies whether to expand the values.

Output

ProviderOperationsMetadata_Get

Gets provider operations metadata for the specified resource provider.

azure_authorization_authorization_rolebasedcalls.ProviderOperationsMetadata_Get({
  "resourceProviderNamespace": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceProviderNamespace required string: The namespace of the resource provider.
    • api-version required string: The API version to use for this operation.
    • $expand string: Specifies whether to expand the values.

Output

RoleAssignments_List

Gets all role assignments for the subscription.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_List({
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • $filter string: The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

RoleAssignments_ListForResourceGroup

Gets role assignments for a resource group.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_ListForResourceGroup({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • $filter string: The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

Permissions_ListForResourceGroup

Gets all permissions the caller has for a resource group.

azure_authorization_authorization_rolebasedcalls.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.

Output

Permissions_ListForResource

Gets all permissions the caller has for a resource.

azure_authorization_authorization_rolebasedcalls.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.

Output

RoleAssignments_ListForResource

Gets role assignments for a resource.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_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 role assignments for.
    • $filter string: The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.

Output

RoleAssignments_DeleteById

Deletes a role assignment.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_DeleteById({
  "roleId": "",
  "api-version": ""
}, context)

Input

  • input object
    • roleId required string: The ID of the role assignment to delete.
    • api-version required string: The API version to use for this operation.

Output

RoleAssignments_GetById

Gets a role assignment by ID.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_GetById({
  "roleId": "",
  "api-version": ""
}, context)

Input

  • input object
    • roleId required string: The ID of the role assignment to get.
    • api-version required string: The API version to use for this operation.

Output

RoleAssignments_CreateById

Creates a role assignment by ID.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_CreateById({
  "roleId": "",
  "parameters": null,
  "api-version": ""
}, context)

Input

  • input object
    • roleId required string: The ID of the role assignment to create.
    • parameters required RoleAssignmentCreateParameters
    • api-version required string: The API version to use for this operation.

Output

RoleAssignments_ListForScope

Gets role assignments for a scope.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_ListForScope({
  "scope": "",
  "api-version": ""
}, context)

Input

  • input object
    • scope required string: The scope of the role assignments.
    • $filter string: The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.
    • api-version required string: The API version to use for this operation.

Output

RoleAssignments_Delete

Deletes a role assignment.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_Delete({
  "scope": "",
  "roleAssignmentName": "",
  "api-version": ""
}, context)

Input

  • input object
    • scope required string: The scope of the role assignment to delete.
    • roleAssignmentName required string: The name of the role assignment to delete.
    • api-version required string: The API version to use for this operation.

Output

RoleAssignments_Get

Get the specified role assignment.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_Get({
  "scope": "",
  "roleAssignmentName": "",
  "api-version": ""
}, context)

Input

  • input object
    • scope required string: The scope of the role assignment.
    • roleAssignmentName required string: The name of the role assignment to get.
    • api-version required string: The API version to use for this operation.

Output

RoleAssignments_Create

Creates a role assignment.

azure_authorization_authorization_rolebasedcalls.RoleAssignments_Create({
  "scope": "",
  "roleAssignmentName": "",
  "parameters": null,
  "api-version": ""
}, context)

Input

  • input object
    • scope required string: The scope of the role assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.
    • roleAssignmentName required string: The name of the role assignment to create. It can be any valid GUID.
    • parameters required RoleAssignmentCreateParameters
    • api-version required string: The API version to use for this operation.

Output

RoleDefinitions_List

Get all role definitions that are applicable at scope and above.

azure_authorization_authorization_rolebasedcalls.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.

Output

RoleDefinitions_Delete

Deletes a role definition.

azure_authorization_authorization_rolebasedcalls.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.

Output

RoleDefinitions_Get

Get role definition by name (GUID).

azure_authorization_authorization_rolebasedcalls.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.

Output

RoleDefinitions_CreateOrUpdate

Creates or updates a role definition.

azure_authorization_authorization_rolebasedcalls.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.

Output

Definitions

Permission

  • Permission object: Role definition permissions.
    • actions array: Allowed actions.
      • items string
    • dataActions array: Allowed Data actions.
      • items string
    • notActions array: Denied actions.
      • items string
    • notDataActions array: Denied Data actions.
      • items string

PermissionGetResult

  • PermissionGetResult object: Permissions information.
    • nextLink string: The URL to use for getting the next set of results.
    • value array: An array of permissions.

ProviderOperation

  • ProviderOperation object: Operation
    • description string: The operation description.
    • displayName string: The operation display name.
    • isDataAction boolean: The dataAction flag to specify the operation type.
    • name string: The operation name.
    • origin string: The operation origin.
    • properties object: The operation properties.

ProviderOperationsMetadata

  • ProviderOperationsMetadata object: Provider Operations metadata
    • displayName string: The provider display name.
    • id string: The provider id.
    • name string: The provider name.
    • operations array: The provider operations.
    • resourceTypes array: The provider resource types
    • type string: The provider type.

ProviderOperationsMetadataListResult

  • ProviderOperationsMetadataListResult object: Provider operations metadata list
    • nextLink string: The URL to use for getting the next set of results.
    • value array: The list of providers.

ResourceType

  • ResourceType object: Resource Type
    • displayName string: The resource type display name.
    • name string: The resource type name.
    • operations array: The resource type operations.

RoleAssignment

  • RoleAssignment object: Role Assignments

RoleAssignmentCreateParameters

RoleAssignmentFilter

  • RoleAssignmentFilter object: Role Assignments filter
    • canDelegate boolean: The Delegation flag for the roleassignment
    • principalId string: Returns role assignment of the specific principal.

RoleAssignmentListResult

  • RoleAssignmentListResult object: Role assignment list operation result.
    • nextLink string: The URL to use for getting the next set of results.
    • value array: Role assignment list.

RoleAssignmentProperties

  • RoleAssignmentProperties object: Role assignment properties.
    • canDelegate boolean: The delgation flag used for creating a role assignment
    • principalId string: The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.
    • roleDefinitionId string: The role definition ID used in the role assignment.

RoleAssignmentPropertiesWithScope

  • RoleAssignmentPropertiesWithScope object: Role assignment properties with scope.
    • canDelegate boolean: The Delegation flag for the roleassignment
    • principalId string: The principal ID.
    • roleDefinitionId string: The role definition ID.
    • scope string: The role assignment scope.

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.

RoleDefinitionFilter

  • RoleDefinitionFilter object: Role Definitions filter
    • roleName string: Returns role definition with the specific name.
    • type string: Returns role definition with the specific type.

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.

RoleDefinitionProperties

  • RoleDefinitionProperties object: Role definition properties.
    • assignableScopes array: Role definition assignable scopes.
      • items string
    • description string: The role definition description.
    • permissions array: Role definition permissions.
    • roleName string: The role name.
    • type string: The role type.