New-AzTerraformExportQueryObject
Create an in-memory object for ExportQuery.
Syntax
New-AzTerraformExportQueryObject
-Query <String>
[-NamePattern <String>]
[-Recursive <Boolean>]
[-FullProperty <Boolean>]
[-MaskSensitive <Boolean>]
[-TargetProvider <String>]
[<CommonParameters>]
Description
Create an in-memory object for ExportQuery.
Examples
Example 1: Create a query object with ARG query
New-AzTerraformExportQueryObject -Query "type =~ `"Microsoft.Compute/virtu
alMachines`""
FullProperty :
MaskSensitive :
NamePattern :
Query : type =~ "Microsoft.Compute/virtualMachines"
Recursive :
TargetProvider :
Type : ExportQuery
Create a query object with ARG query
Parameters
-FullProperty
Whether to output all non-computed properties in the generated Terraform configuration? This probably needs manual modifications to make it valid.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaskSensitive
Mask sensitive attributes in the Terraform configuration.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NamePattern
The name pattern of the Terraform resources.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Query
The ARG where predicate. Note that you can combine multiple conditions in one where predicate, e.g. resourceGroup =~ "my-rg" and type =~ "microsoft.network/virtualnetworks".
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Recursive
Whether to recursively list child resources of the query result.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetProvider
The target Azure Terraform Provider.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Azure PowerShell