Share via


az spring-cloud config-server git repo

Note

This reference is part of the spring-cloud extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az spring-cloud config-server git repo command. Learn more about extensions.

This command group is implicitly deprecated because command group 'spring-cloud config-server git' is deprecated and will be removed in a future release. Use 'spring config-server git' instead.

Commands to manage Config Server git repository in Azure Spring Cloud.

Commands

Name Description Type Status
az spring-cloud config-server git repo add

Add a new repository of git property of Config Server.

Extension Deprecated
az spring-cloud config-server git repo list

List all repositories of git property of Config Server.

Extension Deprecated
az spring-cloud config-server git repo remove

Remove an existing repository of git property of Config Server.

Extension Deprecated
az spring-cloud config-server git repo update

Override an existing repository of git property of Config Server, will totally override the old one.

Extension Deprecated

az spring-cloud config-server git repo add

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server git' is deprecated and will be removed in a future release. Use 'spring config-server git' instead.

Add a new repository of git property of Config Server.

az spring-cloud config-server git repo add --name
                                           --repo-name
                                           --resource-group
                                           --uri
                                           [--defer]
                                           [--host-key]
                                           [--host-key-algorithm]
                                           [--label]
                                           [--password]
                                           [--pattern]
                                           [--private-key]
                                           [--search-paths]
                                           [--strict-host-key-checking]
                                           [--username]

Required Parameters

--name -n

Name of Azure Spring Cloud.

--repo-name

Name of the repo.

--resource-group -g

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

--uri

Uri of the added config.

Optional Parameters

--defer

Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.

--host-key

Host key of the added config.

--host-key-algorithm

Host key algorithm of the added config.

--label

Label of the added config.

--password

Password of the added config.

--pattern

Pattern of the repo, use , as delimiter for multiple patterns.

--private-key

Private_key of the added config.

--search-paths

Search_paths of the added config, use , as delimiter for multiple paths.

--strict-host-key-checking

Strict_host_key_checking of the added config.

--username

Username of the added config.

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 spring-cloud config-server git repo list

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server git' is deprecated and will be removed in a future release. Use 'spring config-server git' instead.

List all repositories of git property of Config Server.

az spring-cloud config-server git repo list --name
                                            --resource-group
                                            [--defer]

Required Parameters

--name -n

Name of Azure Spring Cloud.

--resource-group -g

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

Optional Parameters

--defer

Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.

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 spring-cloud config-server git repo remove

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server git' is deprecated and will be removed in a future release. Use 'spring config-server git' instead.

Remove an existing repository of git property of Config Server.

az spring-cloud config-server git repo remove --name
                                              --repo-name
                                              --resource-group
                                              [--defer]

Required Parameters

--name -n

Name of Azure Spring Cloud.

--repo-name

Name of the repo.

--resource-group -g

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

Optional Parameters

--defer

Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.

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 spring-cloud config-server git repo update

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server git' is deprecated and will be removed in a future release. Use 'spring config-server git' instead.

Override an existing repository of git property of Config Server, will totally override the old one.

az spring-cloud config-server git repo update --name
                                              --repo-name
                                              --resource-group
                                              [--defer]
                                              [--host-key]
                                              [--host-key-algorithm]
                                              [--label]
                                              [--password]
                                              [--pattern]
                                              [--private-key]
                                              [--search-paths]
                                              [--strict-host-key-checking]
                                              [--uri]
                                              [--username]

Required Parameters

--name -n

Name of Azure Spring Cloud.

--repo-name

Name of the repo.

--resource-group -g

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

Optional Parameters

--defer

Temporarily store the object in the local cache instead of sending to Azure. Use az cache commands to view/clear.

--host-key

Host key of the added config.

--host-key-algorithm

Host key algorithm of the added config.

--label

Label of the added config.

--password

Password of the added config.

--pattern

Pattern of the repo, use , as delimiter for multiple patterns.

--private-key

Private_key of the added config.

--search-paths

Search_paths of the added config, use , as delimiter for multiple paths.

--strict-host-key-checking

Strict_host_key_checking of the added config.

--uri

Uri of the added config.

--username

Username of the added config.

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.