ArmRedisModelFactory.RedisOperationStatus Method

Definition

Initializes a new instance of RedisOperationStatus.

public static Azure.ResourceManager.Redis.Models.RedisOperationStatus RedisOperationStatus (Azure.Core.ResourceIdentifier id = default, string name = default, string status = default, float? percentComplete = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Models.OperationStatusResult> operations = default, Azure.ResponseError error = default, System.Collections.Generic.IReadOnlyDictionary<string,BinaryData> properties = default);
static member RedisOperationStatus : Azure.Core.ResourceIdentifier * string * string * Nullable<single> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Models.OperationStatusResult> * Azure.ResponseError * System.Collections.Generic.IReadOnlyDictionary<string, BinaryData> -> Azure.ResourceManager.Redis.Models.RedisOperationStatus
Public Shared Function RedisOperationStatus (Optional id 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 OperationStatusResult) = Nothing, Optional error As ResponseError = Nothing, Optional properties As IReadOnlyDictionary(Of String, BinaryData) = Nothing) As RedisOperationStatus

Parameters

id
ResourceIdentifier

Fully qualified ID for the async operation.

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

The operations list.

error
ResponseError

If present, details of the operation error.

properties
IReadOnlyDictionary<String,BinaryData>

Additional properties from RP, only when operation is successful.

Returns

A new RedisOperationStatus instance for mocking.

Applies to