The Spring/applicationAccelerators/customizedAccelerators 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/applicationAccelerators/customizedAccelerators resource, add the following JSON to your template.
{
"type": "Microsoft.AppPlatform/Spring/applicationAccelerators/customizedAccelerators",
"apiVersion": "2023-03-01-preview",
"name": "string",
"sku": {
"capacity": "int",
"name": "string",
"tier": "string"
},
"properties": {
"acceleratorTags": [ "string" ],
"description": "string",
"displayName": "string",
"gitRepository": {
"authSetting": {
"authType": "string"
// For remaining properties, see AcceleratorAuthSetting objects
},
"branch": "string",
"commit": "string",
"gitTag": "string",
"intervalInSeconds": "int",
"url": "string"
},
"iconUrl": "string"
}
}
Set the authType property to specify the type of object.
For BasicAuth, use:
"authType": "BasicAuth",
"caCertResourceId": "string",
"password": "string",
"username": "string"
For Public, use:
"authType": "Public",
"caCertResourceId": "string"
For SSH, use:
"authType": "SSH",
"hostKey": "string",
"hostKeyAlgorithm": "string",
"privateKey": "string"
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.AppPlatform/Spring/applicationAccelerators/customizedAccelerators' |
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. |
string (required) |
sku | Sku of the customized accelerator resource | Sku |
properties | Customized accelerator properties payload | CustomizedAcceleratorProperties |
Name | Description | Value |
---|---|---|
acceleratorTags | string[] | |
description | string | |
displayName | string | |
gitRepository | AcceleratorGitRepository (required) | |
iconUrl | string |
Name | Description | Value |
---|---|---|
authSetting | Properties of the auth setting payload. | AcceleratorAuthSetting (required) |
branch | Git repository branch to be used. | string |
commit | Git repository commit to be used. | string |
gitTag | Git repository tag to be used. | string |
intervalInSeconds | Interval for checking for updates to Git or image repository. | int |
url | Git repository URL for the accelerator. | string (required) |
Name | Description | Value |
---|---|---|
authType | Set the object type | BasicAuth Public SSH (required) |
Name | Description | Value |
---|---|---|
authType | The type of the auth setting. | 'BasicAuth' (required) |
caCertResourceId | Resource Id of CA certificate for https URL of Git repository. | string |
password | Password of git repository basic auth. | string |
username | Username of git repository basic auth. | string (required) |
Name | Description | Value |
---|---|---|
authType | The type of the auth setting. | 'Public' (required) |
caCertResourceId | Resource Id of CA certificate for https URL of Git repository. | string |
Name | Description | Value |
---|---|---|
authType | The type of the auth setting. | 'SSH' (required) |
hostKey | Public SSH Key of git repository. | string |
hostKeyAlgorithm | SSH Key algorithm of git repository. | string |
privateKey | Private SSH Key algorithm of git repository. | string |
Name | Description | Value |
---|---|---|
capacity | Current capacity of the target resource | int |
name | Name of the Sku | string |
tier | Tier of the Sku | string |