ArmSecurityCenterModelFactory.GovernanceRuleEmailNotification Method

Definition

public static Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleEmailNotification GovernanceRuleEmailNotification(bool? disableManagerEmailNotification = default, bool? disableOwnerEmailNotification = default);
static member GovernanceRuleEmailNotification : Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleEmailNotification
Public Shared Function GovernanceRuleEmailNotification (Optional disableManagerEmailNotification As Nullable(Of Boolean) = Nothing, Optional disableOwnerEmailNotification As Nullable(Of Boolean) = Nothing) As GovernanceRuleEmailNotification

Parameters

disableManagerEmailNotification
Nullable<Boolean>

Defines whether manager email notifications are disabled.

disableOwnerEmailNotification
Nullable<Boolean>

Defines whether owner email notifications are disabled.

Returns

A new GovernanceRuleEmailNotification instance for mocking.

Applies to