你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AuthorizationRule Class
Authorization rule of an entity.
Constructor
AuthorizationRule(*, type: str | None = None, claim_type: str | None = None, claim_value: str | None = None, rights: List[str | AccessRights] | None = None, created_at_utc: datetime | None = None, modified_at_utc: datetime | None = None, key_name: str | None = None, primary_key: str | None = None, secondary_key: str | None = None)
Keyword-Only Parameters
Name | Description |
---|---|
type
|
The authorization type. |
claim_type
|
The claim type. |
claim_value
|
The claim value. |
rights
|
Access rights of the entity. Values are 'Send', 'Listen', or 'Manage'. |
created_at_utc
|
The date and time when the authorization rule was created. |
modified_at_utc
|
The date and time when the authorization rule was modified. |
key_name
|
The authorization rule key name. |
primary_key
|
The primary key of the authorization rule. |
secondary_key
|
The primary key of the authorization rule. |