Azure Arc License Profiles API

The licenseProfiles API from Azure Arc — 2 operation(s) for licenseprofiles.

GitHub OpenAPI

Operations 5

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles License profiles list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName} License profiles get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName} License profiles create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName} License profiles update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName} License profiles delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-arc:microsoft-azure-arc-licenseprofiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-arc-licenseprofiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HybridComputeManagementClient License Profiles API
  version: '2026-09-01'
  description: Azure Arc API reference for managing connected machines, machine extensions, run commands, gateways, licenses, license profiles, private link scopes, and related HybridCompute resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: licenseProfiles
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles
  : get:
      operationId: LicenseProfiles_List
      tags:
      - licenseProfiles
      description: The operation to get all license profiles of a non-Azure machine
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: machineName
        in: path
        description: The name of the hybrid machine.
        required: true
        schema:
          type: string
          maxLength: 54
          minLength: 1
          pattern: ^[a-zA-Z0-9-_\.]{1,54}$
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseProfilesListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: License profiles list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}
  : get:
      operationId: LicenseProfiles_Get
      tags:
      - licenseProfiles
      description: Retrieves information about the view of a license profile.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: machineName
        in: path
        description: The name of the hybrid machine.
        required: true
        schema:
          type: string
          pattern: '[a-zA-Z0-9-_\.]+'
      - name: licenseProfileName
        in: path
        description: The name of the license profile.
        required: true
        x-ms-enum:
          name: LicenseProfileName
          modelAsString: false
          values:
          - name: default
            value: default
            description: Default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseProfile'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: License profiles get
      x-summary-source: derived
    put:
      operationId: LicenseProfiles_CreateOrUpdate
      tags:
      - licenseProfiles
      description: The operation to create or update a license profile.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: machineName
        in: path
        description: The name of the hybrid machine.
        required: true
        schema:
          type: string
          pattern: '[a-zA-Z0-9-_\.]+'
      - name: licenseProfileName
        in: path
        description: The name of the license profile.
        required: true
        x-ms-enum:
          name: LicenseProfileName
          modelAsString: false
          values:
          - name: default
            value: default
            description: Default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Resource 'LicenseProfile' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseProfile'
        '201':
          description: Resource 'LicenseProfile' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
                format: uri
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseProfile'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/LicenseProfile'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LicenseProfile'
        description: Parameters supplied to the Create or Update license profile operation.
        required: true
      summary: License profiles create or update
      x-summary-source: derived
    patch:
      operationId: LicenseProfiles_Update
      tags:
      - licenseProfiles
      description: The operation to update a license profile.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: machineName
        in: path
        description: The name of the hybrid machine.
        required: true
        schema:
          type: string
          pattern: '[a-zA-Z0-9-_\.]+'
      - name: licenseProfileName
        in: path
        description: The name of the license profile.
        required: true
        x-ms-enum:
          name: LicenseProfileName
          modelAsString: false
          values:
          - name: default
            value: default
            description: Default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseProfile'
        '202':
          description: Resource update request accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
                format: uri
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/LicenseProfile'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LicenseProfileUpdate'
        description: Parameters supplied to the Update license profile operation.
        required: true
      summary: License profiles update
      x-summary-source: derived
    delete:
      operationId: LicenseProfiles_Delete
      tags:
      - licenseProfiles
      description: The operation to delete a license profile.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: machineName
        in: path
        description: The name of the hybrid machine.
        required: true
        schema:
          type: string
          pattern: '[a-zA-Z0-9-_\.]+'
      - name: licenseProfileName
        in: path
        description: The name of the license profile.
        required: true
        x-ms-enum:
          name: LicenseProfileName
          modelAsString: false
          values:
          - name: default
            value: default
            description: Default
        schema:
          type: string
          enum:
          - default
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
                format: uri
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: License profiles delete
      x-summary-source: derived
