Sprog

ArmAuthorizationModelFactory.RoleManagementPolicyNotificationRule Method

Definition

public static Azure.ResourceManager.Authorization.Models.RoleManagementPolicyNotificationRule RoleManagementPolicyNotificationRule(string id = default, Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget target = default, Azure.ResourceManager.Authorization.Models.NotificationDeliveryType? notificationDeliveryType = default, Azure.ResourceManager.Authorization.Models.RoleManagementPolicyNotificationLevel? notificationLevel = default, Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRecipientType? recipientType = default, System.Collections.Generic.IEnumerable<string> notificationRecipients = default, bool? isDefaultRecipientsEnabled = default);
static member RoleManagementPolicyNotificationRule : string * Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRuleTarget * Nullable<Azure.ResourceManager.Authorization.Models.NotificationDeliveryType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyNotificationLevel> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPolicyRecipientType> * seq<string> * Nullable<bool> -> Azure.ResourceManager.Authorization.Models.RoleManagementPolicyNotificationRule
Public Shared Function RoleManagementPolicyNotificationRule (Optional id As String = Nothing, Optional target As RoleManagementPolicyRuleTarget = Nothing, Optional notificationDeliveryType As Nullable(Of NotificationDeliveryType) = Nothing, Optional notificationLevel As Nullable(Of RoleManagementPolicyNotificationLevel) = Nothing, Optional recipientType As Nullable(Of RoleManagementPolicyRecipientType) = Nothing, Optional notificationRecipients As IEnumerable(Of String) = Nothing, Optional isDefaultRecipientsEnabled As Nullable(Of Boolean) = Nothing) As RoleManagementPolicyNotificationRule

Parameters

id
String

The id of the rule.

target
RoleManagementPolicyRuleTarget

The target of the current rule.

notificationDeliveryType
Nullable<NotificationDeliveryType>

The type of notification.

notificationLevel
Nullable<RoleManagementPolicyNotificationLevel>

The notification level.

recipientType
Nullable<RoleManagementPolicyRecipientType>

The recipient type.

notificationRecipients
IEnumerable<String>

The list of notification recipients.

isDefaultRecipientsEnabled
Nullable<Boolean>

Determines if the notification will be sent to the recipient type specified in the policy rule.

Returns

A new RoleManagementPolicyNotificationRule instance for mocking.

Applies to