Microsoft.DeploymentManager serviceTopologies/services/serviceUnits template reference
Template format
To create a Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits resource, add the following JSON to the resources section of your template.
{
"name": "string",
"type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
"apiVersion": "2019-11-01-preview",
"tags": {},
"location": "string",
"properties": {
"targetResourceGroup": "string",
"deploymentMode": "string",
"artifacts": {
"templateUri": "string",
"parametersUri": "string",
"templateArtifactSourceRelativePath": "string",
"parametersArtifactSourceRelativePath": "string"
}
}
}
Property values
The following tables describe the values you need to set in the schema.
Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits object
Name | Type | Required | Value |
---|---|---|---|
name | string | Yes | The name of the service unit resource. |
type | enum | Yes | serviceUnits -or- Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits See Set name and type for child resources. |
apiVersion | enum | Yes | 2019-11-01-preview |
tags | object | No | Resource tags. |
location | string | Yes | The geo-location where the resource lives |
properties | object | Yes | The properties that define the service unit. - ServiceUnitResourceProperties object |
ServiceUnitResourceProperties object
Name | Type | Required | Value |
---|---|---|---|
targetResourceGroup | string | Yes | The Azure Resource Group to which the resources in the service unit belong to or should be deployed to. |
deploymentMode | enum | Yes | Describes the type of ARM deployment to be performed on the resource. - Incremental or Complete |
artifacts | object | No | The artifacts for the service unit. - ServiceUnitArtifacts object |
ServiceUnitArtifacts object
Name | Type | Required | Value |
---|---|---|---|
templateUri | string | No | The full URI of the ARM template file with the SAS token. |
parametersUri | string | No | The full URI of the ARM parameters file with the SAS token. |
templateArtifactSourceRelativePath | string | No | The path to the ARM template file relative to the artifact source. |
parametersArtifactSourceRelativePath | string | No | The path to the ARM parameters file relative to the artifact source. |