Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The licenses resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.HybridCompute/licenses resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.HybridCompute/licenses@2023-10-03-preview' = {
location: 'string'
name: 'string'
properties: {
licenseDetails: {
edition: 'string'
processors: int
state: 'string'
target: 'string'
type: 'string'
}
licenseType: 'string'
tenantId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.HybridCompute/licenses
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Pattern = [a-zA-Z0-9-_\.]+ (required) |
properties | Hybrid Compute License properties | LicenseProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
LicenseDetails
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' |
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 |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
Hybrid Compute License | AVM Resource Module for Hybrid Compute License |
ARM template resource definition
The licenses resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
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",
"properties": {
"licenseDetails": {
"edition": "string",
"processors": "int",
"state": "string",
"target": "string",
"type": "string"
},
"licenseType": "string",
"tenantId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.HybridCompute/licenses
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2023-10-03-preview' |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Pattern = [a-zA-Z0-9-_\.]+ (required) |
properties | Hybrid Compute License properties | LicenseProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.HybridCompute/licenses' |
LicenseDetails
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' |
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 |
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The licenses resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.HybridCompute/licenses resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.HybridCompute/licenses@2023-10-03-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
licenseDetails = {
edition = "string"
processors = int
state = "string"
target = "string"
type = "string"
}
licenseType = "string"
tenantId = "string"
}
}
}
Property Values
Microsoft.HybridCompute/licenses
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Pattern = [a-zA-Z0-9-_\.]+ (required) |
properties | Hybrid Compute License properties | LicenseProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.HybridCompute/licenses@2023-10-03-preview" |
LicenseDetails
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' |
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 |
TrackedResourceTags
Name | Description | Value |
---|