From 9cdfc0881a410906894554328bd04d95ee6d1f73 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 22 Sep 2021 06:04:21 +0000 Subject: [PATCH 1/2] CodeGen from PR 14889 in Azure/azure-rest-api-specs Kusto t1 del (#14889) * sql t2 readme config * readme config * Update readme.python.md * conflient resolve * t1 del Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- sdk/kusto/azure-mgmt-kusto/_meta.json | 11 ++- .../azure/mgmt/kusto/_version.py | 2 +- ...ched_database_configurations_operations.py | 20 ++--- ...luster_principal_assignments_operations.py | 22 ++--- .../aio/operations/_clusters_operations.py | 88 +++++++++---------- .../_data_connections_operations.py | 38 ++++---- ...tabase_principal_assignments_operations.py | 22 ++--- .../aio/operations/_databases_operations.py | 36 ++++---- .../mgmt/kusto/aio/operations/_operations.py | 2 +- .../_operations_results_operations.py | 2 +- .../aio/operations/_scripts_operations.py | 30 +++---- .../azure/mgmt/kusto/models/_models.py | 21 +++-- .../azure/mgmt/kusto/models/_models_py3.py | 25 +++--- ...ched_database_configurations_operations.py | 8 +- ...luster_principal_assignments_operations.py | 8 +- .../kusto/operations/_clusters_operations.py | 36 ++++---- .../_data_connections_operations.py | 16 ++-- ...tabase_principal_assignments_operations.py | 8 +- .../kusto/operations/_databases_operations.py | 12 +-- .../kusto/operations/_scripts_operations.py | 12 +-- 20 files changed, 210 insertions(+), 209 deletions(-) diff --git a/sdk/kusto/azure-mgmt-kusto/_meta.json b/sdk/kusto/azure-mgmt-kusto/_meta.json index 202385447f26..7a73d533d73e 100644 --- a/sdk/kusto/azure-mgmt-kusto/_meta.json +++ b/sdk/kusto/azure-mgmt-kusto/_meta.json @@ -1,8 +1,11 @@ { - "autorest": "3.3.0", - "use": "@autorest/python@5.6.6", - "commit": "4c881abe43b82c6f001f2f2ca7f2a2d63299749e", + "autorest": "3.4.5", + "use": [ + "@autorest/python@5.8.4", + "@autorest/modelerfour@4.19.2" + ], + "commit": "0f72d7e8267d012ed7f51107f066217c8bfda9a7", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/azure-kusto/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0", + "autorest_command": "autorest specification/azure-kusto/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", "readme": "specification/azure-kusto/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py index 48944bf3938a..e5754a47ce68 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py index 5f1bd2d8b3a9..bbd43c8c6b00 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_attached_database_configurations_operations.py @@ -47,7 +47,7 @@ def list_by_cluster( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AttachedDatabaseConfigurationListResult"]: """Returns the list of attached database configurations of the given Kusto cluster. @@ -122,7 +122,7 @@ async def get( resource_group_name: str, cluster_name: str, attached_database_configuration_name: str, - **kwargs + **kwargs: Any ) -> "_models.AttachedDatabaseConfiguration": """Returns an attached database configuration. @@ -185,7 +185,7 @@ async def _create_or_update_initial( cluster_name: str, attached_database_configuration_name: str, parameters: "_models.AttachedDatabaseConfiguration", - **kwargs + **kwargs: Any ) -> "_models.AttachedDatabaseConfiguration": cls = kwargs.pop('cls', None) # type: ClsType["_models.AttachedDatabaseConfiguration"] error_map = { @@ -247,7 +247,7 @@ async def begin_create_or_update( cluster_name: str, attached_database_configuration_name: str, parameters: "_models.AttachedDatabaseConfiguration", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AttachedDatabaseConfiguration"]: """Creates or updates an attached database configuration. @@ -261,8 +261,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.AttachedDatabaseConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AttachedDatabaseConfiguration or the result of cls(response) @@ -322,7 +322,7 @@ async def _delete_initial( resource_group_name: str, cluster_name: str, attached_database_configuration_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -368,7 +368,7 @@ async def begin_delete( resource_group_name: str, cluster_name: str, attached_database_configuration_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes the attached database configuration with the given name. @@ -380,8 +380,8 @@ async def begin_delete( :type attached_database_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py index b334ad3fad6d..3025ba9e4ee9 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_cluster_principal_assignments_operations.py @@ -48,7 +48,7 @@ async def check_name_availability( resource_group_name: str, cluster_name: str, principal_assignment_name: "_models.ClusterPrincipalAssignmentCheckNameRequest", - **kwargs + **kwargs: Any ) -> "_models.CheckNameResult": """Checks that the principal assignment name is valid and is not already in use. @@ -114,7 +114,7 @@ async def get( resource_group_name: str, cluster_name: str, principal_assignment_name: str, - **kwargs + **kwargs: Any ) -> "_models.ClusterPrincipalAssignment": """Gets a Kusto cluster principalAssignment. @@ -177,7 +177,7 @@ async def _create_or_update_initial( cluster_name: str, principal_assignment_name: str, parameters: "_models.ClusterPrincipalAssignment", - **kwargs + **kwargs: Any ) -> "_models.ClusterPrincipalAssignment": cls = kwargs.pop('cls', None) # type: ClsType["_models.ClusterPrincipalAssignment"] error_map = { @@ -236,7 +236,7 @@ async def begin_create_or_update( cluster_name: str, principal_assignment_name: str, parameters: "_models.ClusterPrincipalAssignment", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ClusterPrincipalAssignment"]: """Create a Kusto cluster principalAssignment. @@ -251,8 +251,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.ClusterPrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ClusterPrincipalAssignment or the result of cls(response) @@ -312,7 +312,7 @@ async def _delete_initial( resource_group_name: str, cluster_name: str, principal_assignment_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -358,7 +358,7 @@ async def begin_delete( resource_group_name: str, cluster_name: str, principal_assignment_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a Kusto cluster principalAssignment. @@ -370,8 +370,8 @@ async def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -426,7 +426,7 @@ def list( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ClusterPrincipalAssignmentListResult"]: """Lists all Kusto cluster principalAssignments. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py index ba4dae97cabe..b95d8130f7e8 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_clusters_operations.py @@ -47,7 +47,7 @@ async def get( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> "_models.Cluster": """Gets a Kusto cluster. @@ -108,7 +108,7 @@ async def _create_or_update_initial( parameters: "_models.Cluster", if_match: Optional[str] = None, if_none_match: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.Cluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.Cluster"] error_map = { @@ -171,7 +171,7 @@ async def begin_create_or_update( parameters: "_models.Cluster", if_match: Optional[str] = None, if_none_match: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Cluster"]: """Create or update a Kusto cluster. @@ -190,8 +190,8 @@ async def begin_create_or_update( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response) @@ -252,7 +252,7 @@ async def _update_initial( cluster_name: str, parameters: "_models.ClusterUpdate", if_match: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.Cluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.Cluster"] error_map = { @@ -315,7 +315,7 @@ async def begin_update( cluster_name: str, parameters: "_models.ClusterUpdate", if_match: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Cluster"]: """Update a Kusto cluster. @@ -331,8 +331,8 @@ async def begin_update( :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response) @@ -390,7 +390,7 @@ async def _delete_initial( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -434,7 +434,7 @@ async def begin_delete( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a Kusto cluster. @@ -444,8 +444,8 @@ async def begin_delete( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -498,7 +498,7 @@ async def _stop_initial( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -542,7 +542,7 @@ async def begin_stop( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stops a Kusto cluster. @@ -552,8 +552,8 @@ async def begin_stop( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -606,7 +606,7 @@ async def _start_initial( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -650,7 +650,7 @@ async def begin_start( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Starts a Kusto cluster. @@ -660,8 +660,8 @@ async def begin_start( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -714,7 +714,7 @@ def list_follower_databases( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.FollowerDatabaseListResult"]: """Returns a list of databases that are owned by this cluster and were followed by another cluster. @@ -790,7 +790,7 @@ async def _detach_follower_databases_initial( resource_group_name: str, cluster_name: str, follower_database_to_remove: "_models.FollowerDatabaseDefinition", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -840,7 +840,7 @@ async def begin_detach_follower_databases( resource_group_name: str, cluster_name: str, follower_database_to_remove: "_models.FollowerDatabaseDefinition", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Detaches all followers of a database owned by this cluster. @@ -852,8 +852,8 @@ async def begin_detach_follower_databases( :type follower_database_to_remove: ~azure.mgmt.kusto.models.FollowerDatabaseDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -907,7 +907,7 @@ async def _diagnose_virtual_network_initial( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.DiagnoseVirtualNetworkResult"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.DiagnoseVirtualNetworkResult"]] error_map = { @@ -956,7 +956,7 @@ async def begin_diagnose_virtual_network( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DiagnoseVirtualNetworkResult"]: """Diagnoses network connectivity status for external resources on which the service is dependent on. @@ -967,8 +967,8 @@ async def begin_diagnose_virtual_network( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DiagnoseVirtualNetworkResult or the result of cls(response) @@ -1023,7 +1023,7 @@ def get_long_running_output(pipeline_response): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ClusterListResult"]: """Lists all Kusto clusters within a resource group. @@ -1092,7 +1092,7 @@ async def get_next(next_link=None): def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ClusterListResult"]: """Lists all Kusto clusters within a subscription. @@ -1158,7 +1158,7 @@ async def get_next(next_link=None): def list_skus( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SkuDescriptionList"]: """Lists eligible SKUs for Kusto resource provider. @@ -1226,7 +1226,7 @@ async def check_name_availability( self, location: str, cluster_name: "_models.ClusterCheckNameRequest", - **kwargs + **kwargs: Any ) -> "_models.CheckNameResult": """Checks that the cluster name is valid and is not already in use. @@ -1288,7 +1288,7 @@ def list_skus_by_resource( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListResourceSkusResult"]: """Returns the SKUs available for the provided resource. @@ -1362,7 +1362,7 @@ def list_language_extensions( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.LanguageExtensionsList"]: """Returns a list of language extensions that can run within KQL queries. @@ -1437,7 +1437,7 @@ async def _add_language_extensions_initial( resource_group_name: str, cluster_name: str, language_extensions_to_add: "_models.LanguageExtensionsList", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1487,7 +1487,7 @@ async def begin_add_language_extensions( resource_group_name: str, cluster_name: str, language_extensions_to_add: "_models.LanguageExtensionsList", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Add a list of language extensions that can run within KQL queries. @@ -1499,8 +1499,8 @@ async def begin_add_language_extensions( :type language_extensions_to_add: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1555,7 +1555,7 @@ async def _remove_language_extensions_initial( resource_group_name: str, cluster_name: str, language_extensions_to_remove: "_models.LanguageExtensionsList", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1605,7 +1605,7 @@ async def begin_remove_language_extensions( resource_group_name: str, cluster_name: str, language_extensions_to_remove: "_models.LanguageExtensionsList", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Remove a list of language extensions that can run within KQL queries. @@ -1617,8 +1617,8 @@ async def begin_remove_language_extensions( :type language_extensions_to_remove: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py index d258abcdbc7d..87ed3e30c118 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_data_connections_operations.py @@ -48,7 +48,7 @@ def list_by_database( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DataConnectionListResult"]: """Returns the list of data connections of the given Kusto database. @@ -127,7 +127,7 @@ async def _data_connection_validation_initial( cluster_name: str, database_name: str, parameters: "_models.DataConnectionValidation", - **kwargs + **kwargs: Any ) -> Optional["_models.DataConnectionValidationListResult"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.DataConnectionValidationListResult"]] error_map = { @@ -184,7 +184,7 @@ async def begin_data_connection_validation( cluster_name: str, database_name: str, parameters: "_models.DataConnectionValidation", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DataConnectionValidationListResult"]: """Checks that the data connection parameters are valid. @@ -198,8 +198,8 @@ async def begin_data_connection_validation( :type parameters: ~azure.mgmt.kusto.models.DataConnectionValidation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataConnectionValidationListResult or the result of cls(response) @@ -260,7 +260,7 @@ async def check_name_availability( cluster_name: str, database_name: str, data_connection_name: "_models.DataConnectionCheckNameRequest", - **kwargs + **kwargs: Any ) -> "_models.CheckNameResult": """Checks that the data connection name is valid and is not already in use. @@ -330,7 +330,7 @@ async def get( cluster_name: str, database_name: str, data_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.DataConnection": """Returns a data connection. @@ -397,7 +397,7 @@ async def _create_or_update_initial( database_name: str, data_connection_name: str, parameters: "_models.DataConnection", - **kwargs + **kwargs: Any ) -> "_models.DataConnection": cls = kwargs.pop('cls', None) # type: ClsType["_models.DataConnection"] error_map = { @@ -461,7 +461,7 @@ async def begin_create_or_update( database_name: str, data_connection_name: str, parameters: "_models.DataConnection", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DataConnection"]: """Creates or updates a data connection. @@ -477,8 +477,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataConnection or the result of cls(response) @@ -542,7 +542,7 @@ async def _update_initial( database_name: str, data_connection_name: str, parameters: "_models.DataConnection", - **kwargs + **kwargs: Any ) -> "_models.DataConnection": cls = kwargs.pop('cls', None) # type: ClsType["_models.DataConnection"] error_map = { @@ -606,7 +606,7 @@ async def begin_update( database_name: str, data_connection_name: str, parameters: "_models.DataConnection", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DataConnection"]: """Updates a data connection. @@ -622,8 +622,8 @@ async def begin_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataConnection or the result of cls(response) @@ -686,7 +686,7 @@ async def _delete_initial( cluster_name: str, database_name: str, data_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -734,7 +734,7 @@ async def begin_delete( cluster_name: str, database_name: str, data_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes the data connection with the given name. @@ -748,8 +748,8 @@ async def begin_delete( :type data_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py index 4217d6cd2bc8..154a55156f16 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_database_principal_assignments_operations.py @@ -49,7 +49,7 @@ async def check_name_availability( cluster_name: str, database_name: str, principal_assignment_name: "_models.DatabasePrincipalAssignmentCheckNameRequest", - **kwargs + **kwargs: Any ) -> "_models.CheckNameResult": """Checks that the database principal assignment is valid and is not already in use. @@ -119,7 +119,7 @@ async def get( cluster_name: str, database_name: str, principal_assignment_name: str, - **kwargs + **kwargs: Any ) -> "_models.DatabasePrincipalAssignment": """Gets a Kusto cluster database principalAssignment. @@ -186,7 +186,7 @@ async def _create_or_update_initial( database_name: str, principal_assignment_name: str, parameters: "_models.DatabasePrincipalAssignment", - **kwargs + **kwargs: Any ) -> "_models.DatabasePrincipalAssignment": cls = kwargs.pop('cls', None) # type: ClsType["_models.DatabasePrincipalAssignment"] error_map = { @@ -247,7 +247,7 @@ async def begin_create_or_update( database_name: str, principal_assignment_name: str, parameters: "_models.DatabasePrincipalAssignment", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DatabasePrincipalAssignment"]: """Creates a Kusto cluster database principalAssignment. @@ -263,8 +263,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DatabasePrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DatabasePrincipalAssignment or the result of cls(response) @@ -327,7 +327,7 @@ async def _delete_initial( cluster_name: str, database_name: str, principal_assignment_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -375,7 +375,7 @@ async def begin_delete( cluster_name: str, database_name: str, principal_assignment_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a Kusto principalAssignment. @@ -389,8 +389,8 @@ async def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -448,7 +448,7 @@ def list( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DatabasePrincipalAssignmentListResult"]: """Lists all Kusto cluster database principalAssignments. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py index 7c5df75c32b4..9212a03cf7d1 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_databases_operations.py @@ -48,7 +48,7 @@ async def check_name_availability( resource_group_name: str, cluster_name: str, resource_name: "_models.CheckNameRequest", - **kwargs + **kwargs: Any ) -> "_models.CheckNameResult": """Checks that the database name is valid and is not already in use. @@ -113,7 +113,7 @@ def list_by_cluster( self, resource_group_name: str, cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DatabaseListResult"]: """Returns the list of databases of the given Kusto cluster. @@ -188,7 +188,7 @@ async def get( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.Database": """Returns a database. @@ -251,7 +251,7 @@ async def _create_or_update_initial( cluster_name: str, database_name: str, parameters: "_models.Database", - **kwargs + **kwargs: Any ) -> "_models.Database": cls = kwargs.pop('cls', None) # type: ClsType["_models.Database"] error_map = { @@ -313,7 +313,7 @@ async def begin_create_or_update( cluster_name: str, database_name: str, parameters: "_models.Database", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Database"]: """Creates or updates a database. @@ -327,8 +327,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Database or the result of cls(response) @@ -389,7 +389,7 @@ async def _update_initial( cluster_name: str, database_name: str, parameters: "_models.Database", - **kwargs + **kwargs: Any ) -> "_models.Database": cls = kwargs.pop('cls', None) # type: ClsType["_models.Database"] error_map = { @@ -451,7 +451,7 @@ async def begin_update( cluster_name: str, database_name: str, parameters: "_models.Database", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Database"]: """Updates a database. @@ -465,8 +465,8 @@ async def begin_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Database or the result of cls(response) @@ -526,7 +526,7 @@ async def _delete_initial( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -572,7 +572,7 @@ async def begin_delete( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes the database with the given name. @@ -584,8 +584,8 @@ async def begin_delete( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -641,7 +641,7 @@ def list_principals( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DatabasePrincipalListResult"]: """Returns a list of database principals of the given Kusto cluster and database. @@ -720,7 +720,7 @@ async def add_principals( cluster_name: str, database_name: str, database_principals_to_add: "_models.DatabasePrincipalListRequest", - **kwargs + **kwargs: Any ) -> "_models.DatabasePrincipalListResult": """Add Database principals permissions. @@ -790,7 +790,7 @@ async def remove_principals( cluster_name: str, database_name: str, database_principals_to_remove: "_models.DatabasePrincipalListRequest", - **kwargs + **kwargs: Any ) -> "_models.DatabasePrincipalListResult": """Remove Database principals permissions. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py index 1a9a99b188e9..1269fb559345 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Lists available operations for the Microsoft.Kusto provider. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py index c4492e6961e1..91e5968cad98 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_operations_results_operations.py @@ -44,7 +44,7 @@ async def get( self, location: str, operation_id: str, - **kwargs + **kwargs: Any ) -> "_models.OperationResult": """Returns operation results. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py index 03da3f370c92..8180f19f97e6 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/aio/operations/_scripts_operations.py @@ -48,7 +48,7 @@ def list_by_database( resource_group_name: str, cluster_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ScriptListResult"]: """Returns the list of database scripts for given database. @@ -127,7 +127,7 @@ async def get( cluster_name: str, database_name: str, script_name: str, - **kwargs + **kwargs: Any ) -> "_models.Script": """Gets a Kusto cluster database script. @@ -194,7 +194,7 @@ async def _create_or_update_initial( database_name: str, script_name: str, parameters: "_models.Script", - **kwargs + **kwargs: Any ) -> "_models.Script": cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] error_map = { @@ -258,7 +258,7 @@ async def begin_create_or_update( database_name: str, script_name: str, parameters: "_models.Script", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Script"]: """Creates a Kusto database script. @@ -274,8 +274,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.Script :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Script or the result of cls(response) @@ -339,7 +339,7 @@ async def _update_initial( database_name: str, script_name: str, parameters: "_models.Script", - **kwargs + **kwargs: Any ) -> "_models.Script": cls = kwargs.pop('cls', None) # type: ClsType["_models.Script"] error_map = { @@ -400,7 +400,7 @@ async def begin_update( database_name: str, script_name: str, parameters: "_models.Script", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.Script"]: """Updates a database script. @@ -416,8 +416,8 @@ async def begin_update( :type parameters: ~azure.mgmt.kusto.models.Script :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Script or the result of cls(response) @@ -480,7 +480,7 @@ async def _delete_initial( cluster_name: str, database_name: str, script_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -528,7 +528,7 @@ async def begin_delete( cluster_name: str, database_name: str, script_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a Kusto principalAssignment. @@ -542,8 +542,8 @@ async def begin_delete( :type script_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -602,7 +602,7 @@ async def check_name_availability( cluster_name: str, database_name: str, script_name: "_models.ScriptCheckNameRequest", - **kwargs + **kwargs: Any ) -> "_models.CheckNameResult": """Checks that the script name is valid and is not already in use. diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py index 2dba0563fd32..730f5e961f5d 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py @@ -563,7 +563,7 @@ class ClusterCheckNameRequest(msrest.serialization.Model): :param name: Required. Cluster name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters. Default value: + :ivar type: The type of resource, Microsoft.Kusto/clusters. Has constant value: "Microsoft.Kusto/clusters". :vartype type: str """ @@ -684,8 +684,8 @@ class ClusterPrincipalAssignmentCheckNameRequest(msrest.serialization.Model): :param name: Required. Principal Assignment resource name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/principalAssignments. - Default value: "Microsoft.Kusto/clusters/principalAssignments". + :ivar type: The type of resource, Microsoft.Kusto/clusters/principalAssignments. Has constant + value: "Microsoft.Kusto/clusters/principalAssignments". :vartype type: str """ @@ -1084,9 +1084,8 @@ class DatabasePrincipalAssignmentCheckNameRequest(msrest.serialization.Model): :param name: Required. Principal Assignment resource name. :type name: str - :ivar type: Required. The type of resource, - Microsoft.Kusto/clusters/databases/principalAssignments. Default value: - "Microsoft.Kusto/clusters/databases/principalAssignments". + :ivar type: The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments. Has + constant value: "Microsoft.Kusto/clusters/databases/principalAssignments". :vartype type: str """ @@ -1248,8 +1247,8 @@ class DataConnectionCheckNameRequest(msrest.serialization.Model): :param name: Required. Data Connection name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/databases/dataConnections. - Default value: "Microsoft.Kusto/clusters/databases/dataConnections". + :ivar type: The type of resource, Microsoft.Kusto/clusters/databases/dataConnections. Has + constant value: "Microsoft.Kusto/clusters/databases/dataConnections". :vartype type: str """ @@ -1852,7 +1851,7 @@ class Operation(msrest.serialization.Model): :param origin: The intended executor of the operation. :type origin: str :param properties: Any object. - :type properties: object + :type properties: any """ _attribute_map = { @@ -2259,7 +2258,7 @@ class ScriptCheckNameRequest(msrest.serialization.Model): :param name: Required. Script name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/databases/scripts. Default + :ivar type: The type of resource, Microsoft.Kusto/clusters/databases/scripts. Has constant value: "Microsoft.Kusto/clusters/databases/scripts". :vartype type: str """ @@ -2319,7 +2318,7 @@ class SkuDescription(msrest.serialization.Model): :ivar location_info: Locations and zones. :vartype location_info: list[~azure.mgmt.kusto.models.SkuLocationInfoItem] :ivar restrictions: The restrictions because of which SKU cannot be used. - :vartype restrictions: list[object] + :vartype restrictions: list[any] """ _validation = { diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py index e519944f8764..6d90dd1b1995 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py @@ -7,7 +7,7 @@ # -------------------------------------------------------------------------- import datetime -from typing import Dict, List, Optional, Union +from typing import Any, Dict, List, Optional, Union import msrest.serialization @@ -620,7 +620,7 @@ class ClusterCheckNameRequest(msrest.serialization.Model): :param name: Required. Cluster name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters. Default value: + :ivar type: The type of resource, Microsoft.Kusto/clusters. Has constant value: "Microsoft.Kusto/clusters". :vartype type: str """ @@ -750,8 +750,8 @@ class ClusterPrincipalAssignmentCheckNameRequest(msrest.serialization.Model): :param name: Required. Principal Assignment resource name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/principalAssignments. - Default value: "Microsoft.Kusto/clusters/principalAssignments". + :ivar type: The type of resource, Microsoft.Kusto/clusters/principalAssignments. Has constant + value: "Microsoft.Kusto/clusters/principalAssignments". :vartype type: str """ @@ -1184,9 +1184,8 @@ class DatabasePrincipalAssignmentCheckNameRequest(msrest.serialization.Model): :param name: Required. Principal Assignment resource name. :type name: str - :ivar type: Required. The type of resource, - Microsoft.Kusto/clusters/databases/principalAssignments. Default value: - "Microsoft.Kusto/clusters/databases/principalAssignments". + :ivar type: The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments. Has + constant value: "Microsoft.Kusto/clusters/databases/principalAssignments". :vartype type: str """ @@ -1360,8 +1359,8 @@ class DataConnectionCheckNameRequest(msrest.serialization.Model): :param name: Required. Data Connection name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/databases/dataConnections. - Default value: "Microsoft.Kusto/clusters/databases/dataConnections". + :ivar type: The type of resource, Microsoft.Kusto/clusters/databases/dataConnections. Has + constant value: "Microsoft.Kusto/clusters/databases/dataConnections". :vartype type: str """ @@ -2025,7 +2024,7 @@ class Operation(msrest.serialization.Model): :param origin: The intended executor of the operation. :type origin: str :param properties: Any object. - :type properties: object + :type properties: any """ _attribute_map = { @@ -2041,7 +2040,7 @@ def __init__( name: Optional[str] = None, display: Optional["OperationDisplay"] = None, origin: Optional[str] = None, - properties: Optional[object] = None, + properties: Optional[Any] = None, **kwargs ): super(Operation, self).__init__(**kwargs) @@ -2470,7 +2469,7 @@ class ScriptCheckNameRequest(msrest.serialization.Model): :param name: Required. Script name. :type name: str - :ivar type: Required. The type of resource, Microsoft.Kusto/clusters/databases/scripts. Default + :ivar type: The type of resource, Microsoft.Kusto/clusters/databases/scripts. Has constant value: "Microsoft.Kusto/clusters/databases/scripts". :vartype type: str """ @@ -2534,7 +2533,7 @@ class SkuDescription(msrest.serialization.Model): :ivar location_info: Locations and zones. :vartype location_info: list[~azure.mgmt.kusto.models.SkuLocationInfoItem] :ivar restrictions: The restrictions because of which SKU cannot be used. - :vartype restrictions: list[object] + :vartype restrictions: list[any] """ _validation = { diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py index 585ff07b2e8a..6d1e2ef845bd 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_attached_database_configurations_operations.py @@ -269,8 +269,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.AttachedDatabaseConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AttachedDatabaseConfiguration or the result of cls(response) @@ -390,8 +390,8 @@ def begin_delete( :type attached_database_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py index 037d6f357c61..524335d56fd0 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_cluster_principal_assignments_operations.py @@ -259,8 +259,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.ClusterPrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ClusterPrincipalAssignment or the result of cls(response) @@ -380,8 +380,8 @@ def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py index a39d2052a6c9..0db19ca8acbe 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_clusters_operations.py @@ -197,8 +197,8 @@ def begin_create_or_update( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Cluster or the result of cls(response) @@ -340,8 +340,8 @@ def begin_update( :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Cluster or the result of cls(response) @@ -455,8 +455,8 @@ def begin_delete( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -565,8 +565,8 @@ def begin_stop( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -675,8 +675,8 @@ def begin_start( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -870,8 +870,8 @@ def begin_detach_follower_databases( :type follower_database_to_remove: ~azure.mgmt.kusto.models.FollowerDatabaseDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -987,8 +987,8 @@ def begin_diagnose_virtual_network( :type cluster_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DiagnoseVirtualNetworkResult or the result of cls(response) @@ -1527,8 +1527,8 @@ def begin_add_language_extensions( :type language_extensions_to_add: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1647,8 +1647,8 @@ def begin_remove_language_extensions( :type language_extensions_to_remove: ~azure.mgmt.kusto.models.LanguageExtensionsList :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py index f50ac661f300..ba950a36f162 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_data_connections_operations.py @@ -205,8 +205,8 @@ def begin_data_connection_validation( :type parameters: ~azure.mgmt.kusto.models.DataConnectionValidation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataConnectionValidationListResult or the result of cls(response) @@ -488,8 +488,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataConnection or the result of cls(response) @@ -635,8 +635,8 @@ def begin_update( :type parameters: ~azure.mgmt.kusto.models.DataConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataConnection or the result of cls(response) @@ -763,8 +763,8 @@ def begin_delete( :type data_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py index d9236fa714a0..8864ae0539b0 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_database_principal_assignments_operations.py @@ -271,8 +271,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.DatabasePrincipalAssignment :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DatabasePrincipalAssignment or the result of cls(response) @@ -399,8 +399,8 @@ def begin_delete( :type principal_assignment_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py index b49e7dd9d35f..0b27e772bb28 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_databases_operations.py @@ -336,8 +336,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Database or the result of cls(response) @@ -476,8 +476,8 @@ def begin_update( :type parameters: ~azure.mgmt.kusto.models.Database :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Database or the result of cls(response) @@ -597,8 +597,8 @@ def begin_delete( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py index 81aee3982c31..69404b599583 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/operations/_scripts_operations.py @@ -282,8 +282,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.kusto.models.Script :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Script or the result of cls(response) @@ -426,8 +426,8 @@ def begin_update( :type parameters: ~azure.mgmt.kusto.models.Script :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Script or the result of cls(response) @@ -554,8 +554,8 @@ def begin_delete( :type script_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: 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. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) From 20ffb8a3aec47ab49060d56f365a90dc256b9bb0 Mon Sep 17 00:00:00 2001 From: PythonSdkPipelines Date: Wed, 22 Sep 2021 07:00:46 +0000 Subject: [PATCH 2/2] version,CHANGELOG --- sdk/kusto/azure-mgmt-kusto/CHANGELOG.md | 4 ++++ sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md b/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md index a17f5c47e658..f28ecdf32c1c 100644 --- a/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md +++ b/sdk/kusto/azure-mgmt-kusto/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 0.0.0 (2021-09-22) + + + ## 2.0.0 (2021-04-26) **Features** diff --git a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py index e5754a47ce68..9bd4c9b55137 100644 --- a/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py +++ b/sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" +VERSION = "0.0.0"