ArmTerraformModelFactory.TerraformExportResult 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 TerraformExportResult.
public static Azure.ResourceManager.Terraform.Models.TerraformExportResult TerraformExportResult(string configuration = default, string import = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> skippedResourceIds = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errors = default);
static member TerraformExportResult : string * string * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResponseError> -> Azure.ResourceManager.Terraform.Models.TerraformExportResult
Public Shared Function TerraformExportResult (Optional configuration As String = Nothing, Optional import 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.
- import
- String
The Terraform import blocks for the current export, which users can use to run "terraform plan" with to import the resources.
- 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.