external help file | Module Name | online version | schema |
---|---|---|---|
Bicep-help.xml |
Bicep |
2.0.0 |
Exports all child resources of a specified Azure resource container as Bicep.
Export-BicepChildResource [-ParentResourceId] <String> [-OutputDirectory] <String>
[<CommonParameters>]
Export-BicepChildResource [-ParentResourceId] <String> [-AsString]
[<CommonParameters>]
Exports all child resources of a specified Azure resource container as Bicep.
PS C:\> Export-BicepChildResource -ParentResourceId $ParentResourceId -OutputDirectory $Path
Exports all child resources from an Azure resource container by id.
Exports the resources as string.
Type: SwitchParameter
Parameter Sets: AsString
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the directory to output the Bicep files to.
Type: String
Parameter Sets: OutputPath
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The resource id of the resource container, or parent resource.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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.