ArmDefenderEasmModelFactory.EasmTask Method

Definition

Initializes a new instance of EasmTask.

public static Azure.ResourceManager.DefenderEasm.Models.EasmTask EasmTask (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DefenderEasm.Models.EasmResourceProvisioningState? provisioningState = default, string startedAt = default, string completedAt = default, string lastPolledAt = default, string state = default, string phase = default, string reason = default, BinaryData metadata = default);
static member EasmTask : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.DefenderEasm.Models.EasmResourceProvisioningState> * string * string * string * string * string * string * BinaryData -> Azure.ResourceManager.DefenderEasm.Models.EasmTask
Public Shared Function EasmTask (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of EasmResourceProvisioningState) = Nothing, Optional startedAt As String = Nothing, Optional completedAt As String = Nothing, Optional lastPolledAt As String = Nothing, Optional state As String = Nothing, Optional phase As String = Nothing, Optional reason As String = Nothing, Optional metadata As BinaryData = Nothing) As EasmTask

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<EasmResourceProvisioningState>

Resource provisioning state.

startedAt
String

The time the task started.

completedAt
String

The time the task completed.

lastPolledAt
String

The last time the task was polled.

state
String

the state the task is in.

phase
String

the phase the task is in.

reason
String

The reason the task was moved into its current state, if the task wasn't completed.

metadata
BinaryData

The reason the task was moved into its current state, if the task wasn't completed.

Returns

A new EasmTask instance for mocking.

Applies to