components:
  schemas:
    LicenseProfileArmProductProfileProperties:
      type: object
      description: Describes the properties of a Product License Profile ARM model.
      properties:
        subscriptionStatus:
          $ref: '#/components/schemas/LicenseProfileSubscriptionStatus'
          description: Indicates the subscription status of the product.
        productType:
          $ref: '#/components/schemas/LicenseProfileProductType'
          description: Indicates the product type of the license.
        enrollmentDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the user enrolls the feature.
          readOnly: true
        billingStartDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the billing starts.
          readOnly: true
        disenrollmentDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the user disenrolled the feature.
          readOnly: true
        billingEndDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the billing ends.
          readOnly: true
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The errors that were encountered during the feature enrollment or disenrollment.
          readOnly: true
        productFeatures:
          type: array
          description: The list of product features.
          items:
            $ref: '#/components/schemas/ProductFeature'
          x-ms-identifiers: []
    ProductFeature:
      type: object
      description: Product Feature
      properties:
        name:
          type: string
          description: Product feature name.
        subscriptionStatus:
          $ref: '#/components/schemas/LicenseProfileSubscriptionStatus'
          description: Indicates the current status of the product features.
        enrollmentDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the user enrolls the feature.
          readOnly: true
        billingStartDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the billing starts.
          readOnly: true
        disenrollmentDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the user disenrolled the feature.
          readOnly: true
        billingEndDate:
          type: string
          format: date-time
          description: The timestamp in UTC when the billing ends.
          readOnly: true
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The errors that were encountered during the feature enrollment or disenrollment.
          readOnly: true
    EsuKey:
      type: object
      description: ESU key
      properties:
        sku:
          type: string
          description: SKU number.
        licenseStatus:
          type: integer
          format: int32
          description: The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status.
    TrackedResource:
      type: object
      title: Tracked Resource
      description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    LicenseProfileUpdatePropertiesSoftwareAssurance:
      type: object
      properties:
        softwareAssuranceCustomer:
          type: boolean
          description: Specifies if this machine is licensed as part of a Software Assurance agreement.
    LicenseProfilePropertiesSoftwareAssurance:
      type: object
      properties:
        softwareAssuranceCustomer:
          type: boolean
          description: Specifies if this machine is licensed as part of a Software Assurance agreement.
    EsuServerType:
      type: string
      description: The server types for Esu.
      enum:
      - Standard
      - Datacenter
      x-ms-enum:
        name: EsuServerType
        modelAsString: true
        values:
        - name: Standard
          value: Standard
          description: Standard
        - name: Datacenter
          value: Datacenter
          description: Datacenter
    EsuEligibility:
      type: string
      description: The ESU eligibility.
      enum:
      - Eligible
      - Ineligible
      - Unknown
      x-ms-enum:
        name: EsuEligibility
        modelAsString: true
        values:
        - name: Eligible
          value: Eligible
          description: Eligible
        - name: Ineligible
          value: Ineligible
          description: Ineligible
        - name: Unknown
          value: Unknown
          description: Unknown
    ProductProfileUpdateProperties:
      type: object
      description: Describes the Update properties of a Product Profile.
      properties:
        subscriptionStatus:
          $ref: '#/components/schemas/LicenseProfileSubscriptionStatusUpdate'
          description: Indicates the subscription status of the product.
        productType:
          $ref: '#/components/schemas/LicenseProfileProductType'
          description: Indicates the product type of the license.
        productFeatures:
          type: array
          description: The list of product feature updates.
          items:
            $ref: '#/components/schemas/ProductFeatureUpdate'
          x-ms-identifiers: []
    LicenseProfileProperties:
      type: object
      description: Describe the properties of a license profile.
      properties:
        softwareAssurance:
          $ref: '#/components/schemas/LicenseProfilePropertiesSoftwareAssurance'
          x-ms-client-flatten: true
        esuProfile:
          $ref: '#/components/schemas/LicenseProfileArmEsuProperties'
          description: Hybrid Compute ESU Profile properties
          x-ms-client-flatten: true
        productProfile:
          $ref: '#/components/schemas/LicenseProfileArmProductProfileProperties'
          description: Hybrid Compute Product Profile properties
          x-ms-client-flatten: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state, which only appears in the response.
          readOnly: true
    LicenseProfileStorageModelEsuProperties:
      type: object
      description: License profile storage model for ESU properties.
      properties:
        assignedLicenseImmutableId:
          type: string
          description: The guid id of the license.
          readOnly: true
        esuKeys:
          type: array
          description: The list of ESU keys.
          items:
            $ref: '#/components/schemas/EsuKey'
          readOnly: true
          x-ms-identifiers: []
    LicenseProfileArmEsuPropertiesWithoutAssignedLicense:
      type: object
      description: Describes the properties of a License Profile ARM model.
      properties:
        serverType:
          $ref: '#/components/schemas/EsuServerType'
          description: The type of the Esu servers.
          readOnly: true
        esuEligibility:
          $ref: '#/components/schemas/EsuEligibility'
          description: Indicates the eligibility state of Esu.
          readOnly: true
        esuKeyState:
          $ref: '#/components/schemas/EsuKeyState'
          description: Indicates whether there is an ESU Key currently active for the machine.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/LicenseProfileStorageModelEsuProperties'
    LicenseProfileSubscriptionStatus:
      type: string
      description: Subscription status of the OS or Product feature.
      enum:
      - Unknown
      - Enabling
      - Enabled
      - Disabled
      - Disabling
      - Failed
      x-ms-enum:
        name: LicenseProfileSubscriptionStatus
        modelAsString: true
        values:
        - name: Unknown
          value: Unknown
          description: Unknown
        - name: Enabling
          value: Enabling
          description: Enabling
        - name: Enabled
          value: Enabled
          description: Enabled
        - name: Disabled
          value: Disabled
          description: Disabled
        - name: Disabling
          value: Disabling
          description: Disabling
        - name: Failed
          value: Failed
          description: Failed
    LicenseProfileUpdate:
      type: object
      description: Describes a License Profile Update.
      properties:
        properties:
          $ref: '#/components/schemas/LicenseProfileUpdateProperties'
          description: Describe the Update properties of a license profile.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ResourceUpdate'
    EsuKeyState:
      type: string
      description: The ESU key state.
      enum:
      - Inactive
      - Active
      x-ms-enum:
        name: EsuKeyState
        modelAsString: true
        values:
        - name: Inactive
          value: Inactive
          description: Inactive
        - name: Active
          value: Active
          description: Active
    LicenseProfileArmEsuProperties:
      type: object
      description: Describes the properties of a License Profile ARM model.
      properties:
        assignedLicense:
          type: string
          description: The resource id of the license.
      allOf:
      - $ref: '#/components/schemas/LicenseProfileArmEsuPropertiesWithoutAssignedLicense'
    ProvisioningState:
      type: string
      description: The provisioning state, which only appears in the response.
      enum:
      - Creating
      - Updating
      - Deleting
      - Succeeded
      - Failed
      - Accepted
      - Canceled
      - Deleted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Failed
          value: Failed
          description: Failed
        - name: Accepted
          value: Accepted
          description: Accepted
        - name: Canceled
          value: Canceled
          description: Canceled
        - name: Deleted
          value: Deleted
          description: Deleted
    ProductFeatureUpdate:
      type: object
      description: Product Feature
      properties:
        name:
          type: string
          description: Product feature name.
        subscriptionStatus:
          $ref: '#/components/schemas/LicenseProfileSubscriptionStatusUpdate'
          description: Indicates the new status of the product feature.
    LicenseProfilesListResult:
      type: object
      description: Paged collection of LicenseProfile items
      properties:
        value:
          type: array
          description: The LicenseProfile items on this page
          items:
            $ref: '#/components/schemas/LicenseProfile'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    EsuProfileUpdateProperties:
      type: object
      description: Describes the Update properties of a ESU License Profile.
      properties:
        assignedLicense:
          type: string
          description: The resource id of the license.
    LicenseProfileUpdateProperties:
      type: object
      description: Describe the Update properties of a license profile.
      properties:
        softwareAssurance:
          $ref: '#/components/schemas/LicenseProfileUpdatePropertiesSoftwareAssurance'
          x-ms-client-flatten: true
        esuProfile:
          $ref: '#/components/schemas/EsuProfileUpdateProperties'
          description: Hybrid Compute ESU Profile Update properties
          x-ms-client-flatten: true
        productProfile:
          $ref: '#/components/schemas/ProductProfileUpdateProperties'
          description: Hybrid Compute Product Profile Update properties
          x-ms-client-flatten: true
    LicenseProfile:
      type: object
      description: Describes a license profile in a hybrid machine.
      properties:
        properties:
          $ref: '#/components/schemas/LicenseProfileProperties'
          description: Describe the properties of a license profile.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
    LicenseProfileProductType:
      type: string
      description: The product type of the license.
      enum:
      - WindowsServer
      - WindowsIoTEnterprise
      x-ms-enum:
        name: LicenseProfileProductType
        modelAsString: true
        values:
        - name: WindowsServer
          value: WindowsServer
          description: WindowsServer
        - name: WindowsIoTEnterprise
          value: WindowsIoTEnterprise
          description: WindowsIoTEnterprise
    ResourceUpdate:
      type: object
      description: The Update Resource model definition.
      properties:
        tags:
          type: object
          description: Resource tags
          additionalProperties:
            type: string
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    LicenseProfileSubscriptionStatusUpdate:
      type: string
      description: Indicates the new subscription status of the OS or Product Features.
      enum:
      - Enable
      - Disable
      x-ms-enum:
        name: LicenseProfileSubscriptionStatusUpdate
        modelAsString: true
        values:
        - name: Enable
          value: Enable
          description: Enable
        - name: Disable
          value: Disable
          description: Disable
    ErrorDetail:
      type: object
      description: The error detail.
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/ErrorDetail'
          readOnly: true
          x-ms-identifiers:
          - message
          - target
        additionalInfo:
          type: array
          description: The error additional info.
          items:
            $ref: '#/components/schemas/ErrorAdditionalInfo'
          readOnly: true
          x-ms-identifiers: []
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.