Freigeben über


ArmNetworkCloudModelFactory.NetworkCloudStepState Method

Definition

Initializes a new instance of NetworkCloudStepState.

public static Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStepState NetworkCloudStepState(DateTimeOffset? endOn = default, string message = default, DateTimeOffset? startOn = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStepStateStatus? status = default, string stepName = default);
static member NetworkCloudStepState : Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStepStateStatus> * string -> Azure.ResourceManager.NetworkCloud.Models.NetworkCloudStepState
Public Shared Function NetworkCloudStepState (Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional message As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of NetworkCloudStepStateStatus) = Nothing, Optional stepName As String = Nothing) As NetworkCloudStepState

Parameters

endOn
Nullable<DateTimeOffset>

The timestamp for when processing of the step reached its terminal state, in ISO 8601 format.

message
String

The message providing additional context for the status value. May be empty, or contain diagnostic information in the case of a failure.

startOn
Nullable<DateTimeOffset>

The timestamp for when processing of the step began, in ISO 8601 format.

status
Nullable<NetworkCloudStepStateStatus>

The status of the step. A value of Completed or Failed indicates a terminal state for the step.

stepName
String

The name for the step.

Returns

A new NetworkCloudStepState instance for mocking.

Applies to