az confcom radius

Note

This reference is part of the confcom extension for the Azure CLI (version 2.26.2 or higher). The extension will automatically install the first time you run an az confcom radius command. Learn more about extensions.

Commands to manage security policies for Radius Bicep templates.

Commands

Name Description Type Status
az confcom radius policy_insert

Insert a generated security policy into a Radius Bicep template.

Extension Preview

az confcom radius policy_insert

Preview

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Insert a generated security policy into a Radius Bicep template.

az confcom radius policy_insert --template
                                [--acquire-policy-token]
                                [--change-reference]
                                [--idx]
                                []

Examples

Insert a policy file into a Radius Bicep template

az confcom radius policy_insert ./policy.rego --template ./app.bicep

Pipe a generated policy directly into a Radius Bicep template

az confcom acipolicygen --template-file ./template.json --print-policy --outraw | az confcom radius policy_insert --template ./app.bicep

Insert a policy into the second container of a Radius Bicep template

az confcom radius policy_insert ./policy.rego --template ./app.bicep --idx 1

Required Parameters

--template -t

Path to the Radius Bicep template to update with the policy.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--idx

Index of the container in the template to update (0-based). Defaults to 0.

Property Value
Default value: 0
<POLICY_FILE>

Path to policy file to insert (reads from stdin if not provided).

Property Value
Parameter group: Positional
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False