external help file | Module Name | online version | schema |
---|---|---|---|
Bicep-help.xml |
Bicep |
2.0.0 |
Get bicep configuration (bicepconfig.json) in use for a bicep file.
Get-BicepConfig [-Default] [<CommonParameters>]
Get-BicepConfig -Path <String> [-Merged] [<CommonParameters>]
Get-BicepConfig -Path <String> [-Local] [<CommonParameters>]
Get-BicepConfig -Path <String> [<CommonParameters>]
Command to get the bicep configuration in use for a specific Bicep file. Will return path to the bicepconfig.json file as well as the current settings.
Get-BicepConfig -Path .\storage.bicep
Get-BicepConfig -Path .\storage.bicep -Merged
Returns the path to the bicepconfig.json file in use, and the merged settings (default + local file).
Get-BicepConfig -Path .\storage.bicep -Merged
Returns the path to the bicepconfig.json file in use, and the settings in the local bicepconfig.json.
Get-BicepConfig -Default
Returns the default settings.
Returns the default bicep configuration
Type: SwitchParameter
Parameter Sets: Default
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns the settings in the local bicepconfig.json file
Type: SwitchParameter
Parameter Sets: PathLocal
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns the merged settings from the local bicepconfig.json file and the default settings
Type: SwitchParameter
Parameter Sets: PathMerged
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to a bicep file
Type: String
Parameter Sets: PathMerged, PathLocal, PathOnly
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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.