共用方式為


Authorization Class

Definition

Authorization tuple containing principal Id (of user/service principal/security group) and role definition id.

public class Authorization
type Authorization = class
Public Class Authorization
Inheritance
Authorization

Constructors

Authorization()

Initializes a new instance of the Authorization class.

Authorization(String, String)

Initializes a new instance of the Authorization class.

Properties

PrincipalId

Gets or sets principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription

RoleDefinitionId

Gets or sets the role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role.

Methods

Validate()

Validate the object.

Applies to