你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoleManagementPolicyNotificationRule Class

Definition

The role management policy rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyNotificationRuleTypeConverter))]
public class RoleManagementPolicyNotificationRule : Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyNotificationRule, Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyNotificationRuleTypeConverter))>]
type RoleManagementPolicyNotificationRule = class
    interface IRoleManagementPolicyNotificationRule
    interface IJsonSerializable
    interface IRoleManagementPolicyRule
    interface IValidates
Public Class RoleManagementPolicyNotificationRule
Implements IRoleManagementPolicyNotificationRule, IValidates
Inheritance
RoleManagementPolicyNotificationRule
Attributes
Implements

Constructors

RoleManagementPolicyNotificationRule()

Creates an new RoleManagementPolicyNotificationRule instance.

Properties

Id

The id of the rule.

IsDefaultRecipientsEnabled

Its value determine if the notification need to be sent to the recipient type specified in policy rule.

NotificationLevel

The notification level.

NotificationRecipient

The list notification recipients.

NotificationType

The type of notification.

RecipientType

The recipient type.

RuleType

The type of rule

Target

The target of the current rule.

TargetCaller

The caller of the setting.

TargetEnforcedSetting

The list of enforced settings.

TargetInheritableSetting

The list of inheritable settings.

TargetLevel

The assignment level to which it is applied.

TargetObject

The list of target objects.

TargetOperation

The type of operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleManagementPolicyNotificationRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleManagementPolicyNotificationRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyNotificationRule.

FromJsonString(String)

Creates a new instance of RoleManagementPolicyNotificationRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleManagementPolicyNotificationRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to