Class OperationStatusResult
- Namespace
- Azure.ResourceManager.Models
- Assembly
- Azure.ResourceManager.dll
The current status of an async operation.
[JsonConverter(typeof(OperationStatusResult.OperationStatusResultConverter))]
public class OperationStatusResult : IJsonModel<OperationStatusResult>, IPersistableModel<OperationStatusResult>
- Inheritance
-
OperationStatusResult
- Implements
-
IJsonModel<OperationStatusResult>IPersistableModel<OperationStatusResult>
- Inherited Members
Constructors
OperationStatusResult()
Initializes a new instance of OperationStatusResult for deserialization.
protected OperationStatusResult()
OperationStatusResult(ResourceIdentifier, string, string, float?, DateTimeOffset?, DateTimeOffset?, IReadOnlyList<OperationStatusResult>, ResponseError)
Initializes a new instance of OperationStatusResult.
protected OperationStatusResult(ResourceIdentifier id, string name, string status, float? percentComplete, DateTimeOffset? startOn, DateTimeOffset? endOn, IReadOnlyList<OperationStatusResult> operations, ResponseError error)
Parameters
idResourceIdentifierFully qualified ID for the async operation.
namestringName of the async operation.
statusstringOperation status.
percentCompletefloat?Percent of the operation that is complete.
startOnDateTimeOffset?The start time of the operation.
endOnDateTimeOffset?The end time of the operation.
operationsIReadOnlyList<OperationStatusResult>The operations list.
errorResponseErrorIf present, details of the operation error.
OperationStatusResult(string)
Initializes a new instance of OperationStatusResult.
public OperationStatusResult(string status)
Parameters
statusstringOperation status.
Properties
EndOn
The end time of the operation.
public DateTimeOffset? EndOn { get; }
Property Value
Error
If present, details of the operation error.
public ResponseError Error { get; }
Property Value
- ResponseError
Id
Fully qualified ID for the async operation.
public ResourceIdentifier Id { get; }
Property Value
- ResourceIdentifier
Name
Name of the async operation.
public string Name { get; }
Property Value
Operations
The operations list.
public IReadOnlyList<OperationStatusResult> Operations { get; }
Property Value
PercentComplete
Percent of the operation that is complete.
public float? PercentComplete { get; }
Property Value
StartOn
The start time of the operation.
public DateTimeOffset? StartOn { get; }
Property Value
Status
Operation status.
public string Status { get; }