az confcom containers
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 containers command. Learn more about extensions.
Commands which generate Security Policy Container Definitions.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az confcom containers from_image |
Create a Security Policy Container Definition based on an image reference. |
Extension | GA |
az confcom containers from_image
Create a Security Policy Container Definition based on an image reference.
az confcom containers from_image [--platform]
[]
Examples
Input an image reference and generate container definitions
az confcom containers from_image my.azurecr.io/myimage:tag
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the platform the container definition will run on.
| Property | Value |
|---|---|
| Default value: | aci |
Image to create container definition from.
| Property | Value |
|---|---|
| Parameter group: | Positional |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |