WorkspaceConnectionsOperations Class
WorkspaceConnectionsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectWorkspaceConnectionsOperations
Constructor
WorkspaceConnectionsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create |
Add a new workspace connection. |
| delete |
Delete a workspace connection. |
| get |
Get the detail of a workspace connection. |
| list |
List all connections under a AML workspace. |
create
Add a new workspace connection.
create(resource_group_name: str, workspace_name: str, connection_name: str, parameters: _models.WorkspaceConnectionDto, **kwargs: Any) -> _models.WorkspaceConnection
Parameters
- parameters
- WorkspaceConnectionDto
The object for creating or updating a new workspace connection.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
WorkspaceConnection, or the result of cls(response)
Return type
Exceptions
delete
Delete a workspace connection.
delete(resource_group_name: str, workspace_name: str, connection_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Get the detail of a workspace connection.
get(resource_group_name: str, workspace_name: str, connection_name: str, **kwargs: Any) -> _models.WorkspaceConnection
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
WorkspaceConnection, or the result of cls(response)
Return type
Exceptions
list
List all connections under a AML workspace.
list(resource_group_name: str, workspace_name: str, target: Optional[str] = None, category: Optional[str] = None, **kwargs: Any) -> Iterable[_models.PaginatedWorkspaceConnectionsList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either PaginatedWorkspaceConnectionsList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.machinelearningservices.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\machinelearningservices\\models\\__init__.py'>
Feedback
Submit and view feedback for