แชร์ผ่าน


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.

--platform

The name of the platform the container definition will run on.

Property Value
Default value: aci
<IMAGE>

Image to create container definition from.

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