共用方式為


ArmTerraformModelFactory.TerraformOperationStatus Method

Definition

Initializes a new instance of TerraformOperationStatus.

public static Azure.ResourceManager.Terraform.Models.TerraformOperationStatus TerraformOperationStatus (Azure.ResourceManager.Terraform.Models.TerraformExportResult properties = default, Azure.ResourceManager.Terraform.Models.TerraformResourceProvisioningState status = default, string name = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, double? percentComplete = default, Azure.ResponseError error = default);
static member TerraformOperationStatus : Azure.ResourceManager.Terraform.Models.TerraformExportResult * Azure.ResourceManager.Terraform.Models.TerraformResourceProvisioningState * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<double> * Azure.ResponseError -> Azure.ResourceManager.Terraform.Models.TerraformOperationStatus
Public Shared Function TerraformOperationStatus (Optional properties As TerraformExportResult = Nothing, Optional status As TerraformResourceProvisioningState = Nothing, Optional name As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentComplete As Nullable(Of Double) = Nothing, Optional error As ResponseError = Nothing) As TerraformOperationStatus

Parameters

properties
TerraformExportResult

RP-specific properties for the operationStatus resource, only appears when operation ended with Succeeded status.

status
TerraformResourceProvisioningState

The operation status.

name
String

The name of the operationStatus resource.

startOn
Nullable<DateTimeOffset>

Operation start time.

endOn
Nullable<DateTimeOffset>

Operation complete time.

percentComplete
Nullable<Double>

The progress made toward completing the operation.

error
ResponseError

Errors that occurred if the operation ended with Canceled or Failed status.

Returns

A new TerraformOperationStatus instance for mocking.

Applies to