Freigeben über


ArmNetworkCloudModelFactory.NetworkCloudActionState Method

Definition

Initializes a new instance of NetworkCloudActionState.

public static Azure.ResourceManager.NetworkCloud.Models.NetworkCloudActionState NetworkCloudActionState(string actionType = default, string correlationId = default, DateTimeOffset? endOn = default, string message = default, string startTime = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudActionStateStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStepState> stepStates = default);
static member NetworkCloudActionState : string * string * Nullable<DateTimeOffset> * string * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudActionStateStatus> * seq<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStepState> -> Azure.ResourceManager.NetworkCloud.Models.NetworkCloudActionState
Public Shared Function NetworkCloudActionState (Optional actionType As String = Nothing, Optional correlationId As String = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional message As String = Nothing, Optional startTime As String = Nothing, Optional status As Nullable(Of NetworkCloudActionStateStatus) = Nothing, Optional stepStates As IEnumerable(Of NetworkCloudStepState) = Nothing) As NetworkCloudActionState

Parameters

actionType
String

The representation of the action for which this is a status. Matches ARM resource action format when the action is an ARM-based action.

correlationId
String

The correlation ID for the original action request. Omitted if there is no related correlation ID.

endOn
Nullable<DateTimeOffset>

The timestamp of when the action reached its final, terminal state. Uses ISO 8601 format.

message
String

The description providing additional context for the status value. May be empty or contain guidance in the case of a failure.

startTime
String

The timestamp of when the action began, in ISO 8601 format.

status
Nullable<NetworkCloudActionStateStatus>

The status of the action.

stepStates
IEnumerable<NetworkCloudStepState>

The ordered list of the individual steps which make up the action.

Returns

A new NetworkCloudActionState instance for mocking.

Applies to