Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/services/authorizationManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ export interface RoleAssignment {
* @constructor
* Role assignment create parameters.
*
* @member {string} [roleDefinitionId] The role definition ID used in the role
* @member {string} roleDefinitionId The role definition ID used in the role
* assignment.
* @member {string} [principalId] The principal ID assigned to the role. This
* @member {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
Expand All @@ -213,8 +213,8 @@ export interface RoleAssignment {
* assignment
*/
export interface RoleAssignmentCreateParameters {
roleDefinitionId?: string;
principalId?: string;
roleDefinitionId: string;
principalId: string;
principalType?: string;
canDelegate?: boolean;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
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
* @member {string} roleDefinitionId The role definition ID used in the role
* assignment.
* @member {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
Expand Down Expand Up @@ -47,14 +47,14 @@ class RoleAssignmentCreateParameters {
className: 'RoleAssignmentCreateParameters',
modelProperties: {
roleDefinitionId: {
required: false,
required: true,
serializedName: 'properties.roleDefinitionId',
type: {
name: 'String'
}
},
principalId: {
required: false,
required: true,
serializedName: 'properties.principalId',
type: {
name: 'String'
Expand Down
16 changes: 8 additions & 8 deletions lib/services/authorizationManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,10 +811,10 @@ export interface RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -855,10 +855,10 @@ export interface RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -1023,10 +1023,10 @@ export interface RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -1058,10 +1058,10 @@ export interface RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ function _deleteMethod(scope, roleAssignmentName, options, callback) {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -939,10 +939,10 @@ function _deleteById(roleId, options, callback) {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -2368,10 +2368,10 @@ class RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -2424,10 +2424,10 @@ class RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -2661,10 +2661,10 @@ class RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down Expand Up @@ -2708,10 +2708,10 @@ class RoleAssignments {
*
* @param {object} parameters Parameters for the role assignment.
*
* @param {string} [parameters.roleDefinitionId] The role definition ID used in
* @param {string} parameters.roleDefinitionId The role definition ID used in
* the role assignment.
*
* @param {string} [parameters.principalId] The principal ID assigned to the
* @param {string} parameters.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.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/services/authorizationManagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-arm-authorization",
"author": "Microsoft Corporation",
"description": "AuthorizationManagementClient Library with typescript type definitions for node",
"version": "6.0.0",
"version": "7.0.0",
"dependencies": {
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
Expand Down