az spring application-configuration-service git repo
Note
This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring application-configuration-service git repo command. Learn more about extensions.
Commands to manage Application Configuration Service git repository in Azure Spring Apps.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spring application-configuration-service git repo add |
Add a Git property to the Application Configuration Service settings. |
Extension | GA |
az spring application-configuration-service git repo list |
List all Git settings of Application Configuration Service. |
Extension | GA |
az spring application-configuration-service git repo remove |
Delete an existing Git property from the Application Configuration Service settings. |
Extension | GA |
az spring application-configuration-service git repo update |
Update an existing Git property in the Application Configuration Service settings. |
Extension | GA |
az spring application-configuration-service git repo add
Add a Git property to the Application Configuration Service settings.
az spring application-configuration-service git repo add --label
--name
--patterns
--resource-group
--service
--uri
[--ca-cert-name]
[--host-key]
[--host-key-algorithm]
[--host-key-check]
[--password]
[--private-key]
[--search-paths]
[--username]
Examples
Add a Git property.
az spring application-configuration-service git repo add -s MyService -g MyResourceGroup --name MyName --patterns MyPattern --uri https://MyURI --label master
Required Parameters
Required branch name to search in the Git repository.
Required unique name to label each item of git configs.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Required Git URI.
Optional Parameters
CA certificate name.
Host key of the added config.
Host key algorithm of the added config.
Strict host key checking of the added config which is used in SSH authentication. If false, ignore errors with host key.
Password of the added config.
Private_key of the added config.
Search_paths of the added config, use , as delimiter for multiple paths.
Username of the added config.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az spring application-configuration-service git repo list
List all Git settings of Application Configuration Service.
az spring application-configuration-service git repo list --resource-group
--service
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az spring application-configuration-service git repo remove
Delete an existing Git property from the Application Configuration Service settings.
az spring application-configuration-service git repo remove --name
--resource-group
--service
Examples
Delete a Git property.
az spring application-configuration-service git repo remove -s MyService -g MyResourceGroup --name MyName
Required Parameters
Required unique name to label each item of git configs.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az spring application-configuration-service git repo update
Update an existing Git property in the Application Configuration Service settings.
az spring application-configuration-service git repo update --name
--resource-group
--service
[--ca-cert-name]
[--host-key]
[--host-key-algorithm]
[--host-key-check]
[--label]
[--password]
[--patterns]
[--private-key]
[--search-paths]
[--uri]
[--username]
Examples
Update a Git property.
az spring application-configuration-service git repo update -s MyService -g MyResourceGroup --name MyName --patterns MyPattern
Required Parameters
Required unique name to label each item of git configs.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
CA certificate name.
Host key of the added config.
Host key algorithm of the added config.
Strict host key checking of the added config which is used in SSH authentication. If false, ignore errors with host key.
Required branch name to search in the Git repository.
Password of the added config.
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 of the added config.
Search_paths of the added config, use , as delimiter for multiple paths.
Required Git URI.
Username of the added config.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.