Share via


EasmTask Class

Definition

Task details.

public class EasmTask : Azure.ResourceManager.Models.ResourceData
type EasmTask = class
    inherit ResourceData
Public Class EasmTask
Inherits ResourceData
Inheritance
EasmTask

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:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

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) (Inherited from ResourceData)

Applies to