Share via


ArmNetworkCloudModelFactory.NetworkCloudOperationStatusResult Method

Definition

Initializes a new instance of NetworkCloudOperationStatusResult.

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

Parameters

id
ResourceIdentifier

Fully qualified ID for the async operation.

resourceId
ResourceIdentifier

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

name
String

Name of the async operation.

status
String

Operation status.

percentComplete
Nullable<Single>

Percent of the operation that is complete.

startOn
Nullable<DateTimeOffset>

The start time of the operation.

endOn
Nullable<DateTimeOffset>

The end time of the operation.

operations
IEnumerable<NetworkCloudOperationStatusResult>

The operations list.

error
ResponseError

If present, details of the operation error.

Returns

A new NetworkCloudOperationStatusResult instance for mocking.

Applies to