ArmAuthorizationModelFactory.RoleManagementPolicyNotificationRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
Determines if the notification will be sent to the recipient type specified in the policy rule.
Returns
A new RoleManagementPolicyNotificationRule instance for mocking.