@azure/arm-authorization package
Classes
| AuthorizationManagementClient |
Interfaces
Type Aliases
| AccessRecommendationType |
The feature- generated recommendation shown to the reviewer. Known values supported by the serviceApprove: Approve |
| AccessReviewActorIdentityType |
The identity type : user/servicePrincipal Known values supported by the serviceuser: user |
| AccessReviewApplyResult |
The outcome of applying the decision. Known values supported by the serviceNew: New |
| AccessReviewDecisionIdentityUnion |
Alias for AccessReviewDecisionIdentityUnion |
| AccessReviewDecisionInsightPropertiesUnion |
Alias for AccessReviewDecisionInsightPropertiesUnion |
| AccessReviewDecisionInsightType |
The type of insight Known values supported by the serviceuserSignInInsight: userSignInInsight |
| AccessReviewDecisionPrincipalResourceMembershipType |
Type of AccessReviewDecisionPrincipalResourceMembershipType |
| AccessReviewHistoryDefinitionStatus |
This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error. Known values supported by the serviceRequested: Requested |
| AccessReviewInstanceReviewersType |
This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review. Known values supported by the serviceAssigned: Assigned |
| AccessReviewInstanceStatus |
This read-only field specifies the status of an access review instance. Known values supported by the serviceNotStarted: NotStarted |
| AccessReviewRecurrencePatternType |
The recurrence type : weekly, monthly, etc. Known values supported by the serviceweekly: weekly |
| AccessReviewRecurrenceRangeType |
The recurrence range type. The possible values are: endDate, noEnd, numbered. Known values supported by the serviceendDate: endDate |
| AccessReviewResult |
Represents a reviewer's decision for a given review Known values supported by the serviceApprove: Approve |
| AccessReviewReviewerType |
The identity type : user/servicePrincipal Known values supported by the serviceuser: user |
| AccessReviewScheduleDefinitionReviewersType |
This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review. Known values supported by the serviceAssigned: Assigned |
| AccessReviewScheduleDefinitionStatus |
This read-only field specifies the status of an accessReview. Known values supported by the serviceNotStarted: NotStarted |
| AccessReviewScopeAssignmentState |
The role assignment state eligible/active to review Known values supported by the serviceeligible: eligible |
| AccessReviewScopePrincipalType |
The identity type user/servicePrincipal to review Known values supported by the serviceuser: user |
| AlertConfigurationPropertiesUnion |
Alias for AlertConfigurationPropertiesUnion |
| AlertIncidentPropertiesUnion |
Alias for AlertIncidentPropertiesUnion |
| ApprovalMode |
The type of rule Known values supported by the serviceSingleStage: SingleStage |
| AssignmentType |
Assignment type of the role assignment schedule Known values supported by the serviceActivated: Activated |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| ContinuablePage |
An interface that describes a page of results. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| DecisionResourceType |
The type of resource Known values supported by the serviceazureRole: azureRole |
| DecisionTargetType |
The type of decision target : User/ServicePrincipal Known values supported by the serviceuser: user |
| DefaultDecisionType |
This specifies the behavior for the autoReview feature when an access review completes. Known values supported by the serviceApprove: Approve |
| DenyAssignmentEffect |
The effect of the deny assignment. 'enforced' blocks access, 'audit' logs without blocking. Known values supported by the serviceenforced: enforced |
| DenyAssignmentPrincipalType |
The type of the principal such as user, group, servicePrincipal, etc. |
| EnablementRules |
The type of enablement rule Known values supported by the serviceMultiFactorAuthentication: MultiFactorAuthentication |
| ExcludedPrincipalTypes |
Type of ExcludedPrincipalTypes |
| MemberType |
Membership type of the role assignment schedule Known values supported by the serviceInherited: Inherited |
| NotificationDeliveryMechanism |
The type of notification. Known values supported by the serviceEmail: Email |
| NotificationLevel |
The notification level. Known values supported by the serviceNone: None |
| PIMOnlyMode |
Determines whether the setting is enabled, disabled or report only. Known values supported by the serviceDisabled: Disabled |
| PrincipalType |
The principal type of the assigned principal ID. Known values supported by the serviceUser: User |
| RecipientType |
The recipient type. Known values supported by the serviceRequestor: Requestor |
| RecordAllDecisionsResult |
The decision to make. Approvers can take action of Approve/Deny Known values supported by the serviceApprove: Approve |
| RequestType |
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc Known values supported by the serviceAdminAssign: AdminAssign |
| RoleManagementPolicyRuleType |
The type of rule Known values supported by the serviceRoleManagementPolicyApprovalRule: RoleManagementPolicyApprovalRule |
| RoleManagementPolicyRuleUnion |
Alias for RoleManagementPolicyRuleUnion |
| SeverityLevel |
Severity level of the alert. Known values supported by the serviceLow: Low |
| Status |
The status of the role assignment schedule. Known values supported by the serviceAccepted: Accepted |
| Type |
Type of the role assignment schedule expiration Known values supported by the serviceAfterDuration: AfterDuration |
| UserType |
The type of user. Known values supported by the serviceUser: User |
| UsersOrServicePrincipalSetUserType |
The type of user. Known values supported by the serviceUser: User |
Enums
| AzureClouds |
An enum to describe Azure Cloud environments. |
| KnownAccessRecommendationType |
The feature- generated recommendation shown to the reviewer. |
| KnownAccessReviewActorIdentityType |
The identity type : user/servicePrincipal |
| KnownAccessReviewApplyResult |
The outcome of applying the decision. |
| KnownAccessReviewDecisionInsightType |
The type of insight |
| KnownAccessReviewDecisionPrincipalResourceMembershipType |
Known values of AccessReviewDecisionPrincipalResourceMembershipType that the service accepts. |
| KnownAccessReviewHistoryDefinitionStatus |
This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error. |
| KnownAccessReviewInstanceReviewersType |
This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review. |
| KnownAccessReviewInstanceStatus |
This read-only field specifies the status of an access review instance. |
| KnownAccessReviewRecurrencePatternType |
The recurrence type : weekly, monthly, etc. |
| KnownAccessReviewRecurrenceRangeType |
The recurrence range type. The possible values are: endDate, noEnd, numbered. |
| KnownAccessReviewResult |
Represents a reviewer's decision for a given review |
| KnownAccessReviewReviewerType |
The identity type : user/servicePrincipal |
| KnownAccessReviewScheduleDefinitionReviewersType |
This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review. |
| KnownAccessReviewScheduleDefinitionStatus |
This read-only field specifies the status of an accessReview. |
| KnownAccessReviewScopeAssignmentState |
The role assignment state eligible/active to review |
| KnownAccessReviewScopePrincipalType |
The identity type user/servicePrincipal to review |
| KnownApprovalMode |
The type of rule |
| KnownAssignmentType |
Assignment type of the role assignment schedule |
| KnownCreatedByType |
The kind of entity that created the resource. |
| KnownDecisionResourceType |
The type of resource |
| KnownDecisionTargetType |
The type of decision target : User/ServicePrincipal |
| KnownDefaultDecisionType |
This specifies the behavior for the autoReview feature when an access review completes. |
| KnownDenyAssignmentEffect |
The effect of the deny assignment. 'enforced' blocks access, 'audit' logs without blocking. |
| KnownEnablementRules |
The type of enablement rule |
| KnownExcludedPrincipalTypes |
Known values of ExcludedPrincipalTypes that the service accepts. |
| KnownMemberType |
Membership type of the role assignment schedule |
| KnownNotificationDeliveryMechanism |
The type of notification. |
| KnownNotificationLevel |
The notification level. |
| KnownPIMOnlyMode |
Determines whether the setting is enabled, disabled or report only. |
| KnownPrincipalType |
The principal type of the assigned principal ID. |
| KnownRecipientType |
The recipient type. |
| KnownRecordAllDecisionsResult |
The decision to make. Approvers can take action of Approve/Deny |
| KnownRequestType |
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc |
| KnownRoleManagementPolicyRuleType |
The type of rule |
| KnownSeverityLevel |
Severity level of the alert. |
| KnownStatus |
The status of the role assignment schedule. |
| KnownType |
Type of the role assignment schedule expiration |
| KnownUserType |
The type of user. |
| KnownUsersOrServicePrincipalSetUserType |
The type of user. |
Functions
| is |
Typeguard for RestError |
| restore |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
Variables
| Rest |
A custom error type for failed pipeline requests. |
Function Details
isRestError(unknown)
Typeguard for RestError
function isRestError(e: unknown): e
Parameters
- e
-
unknown
Something caught by a catch clause.
Returns
e
restorePoller<TResponse, TResult>(AuthorizationManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function restorePoller<TResponse, TResult>(client: AuthorizationManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>
Variable Details
RestError
A custom error type for failed pipeline requests.
RestError: RestErrorConstructor