az spring-cloud application-configuration-service 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 application-configuration-service git repo command. Learn more about extensions.

Command group 'spring-cloud application-configuration-service' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command group is implicitly deprecated because command group 'spring-cloud application-configuration-service' is deprecated and will be removed in a future release. Use 'spring application-configuration-service' instead.

Commands to manage Application Configuration Service git repository in Azure Spring Cloud.

Commands

Name Description Type Status
az spring-cloud application-configuration-service git repo add

Add a Git property to the Application Configuration Service settings.

Extension Preview and Deprecated
az spring-cloud application-configuration-service git repo list

List all Git settings of Application Configuration Service.

Extension Preview and Deprecated
az spring-cloud application-configuration-service git repo remove

Delete an existing Git property from the Application Configuration Service settings.

Extension Preview and Deprecated
az spring-cloud application-configuration-service git repo update

Update an existing Git property in the Application Configuration Service settings.

Extension Preview and Deprecated

az spring-cloud application-configuration-service git repo add

Preview Deprecated

Command group 'spring-cloud application-configuration-service' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud application-configuration-service git repo' is deprecated and will be removed in a future release. Use 'spring application-configuration-service git repo' instead.

Add a Git property to the Application Configuration Service settings.

az spring-cloud application-configuration-service git repo add --label
                                                               --name
                                                               --patterns
                                                               --resource-group
                                                               --service
                                                               --uri
                                                               [--host-key]
                                                               [--host-key-algorithm]
                                                               [--host-key-check]
                                                               [--password]
                                                               [--private-key]
                                                               [--search-paths]
                                                               [--username]

Examples

Add a Git property.

az spring-cloud application-configuration-service git repo add -s MyService -g MyResourceGroup --name MyName --patterns MyPattern --uri https://MyURI --label master

Required Parameters

--label

Required branch name to search in the Git repository.

--name -n

Required unique name to label each item of git configs.

--patterns

Required patterns used to search in Git repositories. For each pattern, use format like {application} or {application}/{profile} instead of {application}-{profile}.yml, and separate them by comma.

--resource-group -g

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

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

--uri

Required Git URI.

Optional Parameters

--host-key

Host key of the added config.

--host-key-algorithm

Host key algorithm of the added config.

--host-key-check

Strict host key checking of the added config which is used in SSH authentication. If false, ignore errors with host key.

--password

Password of the added config.

--private-key

Private_key of the added config.

--search-paths

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

--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 application-configuration-service git repo list

Preview Deprecated

Command group 'spring-cloud application-configuration-service' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud application-configuration-service git repo' is deprecated and will be removed in a future release. Use 'spring application-configuration-service git repo' instead.

List all Git settings of Application Configuration Service.

az spring-cloud application-configuration-service git repo list --resource-group
                                                                --service

Required Parameters

--resource-group -g

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

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

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 application-configuration-service git repo remove

Preview Deprecated

Command group 'spring-cloud application-configuration-service' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud application-configuration-service git repo' is deprecated and will be removed in a future release. Use 'spring application-configuration-service git repo' instead.

Delete an existing Git property from the Application Configuration Service settings.

az spring-cloud application-configuration-service git repo remove --name
                                                                  --resource-group
                                                                  --service

Examples

Delete a Git property.

az spring-cloud application-configuration-service git repo remove -s MyService -g MyResourceGroup --name MyName

Required Parameters

--name -n

Required unique name to label each item of git configs.

--resource-group -g

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

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

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 application-configuration-service git repo update

Preview Deprecated

Command group 'spring-cloud application-configuration-service' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'spring-cloud application-configuration-service git repo' is deprecated and will be removed in a future release. Use 'spring application-configuration-service git repo' instead.

Update an existing Git property in the Application Configuration Service settings.

az spring-cloud application-configuration-service git repo update --name
                                                                  --resource-group
                                                                  --service
                                                                  [--host-key]
                                                                  [--host-key-algorithm]
                                                                  [--host-key-check]
                                                                  [--label]
                                                                  [--password]
                                                                  [--patterns]
                                                                  [--private-key]
                                                                  [--search-paths]
                                                                  [--uri]
                                                                  [--username]

Examples

Update a Git property.

az spring-cloud application-configuration-service git repo update -s MyService -g MyResourceGroup --name MyName --patterns MyPattern

Required Parameters

--name -n

Required unique name to label each item of git configs.

--resource-group -g

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

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

Optional Parameters

--host-key

Host key of the added config.

--host-key-algorithm

Host key algorithm of the added config.

--host-key-check

Strict host key checking of the added config which is used in SSH authentication. If false, ignore errors with host key.

--label

Required branch name to search in the Git repository.

--password

Password of the added config.

--patterns

Required patterns used to search in Git repositories. For each pattern, use format like {application} or {application}/{profile} instead of {application}-{profile}.yml, and separate them by comma.

--private-key

Private_key of the added config.

--search-paths

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

--uri

Required Git URI.

--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.