Workspaces - List
Returns a list of workspaces in a subscription
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces?api-version=2021-06-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK | ||
| Other Status Codes |
Examples
List workspaces in subscription
Sample request
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1",
"name": "workspace1",
"type": "Microsoft.Synapse/workspaces",
"location": "East US",
"properties": {
"defaultDataLakeStorage": {
"accountUrl": "https://accountname.dfs.core.windows.net",
"filesystem": "default"
},
"connectivityEndpoints": {
"dev": "workspace1.dev.projectarcadia.net",
"sql": "workspace1.sql.projectarcadia.net"
},
"sqlAdministratorLogin": "login",
"managedResourceGroupName": "resourceGroup2",
"provisioningState": "Succeeded",
"workspaceUID": "00000000-1111-2222-3333-444444444444"
},
"tags": {
"key": "value"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace2",
"name": "workspace2",
"type": "Microsoft.Synapse/workspaces",
"location": "East US",
"properties": {
"defaultDataLakeStorage": {
"accountUrl": "https://accountname.dfs.core.windows.net",
"filesystem": "default"
},
"connectivityEndpoints": {
"dev": "workspace2.dev.projectarcadia.net",
"sql": "workspace2.sql.projectarcadia.net"
},
"sqlAdministratorLogin": "login",
"managedResourceGroupName": "resourceGroup2",
"provisioningState": "Succeeded",
"workspaceUID": "00000000-1111-2222-3333-444444444444"
},
"tags": {
"key": "value"
}
}
]
}
Definitions
| Name | Description |
|---|---|
|
Csp |
Initial workspace AAD admin properties for a CSP subscription |
|
Customer |
Details of the customer managed key associated with the workspace |
|
Data |
Details of the data lake storage account associated with the workspace |
|
Encryption |
Details of the encryption associated with the workspace |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Kek |
Key encryption key properties |
|
Managed |
The workspace managed identity |
|
Managed |
Managed Virtual Network Settings |
|
Private |
Private endpoint details |
|
Private |
A private endpoint connection |
|
Private |
Connection state details of the private endpoint |
|
Purview |
Purview Configuration |
|
Resource |
The type of managed identity for the workspace |
|
User |
User Assigned Managed Identity |
|
Virtual |
Virtual Network Profile |
| Workspace |
A workspace |
|
Workspace |
List of workspaces |
|
Workspace |
Details of the customer managed key associated with the workspace |
|
Workspace |
Enable or Disable public network access to workspace |
|
Workspace |
Git integration settings |
CspWorkspaceAdminProperties
Initial workspace AAD admin properties for a CSP subscription
| Name | Type | Description |
|---|---|---|
| initialWorkspaceAdminObjectId |
string |
AAD object ID of initial workspace admin |
CustomerManagedKeyDetails
Details of the customer managed key associated with the workspace
| Name | Type | Description |
|---|---|---|
| kekIdentity |
Key encryption key |
|
| key |
The key object of the workspace |
|
| status |
string |
The customer managed key status on the workspace |
DataLakeStorageAccountDetails
Details of the data lake storage account associated with the workspace
| Name | Type | Description |
|---|---|---|
| accountUrl |
string |
Account URL |
| createManagedPrivateEndpoint |
boolean |
Create managed private endpoint to this storage account or not |
| filesystem |
string |
Filesystem name |
| resourceId |
string |
ARM resource Id of this storage account |
EncryptionDetails
Details of the encryption associated with the workspace
| Name | Type | Description |
|---|---|---|
| cmk |
Customer Managed Key Details |
|
| doubleEncryptionEnabled |
boolean |
Double Encryption enabled |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
KekIdentityProperties
Key encryption key properties
| Name | Type | Description |
|---|---|---|
| useSystemAssignedIdentity |
|
Boolean specifying whether to use system assigned identity or not |
| userAssignedIdentity |
string |
User assigned identity resource Id |
ManagedIdentity
The workspace managed identity
| Name | Type | Description |
|---|---|---|
| principalId |
string |
The principal ID of the workspace managed identity |
| tenantId |
string (uuid) |
The tenant ID of the workspace managed identity |
| type |
The type of managed identity for the workspace |
|
| userAssignedIdentities |
<string,
User |
The user assigned managed identities. |
ManagedVirtualNetworkSettings
Managed Virtual Network Settings
| Name | Type | Description |
|---|---|---|
| allowedAadTenantIdsForLinking |
string[] |
Allowed Aad Tenant Ids For Linking |
| linkedAccessCheckOnTargetResource |
boolean |
Linked Access Check On Target Resource |
| preventDataExfiltration |
boolean |
Prevent Data Exfiltration |
PrivateEndpoint
Private endpoint details
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource id of the private endpoint. |
PrivateEndpointConnection
A private endpoint connection
| Name | Type | Description |
|---|---|---|
| id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name |
string |
The name of the resource |
| properties.privateEndpoint |
The private endpoint which the connection belongs to. |
|
| properties.privateLinkServiceConnectionState |
Connection state of the private endpoint connection. |
|
| properties.provisioningState |
string |
Provisioning state of the private endpoint connection. |
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
PrivateLinkServiceConnectionState
Connection state details of the private endpoint
| Name | Type | Description |
|---|---|---|
| actionsRequired |
string |
The actions required for private link service connection. |
| description |
string |
The private link service connection description. |
| status |
string |
The private link service connection status. |
PurviewConfiguration
Purview Configuration
| Name | Type | Description |
|---|---|---|
| purviewResourceId |
string |
Purview Resource ID |
ResourceIdentityType
The type of managed identity for the workspace
| Value | Description |
|---|---|
| None | |
| SystemAssigned | |
| SystemAssigned,UserAssigned |
UserAssignedManagedIdentity
User Assigned Managed Identity
| Name | Type | Description |
|---|---|---|
| clientId |
string (uuid) |
The client ID. |
| principalId |
string (uuid) |
The principal ID. |
VirtualNetworkProfile
Virtual Network Profile
| Name | Type | Description |
|---|---|---|
| computeSubnetId |
string |
Subnet ID used for computes in workspace |
Workspace
A workspace
| Name | Type | Default value | Description |
|---|---|---|---|
| id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
| identity |
Identity of the workspace |
||
| location |
string |
The geo-location where the resource lives |
|
| name |
string |
The name of the resource |
|
| properties.adlaResourceId |
string |
The ADLA resource ID. |
|
| properties.azureADOnlyAuthentication |
boolean |
Enable or Disable AzureADOnlyAuthentication on All Workspace subresource |
|
| properties.connectivityEndpoints |
object |
Connectivity endpoints |
|
| properties.cspWorkspaceAdminProperties |
Initial workspace AAD admin properties for a CSP subscription |
||
| properties.defaultDataLakeStorage |
Workspace default data lake storage account details |
||
| properties.encryption |
The encryption details of the workspace |
||
| properties.extraProperties |
object |
Workspace level configs and feature flags |
|
| properties.managedResourceGroupName |
string |
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 '.' |
|
| properties.managedVirtualNetwork |
string |
Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user. |
|
| properties.managedVirtualNetworkSettings |
Managed Virtual Network Settings |
||
| properties.privateEndpointConnections |
Private endpoint connections to the workspace |
||
| properties.provisioningState |
string |
Resource provisioning state |
|
| properties.publicNetworkAccess | Enabled |
Enable or Disable public network access to workspace |
|
| properties.purviewConfiguration |
Purview Configuration |
||
| properties.settings |
object |
Workspace settings |
|
| properties.sqlAdministratorLogin |
string |
Login for workspace SQL active directory administrator |
|
| properties.sqlAdministratorLoginPassword |
string |
SQL administrator login password |
|
| properties.trustedServiceBypassEnabled |
boolean |
False |
Is trustedServiceBypassEnabled for the workspace |
| properties.virtualNetworkProfile |
Virtual Network profile |
||
| properties.workspaceRepositoryConfiguration |
Git integration settings |
||
| properties.workspaceUID |
string (uuid) |
The workspace unique identifier |
|
| tags |
object |
Resource tags. |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
WorkspaceInfoListResult
List of workspaces
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
Link to the next page of results |
| value |
List of workspaces |
WorkspaceKeyDetails
Details of the customer managed key associated with the workspace
| Name | Type | Description |
|---|---|---|
| keyVaultUrl |
string |
Workspace Key sub-resource key vault url |
| name |
string |
Workspace Key sub-resource name |
WorkspacePublicNetworkAccess
Enable or Disable public network access to workspace
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
WorkspaceRepositoryConfiguration
Git integration settings
| Name | Type | Description |
|---|---|---|
| accountName |
string |
Account name |
| collaborationBranch |
string |
Collaboration branch |
| hostName |
string |
GitHub Enterprise host name. For example: |
| lastCommitId |
string |
The last commit ID |
| projectName |
string |
VSTS project name |
| repositoryName |
string |
Repository name |
| rootFolder |
string |
Root folder to use in the repository |
| tenantId |
string (uuid) |
The VSTS tenant ID |
| type |
string |
Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration |