The sites/slots/instances/extensions 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.Web/sites/slots/instances/extensions resource, add the following JSON to your template.
{
"type": "Microsoft.Web/sites/slots/instances/extensions",
"apiVersion": "2022-09-01",
"name": "MSDeploy",
"kind": "string",
"properties": {
"appOffline": "bool",
"connectionString": "string",
"dbType": "string",
"packageUri": "string",
"setParameters": {},
"setParametersXmlFileUri": "string",
"skipAppData": "bool"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Web/sites/slots/instances/extensions' |
apiVersion | The resource api version | '2022-09-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
'MSDeploy' |
kind | Kind of resource. | string |
properties | Core resource properties | MSDeployCoreOrMSDeployStatusProperties |
Name | Description | Value |
---|---|---|
appOffline | Sets the AppOffline rule while the MSDeploy operation executes. Setting is false by default. |
bool |
connectionString | SQL Connection String | string |
dbType | Database Type | string |
packageUri | Package URI | string |
setParameters | MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. | object |
setParametersXmlFileUri | URI of MSDeploy Parameters file. Must not be set if SetParameters is used. | string |
skipAppData | Controls whether the MSDeploy operation skips the App_Data directory. If set to true , the existing App_Data directory on the destinationwill not be deleted, and any App_Data directory in the source will be ignored. Setting is false by default. |
bool |