Azure Synapse Analytics Workspaces API

The Workspaces API from Azure Synapse Analytics — 3 operation(s) for workspaces.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 12

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces Workspaces list by resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName} Workspaces get #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName} Workspaces update #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName} Workspaces create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName} Workspaces delete #
GET /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces Workspaces list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/administrators/activeDirectory Workspace aad admins get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/administrators/activeDirectory Workspace aad admins create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/administrators/activeDirectory Workspace aad admins delete #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory Workspace sql aad admins get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory Workspace sql aad admins create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory Workspace sql aad admins delete #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/sqlpools
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/pipeline
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/monitoring
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/role-assignments
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/notebook
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/dataset
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/linked-service
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/data-flow
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/sql-script
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/trigger
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark-job-definition
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/managed-private-endpoints
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/integration-runtimes
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/library
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/ip-firewall-rules
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/keys
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/private-endpoint-connections
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/private-link-hubs
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/azure-ad-only-authentications
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark-configuration
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/data-flow-debug-session
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/credential
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/kql-script
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/link-connection

Specifications

Schemas & Data

Other Resources

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-synapse-analytics:microsoft-azure-synapse-analytics-workspaces-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-synapse-analytics-workspaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2021-06-01'
  title: SynapseManagementClient Workspaces API
  description: Azure Synapse Analytics APIs
servers:
- url: https://management.azure.com
tags:
- name: Workspaces
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces:
    get:
      operationId: Workspaces_ListByResourceGroup
      description: Returns a list of workspaces in a resource group
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceInfoListResult'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Workspaces list by resource group
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}:
    get:
      operationId: Workspaces_Get
      description: Gets a workspace
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Workspaces get
      x-summary-source: derived
    patch:
      operationId: Workspaces_Update
      description: Updates a workspace
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspacePatchInfo'
        description: Workspace patch request properties
        required: true
      summary: Workspaces update
      x-summary-source: derived
    put:
      operationId: Workspaces_CreateOrUpdate
      description: Creates or updates a workspace
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Workspace'
        description: Workspace create or update request properties
        required: true
      summary: Workspaces create or update
      x-summary-source: derived
    delete:
      operationId: Workspaces_Delete
      description: Deletes a workspace
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        '202':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
        '204':
          description: ''
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      summary: Workspaces delete
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces:
    get:
      operationId: Workspaces_List
      description: Returns a list of workspaces in a subscription
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceInfoListResult'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Workspaces list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/administrators/activeDirectory
  : get:
      operationId: WorkspaceAadAdmins_Get
      description: Gets a workspace active directory admin
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Workspace aad admins get
      x-summary-source: derived
    put:
      operationId: WorkspaceAadAdmins_CreateOrUpdate
      description: Creates or updates a workspace active directory admin
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        '202':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        description: Workspace active directory administrator properties
        required: true
      summary: Workspace aad admins create or update
      x-summary-source: derived
    delete:
      operationId: WorkspaceAadAdmins_Delete
      description: Deletes a workspace active directory admin
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
        '204':
          description: Accepted
        '202':
          description: ''
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      summary: Workspace aad admins delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory
  : get:
      operationId: WorkspaceSqlAadAdmins_Get
      description: Gets a workspace SQL active directory admin
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Workspace sql aad admins get
      x-summary-source: derived
    put:
      operationId: WorkspaceSqlAadAdmins_CreateOrUpdate
      description: Creates or updates a workspace SQL active directory admin
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        '202':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceAadAdminInfo'
        description: Workspace active directory administrator properties
        required: true
      summary: Workspace sql aad admins create or update
      x-summary-source: derived
    delete:
      operationId: WorkspaceSqlAadAdmins_Delete
      description: Deletes a workspace SQL active directory admin
      tags:
      - Workspaces
      deprecated: false
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      responses:
        '200':
          description: ''
        '204':
          description: Accepted
        '202':
          description: ''
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      summary: Workspace sql aad admins delete
      x-summary-source: derived
