ExportResourceGroup interface
Export parameter for a resource group
- Extends
Properties
| name |
The id prefix for the exported Terraform resources. Defaults to |
| resource |
The name of the resource group to be exported. |
| type | Has to be |
Inherited Properties
| exclude |
Excludes specified Azure Resource Ids. Case-insensitive Azure Resource ID regular expression. Example: |
| exclude |
Excludes specified Terraform resource types. Example: |
| full |
Whether to output all non-computed properties in the generated Terraform configuration. If set to |
| include |
Include extension resource types directly associated to the resources exported |
| include |
Whether to include internal resources managed by Azure in the exported configuration. Defaults to |
| include |
Whether to include role assignments assigned to the resources exported. Defaults to |
| mask |
Mask sensitive attributes in the Terraform configuration. Defaults to |
| target |
The target Azure Terraform provider. Defaults to |
Property Details
namePattern
The id prefix for the exported Terraform resources. Defaults to res-.
namePattern?: string
Property Value
string
resourceGroupName
The name of the resource group to be exported.
resourceGroupName: string
Property Value
string
type
Has to be ExportResourceGroup to distinguish from other types.
type: "ExportResourceGroup"
Property Value
"ExportResourceGroup"
Inherited Property Details
excludeAzureResource
Excludes specified Azure Resource Ids. Case-insensitive Azure Resource ID regular expression. Example: ["/subscriptions/[0-9a-f-]+/resourceGroups/my-rg.*"].
excludeAzureResource?: string[]
Property Value
string[]
Inherited From BaseExportModel.excludeAzureResource
excludeTerraformResource
Excludes specified Terraform resource types. Example: ["azurerm_virtual_network"].
excludeTerraformResource?: string[]
Property Value
string[]
Inherited From BaseExportModel.excludeTerraformResource
fullProperties
Whether to output all non-computed properties in the generated Terraform configuration. If set to false empty-valued properties will be omitted from the configuration. Defaults to true.
fullProperties?: boolean
Property Value
boolean
Inherited From BaseExportModel.fullProperties
includeExtensions
Include extension resource types directly associated to the resources exported
includeExtensions?: string[]
Property Value
string[]
Inherited From BaseExportModel.includeExtensions
includeManagedResource
Whether to include internal resources managed by Azure in the exported configuration. Defaults to false.
includeManagedResource?: boolean
Property Value
boolean
Inherited From BaseExportModel.includeManagedResource
includeRoleAssignment
Whether to include role assignments assigned to the resources exported. Defaults to false. This is deprecated in favor of includeExtensions (with role-assignments specified).
includeRoleAssignment?: boolean
Property Value
boolean
Inherited From BaseExportModel.includeRoleAssignment
maskSensitive
Mask sensitive attributes in the Terraform configuration. Defaults to true.
maskSensitive?: boolean
Property Value
boolean
Inherited From BaseExportModel.maskSensitive
targetProvider
The target Azure Terraform provider. Defaults to azurerm.
targetProvider?: string
Property Value
string
Inherited From BaseExportModel.targetProvider