EasmTask Class
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.
Task details.
public class EasmTask : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DefenderEasm.Models.EasmTask>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DefenderEasm.Models.EasmTask>
type EasmTask = class
inherit ResourceData
interface IJsonModel<EasmTask>
interface IPersistableModel<EasmTask>
Public Class EasmTask
Inherits ResourceData
Implements IJsonModel(Of EasmTask), IPersistableModel(Of EasmTask)
- Inheritance
- Implements
Constructors
EasmTask() |
Initializes a new instance of EasmTask. |
Properties
CompletedAt |
The time the task completed. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
LastPolledAt |
The last time the task was polled. |
Metadata |
The reason the task was moved into its current state, if the task wasn't completed. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Name |
The name of the resource. (Inherited from ResourceData) |
Phase |
the phase the task is in. |
ProvisioningState |
Resource provisioning state. |
Reason |
The reason the task was moved into its current state, if the task wasn't completed. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
StartedAt |
The time the task started. |
State |
the state the task is in. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<EasmTask>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<EasmTask>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<EasmTask>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<EasmTask>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<EasmTask>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |