共用方式為


ArmTerraformModelFactory.TerraformExportResult Method

Definition

Initializes a new instance of TerraformExportResult.

public static Azure.ResourceManager.Terraform.Models.TerraformExportResult TerraformExportResult (string configuration = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> skippedResourceIds = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errors = default);
static member TerraformExportResult : string * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResponseError> -> Azure.ResourceManager.Terraform.Models.TerraformExportResult
Public Shared Function TerraformExportResult (Optional configuration As String = Nothing, Optional skippedResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional errors As IEnumerable(Of ResponseError) = Nothing) As TerraformExportResult

Parameters

configuration
String

The Terraform configuration content.

skippedResourceIds
IEnumerable<ResourceIdentifier>

A list of Azure resources which are not exported to Terraform due to there is no corresponding resources in Terraform.

errors
IEnumerable<ResponseError>

A list of errors derived during exporting each resource.

Returns

A new TerraformExportResult instance for mocking.

Applies to