LinkedService Class
Note
This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Defines an Resource for managing linking between AML workspace with other services on Azure.
Initialize LinkedService object.
- Inheritance
-
builtins.objectLinkedService
Constructor
LinkedService(workspace, name, type, linked_service_resource_id, system_assigned_identity_principal_id)
Parameters
Name | Description |
---|---|
workspace
Required
|
The AzureML workspace in which the linked service exists. |
name
Required
|
The name of the linked service. |
type
Required
|
type of the linked service. |
linked_service_resource_id
Required
|
arm resource id of the linked service. |
system_assigned_identity_principal_id
Required
|
system assigned identity principal id of the linked service. |
Methods
get |
Get the linked service under the given workspace based on link name. |
list |
List the linked services under the given workspace. |
register |
Register a linked service under the given workspace. |
unregister |
Delink this linked service. |
get
Get the linked service under the given workspace based on link name.
static get(workspace, name)
Parameters
Name | Description |
---|---|
workspace
Required
|
The AzureML workspace in which the linked service is to be fetched. |
name
Required
|
A name of a linked service. |
Returns
Type | Description |
---|---|
A linked service under the given workspace. |
list
List the linked services under the given workspace.
static list(workspace)
Parameters
Name | Description |
---|---|
workspace
Required
|
The AzureML workspace in which the linked service is to be listed. |
Returns
Type | Description |
---|---|
A list of the linked services under the given workspace. |
register
Register a linked service under the given workspace.
static register(workspace, name, linked_service_config)
Parameters
Name | Description |
---|---|
workspace
Required
|
The AzureML workspace in which the linked service is to be registered. |
name
Required
|
The name of the linked service. |
linked_service_config
Required
|
The configuration linked service. |
Returns
Type | Description |
---|---|
A linked service under the given workspace. |
unregister
Delink this linked service.
unregister()
Attributes
linked_service_resource_id
name
system_assigned_identity_principal_id
Return the linked service system assigned identity principal id.
Returns
Type | Description |
---|---|
The linked service system assigned identity principal id. |
type
Return the linked service type, such as Synapse.
Returns
Type | Description |
---|---|
The linked service type. |