Workspace Connections - List
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections?api-version=2023-10-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections?target={target}&category={category}&api-version=2023-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
workspace
|
path | True |
string |
Name of Azure Machine Learning workspace. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
category
|
query |
string |
Category of the workspace connection. |
|
target
|
query |
string |
Target of the workspace connection. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Workspace |
The request was successful; the request was well-formed and received properly. |
Other Status Codes |
Error |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
ListWorkspaceConnections
Sample Request
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections?target=www.facebook.com&category=ContainerRegistry&api-version=2023-10-01
Sample Response
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1",
"name": "connection-1",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2",
"name": "connection-2",
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"properties": {
"category": "ContainerRegistry",
"target": "www.facebook.com",
"authType": "PAT"
}
}
]
}
Definitions
Name | Description |
---|---|
Connection |
Authentication type of the connection target |
Connection |
Category of the connection |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Managed |
|
None |
|
PATAuth |
|
SASAuth |
|
system |
Metadata pertaining to creation and last modification of the resource. |
Username |
|
Value |
format for the workspace connection value |
Workspace |
|
Workspace |
|
Workspace |
|
Workspace |
|
Workspace |
|
Workspace |
ConnectionAuthType
Authentication type of the connection target
Name | Type | Description |
---|---|---|
ManagedIdentity |
string |
|
None |
string |
|
PAT |
string |
|
SAS |
string |
|
UsernamePassword |
string |
ConnectionCategory
Category of the connection
Name | Type | Description |
---|---|---|
ContainerRegistry |
string |
|
Git |
string |
|
PythonFeed |
string |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
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. |
ManagedIdentityAuthTypeWorkspaceConnectionProperties
Name | Type | Description |
---|---|---|
authType |
string:
Managed |
Authentication type of the connection target |
category |
Category of the connection |
|
credentials | ||
target |
string |
|
value |
string |
Value details of the workspace connection. |
valueFormat |
format for the workspace connection value |
NoneAuthTypeWorkspaceConnectionProperties
Name | Type | Description |
---|---|---|
authType |
string:
None |
Authentication type of the connection target |
category |
Category of the connection |
|
target |
string |
|
value |
string |
Value details of the workspace connection. |
valueFormat |
format for the workspace connection value |
PATAuthTypeWorkspaceConnectionProperties
Name | Type | Description |
---|---|---|
authType |
string:
PAT |
Authentication type of the connection target |
category |
Category of the connection |
|
credentials | ||
target |
string |
|
value |
string |
Value details of the workspace connection. |
valueFormat |
format for the workspace connection value |
SASAuthTypeWorkspaceConnectionProperties
Name | Type | Description |
---|---|---|
authType |
string:
SAS |
Authentication type of the connection target |
category |
Category of the connection |
|
credentials | ||
target |
string |
|
value |
string |
Value details of the workspace connection. |
valueFormat |
format for the workspace connection value |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
UsernamePasswordAuthTypeWorkspaceConnectionProperties
Name | Type | Description |
---|---|---|
authType |
string:
Username |
Authentication type of the connection target |
category |
Category of the connection |
|
credentials | ||
target |
string |
|
value |
string |
Value details of the workspace connection. |
valueFormat |
format for the workspace connection value |
ValueFormat
format for the workspace connection value
Name | Type | Description |
---|---|---|
JSON |
string |
WorkspaceConnectionManagedIdentity
Name | Type | Description |
---|---|---|
clientId |
string |
|
resourceId |
string |
WorkspaceConnectionPersonalAccessToken
Name | Type | Description |
---|---|---|
pat |
string |
WorkspaceConnectionPropertiesV2BasicResource
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 | WorkspaceConnectionPropertiesV2: | |
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult
Name | Type | Description |
---|---|---|
nextLink |
string |
|
value |
WorkspaceConnectionSharedAccessSignature
Name | Type | Description |
---|---|---|
sas |
string |
WorkspaceConnectionUsernamePassword
Name | Type | Description |
---|---|---|
password |
string |
|
username |
string |