ArmTerraformModelFactory.TerraformOperationStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The operation status.
- name
- String
The name of the operationStatus resource.
- startOn
- Nullable<DateTimeOffset>
Operation start time.
- endOn
- Nullable<DateTimeOffset>
Operation complete time.
- error
- ResponseError
Errors that occurred if the operation ended with Canceled or Failed status.
Returns
A new TerraformOperationStatus instance for mocking.