The licenses 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.HybridCompute/licenses resource, add the following JSON to your template.
{
"type": "Microsoft.HybridCompute/licenses",
"apiVersion": "2023-10-03-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"licenseDetails": {
"edition": "string",
"processors": "int",
"state": "string",
"target": "string",
"type": "string"
},
"licenseType": "ESU",
"tenantId": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.HybridCompute/licenses' |
apiVersion | The resource api version | '2023-10-03-preview' |
name | The resource name | string (required) |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
properties | Hybrid Compute License properties | LicenseProperties |
Name | Description | Value |
---|---|---|
licenseDetails | Describes the properties of a License. | LicenseDetails |
licenseType | The type of the license resource. | 'ESU' |
tenantId | Describes the tenant id. | string |
Name | Description | Value |
---|---|---|
edition | Describes the edition of the license. The values are either Standard or Datacenter. | 'Datacenter' 'Standard' |
processors | Describes the number of processors. | int |
state | Describes the state of the license. | 'Activated' 'Deactivated' |
target | Describes the license target server. | 'Windows Server 2012 R2' 'Windows Server 2012' |
type | Describes the license core type (pCore or vCore). | 'pCore' 'vCore' |