ArmSecurityCenterModelFactory.SecurityContactPropertiesNotificationsByRole 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.SecurityCenter.Models.SecurityContactPropertiesNotificationsByRole SecurityContactPropertiesNotificationsByRole(Azure.ResourceManager.SecurityCenter.Models.SecurityAlertNotificationByRoleState? state = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityAlertReceivingRole> roles = default);
static member SecurityContactPropertiesNotificationsByRole : Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAlertNotificationByRoleState> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityAlertReceivingRole> -> Azure.ResourceManager.SecurityCenter.Models.SecurityContactPropertiesNotificationsByRole
Public Shared Function SecurityContactPropertiesNotificationsByRole (Optional state As Nullable(Of SecurityAlertNotificationByRoleState) = Nothing, Optional roles As IEnumerable(Of SecurityAlertReceivingRole) = Nothing) As SecurityContactPropertiesNotificationsByRole
Parameters
Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:.
Returns
A new SecurityContactPropertiesNotificationsByRole instance for mocking.