Dela via


Microsoft.HybridCompute machines/licenseProfiles

Bicep resource definition

The machines/licenseProfiles resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.HybridCompute/machines/licenseProfiles resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.HybridCompute/machines/licenseProfiles@2025-02-19-preview' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'default'
  properties: {
    esuProfile: {
      assignedLicense: 'string'
    }
    productProfile: {
      productFeatures: [
        {
          name: 'string'
          subscriptionStatus: 'string'
        }
      ]
      productType: 'string'
      subscriptionStatus: 'string'
    }
    softwareAssurance: {
      softwareAssuranceCustomer: bool
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

LicenseProfileArmEsuProperties

Name Description Value
assignedLicense The resource id of the license. string

LicenseProfileArmProductProfileProperties

Name Description Value
productFeatures The list of product features. ProductFeature[]
productType Indicates the product type of the license. 'WindowsIoTEnterprise'
'WindowsServer'
subscriptionStatus Indicates the subscription status of the product. 'Disabled'
'Disabling'
'Enabled'
'Enabling'
'Failed'
'Unknown'

LicenseProfileProperties

Name Description Value
esuProfile Hybrid Compute ESU Profile properties LicenseProfileArmEsuProperties
productProfile Hybrid Compute Product Profile properties LicenseProfileArmProductProfileProperties
softwareAssurance LicenseProfilePropertiesSoftwareAssurance

LicenseProfilePropertiesSoftwareAssurance

Name Description Value
softwareAssuranceCustomer Specifies if this machine is licensed as part of a Software Assurance agreement. bool

Microsoft.HybridCompute/machines/licenseProfiles

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name 'default' (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: machines
properties Describe the properties of a license profile. LicenseProfileProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

ProductFeature

Name Description Value
name Product feature name. string
subscriptionStatus Indicates the current status of the product features. 'Disabled'
'Disabling'
'Enabled'
'Enabling'
'Failed'
'Unknown'

TrackedResourceTags

Name Description Value

ARM template resource definition

The machines/licenseProfiles resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.HybridCompute/machines/licenseProfiles resource, add the following JSON to your template.

{
  "type": "Microsoft.HybridCompute/machines/licenseProfiles",
  "apiVersion": "2025-02-19-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "esuProfile": {
      "assignedLicense": "string"
    },
    "productProfile": {
      "productFeatures": [
        {
          "name": "string",
          "subscriptionStatus": "string"
        }
      ],
      "productType": "string",
      "subscriptionStatus": "string"
    },
    "softwareAssurance": {
      "softwareAssuranceCustomer": "bool"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

LicenseProfileArmEsuProperties

Name Description Value
assignedLicense The resource id of the license. string

LicenseProfileArmProductProfileProperties

Name Description Value
productFeatures The list of product features. ProductFeature[]
productType Indicates the product type of the license. 'WindowsIoTEnterprise'
'WindowsServer'
subscriptionStatus Indicates the subscription status of the product. 'Disabled'
'Disabling'
'Enabled'
'Enabling'
'Failed'
'Unknown'

LicenseProfileProperties

Name Description Value
esuProfile Hybrid Compute ESU Profile properties LicenseProfileArmEsuProperties
productProfile Hybrid Compute Product Profile properties LicenseProfileArmProductProfileProperties
softwareAssurance LicenseProfilePropertiesSoftwareAssurance

LicenseProfilePropertiesSoftwareAssurance

Name Description Value
softwareAssuranceCustomer Specifies if this machine is licensed as part of a Software Assurance agreement. bool

Microsoft.HybridCompute/machines/licenseProfiles

Name Description Value
apiVersion The api version "2025-02-19-preview"
location The geo-location where the resource lives string (required)
name The resource name 'default' (required)
properties Describe the properties of a license profile. LicenseProfileProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.HybridCompute/machines/licenseProfiles'

ProductFeature

Name Description Value
name Product feature name. string
subscriptionStatus Indicates the current status of the product features. 'Disabled'
'Disabling'
'Enabled'
'Enabling'
'Failed'
'Unknown'

TrackedResourceTags

Name Description Value

Användningsexempel

Terraform (AzAPI provider) resource definition

The machines/licenseProfiles 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/machines/licenseProfiles resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.HybridCompute/machines/licenseProfiles@2025-02-19-preview"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      esuProfile = {
        assignedLicense = "string"
      }
      productProfile = {
        productFeatures = [
          {
            name = "string"
            subscriptionStatus = "string"
          }
        ]
        productType = "string"
        subscriptionStatus = "string"
      }
      softwareAssurance = {
        softwareAssuranceCustomer = bool
      }
    }
  }
}

Property Values

LicenseProfileArmEsuProperties

Name Description Value
assignedLicense The resource id of the license. string

LicenseProfileArmProductProfileProperties

Name Description Value
productFeatures The list of product features. ProductFeature[]
productType Indicates the product type of the license. 'WindowsIoTEnterprise'
'WindowsServer'
subscriptionStatus Indicates the subscription status of the product. 'Disabled'
'Disabling'
'Enabled'
'Enabling'
'Failed'
'Unknown'

LicenseProfileProperties

Name Description Value
esuProfile Hybrid Compute ESU Profile properties LicenseProfileArmEsuProperties
productProfile Hybrid Compute Product Profile properties LicenseProfileArmProductProfileProperties
softwareAssurance LicenseProfilePropertiesSoftwareAssurance

LicenseProfilePropertiesSoftwareAssurance

Name Description Value
softwareAssuranceCustomer Specifies if this machine is licensed as part of a Software Assurance agreement. bool

Microsoft.HybridCompute/machines/licenseProfiles

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name 'default' (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: machines
properties Describe the properties of a license profile. LicenseProfileProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.HybridCompute/machines/licenseProfiles@2025-02-19-preview"

ProductFeature

Name Description Value
name Product feature name. string
subscriptionStatus Indicates the current status of the product features. 'Disabled'
'Disabling'
'Enabled'
'Enabling'
'Failed'
'Unknown'

TrackedResourceTags

Name Description Value