Partilhar via


ArmSecurityCenterModelFactory.DeviceSecurityGroupData Método

Definição

Inicializa uma nova instância de DeviceSecurityGroupData.

public static Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupData DeviceSecurityGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule> thresholdRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule> timeWindowRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule> allowlistRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule> denylistRules = default);
static member DeviceSecurityGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule> * seq<Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule> * seq<Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule> * seq<Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule> -> Azure.ResourceManager.SecurityCenter.DeviceSecurityGroupData
Public Shared Function DeviceSecurityGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional thresholdRules As IEnumerable(Of ThresholdCustomAlertRule) = Nothing, Optional timeWindowRules As IEnumerable(Of TimeWindowCustomAlertRule) = Nothing, Optional allowlistRules As IEnumerable(Of AllowlistCustomAlertRule) = Nothing, Optional denylistRules As IEnumerable(Of DenylistCustomAlertRule) = Nothing) As DeviceSecurityGroupData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

thresholdRules
IEnumerable<ThresholdCustomAlertRule>

A lista de regras de limite de alerta personalizadas. ThresholdCustomAlertRule(String, String, Boolean, Int32, Int32) Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem ActiveConnectionsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), , , AmqpC2DRejectedMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), AmqpD2CMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), FailedLocalLoginsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)DirectMethodInvokesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), FileUploadsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), HttpC2DRejectedMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)HttpC2DMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), HttpD2CMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), , MqttC2DMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), MqttC2DRejectedMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), MqttD2CMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), , QueuePurgesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), TimeWindowCustomAlertRule(String, String, Boolean, Int32, Int32, TimeSpan)e TwinUpdatesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)UnauthorizedOperationsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan). AmqpC2DMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)

timeWindowRules
IEnumerable<TimeWindowCustomAlertRule>

A lista de regras personalizadas de janela de tempo de alerta. TimeWindowCustomAlertRule(String, String, Boolean, Int32, Int32, TimeSpan) Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem ActiveConnectionsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), , , AmqpC2DRejectedMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), AmqpD2CMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), DirectMethodInvokesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)FailedLocalLoginsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), FileUploadsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), HttpC2DMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), HttpC2DRejectedMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), HttpD2CMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), MqttC2DMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), MqttC2DRejectedMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), , MqttD2CMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan), QueuePurgesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)e TwinUpdatesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)UnauthorizedOperationsNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan). AmqpC2DMessagesNotInAllowedRange(String, String, Boolean, Int32, Int32, TimeSpan)

denylistRules
IEnumerable<DenylistCustomAlertRule>

As regras de alerta personalizadas da lista de negação.

Retornos

Uma nova DeviceSecurityGroupData instância para zombar.

Aplica-se a