ExportResourceTerraform Class
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.
Specified resources to be exported by their ids.
public class ExportResourceTerraform : Azure.ResourceManager.Terraform.Models.CommonExportProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Terraform.Models.ExportResourceTerraform>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Terraform.Models.ExportResourceTerraform>
type ExportResourceTerraform = class
inherit CommonExportProperties
interface IJsonModel<ExportResourceTerraform>
interface IPersistableModel<ExportResourceTerraform>
Public Class ExportResourceTerraform
Inherits CommonExportProperties
Implements IJsonModel(Of ExportResourceTerraform), IPersistableModel(Of ExportResourceTerraform)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ExportResourceTerraform(IEnumerable<ResourceIdentifier>) |
Initializes a new instance of ExportResourceTerraform. |
Properties
| Name | Description |
|---|---|
| AzureResourcesToExclude |
Excludes specified Azure Resource Ids. Case-insensitive Azure Resource ID regular expression. Example: |
| IncludeManagedResource |
Whether to include internal resources managed by Azure in the exported configuration. Defaults to |
| IncludeResourceGroup |
Includes the resource group in the exported Terraform resources. Defaults to |
| IncludeRoleAssignment |
Whether to include RBAC role assignments assigned to the resources exported. Only resource-scoped role assignments are supported. Defaults to |
| IsMaskSensitiveEnabled |
Mask sensitive attributes in the Terraform configuration. Defaults to |
| IsOutputFullPropertiesEnabled |
Whether to output all non-computed properties in the generated Terraform configuration. If set to |
| NamePattern |
The id prefix for the exported Terraform resources. Defaults to |
| Recursive |
Recursively includes child resources. Defaults to |
| ResourceIds |
The id(s) of the resource to be exported. Example: `["/subscriptions/12345678-1234-1234-1234-1234567890ab/resourceGroups/my-rg"]. |
| ResourceName |
The Terraform id of the exported resource. Only effective when |
| ResourceType |
The Terraform resource type to map to. Only effective when |
| TargetProvider |
The target Azure Terraform provider. Defaults to |
| TerraformResourcesToExclude |
Excludes specified Terraform resource types. Example: |