Microsoft Azure Synapse Management Client

Microsoft Azure Synapse Management Client is a powerful tool that allows users to easily manage and monitor their data workloads in Azure Synapse Analytics. With this tool, users can perform tasks such as creating and monitoring Apache Spark pools, viewing and analyzing query performance metrics, managing data integrations, and configuring access controls.

OpenAPI Specification

synapsemanagementclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  version: 2021-04-01-preview
  title: Microsoft Azure SynapseManagementClient
  description: Azure Synapse Analytics APIs
host: management.azure.com
schemes:
  - https
securityDefinitions:
  azure_auth:
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    flow: implicit
    type: oauth2
    scopes:
      user_impersonation: impersonate your user account
    description: Azure Active Directory OAuth2 Flow
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces:
    get:
      operationId: microsoftAzureWorkspacesListbyresourcegroup
      description: Returns a list of workspaces in a resource group
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          schema:
            $ref: '#/definitions/WorkspaceInfoListResult'
          description: ''
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        List workspaces in resource group:
          $ref: ./examples/ListWorkspacesInResourceGroup.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}:
    get:
      operationId: microsoftAzureWorkspacesGet
      description: Gets a workspace
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          schema:
            $ref: '#/definitions/Workspace'
          description: ''
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-examples:
        Get a workspace:
          $ref: ./examples/GetWorkspace.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename
    patch:
      operationId: microsoftAzureWorkspacesUpdate
      description: Updates a workspace
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
        - schema:
            $ref: '#/definitions/WorkspacePatchInfo'
          in: body
          name: workspacePatchInfo
          required: true
          description: Workspace patch request properties
      responses:
        '200':
          schema:
            $ref: '#/definitions/Workspace'
          description: ''
        '201':
          schema:
            $ref: '#/definitions/Workspace'
          description: ''
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes:
        - application/json
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Update a workspace:
          $ref: ./examples/UpdateWorkspace.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename
    put:
      operationId: microsoftAzureWorkspacesCreateorupdate
      description: Creates or updates a workspace
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
        - description: Workspace create or update request properties
          schema:
            $ref: '#/definitions/Workspace'
          in: body
          name: workspaceInfo
          required: true
      responses:
        '200':
          schema:
            $ref: '#/definitions/Workspace'
          description: ''
        '201':
          schema:
            $ref: '#/definitions/Workspace'
          description: ''
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes:
        - application/json
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Create or update a workspace:
          $ref: ./examples/CreateOrUpdateWorkspace.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename
    delete:
      operationId: microsoftAzureWorkspacesDelete
      description: Deletes a workspace
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          schema:
            type: object
          description: OK
        '202':
          schema:
            type: object
          description: ''
        '204':
          description: ''
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Delete a workspace:
          $ref: ./examples/DeleteWorkspace.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename
  /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces:
    get:
      operationId: microsoftAzureWorkspacesList
      description: Returns a list of workspaces in a subscription
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          schema:
            $ref: '#/definitions/WorkspaceInfoListResult'
          description: ''
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        List workspaces in subscription:
          $ref: ./examples/ListWorkspacesInSubscription.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Synapse Workspaces
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/administrators/activeDirectory
  : get:
      operationId: microsoftAzureWorkspaceaadadminsGet
      description: Gets a workspace active directory admin
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
          description: OK
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-examples:
        Get workspace active directory admin:
          $ref: ./examples/GetWorkspaceAadAdmin.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Administrators Activedirectory
    put:
      operationId: microsoftAzureWorkspaceaadadminsCreateorupdate
      description: Creates or updates a workspace active directory admin
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
        - description: Workspace active directory administrator properties
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
          in: body
          name: aadAdminInfo
          required: true
      responses:
        '200':
          description: ''
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
        '202':
          description: ''
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes:
        - application/json
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Create or update workspace active directory admin:
          $ref: ./examples/CreateOrUpdateWorkspaceAadAdmin.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Administrators Activedirectory
    delete:
      operationId: microsoftAzureWorkspaceaadadminsDelete
      description: Deletes a workspace active directory admin
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          description: ''
        '202':
          description: ''
        '204':
          description: Accepted
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Delete workspace active directory admin:
          $ref: ./examples/DeleteWorkspaceAadAdmin.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Administrators Activedirectory
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory
  : get:
      operationId: microsoftAzureWorkspacesqlaadadminsGet
      description: Gets a workspace SQL active directory admin
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
          description: OK
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-examples:
        Get workspace active directory admin:
          $ref: ./examples/GetWorkspaceAadAdmin.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Sqladministrators Activedirectory
    put:
      operationId: microsoftAzureWorkspacesqlaadadminsCreateorupdate
      description: Creates or updates a workspace SQL active directory admin
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
        - description: Workspace active directory administrator properties
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
          in: body
          name: aadAdminInfo
          required: true
      responses:
        '200':
          description: ''
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
        '202':
          description: ''
          schema:
            $ref: '#/definitions/WorkspaceAadAdminInfo'
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes:
        - application/json
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Create or update workspace active directory admin:
          $ref: ./examples/CreateOrUpdateWorkspaceAadAdmin.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Sqladministrators Activedirectory
    delete:
      operationId: microsoftAzureWorkspacesqlaadadminsDelete
      description: Deletes a workspace SQL active directory admin
      tags:
        - Workspaces
      deprecated: false
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          description: ''
        '202':
          description: ''
        '204':
          description: Accepted
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: ''
      consumes: []
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Delete workspace active directory admin:
          $ref: ./examples/DeleteWorkspaceAadAdmin.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Sqladministrators Activedirectory
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/managedIdentitySqlControlSettings/default
  : get:
      operationId: microsoftAzureWorkspacemanagedidentitysqlcontrolsettingsGet
      summary: Microsoft Azure Get Managed Identity Sql Control Settings
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      responses:
        '200':
          schema:
            $ref: '#/definitions/ManagedIdentitySqlControlSettingsModel'
          description: OK
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: Error
      produces:
        - application/json
      x-ms-examples:
        Get managed identity sql control settings:
          $ref: ./examples/GetManagedIdentitySqlControlSettings.json
      description: Needs a more full description created.
      tags:
        - Subscriptions
    put:
      operationId: microsoftAzureWorkspacemanagedidentitysqlcontrolsettingsCreateorupdate
      summary: Microsoft Azure Create Or Update Managed Identity Sql Control Settings
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: ./workspace.json#/parameters/workspaceNameParameter
        - description: Managed Identity Sql Control Settings
          schema:
            $ref: '#/definitions/ManagedIdentitySqlControlSettingsModel'
          in: body
          name: managedIdentitySqlControlSettings
          required: true
      responses:
        '200':
          schema:
            $ref: '#/definitions/ManagedIdentitySqlControlSettingsModel'
          description: OK
        '201':
          description: Created
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: Error
      produces:
        - application/json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Create or update managed identity sql control settings:
          $ref: ./examples/CreateOrUpdateManagedIdentitySqlControlSettings.json
      description: Needs a more full description created.
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlPools/{restorableDroppedSqlPoolId}
  : get:
      tags:
        - RestorableDroppedSqlPools
      operationId: microsoftAzureRestorabledroppedsqlpoolsGet
      description: Gets a deleted sql pool that can be restored
      x-ms-examples:
        Get a restorable dropped Sql pool:
          $ref: ./examples/RestorableDroppedSqlPoolGet.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
        - name: restorableDroppedSqlPoolId
          in: path
          required: true
          type: string
          description: >-
            The id of the deleted Sql Pool in the form of
            sqlPoolName,deletionTimeInFileTimeFormat
      consumes: []
      produces:
        - application/json
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RestorableDroppedSqlPool'
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: Error
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Restorabledroppedsqlpools Restorabledroppedsqlpoolid
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlPools
  : get:
      tags:
        - RestorableDroppedSqlPools
      operationId: microsoftAzureRestorabledroppedsqlpoolsListbyworkspace
      description: Gets a list of deleted Sql pools that can be restored
      x-ms-examples:
        Get list of restorable dropped Sql pools:
          $ref: ./examples/RestorableDroppedSqlpoolList.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/workspaceNameParameter'
      consumes: []
      produces:
        - application/json
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RestorableDroppedSqlPoolListResult'
        default:
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
          description: Error
      x-ms-pageable:
        nextLinkName:
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Synapse Workspaces Workspacename Restorabledroppedsqlpools
definitions:
  AadAdminProperties:
    description: Workspace active directory administrator properties
    type: object
    properties:
      tenantId:
        description: Tenant ID of the workspace active directory administrator
        type: string
      login:
        description: Login of the workspace active directory administrator
        type: string
      administratorType:
        description: Workspace active directory administrator type
        type: string
      sid:
        description: Object ID of the workspace active directory administrator
        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: '#/definitions/Workspace'
  DataLakeStorageAccountDetails:
    description: Details of the data lake storage account associated with the workspace
    type: object
    properties:
      accountUrl:
        description: Account URL
        type: string
      filesystem:
        description: Filesystem name
        type: string
  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: '#/definitions/CustomerManagedKeyDetails'
  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: '#/definitions/WorkspaceKeyDetails'
  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
  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
        type: string
        x-ms-enum:
          name: ResourceIdentityType
          modelAsString: false
  VirtualNetworkProfile:
    description: Virtual Network Profile
    type: object
    properties:
      computeSubnetId:
        description: Subnet ID used for computes in workspace
        type: string
  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
      allowedAadTenantIdsForLinking:
        description: Allowed Aad Tenant Ids For Linking
        type: array
        items:
          type: string
          description: Tenant Id
  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
  PurviewConfiguration:
    description: Purview Configuration
    type: object
    properties:
      purviewResourceId:
        description: Purview Resource ID
        type: string
  WorkspaceAadAdminInfo:
    description: Workspace active directory administrator
    type: object
    x-ms-azure-resource: true
    allOf:
      - $ref: >-
          ../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource
    properties:
      properties:
        description: Workspace active directory administrator properties
        $ref: '#/definitions/AadAdminProperties'
        x-ms-client-flatten: true
  Workspace:
    description: A workspace
    type: object
    allOf:
      - $ref: >-
          ../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource
    properties:
      properties:
        description: Workspace resource properties
        $ref: '#/definitions/WorkspaceProperties'
        x-ms-client-flatten: true
      identity:
        description: Identity of the workspace
        $ref: '#/definitions/ManagedIdentity'
  WorkspaceProperties:
    description: Workspace properties
    type: object
    properties:
      defaultDataLakeStorage:
        description: Workspace default data lake storage account details
        $ref: '#/definitions/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
      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: '#/definitions/VirtualNetworkProfile'
      connectivityEndpoints:
        description: Connectivity endpoints
        additionalProperties:
          type: string
        type: object
      managedVirtualNetwork:
        description: >-
          Setting this to 'default' will ensure that all compute for this
          workspace is in a virtual network mana

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/synapsemanagementclient-openapi-original.yml