Condividi tramite


SecurityTaskData Class

Definition

A class representing the SecurityTask data model. Security task that we recommend to do in order to strengthen security

public class SecurityTaskData : Azure.ResourceManager.Models.ResourceData
public class SecurityTaskData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.SecurityTaskData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.SecurityTaskData>
type SecurityTaskData = class
    inherit ResourceData
type SecurityTaskData = class
    inherit ResourceData
    interface IJsonModel<SecurityTaskData>
    interface IPersistableModel<SecurityTaskData>
Public Class SecurityTaskData
Inherits ResourceData
Public Class SecurityTaskData
Inherits ResourceData
Implements IJsonModel(Of SecurityTaskData), IPersistableModel(Of SecurityTaskData)
Inheritance
SecurityTaskData
Implements

Constructors

SecurityTaskData()

Initializes a new instance of SecurityTaskData.

Properties

CreatedOn

The time this task was discovered in UTC.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
LastStateChangedOn

The time this task's details were last changed in UTC.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SecurityTaskParameters

Changing set of properties, depending on the task type that is derived from the name field.

State

State of the task (Active, Resolved etc.).

SubState

Additional data on the state of the task.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecurityTaskData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SecurityTaskData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityTaskData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityTaskData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SecurityTaskData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to