DataConnectionsOperations Class
DataConnectionsOperations 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.objectDataConnectionsOperations
Constructor
DataConnectionsOperations(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
| begin_create_or_update |
Creates or updates a data connection. |
| begin_data_connection_validation |
Checks that the data connection parameters are valid. |
| begin_delete |
Deletes the data connection with the given name. |
| begin_update |
Updates a data connection. |
| check_name_availability |
Checks that the data connection name is valid and is not already in use. |
| get |
Returns a data connection. |
| list_by_database |
Returns the list of data connections of the given Kusto database. |
begin_create_or_update
Creates or updates a data connection.
begin_create_or_update(resource_group_name: str, cluster_name: str, database_name: str, data_connection_name: str, parameters: azure.mgmt.kusto.models._models_py3.DataConnection, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.kusto.models._models_py3.DataConnection]
Parameters
- parameters
- <xref:kusto_management_client.models.DataConnection>
The data connection parameters supplied to the CreateOrUpdate operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either DataConnection or the result of cls(response)
Return type
Exceptions
begin_data_connection_validation
Checks that the data connection parameters are valid.
begin_data_connection_validation(resource_group_name: str, cluster_name: str, database_name: str, parameters: azure.mgmt.kusto.models._models_py3.DataConnectionValidation, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.kusto.models._models_py3.DataConnectionValidationListResult]
Parameters
- parameters
- <xref:kusto_management_client.models.DataConnectionValidation>
The data connection parameters supplied to the CreateOrUpdate operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either DataConnectionValidationListResult or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes the data connection with the given name.
begin_delete(resource_group_name: str, cluster_name: str, database_name: str, data_connection_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_update
Updates a data connection.
begin_update(resource_group_name: str, cluster_name: str, database_name: str, data_connection_name: str, parameters: azure.mgmt.kusto.models._models_py3.DataConnection, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.kusto.models._models_py3.DataConnection]
Parameters
- parameters
- <xref:kusto_management_client.models.DataConnection>
The data connection parameters supplied to the Update operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either DataConnection or the result of cls(response)
Return type
Exceptions
check_name_availability
Checks that the data connection name is valid and is not already in use.
check_name_availability(resource_group_name: str, cluster_name: str, database_name: str, data_connection_name: azure.mgmt.kusto.models._models_py3.DataConnectionCheckNameRequest, **kwargs: Any) -> azure.mgmt.kusto.models._models_py3.CheckNameResult
Parameters
- data_connection_name
- <xref:kusto_management_client.models.DataConnectionCheckNameRequest>
The name of the data connection.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
CheckNameResult, or the result of cls(response)
Return type
Exceptions
get
Returns a data connection.
get(resource_group_name: str, cluster_name: str, database_name: str, data_connection_name: str, **kwargs: Any) -> azure.mgmt.kusto.models._models_py3.DataConnection
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DataConnection, or the result of cls(response)
Return type
Exceptions
list_by_database
Returns the list of data connections of the given Kusto database.
list_by_database(resource_group_name: str, cluster_name: str, database_name: str, **kwargs: Any) -> Iterable[azure.mgmt.kusto.models._models_py3.DataConnectionListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DataConnectionListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.kusto.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\kusto\\models\\__init__.py'>
Feedback
Submit and view feedback for