Merge pull request #4062 from Azure/restapi_auto_authorization/resource-manager
[AutoPR] authorization/resource-manager
This commit is contained in:
Коммит
7eb42bd862
|
@ -3,22 +3,23 @@ uid: azure-arm-authorization
|
|||
summary: *content
|
||||
|
||||
---
|
||||
# Microsoft Azure SDK for Node.js - AuthorizationManagementClient
|
||||
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.**
|
||||
## Microsoft Azure SDK for Node.js - AuthorizationManagementClient
|
||||
This project provides a Node.js package for accessing Azure. Right now it supports:
|
||||
- **Node.js version 6.x.x or higher**
|
||||
|
||||
## Features
|
||||
### Features
|
||||
|
||||
|
||||
## How to Install
|
||||
### How to Install
|
||||
|
||||
```bash
|
||||
npm install azure-arm-authorization
|
||||
```
|
||||
|
||||
## How to use
|
||||
### How to use
|
||||
|
||||
### Authentication, client creation and list classicAdministrators as an example.
|
||||
#### Authentication, client creation and list classicAdministrators as an example.
|
||||
|
||||
```javascript
|
||||
const msRestAzure = require("ms-rest-azure");
|
||||
|
@ -35,6 +36,6 @@ msRestAzure.interactiveLogin().then((creds) => {
|
|||
console.dir(err, {depth: null, colors: true});
|
||||
});
|
||||
|
||||
## Related projects
|
||||
### Related projects
|
||||
|
||||
- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
class ClassicAdministrator {
|
||||
/**
|
||||
* Create a ClassicAdministrator.
|
||||
* @member {string} [id] The ID of the administrator.
|
||||
* @member {string} [name] The name of the administrator.
|
||||
* @member {string} [type] The type of the administrator.
|
||||
* @member {string} [emailAddress] The email address of the administrator.
|
||||
* @member {string} [role] The role of the administrator.
|
||||
* @property {string} [id] The ID of the administrator.
|
||||
* @property {string} [name] The name of the administrator.
|
||||
* @property {string} [type] The type of the administrator.
|
||||
* @property {string} [emailAddress] The email address of the administrator.
|
||||
* @property {string} [role] The role of the administrator.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class ClassicAdministratorListResult extends Array {
|
||||
/**
|
||||
* Create a ClassicAdministratorListResult.
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,22 +17,22 @@
|
|||
class DenyAssignment {
|
||||
/**
|
||||
* Create a DenyAssignment.
|
||||
* @member {string} [id] The deny assignment ID.
|
||||
* @member {string} [name] The deny assignment name.
|
||||
* @member {string} [type] The deny assignment type.
|
||||
* @member {string} [denyAssignmentName] The display name of the deny
|
||||
* @property {string} [id] The deny assignment ID.
|
||||
* @property {string} [name] The deny assignment name.
|
||||
* @property {string} [type] The deny assignment type.
|
||||
* @property {string} [denyAssignmentName] The display name of the deny
|
||||
* assignment.
|
||||
* @member {string} [description] The description of the deny assignment.
|
||||
* @member {array} [permissions] An array of permissions that are denied by
|
||||
* @property {string} [description] The description of the deny assignment.
|
||||
* @property {array} [permissions] An array of permissions that are denied by
|
||||
* the deny assignment.
|
||||
* @member {string} [scope] The deny assignment scope.
|
||||
* @member {boolean} [doNotApplyToChildScopes] Determines if the deny
|
||||
* @property {string} [scope] The deny assignment scope.
|
||||
* @property {boolean} [doNotApplyToChildScopes] Determines if the deny
|
||||
* assignment applies to child scopes. Default value is false.
|
||||
* @member {array} [principals] Array of principals to which the deny
|
||||
* @property {array} [principals] Array of principals to which the deny
|
||||
* assignment applies.
|
||||
* @member {array} [excludePrincipals] Array of principals to which the deny
|
||||
* assignment does not apply.
|
||||
* @member {boolean} [isSystemProtected] Specifies whether this deny
|
||||
* @property {array} [excludePrincipals] Array of principals to which the
|
||||
* deny assignment does not apply.
|
||||
* @property {boolean} [isSystemProtected] Specifies whether this deny
|
||||
* assignment was created by Azure and cannot be edited or deleted.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
class DenyAssignmentFilter {
|
||||
/**
|
||||
* Create a DenyAssignmentFilter.
|
||||
* @member {string} [denyAssignmentName] Return deny assignment with
|
||||
* @property {string} [denyAssignmentName] Return deny assignment with
|
||||
* specified name.
|
||||
* @member {string} [principalId] Return all deny assignments where the
|
||||
* @property {string} [principalId] Return all deny assignments where the
|
||||
* specified principal is listed in the principals list of deny assignments.
|
||||
* @member {string} [gdprExportPrincipalId] Return all deny assignments where
|
||||
* the specified principal is listed either in the principals list or exclude
|
||||
* principals list of deny assignments.
|
||||
* @property {string} [gdprExportPrincipalId] Return all deny assignments
|
||||
* where the specified principal is listed either in the principals list or
|
||||
* exclude principals list of deny assignments.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class DenyAssignmentListResult extends Array {
|
||||
/**
|
||||
* Create a DenyAssignmentListResult.
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
class DenyAssignmentPermission {
|
||||
/**
|
||||
* Create a DenyAssignmentPermission.
|
||||
* @member {array} [actions] Actions to which the deny assignment does not
|
||||
* @property {array} [actions] Actions to which the deny assignment does not
|
||||
* grant access.
|
||||
* @member {array} [notActions] Actions to exclude from that the deny
|
||||
* @property {array} [notActions] Actions to exclude from that the deny
|
||||
* assignment does not grant access.
|
||||
* @member {array} [dataActions] Data actions to which the deny assignment
|
||||
* @property {array} [dataActions] Data actions to which the deny assignment
|
||||
* does not grant access.
|
||||
* @member {array} [notDataActions] Data actions to exclude from that the
|
||||
* @property {array} [notDataActions] Data actions to exclude from that the
|
||||
* deny assignment does not grant access.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -22,11 +22,11 @@ export { CloudError } from 'ms-rest-azure';
|
|||
* @constructor
|
||||
* Classic Administrators
|
||||
*
|
||||
* @member {string} [id] The ID of the administrator.
|
||||
* @member {string} [name] The name of the administrator.
|
||||
* @member {string} [type] The type of the administrator.
|
||||
* @member {string} [emailAddress] The email address of the administrator.
|
||||
* @member {string} [role] The role of the administrator.
|
||||
* @property {string} [id] The ID of the administrator.
|
||||
* @property {string} [name] The name of the administrator.
|
||||
* @property {string} [type] The type of the administrator.
|
||||
* @property {string} [emailAddress] The email address of the administrator.
|
||||
* @property {string} [role] The role of the administrator.
|
||||
*/
|
||||
export interface ClassicAdministrator {
|
||||
id?: string;
|
||||
|
@ -42,12 +42,12 @@ export interface ClassicAdministrator {
|
|||
* @constructor
|
||||
* Operation
|
||||
*
|
||||
* @member {string} [name] The operation name.
|
||||
* @member {string} [displayName] The operation display name.
|
||||
* @member {string} [description] The operation description.
|
||||
* @member {string} [origin] The operation origin.
|
||||
* @member {object} [properties] The operation properties.
|
||||
* @member {boolean} [isDataAction] The dataAction flag to specify the
|
||||
* @property {string} [name] The operation name.
|
||||
* @property {string} [displayName] The operation display name.
|
||||
* @property {string} [description] The operation description.
|
||||
* @property {string} [origin] The operation origin.
|
||||
* @property {object} [properties] The operation properties.
|
||||
* @property {boolean} [isDataAction] The dataAction flag to specify the
|
||||
* operation type.
|
||||
*/
|
||||
export interface ProviderOperation {
|
||||
|
@ -65,9 +65,9 @@ export interface ProviderOperation {
|
|||
* @constructor
|
||||
* Resource Type
|
||||
*
|
||||
* @member {string} [name] The resource type name.
|
||||
* @member {string} [displayName] The resource type display name.
|
||||
* @member {array} [operations] The resource type operations.
|
||||
* @property {string} [name] The resource type name.
|
||||
* @property {string} [displayName] The resource type display name.
|
||||
* @property {array} [operations] The resource type operations.
|
||||
*/
|
||||
export interface ResourceType {
|
||||
name?: string;
|
||||
|
@ -81,12 +81,12 @@ export interface ResourceType {
|
|||
* @constructor
|
||||
* Provider Operations metadata
|
||||
*
|
||||
* @member {string} [id] The provider id.
|
||||
* @member {string} [name] The provider name.
|
||||
* @member {string} [type] The provider type.
|
||||
* @member {string} [displayName] The provider display name.
|
||||
* @member {array} [resourceTypes] The provider resource types
|
||||
* @member {array} [operations] The provider operations.
|
||||
* @property {string} [id] The provider id.
|
||||
* @property {string} [name] The provider name.
|
||||
* @property {string} [type] The provider type.
|
||||
* @property {string} [displayName] The provider display name.
|
||||
* @property {array} [resourceTypes] The provider resource types
|
||||
* @property {array} [operations] The provider operations.
|
||||
*/
|
||||
export interface ProviderOperationsMetadata {
|
||||
id?: string;
|
||||
|
@ -103,9 +103,9 @@ export interface ProviderOperationsMetadata {
|
|||
* @constructor
|
||||
* Role Assignments filter
|
||||
*
|
||||
* @member {string} [principalId] Returns role assignment of the specific
|
||||
* @property {string} [principalId] Returns role assignment of the specific
|
||||
* principal.
|
||||
* @member {boolean} [canDelegate] The Delegation flag for the roleassignment
|
||||
* @property {boolean} [canDelegate] The Delegation flag for the roleassignment
|
||||
*/
|
||||
export interface RoleAssignmentFilter {
|
||||
principalId?: string;
|
||||
|
@ -118,13 +118,13 @@ export interface RoleAssignmentFilter {
|
|||
* @constructor
|
||||
* Role Assignments
|
||||
*
|
||||
* @member {string} [id] The role assignment ID.
|
||||
* @member {string} [name] The role assignment name.
|
||||
* @member {string} [type] The role assignment type.
|
||||
* @member {string} [scope] The role assignment scope.
|
||||
* @member {string} [roleDefinitionId] The role definition ID.
|
||||
* @member {string} [principalId] The principal ID.
|
||||
* @member {boolean} [canDelegate] The Delegation flag for the roleassignment
|
||||
* @property {string} [id] The role assignment ID.
|
||||
* @property {string} [name] The role assignment name.
|
||||
* @property {string} [type] The role assignment type.
|
||||
* @property {string} [scope] The role assignment scope.
|
||||
* @property {string} [roleDefinitionId] The role definition ID.
|
||||
* @property {string} [principalId] The principal ID.
|
||||
* @property {boolean} [canDelegate] The Delegation flag for the roleassignment
|
||||
*/
|
||||
export interface RoleAssignment {
|
||||
readonly id?: string;
|
||||
|
@ -142,17 +142,17 @@ export interface RoleAssignment {
|
|||
* @constructor
|
||||
* Role assignment create parameters.
|
||||
*
|
||||
* @member {string} roleDefinitionId The role definition ID used in the role
|
||||
* @property {string} roleDefinitionId The role definition ID used in the role
|
||||
* assignment.
|
||||
* @member {string} principalId The principal ID assigned to the role. This
|
||||
* @property {string} principalId 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.
|
||||
* @member {string} [principalType] The principal type of the assigned
|
||||
* @property {string} [principalType] The principal type of the assigned
|
||||
* principal ID. Possible values include: 'User', 'Group', 'ServicePrincipal',
|
||||
* 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI',
|
||||
* 'DirectoryObjectOrGroup', 'Everyone'
|
||||
* @member {boolean} [canDelegate] The delgation flag used for creating a role
|
||||
* assignment
|
||||
* @property {boolean} [canDelegate] The delgation flag used for creating a
|
||||
* role assignment
|
||||
*/
|
||||
export interface RoleAssignmentCreateParameters {
|
||||
roleDefinitionId: string;
|
||||
|
@ -167,8 +167,9 @@ export interface RoleAssignmentCreateParameters {
|
|||
* @constructor
|
||||
* Role Definitions filter
|
||||
*
|
||||
* @member {string} [roleName] Returns role definition with the specific name.
|
||||
* @member {string} [type] Returns role definition with the specific type.
|
||||
* @property {string} [roleName] Returns role definition with the specific
|
||||
* name.
|
||||
* @property {string} [type] Returns role definition with the specific type.
|
||||
*/
|
||||
export interface RoleDefinitionFilter {
|
||||
roleName?: string;
|
||||
|
@ -181,10 +182,10 @@ export interface RoleDefinitionFilter {
|
|||
* @constructor
|
||||
* Role definition permissions.
|
||||
*
|
||||
* @member {array} [actions] Allowed actions.
|
||||
* @member {array} [notActions] Denied actions.
|
||||
* @member {array} [dataActions] Allowed Data actions.
|
||||
* @member {array} [notDataActions] Denied Data actions.
|
||||
* @property {array} [actions] Allowed actions.
|
||||
* @property {array} [notActions] Denied actions.
|
||||
* @property {array} [dataActions] Allowed Data actions.
|
||||
* @property {array} [notDataActions] Denied Data actions.
|
||||
*/
|
||||
export interface Permission {
|
||||
actions?: string[];
|
||||
|
@ -199,14 +200,14 @@ export interface Permission {
|
|||
* @constructor
|
||||
* Role definition.
|
||||
*
|
||||
* @member {string} [id] The role definition ID.
|
||||
* @member {string} [name] The role definition name.
|
||||
* @member {string} [type] The role definition type.
|
||||
* @member {string} [roleName] The role name.
|
||||
* @member {string} [description] The role definition description.
|
||||
* @member {string} [roleType] The role type.
|
||||
* @member {array} [permissions] Role definition permissions.
|
||||
* @member {array} [assignableScopes] Role definition assignable scopes.
|
||||
* @property {string} [id] The role definition ID.
|
||||
* @property {string} [name] The role definition name.
|
||||
* @property {string} [type] The role definition type.
|
||||
* @property {string} [roleName] The role name.
|
||||
* @property {string} [description] The role definition description.
|
||||
* @property {string} [roleType] The role type.
|
||||
* @property {array} [permissions] Role definition permissions.
|
||||
* @property {array} [assignableScopes] Role definition assignable scopes.
|
||||
*/
|
||||
export interface RoleDefinition {
|
||||
readonly id?: string;
|
||||
|
@ -225,11 +226,11 @@ export interface RoleDefinition {
|
|||
* @constructor
|
||||
* Deny Assignments filter
|
||||
*
|
||||
* @member {string} [denyAssignmentName] Return deny assignment with specified
|
||||
* name.
|
||||
* @member {string} [principalId] Return all deny assignments where the
|
||||
* @property {string} [denyAssignmentName] Return deny assignment with
|
||||
* specified name.
|
||||
* @property {string} [principalId] Return all deny assignments where the
|
||||
* specified principal is listed in the principals list of deny assignments.
|
||||
* @member {string} [gdprExportPrincipalId] Return all deny assignments where
|
||||
* @property {string} [gdprExportPrincipalId] Return all deny assignments where
|
||||
* the specified principal is listed either in the principals list or exclude
|
||||
* principals list of deny assignments.
|
||||
*/
|
||||
|
@ -245,14 +246,14 @@ export interface DenyAssignmentFilter {
|
|||
* @constructor
|
||||
* Deny assignment permissions.
|
||||
*
|
||||
* @member {array} [actions] Actions to which the deny assignment does not
|
||||
* @property {array} [actions] Actions to which the deny assignment does not
|
||||
* grant access.
|
||||
* @member {array} [notActions] Actions to exclude from that the deny
|
||||
* assignment does not grant access.
|
||||
* @member {array} [dataActions] Data actions to which the deny assignment does
|
||||
* not grant access.
|
||||
* @member {array} [notDataActions] Data actions to exclude from that the deny
|
||||
* @property {array} [notActions] Actions to exclude from that the deny
|
||||
* assignment does not grant access.
|
||||
* @property {array} [dataActions] Data actions to which the deny assignment
|
||||
* does not grant access.
|
||||
* @property {array} [notDataActions] Data actions to exclude from that the
|
||||
* deny assignment does not grant access.
|
||||
*/
|
||||
export interface DenyAssignmentPermission {
|
||||
actions?: string[];
|
||||
|
@ -267,11 +268,11 @@ export interface DenyAssignmentPermission {
|
|||
* @constructor
|
||||
* Deny assignment principal.
|
||||
*
|
||||
* @member {string} [id] Object ID of the Azure AD principal (user, group, or
|
||||
* @property {string} [id] Object ID of the Azure AD principal (user, group, or
|
||||
* service principal) to which the deny assignment applies. An empty guid
|
||||
* '00000000-0000-0000-0000-000000000000' as principal id and principal type as
|
||||
* 'Everyone' represents all users, groups and service principals.
|
||||
* @member {string} [type] Type of object represented by principal id (user,
|
||||
* @property {string} [type] Type of object represented by principal id (user,
|
||||
* group, or service principal). An empty guid
|
||||
* '00000000-0000-0000-0000-000000000000' as principal id and principal type as
|
||||
* 'Everyone' represents all users, groups and service principals.
|
||||
|
@ -287,23 +288,23 @@ export interface Principal {
|
|||
* @constructor
|
||||
* Deny Assignment
|
||||
*
|
||||
* @member {string} [id] The deny assignment ID.
|
||||
* @member {string} [name] The deny assignment name.
|
||||
* @member {string} [type] The deny assignment type.
|
||||
* @member {string} [denyAssignmentName] The display name of the deny
|
||||
* @property {string} [id] The deny assignment ID.
|
||||
* @property {string} [name] The deny assignment name.
|
||||
* @property {string} [type] The deny assignment type.
|
||||
* @property {string} [denyAssignmentName] The display name of the deny
|
||||
* assignment.
|
||||
* @member {string} [description] The description of the deny assignment.
|
||||
* @member {array} [permissions] An array of permissions that are denied by the
|
||||
* deny assignment.
|
||||
* @member {string} [scope] The deny assignment scope.
|
||||
* @member {boolean} [doNotApplyToChildScopes] Determines if the deny
|
||||
* @property {string} [description] The description of the deny assignment.
|
||||
* @property {array} [permissions] An array of permissions that are denied by
|
||||
* the deny assignment.
|
||||
* @property {string} [scope] The deny assignment scope.
|
||||
* @property {boolean} [doNotApplyToChildScopes] Determines if the deny
|
||||
* assignment applies to child scopes. Default value is false.
|
||||
* @member {array} [principals] Array of principals to which the deny
|
||||
* @property {array} [principals] Array of principals to which the deny
|
||||
* assignment applies.
|
||||
* @member {array} [excludePrincipals] Array of principals to which the deny
|
||||
* @property {array} [excludePrincipals] Array of principals to which the deny
|
||||
* assignment does not apply.
|
||||
* @member {boolean} [isSystemProtected] Specifies whether this deny assignment
|
||||
* was created by Azure and cannot be edited or deleted.
|
||||
* @property {boolean} [isSystemProtected] Specifies whether this deny
|
||||
* assignment was created by Azure and cannot be edited or deleted.
|
||||
*/
|
||||
export interface DenyAssignment {
|
||||
readonly id?: string;
|
||||
|
@ -326,7 +327,7 @@ export interface DenyAssignment {
|
|||
* @constructor
|
||||
* ClassicAdministrator list result information.
|
||||
*
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
export interface ClassicAdministratorListResult extends Array<ClassicAdministrator> {
|
||||
|
@ -339,7 +340,7 @@ export interface ClassicAdministratorListResult extends Array<ClassicAdministrat
|
|||
* @constructor
|
||||
* Provider operations metadata list
|
||||
*
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
export interface ProviderOperationsMetadataListResult extends Array<ProviderOperationsMetadata> {
|
||||
|
@ -352,7 +353,7 @@ export interface ProviderOperationsMetadataListResult extends Array<ProviderOper
|
|||
* @constructor
|
||||
* Role assignment list operation result.
|
||||
*
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
export interface RoleAssignmentListResult extends Array<RoleAssignment> {
|
||||
|
@ -365,7 +366,7 @@ export interface RoleAssignmentListResult extends Array<RoleAssignment> {
|
|||
* @constructor
|
||||
* Permissions information.
|
||||
*
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
export interface PermissionGetResult extends Array<Permission> {
|
||||
|
@ -378,7 +379,7 @@ export interface PermissionGetResult extends Array<Permission> {
|
|||
* @constructor
|
||||
* Role definition list operation result.
|
||||
*
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
export interface RoleDefinitionListResult extends Array<RoleDefinition> {
|
||||
|
@ -391,7 +392,7 @@ export interface RoleDefinitionListResult extends Array<RoleDefinition> {
|
|||
* @constructor
|
||||
* Deny assignment list operation result.
|
||||
*
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
export interface DenyAssignmentListResult extends Array<DenyAssignment> {
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
class Permission {
|
||||
/**
|
||||
* Create a Permission.
|
||||
* @member {array} [actions] Allowed actions.
|
||||
* @member {array} [notActions] Denied actions.
|
||||
* @member {array} [dataActions] Allowed Data actions.
|
||||
* @member {array} [notDataActions] Denied Data actions.
|
||||
* @property {array} [actions] Allowed actions.
|
||||
* @property {array} [notActions] Denied actions.
|
||||
* @property {array} [dataActions] Allowed Data actions.
|
||||
* @property {array} [notDataActions] Denied Data actions.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class PermissionGetResult extends Array {
|
||||
/**
|
||||
* Create a PermissionGetResult.
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
class Principal {
|
||||
/**
|
||||
* Create a Principal.
|
||||
* @member {string} [id] Object ID of the Azure AD principal (user, group, or
|
||||
* service principal) to which the deny assignment applies. An empty guid
|
||||
* @property {string} [id] Object ID of the Azure AD principal (user, group,
|
||||
* or service principal) to which the deny assignment applies. An empty guid
|
||||
* '00000000-0000-0000-0000-000000000000' as principal id and principal type
|
||||
* as 'Everyone' represents all users, groups and service principals.
|
||||
* @member {string} [type] Type of object represented by principal id (user,
|
||||
* group, or service principal). An empty guid
|
||||
* @property {string} [type] Type of object represented by principal id
|
||||
* (user, group, or service principal). An empty guid
|
||||
* '00000000-0000-0000-0000-000000000000' as principal id and principal type
|
||||
* as 'Everyone' represents all users, groups and service principals.
|
||||
*/
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
class ProviderOperation {
|
||||
/**
|
||||
* Create a ProviderOperation.
|
||||
* @member {string} [name] The operation name.
|
||||
* @member {string} [displayName] The operation display name.
|
||||
* @member {string} [description] The operation description.
|
||||
* @member {string} [origin] The operation origin.
|
||||
* @member {object} [properties] The operation properties.
|
||||
* @member {boolean} [isDataAction] The dataAction flag to specify the
|
||||
* @property {string} [name] The operation name.
|
||||
* @property {string} [displayName] The operation display name.
|
||||
* @property {string} [description] The operation description.
|
||||
* @property {string} [origin] The operation origin.
|
||||
* @property {object} [properties] The operation properties.
|
||||
* @property {boolean} [isDataAction] The dataAction flag to specify the
|
||||
* operation type.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
class ProviderOperationsMetadata {
|
||||
/**
|
||||
* Create a ProviderOperationsMetadata.
|
||||
* @member {string} [id] The provider id.
|
||||
* @member {string} [name] The provider name.
|
||||
* @member {string} [type] The provider type.
|
||||
* @member {string} [displayName] The provider display name.
|
||||
* @member {array} [resourceTypes] The provider resource types
|
||||
* @member {array} [operations] The provider operations.
|
||||
* @property {string} [id] The provider id.
|
||||
* @property {string} [name] The provider name.
|
||||
* @property {string} [type] The provider type.
|
||||
* @property {string} [displayName] The provider display name.
|
||||
* @property {array} [resourceTypes] The provider resource types
|
||||
* @property {array} [operations] The provider operations.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class ProviderOperationsMetadataListResult extends Array {
|
||||
/**
|
||||
* Create a ProviderOperationsMetadataListResult.
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
class ResourceType {
|
||||
/**
|
||||
* Create a ResourceType.
|
||||
* @member {string} [name] The resource type name.
|
||||
* @member {string} [displayName] The resource type display name.
|
||||
* @member {array} [operations] The resource type operations.
|
||||
* @property {string} [name] The resource type name.
|
||||
* @property {string} [displayName] The resource type display name.
|
||||
* @property {array} [operations] The resource type operations.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -17,13 +17,14 @@
|
|||
class RoleAssignment {
|
||||
/**
|
||||
* Create a RoleAssignment.
|
||||
* @member {string} [id] The role assignment ID.
|
||||
* @member {string} [name] The role assignment name.
|
||||
* @member {string} [type] The role assignment type.
|
||||
* @member {string} [scope] The role assignment scope.
|
||||
* @member {string} [roleDefinitionId] The role definition ID.
|
||||
* @member {string} [principalId] The principal ID.
|
||||
* @member {boolean} [canDelegate] The Delegation flag for the roleassignment
|
||||
* @property {string} [id] The role assignment ID.
|
||||
* @property {string} [name] The role assignment name.
|
||||
* @property {string} [type] The role assignment type.
|
||||
* @property {string} [scope] The role assignment scope.
|
||||
* @property {string} [roleDefinitionId] The role definition ID.
|
||||
* @property {string} [principalId] The principal ID.
|
||||
* @property {boolean} [canDelegate] The Delegation flag for the
|
||||
* roleassignment
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -17,16 +17,16 @@
|
|||
class RoleAssignmentCreateParameters {
|
||||
/**
|
||||
* Create a RoleAssignmentCreateParameters.
|
||||
* @member {string} roleDefinitionId The role definition ID used in the role
|
||||
* assignment.
|
||||
* @member {string} principalId The principal ID assigned to the role. This
|
||||
* @property {string} roleDefinitionId The role definition ID used in the
|
||||
* role assignment.
|
||||
* @property {string} principalId 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.
|
||||
* @member {string} [principalType] The principal type of the assigned
|
||||
* @property {string} [principalType] The principal type of the assigned
|
||||
* principal ID. Possible values include: 'User', 'Group',
|
||||
* 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup',
|
||||
* 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone'
|
||||
* @member {boolean} [canDelegate] The delgation flag used for creating a
|
||||
* @property {boolean} [canDelegate] The delgation flag used for creating a
|
||||
* role assignment
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,9 +17,10 @@
|
|||
class RoleAssignmentFilter {
|
||||
/**
|
||||
* Create a RoleAssignmentFilter.
|
||||
* @member {string} [principalId] Returns role assignment of the specific
|
||||
* @property {string} [principalId] Returns role assignment of the specific
|
||||
* principal.
|
||||
* @member {boolean} [canDelegate] The Delegation flag for the roleassignment
|
||||
* @property {boolean} [canDelegate] The Delegation flag for the
|
||||
* roleassignment
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class RoleAssignmentListResult extends Array {
|
||||
/**
|
||||
* Create a RoleAssignmentListResult.
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
class RoleDefinition {
|
||||
/**
|
||||
* Create a RoleDefinition.
|
||||
* @member {string} [id] The role definition ID.
|
||||
* @member {string} [name] The role definition name.
|
||||
* @member {string} [type] The role definition type.
|
||||
* @member {string} [roleName] The role name.
|
||||
* @member {string} [description] The role definition description.
|
||||
* @member {string} [roleType] The role type.
|
||||
* @member {array} [permissions] Role definition permissions.
|
||||
* @member {array} [assignableScopes] Role definition assignable scopes.
|
||||
* @property {string} [id] The role definition ID.
|
||||
* @property {string} [name] The role definition name.
|
||||
* @property {string} [type] The role definition type.
|
||||
* @property {string} [roleName] The role name.
|
||||
* @property {string} [description] The role definition description.
|
||||
* @property {string} [roleType] The role type.
|
||||
* @property {array} [permissions] Role definition permissions.
|
||||
* @property {array} [assignableScopes] Role definition assignable scopes.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
class RoleDefinitionFilter {
|
||||
/**
|
||||
* Create a RoleDefinitionFilter.
|
||||
* @member {string} [roleName] Returns role definition with the specific
|
||||
* @property {string} [roleName] Returns role definition with the specific
|
||||
* name.
|
||||
* @member {string} [type] Returns role definition with the specific type.
|
||||
* @property {string} [type] Returns role definition with the specific type.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class RoleDefinitionListResult extends Array {
|
||||
/**
|
||||
* Create a RoleDefinitionListResult.
|
||||
* @member {string} [nextLink] The URL to use for getting the next set of
|
||||
* @property {string} [nextLink] The URL to use for getting the next set of
|
||||
* results.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "azure-arm-authorization",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "AuthorizationManagementClient Library with typescript type definitions for node",
|
||||
"version": "8.2.0",
|
||||
"version": "8.3.0",
|
||||
"dependencies": {
|
||||
"ms-rest": "^2.3.3",
|
||||
"ms-rest-azure": "^2.5.5"
|
||||
|
@ -22,4 +22,4 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/azure/azure-sdk-for-node/issues"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче