Microsoft Azure V2Workspace Connection Resource API

The V2WorkspaceConnectionResource API from Microsoft Azure, for v2workspaceconnectionresource.

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 7

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.MachineLearningServices/workspaces/{workspaceName}/connections List a workspace's connections · Microsoft Azure Lists All The Available Machine Learning Workspaces Connections… #
Ask an LLM
“Which connections are configured in my Azure Machine Learning workspace?”
“Can I filter workspace connections by category or target?”
Tell an agent
List the connections in ML workspace {workspaceName}.
Show workspace {workspaceName} connections in category {category}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} Delete a workspace connection · Microsoft Azure Delete Machine Learning Workspaces Connections By Name #
Ask an LLM
“Can I remove a connection from an ML workspace?”
“Can I delete a workspace connection I no longer use?”
Tell an agent destructive · confirm first
Delete connection {connectionName} from workspace {workspaceName}.
Remove ML workspace connection {connectionName} in {workspaceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} Get a workspace connection · Microsoft Azure Lists Machine Learning Workspaces Connections By Name #
Ask an LLM
“Can I look up one connection in an ML workspace by name?”
“What target and auth type does a given workspace connection use?”
Tell an agent
Get connection {connectionName} in workspace {workspaceName}.
Show details of ML workspace connection {connectionName} in {workspaceName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} Patch a workspace connection · Microsoft Azure Update Machine Learning Workspaces Connections Under The… #
Ask an LLM
“Can I change some properties of an existing workspace connection?”
“Is it possible to partially update a connection in my ML workspace?”
Tell an agent
Patch connection {connectionName} in workspace {workspaceName} with {properties}.
Partially update existing ML workspace connection {connectionName} in {workspaceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName} Create or update a workspace connection · Microsoft Azure Create Or Update Machine Learning Workspaces Connections Under… #
Ask an LLM
“How do I add a new connection to my Azure ML workspace?”
“Can I overwrite a workspace connection's full definition?”
Tell an agent
Create connection {connectionName} in workspace {workspaceName} with properties {properties}.
Create or replace ML workspace connection {connectionName} in {workspaceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/listsecrets List a workspace connection's secrets · Microsoft Azure List All The Secrets Of A Machine Learning Workspaces… #
Ask an LLM
“How do I retrieve the credentials stored on a workspace connection?”
“Can I see the secrets of an ML workspace connection?”
Tell an agent
List the secrets of connection {connectionName} in workspace {workspaceName}.
Reveal stored credentials for ML workspace connection {connectionName} in {workspaceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/testconnection Test a workspace connection · Microsoft Azure Test Machine Learning Workspaces Connections Under The… #
Ask an LLM
“Can I check that a workspace connection actually works?”
“Can I validate connection settings before saving them?”
Tell an agent
Test connection {connectionName} in workspace {workspaceName} with properties {properties}.
Verify that ML workspace connection {connectionName} in {workspaceName} can connect.

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-v2workspaceconnectionresource-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-v2workspaceconnectionresource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Machine Learning Services V2Workspace…
  description: These APIs allow end users to operate on Azure Machine Learning Workspace resources.
  version: 2024-01-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: V2WorkspaceConnectionResource
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections
  : get:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure Lists All The Available Machine Learning Workspaces Connections…
      operationId: microsoftAzureWorkspaceconnectionsList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/TargetParameter'
      - $ref: '#/components/parameters/CategoryParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - in: query
        name: includeAll
        description: query parameter that indicates if get connection call should return both connections and datastores
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        ListWorkspaceConnections:
          $ref: ./examples/WorkspaceConnection/list.json
      x-ms-pageable:
        nextLinkName: nextLink
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}
  : delete:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure Delete Machine Learning Workspaces Connections By Name
      operationId: microsoftAzureWorkspaceconnectionsDelete
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/ConnectionName'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
        '204':
          description: No Content
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        DeleteWorkspaceConnection:
          $ref: ./examples/WorkspaceConnection/delete.json
      description: Needs a more full description created.
    get:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure Lists Machine Learning Workspaces Connections By Name
      operationId: microsoftAzureWorkspaceconnectionsGet
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/ConnectionName'
      - $ref: '#/components/parameters/AOAIModelsToDeployParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        GetWorkspaceConnection:
          $ref: ./examples/WorkspaceConnection/get.json
      description: Needs a more full description created.
    patch:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure Update Machine Learning Workspaces Connections Under The…
      operationId: microsoftAzureWorkspaceconnectionsUpdate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/ConnectionName'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        UpdateWorkspaceConnection:
          $ref: ./examples/WorkspaceConnection/update.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceConnectionUpdateParameter'
        description: Parameters for workspace connection update.
    put:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure Create Or Update Machine Learning Workspaces Connections Under…
      operationId: microsoftAzureWorkspaceconnectionsCreate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/ConnectionName'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        CreateWorkspaceConnection:
          $ref: ./examples/WorkspaceConnection/create.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
        description: The object for creating or updating a new workspace connection
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/listsecrets
  : post:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure List All The Secrets Of A Machine Learning Workspaces…
      operationId: microsoftAzureWorkspaceconnectionsListsecrets
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/ConnectionName'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/AOAIModelsToDeployParameter'
      responses:
        '200':
          description: The request was successful; the request was well-formed and received properly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        GetWorkspaceConnection:
          $ref: ./examples/WorkspaceConnection/listSecrets.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/testconnection
  : post:
      tags:
      - V2WorkspaceConnectionResource
      summary: Microsoft Azure Test Machine Learning Workspaces Connections Under The…
      operationId: microsoftAzureWorkspaceconnectionsTestconnection
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: '#/components/parameters/ConnectionName'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              description: URI to poll for asynchronous operation result.
              schema:
                type: string
            Retry-After:
              description: Duration the client should wait between requests, in seconds.
              schema:
                type: integer
                format: int32
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        TestWorkspaceConnection:
          $ref: ./examples/WorkspaceConnection/testConnection.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
        description: Workspace Connection object
components:
  schemas:
    ConnectionAuthType:
      description: Authentication type of the connection target
      enum:
      - PAT
      - ManagedIdentity
      - UsernamePassword
      - None
      - SAS
      - AccountKey
      - ServicePrincipal
      - AccessKey
      - ApiKey
      - CustomKeys
      - OAuth2
      - AAD
      type: string
      x-ms-enum:
        name: ConnectionAuthType
        modelAsString: true
    ConnectionCategory:
      description: Category of the connection
      enum:
      - PythonFeed
      - ContainerRegistry
      - Git
      - S3
      - Snowflake
      - AzureSqlDb
      - AzureSynapseAnalytics
      - AzureMySqlDb
      - AzurePostgresDb
      - ADLSGen2
      - Redis
      - ApiKey
      - AzureOpenAI
      - CognitiveSearch
      - CognitiveService
      - CustomKeys
      - AzureBlob
      - AzureOneLake
      - CosmosDb
      - CosmosDbMongoDbApi
      - AzureDataExplorer
      - AzureMariaDb
      - AzureDatabricksDeltaLake
      - AzureSqlMi
      - AzureTableStorage
      - AmazonRdsForOracle
      - AmazonRdsForSqlServer
      - AmazonRedshift
      - Db2
      - Drill
      - GoogleBigQuery
      - Greenplum
      - Hbase
      - Hive
      - Impala
      - Informix
      - MariaDb
      - MicrosoftAccess
      - MySql
      - Netezza
      - Oracle
      - Phoenix
      - PostgreSql
      - Presto
      - SapOpenHub
      - SapBw
      - SapHana
      - SapTable
      - Spark
      - SqlServer
      - Sybase
      - Teradata
      - Vertica
      - Cassandra
      - Couchbase
      - MongoDbV2
      - MongoDbAtlas
      - AmazonS3Compatible
      - FileServer
      - FtpServer
      - GoogleCloudStorage
      - Hdfs
      - OracleCloudStorage
      - Sftp
      - GenericHttp
      - ODataRest
      - Odbc
      - GenericRest
      - AmazonMws
      - Concur
      - Dynamics
      - DynamicsAx
      - DynamicsCrm
      - GoogleAdWords
      - Hubspot
      - Jira
      - Magento
      - Marketo
      - Office365
      - Eloqua
      - Responsys
      - OracleServiceCloud
      - PayPal
      - QuickBooks
      - Salesforce
      - SalesforceServiceCloud
      - SalesforceMarketingCloud
      - SapCloudForCustomer
      - SapEcc
      - ServiceNow
      - SharePointOnlineList
      - Shopify
      - Square
      - WebTable
      - Xero
      - Zoho
      - GenericContainerRegistry
      type: string
      x-ms-enum:
        name: ConnectionCategory
        modelAsString: true
    WorkspaceConnectionPropertiesV2:
      required:
      - authType
      type: object
      properties:
        authType:
          description: Authentication type of the connection target
          $ref: '#/components/schemas/ConnectionAuthType'
        category:
          description: Category of the connection
          $ref: '#/components/schemas/ConnectionCategory'
        createdByWorkspaceArmId:
          type: string
          format: arm-id
          readOnly: true
        expiryTime:
          format: date-time
          type: string
        group:
          description: Group based on connection category
          $ref: '#/components/schemas/ConnectionGroup'
          readOnly: true
        isSharedToAll:
          type: boolean
        metadata:
          type: object
        sharedUserList:
          type: array
          items:
            type: string
        target:
          type: string
      discriminator:
        propertyName: authType
    WorkspaceConnectionUpdateParameter:
      description: The properties that the machine learning workspace connection will be updated with.
      type: object
      properties:
        properties:
          description: The properties that the machine learning workspace connection will be updated with.
          $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2'
    WorkspaceConnectionPropertiesV2BasicResource:
      required:
      - properties
      type: object
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/Resource
      properties:
        properties:
          $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2'
    ConnectionGroup:
      description: Group based on connection category
      enum:
      - Azure
      - AzureAI
      - Database
      - NoSQL
      - File
      - GenericProtocol
      - ServicesAndApps
      type: string
      x-ms-enum:
        name: ConnectionGroup
        modelAsString: true
    WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult:
      type: object
      properties:
        nextLink:
          type: string
        value:
          type: array
          items:
            $ref: '#/components/schemas/WorkspaceConnectionPropertiesV2BasicResource'
  parameters:
    CategoryParameter:
      in: query
      name: category
      description: Category of the workspace connection.
      x-ms-parameter-location: method
      schema:
        type: string
    WorkspaceNameParameter:
      in: path
      name: workspaceName
      description: Azure Machine Learning Workspace Name
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
    TargetParameter:
      in: query
      name: target
      description: Target of the workspace connection.
      x-ms-parameter-location: method
      schema:
        type: string
    AOAIModelsToDeployParameter:
      in: query
      name: aoaiModelsToDeploy
      description: query parameter for which AOAI mode should be deployed
      x-ms-parameter-location: method
      schema:
        type: string
    ConnectionName:
      in: path
      name: connectionName
      description: Friendly name of the workspace connection
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize