Workspaces - List
傳回訂用帳戶中的工作區清單
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces?api-version=2021-06-01
URI 參數
| 名稱 | 位於 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
subscription
|
path | True |
string minLength: 1 |
目標訂用帳戶的標識碼。 |
|
api-version
|
query | True |
string minLength: 1 |
要用於這項作業的 API 版本。 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK | ||
| Other Status Codes |
範例
List workspaces in subscription
範例要求
範例回覆
{
"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"
}
}
]
}
定義
| 名稱 | Description |
|---|---|
|
Csp |
CSP 訂用帳戶的初始工作區 AAD 管理員屬性 |
|
Customer |
與工作區相關聯的客戶管理金鑰詳細數據 |
|
Data |
與工作區相關聯的 Data Lake Storage 帳戶詳細數據 |
|
Encryption |
與工作區相關聯的加密詳細數據 |
|
Error |
資源管理錯誤其他資訊。 |
|
Error |
錯誤詳細數據。 |
|
Error |
錯誤回應 |
|
Kek |
金鑰加密金鑰屬性 |
|
Managed |
工作區受控識別 |
|
Managed |
受控虛擬網路設定 |
|
Private |
私人端點詳細數據 |
|
Private |
私人端點連線 |
|
Private |
私人端點的連線狀態詳細數據 |
|
Purview |
Purview 組態 |
|
Resource |
工作區的受控識別類型 |
|
User |
使用者指派的受控識別 |
|
Virtual |
虛擬網路配置檔 |
| Workspace |
工作區 |
|
Workspace |
工作區清單 |
|
Workspace |
與工作區相關聯的客戶管理金鑰詳細數據 |
|
Workspace |
啟用或停用工作區的公用網路存取 |
|
Workspace |
Git 整合設定 |
CspWorkspaceAdminProperties
CSP 訂用帳戶的初始工作區 AAD 管理員屬性
| 名稱 | 類型 | Description |
|---|---|---|
| initialWorkspaceAdminObjectId |
string |
初始工作區管理員的 AAD 物件識別碼 |
CustomerManagedKeyDetails
與工作區相關聯的客戶管理金鑰詳細數據
| 名稱 | 類型 | Description |
|---|---|---|
| kekIdentity |
金鑰加密金鑰 |
|
| key |
工作區的索引鍵物件 |
|
| status |
string |
工作區上的客戶管理金鑰狀態 |
DataLakeStorageAccountDetails
與工作區相關聯的 Data Lake Storage 帳戶詳細數據
| 名稱 | 類型 | Description |
|---|---|---|
| accountUrl |
string |
帳戶 URL |
| createManagedPrivateEndpoint |
boolean |
建立此記憶體帳戶的受控私人端點 |
| filesystem |
string |
檔案系統名稱 |
| resourceId |
string |
此記憶體帳戶的 ARM 資源識別碼 |
EncryptionDetails
與工作區相關聯的加密詳細數據
| 名稱 | 類型 | Description |
|---|---|---|
| cmk |
客戶管理的金鑰詳細數據 |
|
| doubleEncryptionEnabled |
boolean |
已啟用雙重加密 |
ErrorAdditionalInfo
資源管理錯誤其他資訊。
| 名稱 | 類型 | Description |
|---|---|---|
| info |
object |
其他資訊。 |
| type |
string |
其他信息類型。 |
ErrorDetail
錯誤詳細數據。
| 名稱 | 類型 | Description |
|---|---|---|
| additionalInfo |
錯誤其他資訊。 |
|
| code |
string |
錯誤碼。 |
| details |
錯誤詳細數據。 |
|
| message |
string |
錯誤訊息。 |
| target |
string |
錯誤目標。 |
ErrorResponse
錯誤回應
| 名稱 | 類型 | Description |
|---|---|---|
| error |
error 物件。 |
KekIdentityProperties
金鑰加密金鑰屬性
| 名稱 | 類型 | Description |
|---|---|---|
| useSystemAssignedIdentity |
布爾值,指定是否要使用系統指派的身分識別 |
|
| userAssignedIdentity |
string |
使用者指派的身分識別資源標識碼 |
ManagedIdentity
工作區受控識別
| 名稱 | 類型 | Description |
|---|---|---|
| principalId |
string |
工作區受控識別的主要標識碼 |
| tenantId |
string (uuid) |
工作區受控識別的租用戶標識碼 |
| type |
工作區的受控識別類型 |
|
| userAssignedIdentities |
<string,
User |
使用者指派的受控識別。 |
ManagedVirtualNetworkSettings
受控虛擬網路設定
| 名稱 | 類型 | Description |
|---|---|---|
| allowedAadTenantIdsForLinking |
string[] |
允許連結的 Aad 租使用者識別碼 |
| linkedAccessCheckOnTargetResource |
boolean |
目標資源的連結存取檢查 |
| preventDataExfiltration |
boolean |
防止數據外流 |
PrivateEndpoint
私人端點詳細數據
| 名稱 | 類型 | Description |
|---|---|---|
| id |
string |
私人端點的資源標識碼。 |
PrivateEndpointConnection
私人端點連線
| 名稱 | 類型 | Description |
|---|---|---|
| id |
string |
資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name |
string |
資源的名稱 |
| properties.privateEndpoint |
線上所屬的私人端點。 |
|
| properties.privateLinkServiceConnectionState |
私人端點連線的連接狀態。 |
|
| properties.provisioningState |
string |
布建私人端點連線的狀態。 |
| type |
string |
資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” |
PrivateLinkServiceConnectionState
私人端點的連線狀態詳細數據
| 名稱 | 類型 | Description |
|---|---|---|
| actionsRequired |
string |
私人鏈接服務連線所需的動作。 |
| description |
string |
私人鏈接服務連線描述。 |
| status |
string |
私人鏈接服務連線狀態。 |
PurviewConfiguration
Purview 組態
| 名稱 | 類型 | Description |
|---|---|---|
| purviewResourceId |
string |
Purview 資源標識碼 |
ResourceIdentityType
工作區的受控識別類型
| 值 | Description |
|---|---|
| None | |
| SystemAssigned | |
| SystemAssigned,UserAssigned |
UserAssignedManagedIdentity
使用者指派的受控識別
| 名稱 | 類型 | Description |
|---|---|---|
| clientId |
string (uuid) |
用戶端識別碼。 |
| principalId |
string (uuid) |
主體標識碼。 |
VirtualNetworkProfile
虛擬網路配置檔
| 名稱 | 類型 | Description |
|---|---|---|
| computeSubnetId |
string |
工作區中用於計算的子網標識碼 |
Workspace
工作區
| 名稱 | 類型 | 預設值 | Description |
|---|---|---|---|
| id |
string |
資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
| identity |
工作區的身分識別 |
||
| location |
string |
資源所在的地理位置 |
|
| name |
string |
資源的名稱 |
|
| properties.adlaResourceId |
string |
ADLA 資源標識碼。 |
|
| properties.azureADOnlyAuthentication |
boolean |
在所有工作區子資源上啟用或停用 AzureADOnlyAuthentication |
|
| properties.connectivityEndpoints |
object |
線上端點 |
|
| properties.cspWorkspaceAdminProperties |
CSP 訂用帳戶的初始工作區 AAD 管理員屬性 |
||
| properties.defaultDataLakeStorage |
工作區預設 Data Lake 記憶體帳戶詳細數據 |
||
| properties.encryption |
工作區的加密詳細數據 |
||
| properties.extraProperties |
object |
工作區層級設定和功能旗標 |
|
| properties.managedResourceGroupName |
string |
工作區受控資源群組。 資源組名會唯一識別使用者 subscriptionId 內的資源群組。 資源組名長度不得超過 90 個字元,而且必須是英數位元 (Char.IsLetterOrDigit()) 和 '-'、'_'、'('、')' 和'。'。 請注意,名稱不能以 『.』 結尾。 |
|
| properties.managedVirtualNetwork |
string |
將此設定為 『default』 可確保此工作區的所有計算都代表使用者管理虛擬網路中。 |
|
| properties.managedVirtualNetworkSettings |
受控虛擬網路設定 |
||
| properties.privateEndpointConnections |
工作區的私人端點連線 |
||
| properties.provisioningState |
string |
資源布建狀態 |
|
| properties.publicNetworkAccess | Enabled |
啟用或停用工作區的公用網路存取 |
|
| properties.purviewConfiguration |
Purview 組態 |
||
| properties.settings |
object |
工作區設定 |
|
| properties.sqlAdministratorLogin |
string |
工作區 SQL Active Directory 系統管理員的登入 |
|
| properties.sqlAdministratorLoginPassword |
string |
SQL 系統管理員登入密碼 |
|
| properties.trustedServiceBypassEnabled |
boolean |
False |
是工作區的 trustedServiceBypassEnabled |
| properties.virtualNetworkProfile |
虛擬網路配置檔 |
||
| properties.workspaceRepositoryConfiguration |
Git 整合設定 |
||
| properties.workspaceUID |
string (uuid) |
工作區唯一標識碼 |
|
| tags |
object |
資源標籤。 |
|
| type |
string |
資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” |
WorkspaceInfoListResult
工作區清單
| 名稱 | 類型 | Description |
|---|---|---|
| nextLink |
string |
連結到結果的下一頁 |
| value |
工作區清單 |
WorkspaceKeyDetails
與工作區相關聯的客戶管理金鑰詳細數據
| 名稱 | 類型 | Description |
|---|---|---|
| keyVaultUrl |
string |
工作區金鑰子資源金鑰保存庫 URL |
| name |
string |
工作區金鑰子資源名稱 |
WorkspacePublicNetworkAccess
啟用或停用工作區的公用網路存取
| 值 | Description |
|---|---|
| Enabled | |
| Disabled |
WorkspaceRepositoryConfiguration
Git 整合設定
| 名稱 | 類型 | Description |
|---|---|---|
| accountName |
string |
帳戶名稱 |
| collaborationBranch |
string |
共同作業分支 |
| hostName |
string |
GitHub Enterprise 主機名。 例如: |
| lastCommitId |
string |
最後一個認可標識碼 |
| projectName |
string |
VSTS 項目名稱 |
| repositoryName |
string |
存放庫名稱 |
| rootFolder |
string |
存放庫中要使用的根資料夾 |
| tenantId |
string (uuid) |
VSTS 租使用者標識碼 |
| type |
string |
工作區存放庫標識碼組態的類型。 範例 WorkspaceVSTSConfiguration、WorkspaceGitHubConfiguration |