Azure DevTest Labs Formulas API

The Formulas API from Azure DevTest Labs — 2 operation(s) for formulas.

GitHub OpenAPI
Business capability
Environment Management BC-4210.20

Operations 5

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas Formulas list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name} Formulas get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name} Formulas create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name} Formulas update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name} Formulas 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/azure-test-labs:azure-test-labs-formulas-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

azure-test-labs-formulas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DevTestLabsClient Formulas API
  version: '2018-09-15'
  description: The DevTest Labs Client.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Formulas
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas:
    get:
      operationId: Formulas_List
      tags:
      - Formulas
      description: List formulas in a given lab.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - 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=description)'''
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')'
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: 'The maximum number of resources to return from the operation. Example: ''$top=10'''
        required: false
        schema:
          type: integer
          format: int32
      - name: $orderby
        in: query
        description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc'''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FormulaList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Formulas list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
  : get:
      operationId: Formulas_Get
      tags:
      - Formulas
      description: Get formula.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The name of the formula.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=description)'''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Formula'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Formulas get
      x-summary-source: derived
    put:
      operationId: Formulas_CreateOrUpdate
      tags:
      - Formulas
      description: Create or replace an existing formula. This operation can take a while to complete.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The name of the formula.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'Formula' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Formula'
        '201':
          description: Resource 'Formula' create operation succeeded
          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
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Formula'
        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/Formula'
        description: A formula for creating a VM, specifying an image base and other parameters
        required: true
      summary: Formulas create or update
      x-summary-source: derived
    patch:
      operationId: Formulas_Update
      tags:
      - Formulas
      description: Allows modifying tags of formulas. All other properties will be ignored.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The name of the formula.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Formula'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FormulaFragment'
        description: A formula for creating a VM, specifying an image base and other parameters
        required: true
      summary: Formulas update
      x-summary-source: derived
    delete:
      operationId: Formulas_Delete
      tags:
      - Formulas
      description: Delete formula.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The name of the formula.
        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'
      summary: Formulas delete
      x-summary-source: derived
components:
  schemas:
    NetworkInterfaceProperties:
      type: object
      description: Properties of a network interface.
      properties:
        virtualNetworkId:
          type: string
          description: The resource ID of the virtual network.
        subnetId:
          type: string
          description: The resource ID of the sub net.
        publicIpAddressId:
          type: string
          description: The resource ID of the public IP address.
        publicIpAddress:
          type: string
          description: The public IP address.
        privateIpAddress:
          type: string
          description: The private IP address.
        dnsName:
          type: string
          description: The DNS name.
        rdpAuthority:
          type: string
          description: The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
        sshAuthority:
          type: string
          description: The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
        sharedPublicIpAddressConfiguration:
          $ref: '#/components/schemas/SharedPublicIpAddressConfiguration'
          description: The configuration for sharing a public IP address across multiple virtual machines.
    ScheduleCreationParameter:
      type: object
      description: Properties for creating a schedule.
      properties:
        properties:
          $ref: '#/components/schemas/ScheduleCreationParameterProperties'
          description: The properties of the schedule.
          x-ms-client-flatten: true
        name:
          type: string
          description: The name of the virtual machine or environment
        location:
          type: string
          description: The location of the new virtual machine or environment
          readOnly: true
        tags:
          type: object
          description: The tags of the resource.
          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.
    ArtifactParameterProperties:
      type: object
      description: Properties of an artifact parameter.
      properties:
        name:
          type: string
          description: The name of the artifact parameter.
        value:
          type: string
          description: The value of the artifact parameter.
    LabVirtualMachineCreationParameter:
      type: object
      description: Properties for creating a virtual machine.
      properties:
        properties:
          $ref: '#/components/schemas/LabVirtualMachineCreationParameterProperties'
          description: The properties of the resource.
          x-ms-client-flatten: true
        name:
          type: string
          description: The name of the virtual machine or environment
        location:
          type: string
          description: The location of the new virtual machine or environment
        tags:
          type: object
          description: The tags of the resource.
          additionalProperties:
            type: string
    StorageType:
      type: string
      description: The storage type for the disk (i.e. Standard, Premium).
      enum:
      - Standard
      - Premium
      - StandardSSD
      x-ms-enum:
        name: StorageType
        modelAsString: true
        values:
        - name: Standard
          value: Standard
        - name: Premium
          value: Premium
        - name: StandardSSD
          value: StandardSSD
    UpdateResource:
      type: object
      description: Represents an update resource
      properties:
        tags:
          type: object
          description: The tags of the resource.
          additionalProperties:
            type: string
    Formula:
      type: object
      description: A formula for creating a VM, specifying an image base and other parameters
      properties:
        properties:
          $ref: '#/components/schemas/FormulaProperties'
          description: The properties of the formula.
          x-ms-client-flatten: true
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - properties
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    WeekDetails:
      type: object
      description: Properties of a weekly schedule.
      properties:
        weekdays:
          type: array
          description: The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
          items:
            type: string
        time:
          type: string
          description: The time of the day the schedule will occur.
    LabVirtualMachineCreationParameterProperties:
      type: object
      description: Properties for virtual machine creation.
      properties:
        bulkCreationParameters:
          $ref: '#/components/schemas/BulkCreationParameters'
          description: The number of virtual machine instances to create.
        notes:
          type: string
          description: The notes of the virtual machine.
        ownerObjectId:
          type: string
          description: The object identifier of the owner of the virtual machine.
          default: dynamicValue
        ownerUserPrincipalName:
          type: string
          description: The user principal name of the virtual machine owner.
        createdDate:
          type: string
          format: date-time
          description: The creation date of the virtual machine.
        customImageId:
          type: string
          description: The custom image identifier of the virtual machine.
        size:
          type: string
          description: The size of the virtual machine.
        userName:
          type: string
          description: The user name of the virtual machine.
        password:
          type: string
          format: password
          description: The password of the virtual machine administrator.
          x-ms-mutability:
          - update
          - create
          x-ms-secret: true
        sshKey:
          type: string
          description: The SSH key of the virtual machine administrator.
        isAuthenticationWithSshKey:
          type: boolean
          description: Indicates whether this virtual machine uses an SSH key for authentication.
        labSubnetName:
          type: string
          description: The lab subnet name of the virtual machine.
        labVirtualNetworkId:
          type: string
          description: The lab virtual network identifier of the virtual machine.
        disallowPublicIpAddress:
          type: boolean
          description: Indicates whether the virtual machine is to be created without a public IP address.
          default: false
        artifacts:
          type: array
          description: The artifacts to be installed on the virtual machine.
          items:
            $ref: '#/components/schemas/ArtifactInstallProperties'
          x-ms-identifiers: []
        galleryImageReference:
          $ref: '#/components/schemas/GalleryImageReference'
          description: The Microsoft Azure Marketplace image reference of the virtual machine.
        planId:
          type: string
          description: The id of the plan associated with the virtual machine image
        networkInterface:
          $ref: '#/components/schemas/NetworkInterfaceProperties'
          description: The network interface properties.
        expirationDate:
          type: string
          format: date-time
          description: The expiration date for VM.
        allowClaim:
          type: boolean
          description: Indicates whether another user can take ownership of the virtual machine
          default: false
        storageType:
          type: string
          description: Storage type to use for virtual machine (i.e. Standard, Premium).
          default: labStorageType
        environmentId:
          type: string
          description: The resource ID of the environment that contains this virtual machine, if any.
        dataDiskParameters:
          type: array
          description: New or existing data disks to attach to the virtual machine after creation
          items:
            $ref: '#/components/schemas/DataDiskProperties'
          x-ms-identifiers: []
        scheduleParameters:
          type: array
          description: Virtual Machine schedules to be created
          items:
            $ref: '#/components/schemas/ScheduleCreationParameter'
    InboundNatRule:
      type: object
      description: A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.
      properties:
        transportProtocol:
          $ref: '#/components/schemas/TransportProtocol'
          description: The transport protocol for the endpoint.
        frontendPort:
          type: integer
          format: int32
          description: The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.
        backendPort:
          type: integer
          format: int32
          description: The port to which the external traffic will be redirected.
    ArtifactInstallProperties:
      type: object
      description: Properties of an artifact.
      properties:
        artifactId:
          type: string
          description: The artifact's identifier.
        artifactTitle:
          type: string
          description: The artifact's title.
        parameters:
          type: array
          description: The parameters of the artifact.
          items:
            $ref: '#/components/schemas/ArtifactParameterProperties'
        status:
          type: string
          description: The status of the artifact.
        deploymentStatusMessage:
          type: string
          description: The status message from the deployment.
        vmExtensionStatusMessage:
          type: string
          description: The status message from the virtual machine extension.
        installTime:
          type: string
          format: date-time
          description: The time that the artifact starts to install on the virtual machine.
    BulkCreationParameters:
      type: object
      description: Parameters for creating multiple virtual machines as a single action.
      properties:
        instanceCount:
          type: integer
          format: int32
          description: The number of virtual machine instances to create.
    TransportProtocol:
      type: string
      description: The transport protocol for the endpoint.
      enum:
      - Tcp
      - Udp
      x-ms-enum:
        name: TransportProtocol
        modelAsString: true
        values:
        - name: Tcp
          value: Tcp
        - name: Udp
          value: Udp
    AttachNewDataDiskOptions:
      type: object
      description: Properties to attach new disk to the Virtual Machine.
      properties:
        diskSizeGiB:
          type: integer
          format: int32
          description: Size of the disk to be attached in Gibibytes.
        diskName:
          type: string
          description: The name of the disk to be attached.
        diskType:
          $ref: '#/components/schemas/StorageType'
          description: The storage type for the disk (i.e. Standard, Premium).
    FormulaCredentialState:
      type: string
      description: The configured credential state of a formula.
      enum:
      - NotConfigured
      - PasswordConfigured
      - SshKeyConfigured
      x-ms-enum:
        name: FormulaCredentialState
        modelAsString: true
        values:
        - name: NotConfigured
          value: NotConfigured
          description: No credential is configured.
        - name: PasswordConfigured
          value: PasswordConfigured
          description: A password credential is configured.
        - name: SshKeyConfigured
          value: SshKeyConfigured
          description: An SSH key credential is configured.
    ScheduleCreationParameterProperties:
      type: object
      description: Properties for schedule creation.
      properties:
        status:
          type: string
          description: The status of the schedule (i.e. Enabled, Disabled)
          default: Disabled
          enum:
          - Enabled
          - Disabled
          x-ms-enum:
            name: EnableStatus
            modelAsString: true
            values:
            - name: Enabled
              value: Enabled
            - name: Disabled
              value: Disabled
        taskType:
          type: string
          description: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
        weeklyRecurrence:
          $ref: '#/components/schemas/WeekDetails'
          description: If the schedule will occur only some days of the week, specify the weekly recurrence.
        dailyRecurrence:
          $ref: '#/components/schemas/DayDetails'
          description: If the schedule will occur once each day of the week, specify the daily recurrence.
        hourlyRecurrence:
          $ref: '#/components/schemas/HourDetails'
          description: If the schedule will occur multiple times a day, specify the hourly recurrence.
        timeZoneId:
          type: string
          description: The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
        notificationSettings:
          $ref: '#/components/schemas/NotificationSettings'
          description: Notification settings.
        targetResourceId:
          type: string
          description: The resource ID to which the schedule belongs
    FormulaFragment:
      type: object
      description: A formula for creating a VM, specifying an image base and other parameters
      allOf:
      - $ref: '#/components/schemas/UpdateResource'
    FormulaList:
      type: object
      description: The response of a list operation.
      properties:
        value:
          type: array
          description: The Formula items on this page
          items:
            $ref: '#/components/schemas/Formula'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    HourDetails:
      type: object
      description: Properties of an hourly schedule.
      properties:
        minute:
          type: integer
          format: int32
          description: Minutes of the hour the schedule will run.
    DataDiskProperties:
      type: object
      description: Request body for adding a new or existing data disk to a virtual machine.
      properties:
        attachNewDataDiskOptions:
          $ref: '#/components/schemas/AttachNewDataDiskOptions'
          description: Specifies options to attach a new disk to the virtual machine.
        existingLabDiskId:
          type: string
          description: Specifies the existing lab disk id to attach to virtual machine.
        hostCaching:
          $ref: '#/components/schemas/HostCachingOptions'
          description: Caching option for a data disk (i.e. None, ReadOnly, ReadWrite).
    SharedPublicIpAddressConfiguration:
      type: object
      description: Properties of a virtual machine that determine how it is connected to a load balancer.
      properties:
        inboundNatRules:
          type: array
          description: The incoming NAT rules
          items:
            $ref: '#/components/schemas/InboundNatRule'
          x-ms-identifiers: []
    GalleryImageReference:
      type: object
      description: The reference information for an Azure Marketplace image.
      properties:
        offer:
          type: string
          description: The offer of the gallery image.
        publisher:
          type: string
          description: The publisher of the gallery image.
        sku:
          type: string
          description: The SKU of the gallery image.
        osType:
          type: string
          description: The OS type of the gallery image.
        version:
          type: string
          description: The version of the gallery image.
    FormulaPropertiesFromVm:
      type: object
      description: Information about a VM from which a formula is to be created.
      properties:
        labVmId:
          type: string
          description: The identifier of the VM from which a formula is to be created.
    FormulaProperties:
      type: object
      description: Properties of a formula.
      properties:
        description:
          type: string
          description: The description of the formula.
        author:
          type: string
          description: The author of the formula.
          readOnly: true
        osType:
          type: string
          description: The OS type of the formula.
        creationDate:
          type: string
          format: date-time
          description: The creation date of the formula.
          readOnly: true
        formulaContent:
          $ref: '#/components/schemas/LabVirtualMachineCreationParameter'
          description: The content of the formula.
        credentialState:
          $ref: '#/components/schemas/FormulaCredentialState'
          description: The configured credential state of the formula. This property does not expose the credential value or storage mechanism.
          readOnly: true
        vm:
          $ref: '#/components/schemas/FormulaPropertiesFromVm'
          description: Information about a VM from which a formula is to be created.
        provisioningState:
          type: string
          description: The provisioning status of the resource.
          readOnly: true
        uniqueIdentifier:
          type: string
          description: The unique immutable identifier of a resource (Guid).
          readOnly: true
    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
    DayDetails:
      type: object
      description: Properties of a daily schedule.
      properties:
        time:
          type: string
          description: The time of day the schedule will occur.
    NotificationSettings:
      type: object
      description: Notification settings for a schedule.
      properties:
        status:
          type: string
          description: If notifications are enabled for this schedule (i.e. Enabled, Disabled).
          default: Disabled
          enum:
          - Enabled
          - Disabled
          x-ms-enum:
            name: EnableStatus
            modelAsString: true
            values:
            - name: Enabled
              value: Enabled
            - name: Disabled
              value: Disabled
        timeInMinutes:
          type: integer
          format: int32
          description: Time in minutes before event at which notification will be sent.
        webhookUrl:
          type: string
          description: The webhook URL to which the notification will be sent.
        emailRecipient:
          type: string
          description: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
        notificationLocale:
          type: string
          description: The locale to use when sending a notification (fallback for unsupported languages is EN).
    HostCachingOptions:
      type: string
      description: Caching option for a data disk (i.e. None, ReadOnly, ReadWrite).
      enum:
      - None
      - ReadOnly
      - ReadWrite
      x-ms-enum:
        name: HostCachingOptions
        modelAsString: true
        values:
        - name: None
          value: None
        - name: ReadOnly
          value: ReadOnly
        - name: ReadWrite
          value: ReadWrite
    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'
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    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
  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.