-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.ai.ml.operations.WorkspaceConnectionsOperations.yml
119 lines (111 loc) · 4.16 KB
/
azure.ai.ml.operations.WorkspaceConnectionsOperations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
### YamlMime:PythonClass
uid: azure.ai.ml.operations.WorkspaceConnectionsOperations
name: WorkspaceConnectionsOperations
fullName: azure.ai.ml.operations.WorkspaceConnectionsOperations
module: azure.ai.ml.operations
inheritances:
- azure.ai.ml._scope_dependent_operations._ScopeDependentOperations
summary: 'WorkspaceConnectionsOperations.
You should not instantiate this class directly. Instead, you should create
an MLClient instance that instantiates it for you and attaches it as an attribute.'
constructor:
syntax: 'WorkspaceConnectionsOperations(operation_scope: OperationScope, operation_config:
OperationConfig, service_client: AzureMachineLearningWorkspaces, all_operations:
OperationsContainer, credentials: TokenCredential | None = None, **kwargs: Dict)'
parameters:
- name: operation_scope
isRequired: true
- name: operation_config
isRequired: true
- name: service_client
isRequired: true
- name: all_operations
isRequired: true
- name: credentials
defaultValue: None
methods:
- uid: azure.ai.ml.operations.WorkspaceConnectionsOperations.create_or_update
name: create_or_update
summary: Create or update a connection.
signature: 'create_or_update(workspace_connection: WorkspaceConnection, *, populate_secrets:
bool = False, **kwargs: Any) -> WorkspaceConnection | None'
parameters:
- name: workspace_connection
description: 'Definition of a Workspace Connection or one of its subclasses
or object which can be translated to a connection.'
isRequired: true
types:
- <xref:azure.ai.ml.entities.WorkspaceConnection>
keywordOnlyParameters:
- name: populate_secrets
description: 'If true, make a secondary API call to try filling in the workspace
connections credentials. Currently only works for api key-based credentials.
Defaults to False.'
types:
- <xref:bool>
return:
description: Created or update connection.
types:
- <xref:azure.ai.ml.entities.WorkspaceConnection>
- uid: azure.ai.ml.operations.WorkspaceConnectionsOperations.delete
name: delete
summary: Delete the connection.
signature: 'delete(name: str) -> None'
parameters:
- name: name
description: Name of the connection.
isRequired: true
types:
- <xref:str>
- uid: azure.ai.ml.operations.WorkspaceConnectionsOperations.get
name: get
summary: Get a connection by name.
signature: 'get(name: str, *, populate_secrets: bool = False, **kwargs: Dict) ->
WorkspaceConnection'
parameters:
- name: name
description: Name of the connection.
isRequired: true
types:
- <xref:str>
keywordOnlyParameters:
- name: populate_secrets
description: 'If true, make a secondary API call to try filling in the workspace
connections credentials. Currently only works for api key-based credentials.
Defaults to False.'
types:
- <xref:bool>
return:
description: The connection with the provided name.
types:
- <xref:azure.ai.ml.entities.WorkspaceConnection>
exceptions:
- type: azure.core.exceptions.HttpResponseError
description: 'Raised if the corresponding name and version cannot be
retrieved from the service.'
- uid: azure.ai.ml.operations.WorkspaceConnectionsOperations.list
name: list
summary: List all connections for a workspace.
signature: 'list(connection_type: str | None = None, *, populate_secrets: bool =
False, include_data_connections: bool = False, **kwargs: Any) -> Iterable[WorkspaceConnection]'
parameters:
- name: connection_type
description: Type of connection to list.
isRequired: true
types:
- <xref:typing.Optional>[<xref:str>]
keywordOnlyParameters:
- name: populate_secrets
description: 'If true, make a secondary API call to try filling in the workspace
connections credentials. Currently only works for api key-based credentials.
Defaults to False.'
types:
- <xref:bool>
- name: include_data_connections
description: If true, also return data connections. Defaults to False.
types:
- <xref:bool>
return:
description: An iterator like instance of connection objects
types:
- <xref:typing.Iterable>[<xref:azure.ai.ml.entities.WorkspaceConnection>]