Partilhar via


ArmSecurityCenterModelFactory.SecurityTaskData Método

Definição

Inicializa uma nova instância de SecurityTaskData.

public static Azure.ResourceManager.SecurityCenter.SecurityTaskData SecurityTaskData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string state = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.SecurityCenter.Models.SecurityTaskProperties securityTaskParameters = default, DateTimeOffset? lastStateChangedOn = default, string subState = default);
static member SecurityTaskData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Azure.ResourceManager.SecurityCenter.Models.SecurityTaskProperties * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.SecurityCenter.SecurityTaskData
Public Shared Function SecurityTaskData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional state As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional securityTaskParameters As SecurityTaskProperties = Nothing, Optional lastStateChangedOn As Nullable(Of DateTimeOffset) = Nothing, Optional subState As String = Nothing) As SecurityTaskData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

state
String

Estado da tarefa (Ativo, Resolvido etc.).

createdOn
Nullable<DateTimeOffset>

A hora em que essa tarefa foi descoberta em UTC.

securityTaskParameters
SecurityTaskProperties

Alterando o conjunto de propriedades, dependendo do tipo de tarefa derivado do campo de nome.

lastStateChangedOn
Nullable<DateTimeOffset>

A hora em que os detalhes desta tarefa foram alterados pela última vez em UTC.

subState
String

Dados adicionais sobre o estado da tarefa.

Retornos

Uma nova SecurityTaskData instância para simulação.

Aplica-se a