שתף באמצעות


az healthcareapis acr

Note

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

Healthcareapis acr.

Commands

Name Description Type Status
az healthcareapis acr add

Add a list of registries to the service, repeated ones will be ignored.

Extension GA
az healthcareapis acr list

Lists all container registries associated with the service.

Extension GA
az healthcareapis acr remove

Remove a list of registries from the service, non-existing ones will be ignored.

Extension GA
az healthcareapis acr reset

Reset the container registries associated with the service to a new list.

Extension GA

az healthcareapis acr add

Add a list of registries to the service, repeated ones will be ignored.

az healthcareapis acr add [--ids]
                          [--login-servers]
                          [--resource-group]
                          [--resource-name]
                          [--subscription]

Examples

Acr_Add

az healthcareapis acr add --login-servers "test1.azurecr.io test2.azurecr.io test3.azurecr.io" --resource-group "rgname" --resource-name "service1"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--login-servers

The list of login servers that shallbe added to the service instance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--resource-name

The name of the service instance.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az healthcareapis acr list

Lists all container registries associated with the service.

az healthcareapis acr list --resource-group
                           --resource-name

Examples

Acr_List

az healthcareapis acr list --resource-group "rgname" --resource-name "service1"

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--resource-name

The name of the service instance.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az healthcareapis acr remove

Remove a list of registries from the service, non-existing ones will be ignored.

az healthcareapis acr remove [--ids]
                             [--login-servers]
                             [--resource-group]
                             [--resource-name]
                             [--subscription]

Examples

Acr_Remove

az healthcareapis acr remove --login-servers "test1.azurecr.io test2.azurecr.io"  --resource-group "rgname" --resource-name "service1"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--login-servers

The list of login servers that shallbe removed from the service instance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--resource-name

The name of the service instance.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az healthcareapis acr reset

Reset the container registries associated with the service to a new list.

az healthcareapis acr reset [--ids]
                            [--login-servers]
                            [--resource-group]
                            [--resource-name]
                            [--subscription]

Examples

Acr_Reset

az healthcareapis acr reset --login-servers "test1.azurecr.io" --resource-group "rgname" --resource-name "service1"

Acr_Reset_To_Empty

az healthcareapis acr reset --resource-group "rgname" --resource-name "service1"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--login-servers

The list of login servers to substitute for the existing one.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--resource-name

The name of the service instance.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.