Microsoft Azure Environment Settings API

The Environment Settings API from Microsoft Azure, for environment settings.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings List environment settings in a lab · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which environment settings (templates) exist in my Azure Lab Services lab?”
“Can I sort or limit the list of environment settings in a lab?”
Tell an agent
List environment settings in lab {lab} of lab account {account} in {rg}, subscription {sub}.
Show the first {top} environment settings in lab {lab} of account {account} in {rg}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName} Get an environment setting · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What does a specific environment setting in my lab contain?”
“Can I expand related properties when fetching a lab environment setting?”
Tell an agent
Get environment setting {setting} in lab {lab} of lab account {account} in {rg}, subscription {sub}.
Show environment setting {setting} in lab {lab} with {expand} expanded.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName} Create or replace an environment setting · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I create an environment setting template for a lab?”
“Why does creating a lab environment setting take a while to finish?”
Tell an agent
Create environment setting {setting} in lab {lab} of lab account {account} in {rg}, subscription {sub}.
Replace environment setting {setting} in lab {lab} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName} Delete an environment setting · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I delete an environment setting from a lab?”
“What happens to a lab's template when I remove its environment setting?”
Tell an agent destructive · confirm first
Delete environment setting {setting} in lab {lab} of lab account {account} in {rg}, subscription {sub}.
Remove environment setting {setting} from lab {lab}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName} Modify an environment setting · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change a few properties of an existing lab environment setting without replacing it?”
“Which environment setting fields can be patched?”
Tell an agent
Modify environment setting {setting} in lab {lab} of lab account {account} in {rg}, subscription {sub} with {properties}.
Patch the tags on environment setting {setting} in lab {lab} to {tags}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/claimAny Claim a random environment from an environment setting · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How does a lab user claim any available environment from an environment setting?”
“Can I grab a random free lab VM from a template?”
Tell an agent
Claim any available environment from setting {setting} in lab {lab} of account {account} in {rg}, subscription {sub}.
Give me a random environment from environment setting {setting} in lab {lab}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/publish Publish an environment setting · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I publish a lab template so its resources get provisioned?”
“Can I publish an environment setting using the existing image?”
Tell an agent
Publish environment setting {setting} in lab {lab} of account {account} in {rg}, subscription {sub}.
Publish environment setting {setting} in lab {lab}, reusing the existing image: {reuse}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/start Start an environment setting's template · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I start the template VM behind a lab environment setting?”
“Can I power on all resources in an environment setting's template?”
Tell an agent
Start the template for environment setting {setting} in lab {lab} of account {account} in {rg}, subscription {sub}.
Power on template resources of setting {setting} in lab {lab}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/stop Stop an environment setting's template · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I stop the template VM for a lab environment setting?”
“Can I shut down all resources in an environment setting's template when I'm done editing?”
Tell an agent
Stop the template for environment setting {setting} in lab {lab} of account {account} in {rg}, subscription {sub}.
Shut down template resources of setting {setting} in lab {lab}.

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:microsoft-azure-environment-settings-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-environment-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2018-10-15'
  title: Microsoft Azure ManagedLabsClient Environment Settings API
  description: The Managed Labs Client.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Environment Settings
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings
  : get:
      tags:
      - Environment Settings
      description: List environment setting in a given lab.
      operationId: microsoftAzureEnvironmentsettingsList
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=publishingState)'''
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: The filter to apply to the operation.
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: The maximum number of resources to return from the operation.
        required: false
        schema:
          type: integer
          format: int32
      - name: $orderby
        in: query
        description: The ordering expression for the results, using OData notation.
        required: false
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseWithContinuation_EnvironmentSetting'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/EnvironmentSetting'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}
  : get:
      tags:
      - Environment Settings
      description: Get environment setting
      operationId: microsoftAzureEnvironmentsettingsGet
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=publishingState)'''
        required: false
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentSetting'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - Environment Settings
      description: Create or replace an existing Environment Setting. This operation can take a while to complete
      operationId: microsoftAzureEnvironmentsettingsCreateorupdate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentSetting'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentSetting'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvironmentSetting'
        description: Represents settings of an environment, from which environment instances would be created
        required: true
    delete:
      tags:
      - Environment Settings
      description: Delete environment setting. This operation can take a while to complete
      operationId: microsoftAzureEnvironmentsettingsDelete
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '202':
          description: Accepted
        '204':
          description: No Content
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - Environment Settings
      description: Modify properties of environment setting.
      operationId: microsoftAzureEnvironmentsettingsUpdate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvironmentSetting'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvironmentSettingFragment'
        description: Represents settings of an environment, from which environment instances would be created
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/claimAny
  : post:
      tags:
      - Environment Settings
      description: Claims a random environment for a user in an environment settings
      operationId: microsoftAzureEnvironmentsettingsClaimany
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/publish
  : post:
      tags:
      - Environment Settings
      description: Provisions/deprovisions required resources for an environment setting based on current state of the lab/environment setting.
      operationId: microsoftAzureEnvironmentsettingsPublish
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishPayload'
        description: Payload for Publish operation on EnvironmentSetting.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/start
  : post:
      tags:
      - Environment Settings
      description: Starts a template by starting all resources inside the template. This operation can take a while to complete
      operationId: microsoftAzureEnvironmentsettingsStart
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/labs/{labName}/environmentsettings/{environmentSettingName}/stop
  : post:
      tags:
      - Environment Settings
      description: Starts a template by starting all resources inside the template. This operation can take a while to complete
      operationId: microsoftAzureEnvironmentsettingsStop
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: environmentSettingName
        in: path
        description: The name of the environment Setting.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    ReferenceVm:
      description: Details of a Reference Vm
      required:
      - userName
      type: object
      properties:
        userName:
          description: The username of the virtual machine
          type: string
        password:
          description: The password of the virtual machine. This will be set to null in GET resource API
          type: string
        vmStateDetails:
          $ref: '#/components/schemas/VmStateDetails'
          description: The state details for the reference virtual machine.
          readOnly: true
        vmResourceId:
          description: VM resource Id for the environment
          type: string
          readOnly: true
    ReferenceVmFragment:
      description: Details of a Reference Vm
      type: object
      properties:
        userName:
          description: The username of the virtual machine
          type: string
        password:
          description: The password of the virtual machine. This will be set to null in GET resource API
          type: string
    ResourceSettingsFragment:
      description: Represents resource specific settings
      type: object
      properties:
        galleryImageResourceId:
          description: The resource id of the gallery image used for creating the virtual machine
          type: string
        size:
          description: The size of the virtual machine
          enum:
          - Basic
          - Standard
          - Performance
          type: string
          x-ms-enum:
            name: ManagedLabVmSize
            modelAsString: true
            values:
            - value: Basic
              description: The base VM size
            - value: Standard
              description: The standard or default VM size
            - value: Performance
              description: The most performant VM size
        referenceVm:
          $ref: '#/components/schemas/ReferenceVmFragment'
          description: Details specific to Reference Vm
    EnvironmentSetting:
      description: Represents settings of an environment, from which environment instances would be created
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/EnvironmentSettingProperties'
          description: The properties of the Environment Setting resource
          x-ms-client-flatten: true
    VmStateDetails:
      description: Details about the state of the reference virtual machine.
      type: object
      properties:
        rdpAuthority:
          description: The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
          type: string
          readOnly: true
        sshAuthority:
          description: The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
          type: string
          readOnly: true
        powerState:
          description: The power state of the reference virtual machine.
          type: string
          readOnly: true
        lastKnownPowerState:
          description: Last known compute power state captured in DTL
          type: string
          readOnly: true
    CloudErrorBody:
      description: Body of an error from a REST request.
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
        details:
          description: Inner errors.
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
      x-ms-external: true
    EnvironmentSettingFragment:
      description: Represents settings of an environment, from which environment instances would be created
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/EnvironmentSettingPropertiesFragment'
          description: The properties of the Environment Setting resource
          x-ms-client-flatten: true
    CloudError:
      description: Error from a REST request.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
      x-ms-external: true
    PublishPayload:
      description: Payload for Publish operation on EnvironmentSetting.
      type: object
      properties:
        useExistingImage:
          description: Whether to use existing VM custom image when publishing.
          type: boolean
    ResponseWithContinuation_EnvironmentSetting:
      description: The response of a list operation.
      type: object
      properties:
        value:
          description: Results of the list operation.
          type: array
          items:
            $ref: '#/components/schemas/EnvironmentSetting'
        nextLink:
          description: Link for next set of results.
          type: string
    EnvironmentSettingProperties:
      description: Properties of an environment setting
      required:
      - resourceSettings
      type: object
      properties:
        publishingState:
          description: Describes the readiness of this environment setting
          enum:
          - Draft
          - Publishing
          - Published
          - PublishFailed
          - Scaling
          type: string
          readOnly: true
          x-ms-enum:
            name: PublishingState
            modelAsString: true
            values:
            - value: Draft
              description: Initial state of an environment setting.
            - value: Publishing
              description: Currently provisioning resources.
            - value: Published
              description: All resources are currently provisioned.
            - value: PublishFailed
              description: Failed to provision all the necessary resources.
            - value: Scaling
              description: Currently provisioning resources without recreating VM image.
        configurationState:
          description: Describes the user's progress in configuring their environment setting
          enum:
          - NotApplicable
          - Completed
          type: string
          x-ms-enum:
            name: ConfigurationState
            modelAsString: true
            values:
            - value: NotApplicable
              description: 'User either hasn''t started configuring their template

                or they haven''t started the configuration process.'
            - value: Completed
              description: User is finished modifying the template.
        description:
          description: Describes the environment and its resource settings
          type: string
        title:
          description: Brief title describing the environment and its resource settings
          type: string
        resourceSettings:
          $ref: '#/components/schemas/ResourceSettings'
          description: The resource specific settings
        lastChanged:
          format: date-time
          description: Time when the template VM was last changed.
          type: string
          readOnly: true
        lastPublished:
          format: date-time
          description: Time when the template VM was last sent for publishing.
          type: string
          readOnly: true
        provisioningState:
          description: The provisioning status of the resource.
          type: string
        uniqueIdentifier:
          description: The unique immutable identifier of a resource (Guid).
          type: string
        latestOperationResult:
          $ref: '#/components/schemas/LatestOperationResult'
          description: 'The details of the latest operation. ex: status, error'
          readOnly: true
    LatestOperationResult:
      description: Details of the status of an operation.
      type: object
      properties:
        status:
          description: The current status of the operation.
          type: string
          readOnly: true
        errorCode:
          description: Error code on failure.
          type: string
          readOnly: true
        errorMessage:
          description: The error message.
          type: string
          readOnly: true
        requestUri:
          description: Request URI of the operation.
          type: string
          readOnly: true
        httpMethod:
          description: The HttpMethod - PUT/POST/DELETE for the operation.
          type: string
          readOnly: true
        operationUrl:
          description: The URL to use to check long-running operation status
          type: string
          readOnly: true
    ResourceSettings:
      description: Represents resource specific settings
      required:
      - referenceVm
      type: object
      properties:
        id:
          description: The unique id of the resource setting
          type: string
          readOnly: true
        galleryImageResourceId:
          description: The resource id of the gallery image used for creating the virtual machine
          type: string
        imageName:
          description: The name of the image used to created the environment setting
          type: string
          readOnly: true
        size:
          description: The size of the virtual machine
          enum:
          - Basic
          - Standard
          - Performance
          type: string
          x-ms-enum:
            name: ManagedLabVmSize
            modelAsString: true
            values:
            - value: Basic
              description: The base VM size
            - value: Standard
              description: The standard or default VM size
            - value: Performance
              description: The most performant VM size
        cores:
          format: int32
          description: The translated compute cores of the virtual machine
          type: integer
          readOnly: true
        referenceVm:
          $ref: '#/components/schemas/ReferenceVm'
          description: Details specific to Reference Vm
    EnvironmentSettingPropertiesFragment:
      description: Properties of an environment setting
      type: object
      properties:
        configurationState:
          description: Describes the user's progress in configuring their environment setting
          enum:
          - NotApplicable
          - Completed
          type: string
          x-ms-enum:
            name: ConfigurationState
            modelAsString: true
            values:
            - value: NotApplicable
              description: 'User either hasn''t started configuring their template

                or they haven''t started the configuration process.'
            - value: Completed
              description: User is finished modifying the template.
        description:
          description: Describes the environment and its resource settings
          type: string
        title:
          description: Brief title describing the environment and its resource settings
          type: string
        resourceSettings:
          $ref: '#/components/schemas/ResourceSettingsFragment'
          description: The resource specific settings
        provisioningState:
          description: The provisioning status of the resource.
          type: string
        uniqueIdentifier:
          description: The unique immutable identifier of a resource (Guid).
          type: string
    Resource:
      description: An Azure resource.
      type: object
      properties:
        id:
          description: The identifier of the resource.
          type: string
          readOnly: true
        name:
          description: The name of the resource.
          type: string
          readOnly: true
        type:
          description: The type of the resource.
          type: string
          readOnly: true
        location:
          description: The location of the resource.
          type: string
        tags:
          description: The tags of the resource.
          type: object
          additionalProperties:
            type: string
      x-ms-azure-resource: true
  parameters:
    subscriptionId:
      name: subscriptionId
      in: path
      description: The subscription ID.
      required: true
      schema:
        type: string
    api-version:
      name: api-version
      in: query
      description: Client API version.
      required: true
      schema:
        type: string
        default: '2018-10-15'
    resourceGroupName:
      name: resourceGroupName
      in: path
      description: The name of the resource group.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: Access Microsoft Azure
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: OAuth2 Implicit Grant
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/labservices/resource-manager/Microsoft.LabServices/stable/2018-10-15/ML.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)