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.
The Terraform export result.
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 exported Terraform HCL configuration.
- import
- String
The Terraform import blocks for the configuration, necessary for managing existing Azure resources in Terraform.
- skippedResourceIds
- IEnumerable<ResourceIdentifier>
A list of Azure resources which could not be exported to Terraform. The most common cause is lack of Terraform provider support. Change the provider type to azapi for bigger set of supported resources.
- errors
- IEnumerable<ResponseError>
A list of errors encountered during export operation.
Returns
A new TerraformExportResult instance for mocking.