Freigeben über


ArmRedisModelFactory.RedisOperationStatus Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Vollqualifizierte ID für den asynchronen Vorgang.

name
String

Name des asynchronen Vorgangs.

status
String

Vorgangsstatus

percentComplete
Nullable<Single>

Prozentsatz des Vorgangs, der abgeschlossen ist.

startOn
Nullable<DateTimeOffset>

Die Startzeit des Vorgangs.

endOn
Nullable<DateTimeOffset>

Die Endzeit des Vorgangs.

operations
IEnumerable<OperationStatusResult>

Die Vorgangsliste.

error
ResponseError

Falls vorhanden, Details des Vorgangsfehlers.

properties
IReadOnlyDictionary<String,BinaryData>

Zusätzliche Eigenschaften von RP, nur wenn der Vorgang erfolgreich ist.

Gibt zurück

Eine neue RedisOperationStatus instance zum Mocking.

Gilt für: