Azure Machine Learning Environment Version Operation Group API

The EnvironmentVersionOperationGroup API from Azure Machine Learning — 3 operation(s) for environmentversionoperationgroup.

GitHub OpenAPI

Operations 5

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions List versions #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version} Get version #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version} Creates or updates an EnvironmentVersion #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version} Delete version #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}/publish Publish version asset into registry #

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-machine-learning:microsoft-azure-machine-learning-environmentversionoperationgroup-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-machine-learning-environmentversionoperationgroup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Machine Learning Services Environment Version…
  version: '2026-09-01'
  description: These APIs allow end users to operate on Azure Machine Learning Workspace resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: EnvironmentVersionOperationGroup
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions
  : get:
      operationId: EnvironmentVersions_List
      tags:
      - EnvironmentVersionOperationGroup
      summary: List versions
      description: List versions.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Name of Azure Machine Learning workspace.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: name
        in: path
        description: Container name. This is case-sensitive.
        required: true
        schema:
          type: string
      - name: $orderBy
        in: query
        description: Ordering of list.
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: Maximum number of records to return.
        required: false
        schema:
          type: integer
          format: int32
      - name: $skip
        in: query
        description: Continuation token for pagination.
        required: false
        schema:
          type: string
      - name: listViewType
        in: query
        description: View type for including/excluding (for example) archived entities.
        required: false
        x-ms-enum:
          name: ListViewType
          modelAsString: true
          values:
          - name: ActiveOnly
            value: ActiveOnly
          - name: ArchivedOnly
            value: ArchivedOnly
          - name: All
            value: All
        schema:
          type: string
          enum:
          - ActiveOnly
          - ArchivedOnly
          - All
          default: ActiveOnly
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentVersionResourceArmPaginatedResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}
  : get:
      operationId: EnvironmentVersions_Get
      tags:
      - EnvironmentVersionOperationGroup
      summary: Get version
      description: Get version.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Name of Azure Machine Learning workspace.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: name
        in: path
        description: Container name. This is case-sensitive.
        required: true
        schema:
          type: string
      - name: version
        in: path
        description: Version identifier. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentVersion'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      operationId: EnvironmentVersions_CreateOrUpdate
      tags:
      - EnvironmentVersionOperationGroup
      summary: Creates or updates an EnvironmentVersion
      description: Creates or updates an EnvironmentVersion.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Name of Azure Machine Learning workspace.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: name
        in: path
        description: Container name. This is case-sensitive.
        required: true
        schema:
          type: string
      - name: version
        in: path
        description: Version identifier. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'EnvironmentVersion' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentVersion'
        '201':
          description: Resource 'EnvironmentVersion' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentVersion'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvironmentVersion'
        description: Definition of EnvironmentVersion.
        required: true
    delete:
      operationId: EnvironmentVersions_Delete
      tags:
      - EnvironmentVersionOperationGroup
      summary: Delete version
      description: Delete version.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Name of Azure Machine Learning workspace.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: name
        in: path
        description: Container name. This is case-sensitive.
        required: true
        schema:
          type: string
      - name: version
        in: path
        description: Version identifier. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}/publish
  : post:
      operationId: EnvironmentVersions_Publish
      tags:
      - EnvironmentVersionOperationGroup
      summary: Publish version asset into registry
      description: Publish version asset into registry.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Name of Azure Machine Learning workspace.
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: name
        in: path
        description: Container name. This is case-sensitive.
        required: true
        schema:
          type: string
      - name: version
        in: path
        description: Version identifier. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
        '202':
          description: Resource operation accepted.
          headers:
            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
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationAsset'
        description: Destination registry info
        required: true
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
    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
  schemas:
    AssetBase:
      type: object
      properties:
        isAnonymous:
          type: boolean
          description: If the name version are system generated (anonymous registration).
          default: false
          x-ms-mutability:
          - read
          - create
        isArchived:
          type: boolean
          description: Is the asset archived?
          default: false
          x-ms-mutability:
          - read
          - update
          - create
      allOf:
      - $ref: '#/components/schemas/ResourceBase'
    DestinationAsset:
      type: object
      description: Publishing destination registry asset information
      properties:
        destinationName:
          type:
          - string
          - 'null'
          description: Destination asset name
        destinationVersion:
          type:
          - string
          - 'null'
          description: Destination asset version
        registryName:
          type:
          - string
          - 'null'
          description: Destination registry name
    EnvironmentVersion:
      type: object
      description: Azure Resource Manager resource envelope.
      properties:
        properties:
          $ref: '#/components/schemas/EnvironmentVersionProperties'
          description: '[Required] Additional attributes of the entity.'
      required:
      - properties
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ResourceBase:
      type: object
      properties:
        description:
          type:
          - string
          - 'null'
          description: The asset description text.
        properties:
          type:
          - object
          - 'null'
          description: The asset property dictionary.
          additionalProperties:
            type:
            - string
            - 'null'
        tags:
          type:
          - object
          - 'null'
          description: Tag dictionary. Tags can be added, removed, and updated.
          additionalProperties:
            type:
            - string
            - 'null'
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          type: object
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    BuildContext:
      type: object
      description: Configuration settings for Docker build context
      properties:
        contextUri:
          type: string
          description: '[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.

            <seealso href="https://docs.docker.com/engine/reference/commandline/build/#extended-description" />'
          minLength: 1
          pattern: '[a-zA-Z0-9_]'
          x-ms-mutability:
          - read
          - create
        dockerfilePath:
          type: string
          description: 'Path to the Dockerfile in the build context.

            <seealso href="https://docs.docker.com/engine/reference/builder/" />'
          default: Dockerfile
          x-ms-mutability:
          - read
          - create
      required:
      - contextUri
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    EnvironmentVersionResourceArmPaginatedResult:
      type: object
      description: A paginated list of EnvironmentVersion entities.
      properties:
        value:
          type: array
          description: The EnvironmentVersion items on this page
          items:
            $ref: '#/components/schemas/EnvironmentVersion'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    EnvironmentType:
      type: string
      description: Environment type is either user created or curated by Azure ML service
      enum:
      - Curated
      - UserCreated
      x-ms-enum:
        name: EnvironmentType
        modelAsString: true
        values:
        - name: Curated
          value: Curated
        - name: UserCreated
          value: UserCreated
    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.
    InferenceContainerProperties:
      type: object
      properties:
        livenessRoute:
          $ref: '#/components/schemas/Route'
          description: The route to check the liveness of the inference server container.
        readinessRoute:
          $ref: '#/components/schemas/Route'
          description: The route to check the readiness of the inference server container.
        scoringRoute:
          $ref: '#/components/schemas/Route'
          description: The port to send the scoring requests to, within the inference server container.
        startupRoute:
          $ref: '#/components/schemas/Route'
          description: The route to check the startup of the application in the container.
    Route:
      type: object
      properties:
        path:
          type: string
          description: '[Required] The path for the route.'
          minLength: 1
          pattern: '[a-zA-Z0-9_]'
        port:
          type: integer
          format: int32
          description: '[Required] The port for the route.'
      required:
      - path
      - port
    AssetProvisioningState:
      type: string
      description: Provisioning state of registry asset.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Creating
      - Updating
      - Deleting
      x-ms-enum:
        name: AssetProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
        - name: Failed
          value: Failed
        - name: Canceled
          value: Canceled
        - name: Creating
          value: Creating
        - name: Updating
          value: Updating
        - name: Deleting
          value: Deleting
      readOnly: true
    EnvironmentVersionProperties:
      type: object
      description: Environment version details.
      properties:
        autoRebuild:
          type: string
          description: AutoRebuild setting for the derived image
          default: Disabled
          enum:
          - Disabled
          - OnBaseImageUpdate
          x-ms-enum:
            name: AutoRebuildSetting
            modelAsString: true
            values:
            - name: Disabled
              value: Disabled
            - name: OnBaseImageUpdate
              value: OnBaseImageUpdate
          x-ms-mutability:
          - read
          - create
        build:
          $ref: '#/components/schemas/BuildContext'
          description: Configuration settings for Docker build context.
          x-ms-mutability:
          - read
          - create
        condaFile:
          type: string
          description: 'Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.

            <see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" />'
          x-ms-mutability:
          - read
          - create
        environmentType:
          $ref: '#/components/schemas/EnvironmentType'
          description: 'Environment type is either user managed or curated by the Azure ML service

            <see href="https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments" />'
          readOnly: true
        image:
          type: string
          description: 'Name of the image that will be used for the environment.

            <seealso href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" />'
          x-ms-mutability:
          - read
          - create
        inferenceConfig:
          $ref: '#/components/schemas/InferenceContainerProperties'
          description: Defines configuration specific to inference.
          x-ms-mutability:
          - read
          - create
        osType:
          type: string
          description: The type of operating system.
          default: Linux
          enum:
          - Linux
          - Windows
          x-ms-enum:
            name: OperatingSystemType
            modelAsString: true
            values:
            - name: Linux
              value: Linux
            - name: Windows
              value: Windows
          x-ms-mutability:
          - read
          - create
        provisioningState:
          $ref: '#/components/schemas/AssetProvisioningState'
          description: Provisioning state for the environment version.
          readOnly: true
        stage:
          type:
          - string
          - 'null'
          description: Stage in the environment lifecycle assigned to this environment
      allOf:
      - $ref: '#/components/schemas/AssetBase'
  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.