components:
  schemas:
    DataLakeStorageAccountDetails:
      description: Details of the data lake storage account associated with the workspace
      type: object
      properties:
        accountUrl:
          description: Account URL
          type: string
          x-ms-mutability:
          - create
          - read
        filesystem:
          description: Filesystem name
          type: string
          x-ms-mutability:
          - create
          - read
        resourceId:
          description: ARM resource Id of this storage account
          type: string
        createManagedPrivateEndpoint:
          description: Create managed private endpoint to this storage account or not
          type: boolean
          x-ms-mutability:
          - create
          - read
    ManagedVirtualNetworkSettings:
      description: Managed Virtual Network Settings
      type: object
      properties:
        preventDataExfiltration:
          description: Prevent Data Exfiltration
          type: boolean
        linkedAccessCheckOnTargetResource:
          description: Linked Access Check On Target Resource
          type: boolean
          x-ms-mutability:
          - create
          - read
          - update
        allowedAadTenantIdsForLinking:
          description: Allowed Aad Tenant Ids For Linking
          type: array
          items:
            type: string
            description: Tenant Id
    WorkspaceProperties:
      description: Workspace properties
      type: object
      properties:
        defaultDataLakeStorage:
          description: Workspace default data lake storage account details
          $ref: '#/components/schemas/DataLakeStorageAccountDetails'
        sqlAdministratorLoginPassword:
          description: SQL administrator login password
          type: string
        managedResourceGroupName:
          description: Workspace managed resource group. The resource group name uniquely identifies the resource group within the user subscriptionId. The resource group name must be no longer than 90 characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'. Note that the name cannot end with '.'
          type: string
          x-ms-mutability:
          - create
          - read
        provisioningState:
          description: Resource provisioning state
          type: string
          readOnly: true
        sqlAdministratorLogin:
          description: Login for workspace SQL active directory administrator
          type: string
        virtualNetworkProfile:
          description: Virtual Network profile
          $ref: '#/components/schemas/VirtualNetworkProfile'
        connectivityEndpoints:
          description: Connectivity endpoints
          additionalProperties:
            type: string
          type: object
          readOnly: true
        managedVirtualNetwork:
          description: Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user.
          type: string
        privateEndpointConnections:
          description: Private endpoint connections to the workspace
          type: array
          items:
            $ref: '#/components/schemas/PrivateEndpointConnection'
        encryption:
          description: The encryption details of the workspace
          $ref: '#/components/schemas/EncryptionDetails'
        workspaceUID:
          description: The workspace unique identifier
          type: string
          readOnly: true
          format: uuid
        extraProperties:
          description: Workspace level configs and feature flags
          type: object
          readOnly: true
        managedVirtualNetworkSettings:
          description: Managed Virtual Network Settings
          $ref: '#/components/schemas/ManagedVirtualNetworkSettings'
        workspaceRepositoryConfiguration:
          description: Git integration settings
          $ref: '#/components/schemas/WorkspaceRepositoryConfiguration'
        purviewConfiguration:
          description: Purview Configuration
          $ref: '#/components/schemas/PurviewConfiguration'
        adlaResourceId:
          description: The ADLA resource ID.
          type: string
          readOnly: true
        publicNetworkAccess:
          enum:
          - Enabled
          - Disabled
          description: Enable or Disable public network access to workspace
          default: Enabled
          type: string
          x-ms-enum:
            name: WorkspacePublicNetworkAccess
            modelAsString: true
        cspWorkspaceAdminProperties:
          description: Initial workspace AAD admin properties for a CSP subscription
          $ref: '#/components/schemas/CspWorkspaceAdminProperties'
        settings:
          description: Workspace settings
          additionalProperties:
            type: object
          type: object
          readOnly: true
        azureADOnlyAuthentication:
          description: Enable or Disable AzureADOnlyAuthentication on All Workspace subresource
          type: boolean
          x-ms-mutability:
          - create
          - update
        trustedServiceBypassEnabled:
          description: Is trustedServiceBypassEnabled for the workspace
          type: boolean
          default: false
    WorkspaceKeyDetails:
      description: Details of the customer managed key associated with the workspace
      type: object
      properties:
        name:
          description: Workspace Key sub-resource name
          type: string
        keyVaultUrl:
          description: Workspace Key sub-resource key vault url
          type: string
    WorkspaceRepositoryConfiguration:
      description: Git integration settings
      type: object
      properties:
        type:
          description: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration
          type: string
        hostName:
          description: 'GitHub Enterprise host name. For example: `https://github.mydomain.com`'
          type: string
        accountName:
          description: Account name
          type: string
        projectName:
          description: VSTS project name
          type: string
        repositoryName:
          description: Repository name
          type: string
        collaborationBranch:
          description: Collaboration branch
          type: string
        rootFolder:
          description: Root folder to use in the repository
          type: string
        lastCommitId:
          description: The last commit ID
          type: string
        tenantId:
          description: The VSTS tenant ID
          type: string
          format: uuid
    AadAdminProperties:
      description: Workspace active directory administrator properties
      type: object
      properties:
        tenantId:
          description: Tenant ID of the workspace active directory administrator
          type: string
          x-ms-mutability:
          - create
          - read
        login:
          description: Login of the workspace active directory administrator
          type: string
        administratorType:
          description: Workspace active directory administrator type
          type: string
          x-ms-mutability:
          - create
          - read
        sid:
          description: Object ID of the workspace active directory administrator
          type: string
          x-ms-mutability:
          - create
          - read
    ErrorResponse:
      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.).
      type: object
      properties:
        error:
          description: The error object.
          $ref: '#/components/schemas/ErrorDetail'
    PrivateEndpointConnection:
      description: A private endpoint connection
      type: object
      allOf:
      - $ref: '#/components/schemas/TypesProxyResource'
      properties:
        properties:
          $ref: '#/components/schemas/PrivateEndpointConnectionProperties'
          description: Private endpoint connection properties.
          x-ms-client-flatten: true
    PurviewConfiguration:
      description: Purview Configuration
      type: object
      properties:
        purviewResourceId:
          description: Purview Resource ID
          type: string
    WorkspaceInfoListResult:
      description: List of workspaces
      type: object
      properties:
        nextLink:
          description: Link to the next page of results
          type: string
        value:
          description: List of workspaces
          type: array
          items:
            $ref: '#/components/schemas/Workspace'
    VirtualNetworkProfile:
      description: Virtual Network Profile
      type: object
      properties:
        computeSubnetId:
          description: Subnet ID used for computes in workspace
          type: string
    TypesProxyResource:
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
    TrackedResource:
      title: Tracked Resource
      description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
          description: Resource tags.
        location:
          type: string
          x-ms-mutability:
          - read
          - create
          description: The geo-location where the resource lives
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    WorkspaceAadAdminInfo:
      description: Workspace active directory administrator
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        properties:
          description: Workspace active directory administrator properties
          $ref: '#/components/schemas/AadAdminProperties'
          x-ms-client-flatten: true
    UserAssignedManagedIdentities:
      type: object
      description: The User Assigned Managed Identities.
      additionalProperties:
        $ref: '#/components/schemas/UserAssignedManagedIdentity'
    Workspace:
      description: A workspace
      type: object
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
      properties:
        properties:
          description: Workspace resource properties
          $ref: '#/components/schemas/WorkspaceProperties'
          x-ms-client-flatten: true
        identity:
          description: Identity of the workspace
          $ref: '#/components/schemas/ManagedIdentity'
    KekIdentityProperties:
      description: Key encryption key properties
      type: object
      properties:
        userAssignedIdentity:
          description: User assigned identity resource Id
          type: string
        useSystemAssignedIdentity:
          description: Boolean specifying whether to use system assigned identity or not
    ManagedIdentity:
      description: The workspace managed identity
      type: object
      properties:
        principalId:
          description: The principal ID of the workspace managed identity
          type: string
          readOnly: true
        tenantId:
          description: The tenant ID of the workspace managed identity
          type: string
          format: uuid
          readOnly: true
        type:
          description: The type of managed identity for the workspace
          enum:
          - None
          - SystemAssigned
          - SystemAssigned,UserAssigned
          type: string
          x-ms-enum:
            name: ResourceIdentityType
            modelAsString: false
        userAssignedIdentities:
          description: The user assigned managed identities.
          $ref: '#/components/schemas/UserAssignedManagedIdentities'
    EncryptionDetails:
      description: Details of the encryption associated with the workspace
      type: object
      properties:
        doubleEncryptionEnabled:
          description: Double Encryption enabled
          type: boolean
          readOnly: true
        cmk:
          description: Customer Managed Key Details
          $ref: '#/components/schemas/CustomerManagedKeyDetails'
    UserAssignedManagedIdentity:
      description: User Assigned Managed Identity
      properties:
        clientId:
          type:
          - string
          - 'null'
          format: uuid
          description: The client ID.
          readOnly: true
        principalId:
          type:
          - string
          - 'null'
          format: uuid
          description: The principal ID.
          readOnly: true
      type: object
    CspWorkspaceAdminProperties:
      type: object
      description: Initial workspace AAD admin properties for a CSP subscription
      properties:
        initialWorkspaceAdminObjectId:
          description: AAD object ID of initial workspace admin
          type: string
          x-ms-mutability:
          - create
          - read
    WorkspacePatchProperties:
      description: Workspace patch properties
      type: object
      properties:
        sqlAdministratorLoginPassword:
          description: SQL administrator login password
          type: string
        managedVirtualNetworkSettings:
          description: Managed Virtual Network Settings
          $ref: '#/components/schemas/ManagedVirtualNetworkSettings'
        workspaceRepositoryConfiguration:
          description: Git integration settings
          $ref: '#/components/schemas/WorkspaceRepositoryConfiguration'
        purviewConfiguration:
          description: Purview Configuration
          $ref: '#/components/schemas/PurviewConfiguration'
        provisioningState:
          description: Resource provisioning state
          type: string
          readOnly: true
        encryption:
          description: The encryption details of the workspace
          $ref: '#/components/schemas/EncryptionDetails'
        publicNetworkAccess:
          enum:
          - Enabled
          - Disabled
          description: Enable or Disable public network access to workspace
          type: string
          x-ms-enum:
            name: WorkspacePublicNetworkAccess
            modelAsString: true
    ProxyResource:
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
    CustomerManagedKeyDetails:
      description: Details of the customer managed key associated with the workspace
      type: object
      properties:
        status:
          description: The customer managed key status on the workspace
          type: string
          readOnly: true
        key:
          description: The key object of the workspace
          $ref: '#/components/schemas/WorkspaceKeyDetails'
        kekIdentity:
          description: Key encryption key
          $ref: '#/components/schemas/KekIdentityProperties'
    WorkspacePatchInfo:
      description: Workspace patch details
      type: object
      properties:
        tags:
          description: Resource tags
          additionalProperties:
            type: string
          type: object
        identity:
          description: The identity of the workspace
          $ref: '#/components/schemas/ManagedIdentity'
        properties:
          description: Workspace patch properties
          $ref: '#/components/schemas/WorkspacePatchProperties'
          x-ms-client-flatten: true
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group. The name is case insensitive.
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    WorkspaceNameParameter:
      name: workspaceName
      in: path
      description: The name of the workspace.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The ID of the target subscription.
      schema:
        type: string
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to use for this operation.
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow