ARM template resource definition
The Spring/configServers resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.AppPlatform/Spring/configServers resource, add the following JSON to your template.
{
"type": "Microsoft.AppPlatform/Spring/configServers",
"apiVersion": "2023-03-01-preview",
"name": "default",
"properties": {
"configServer": {
"gitProperty": {
"hostKey": "string",
"hostKeyAlgorithm": "string",
"label": "string",
"password": "string",
"privateKey": "string",
"repositories": [
{
"hostKey": "string",
"hostKeyAlgorithm": "string",
"label": "string",
"name": "string",
"password": "string",
"pattern": [ "string" ],
"privateKey": "string",
"searchPaths": [ "string" ],
"strictHostKeyChecking": "bool",
"uri": "string",
"username": "string"
}
],
"searchPaths": [ "string" ],
"strictHostKeyChecking": "bool",
"uri": "string",
"username": "string"
}
},
"error": {
"code": "string",
"message": "string"
}
}
}
Property values
Spring/configServers
Name |
Description |
Value |
type |
The resource type |
'Microsoft.AppPlatform/Spring/configServers' |
apiVersion |
The resource api version |
'2023-03-01-preview' |
name |
The resource name
See how to set names and types for child resources in JSON ARM templates. |
'default' |
properties |
Properties of the Config Server resource |
ConfigServerProperties |
ConfigServerProperties
Name |
Description |
Value |
configServer |
Settings of config server. |
ConfigServerSettings |
error |
Error when apply config server settings. |
Error |
ConfigServerSettings
ConfigServerGitProperty
Name |
Description |
Value |
hostKey |
Public sshKey of git repository. |
string |
hostKeyAlgorithm |
SshKey algorithm of git repository. |
string |
label |
Label of the repository |
string |
password |
Password of git repository basic auth. |
string |
privateKey |
Private sshKey algorithm of git repository. |
string |
repositories |
Repositories of git. |
GitPatternRepository[] |
searchPaths |
Searching path of the repository |
string[] |
strictHostKeyChecking |
Strict host key checking or not. |
bool |
uri |
URI of the repository |
string (required) |
username |
Username of git repository basic auth. |
string |
GitPatternRepository
Name |
Description |
Value |
hostKey |
Public sshKey of git repository. |
string |
hostKeyAlgorithm |
SshKey algorithm of git repository. |
string |
label |
Label of the repository |
string |
name |
Name of the repository |
string (required) |
password |
Password of git repository basic auth. |
string |
pattern |
Collection of pattern of the repository |
string[] |
privateKey |
Private sshKey algorithm of git repository. |
string |
searchPaths |
Searching path of the repository |
string[] |
strictHostKeyChecking |
Strict host key checking or not. |
bool |
uri |
URI of the repository |
string (required) |
username |
Username of git repository basic auth. |
string |
Error
Name |
Description |
Value |
code |
The code of error. |
string |
message |
The message of error. |
string |