Partilhar via


ArmNetworkCloudModelFactory.NetworkCloudOperationStatusResult Method

Definition

Initializes a new instance of NetworkCloudOperationStatusResult.

public static Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult NetworkCloudOperationStatusResult (DateTimeOffset? endOn = default, Azure.ResponseError error = default, Azure.Core.ResourceIdentifier id = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult> operations = default, float? percentComplete = default, Azure.Core.ResourceIdentifier resourceId = default, DateTimeOffset? startOn = default, string status = default, string exitCode = default, string outputHead = default, Uri resultRef = default, Uri resultUri = default);
static member NetworkCloudOperationStatusResult : Nullable<DateTimeOffset> * Azure.ResponseError * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult> * Nullable<single> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * string * string * string * Uri * Uri -> Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult
Public Shared Function NetworkCloudOperationStatusResult (Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing, Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional operations As IEnumerable(Of NetworkCloudOperationStatusResult) = Nothing, Optional percentComplete As Nullable(Of Single) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As String = Nothing, Optional exitCode As String = Nothing, Optional outputHead As String = Nothing, Optional resultRef As Uri = Nothing, Optional resultUri As Uri = Nothing) As NetworkCloudOperationStatusResult

Parameters

endOn
Nullable<DateTimeOffset>

The end time of the operation.

error
ResponseError

If present, details of the operation error.

id
ResourceIdentifier

Fully qualified ID for the async operation.

name
String

Name of the async operation.

operations
IEnumerable<NetworkCloudOperationStatusResult>

The operations list.

percentComplete
Nullable<Single>

Percent of the operation that is complete.

resourceId
ResourceIdentifier

Fully qualified ID of the resource against which the original async operation was started.

startOn
Nullable<DateTimeOffset>

The start time of the operation.

status
String

Operation status.

exitCode
String

For actions that run commands or scripts, the exit code of the script execution.

outputHead
String

For actions that run commands or scripts, the leading bytes of the output of the script execution.

resultRef
Uri

For actions that run commands or scripts, a reference to the location of the result.

resultUri
Uri

For actions that run commands or scripts, the URL where the full output of the script output can be retrieved.

Returns

A new NetworkCloudOperationStatusResult instance for mocking.

Applies to