New-AzTerraformExportResourceGroupObject
This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.
Create an in-memory object for ExportResourceGroup.
Syntax
Default (Default)
New-AzTerraformExportResourceGroupObject
-ResourceGroupName <String>
[-NamePattern <String>]
[-FullProperty <Boolean>]
[-MaskSensitive <Boolean>]
[-TargetProvider <String>]
[<CommonParameters>]
Description
Create an in-memory object for ExportResourceGroup.
Examples
Example 1: Create a new parameter object with resource group name
New-AzTerraformExportResourceGroupObject -ResourceGroupName aztfy-pwsh-test-rg
FullProperty :
MaskSensitive :
NamePattern :
ResourceGroupName : aztfy-pwsh-test-rg
TargetProvider :
Type : ExportResourceGroup
Create a new parameter object with resource group name
Parameters
-FullProperty
Whether to output all non-computed properties in the generated Terraform configuration? This probably needs manual modifications to make it valid.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MaskSensitive
Mask sensitive attributes in the Terraform configuration.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-NamePattern
The name pattern of the Terraform resources.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ResourceGroupName
The name of the resource group to be exported.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TargetProvider
The target Azure Terraform Provider.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.