ArmManagedNetworkFabricModelFactory.DiscardCommitBatchOperationResult Method

Definition

Initializes a new instance of DiscardCommitBatchOperationResult.

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

Parameters

id
ResourceIdentifier

Fully qualified ID for the async operation.

name
String

Name of the async operation.

status
String

Operation status.

percentComplete
Nullable<Double>

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<NetworkFabricOperationStatusResult>

The operations list.

error
ResponseError

If present, details of the operation error.

resourceId
ResourceIdentifier

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

commitBatchId
String

Discard commit batch response properties.

Returns

A new DiscardCommitBatchOperationResult instance for mocking.

Applies to