Package: azure-mgmt-kusto
Microsoft Azure SDK for PythonThis is the Microsoft Azure Kusto Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-kusto
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.kustoimportKustoManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=KustoManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Kusto Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History3.3.0 (2023-10-23)Features AddedAdded operation group SandboxCustomImagesOperationsModel ClusterUpdate has a new parameter zonesModel EndpointDetail has a new parameter ip_addressModel LanguageExtension has a new parameter language_extension_custom_image_nameModel VirtualNetworkConfiguration has a new parameter state3.2.0 (2023-07-21)Features AddedAdded operation ClustersOperations.begin_migrateAdded operation group DatabaseOperationsModel Cluster has a new parameter migration_clusterModel ClusterUpdate has a new parameter migration_clusterModel DatabaseListResult has a new parameter next_linkModel ReadOnlyFollowingDatabase has a new parameter suspension_detailsModel ReadWriteDatabase has a new parameter key_vault_propertiesModel ReadWriteDatabase has a new parameter suspension_detailsOperation DatabasesOperations.list_by_cluster has a new optional parameter skiptokenOperation DatabasesOperations.list_by_cluster has a new optional parameter top3.1.0 (2023-02-15)Features AddedAdded operation group SkusOperationsModel LanguageExtension has a new parameter language_extension_image_nameModel SkuLocationInfoItem has a new parameter zone_detailsModel TableLevelSharingProperties has a new parameter functions_to_excludeModel TableLevelSharingProperties has a new parameter functions_to_include3.1.0b1 (2022-12-27)Features AddedAdded operation group SkusOperationsModel LanguageExtension has a new parameter language_extension_image_nameModel SkuLocationInfoItem has a new parameter zone_details3.0.0 (2022-09-15)Features AddedModel AttachedDatabaseConfiguration has a new parameter database_name_overrideModel AttachedDatabaseConfiguration has a new parameter database_name_prefixModel EventHubDataConnection has a new parameter retrieval_start_dateModel FollowerDatabaseDefinition has a new parameter database_share_originModel FollowerDatabaseDefinition has a new parameter table_level_sharing_propertiesModel IotHubDataConnection has a new parameter retrieval_start_dateModel ReadOnlyFollowingDatabase has a new parameter database_share_originModel ReadOnlyFollowingDatabase has a new parameter original_database_nameModel ReadOnlyFollowingDatabase has a new parameter table_level_sharing_propertiesBreaking ChangesOperation DatabasesOperations.begin_create_or_update has a new parameter caller_roleOperation DatabasesOperations.begin_update has a new parameter caller_role2.2.0 (2022-02-22)FeaturesAdded operation group OperationsResultsLocationOperationsModel Cluster has a new parameter private_endpoint_connectionsModel Cluster has a new parameter public_ip_typeModel Cluster has a new parameter virtual_cluster_graduation_propertiesModel ClusterPrincipalAssignment has a new parameter aad_object_idModel ClusterUpdate has a new parameter private_endpoint_connectionsModel ClusterUpdate has a new parameter public_ip_typeModel ClusterUpdate has a new parameter virtual_cluster_graduation_propertiesModel DatabasePrincipalAssignment has a new parameter aad_object_idModel EventGridDataConnection has a new parameter database_routingModel EventGridDataConnection has a new parameter event_grid_resource_idModel EventGridDataConnection has a new parameter managed_identity_object_idModel EventGridDataConnection has a new parameter managed_identity_resource_idModel EventHubDataConnection has a new parameter database_routingModel EventHubDataConnection has a new parameter managed_identity_object_idModel IotHubDataConnection has a new parameter database_routingModel OperationResult has a new parameter provisioning_stateModel Script has a new parameter script_content2.1.0 (2021-09-22)FeaturesModel Cluster has a new parameter accepted_audiencesModel Cluster has a new parameter allowed_fqdn_listModel Cluster has a new parameter enable_auto_stopModel Cluster has a new parameter allowed_ip_range_listModel Cluster has a new parameter system_dataModel Cluster has a new parameter restrict_outbound_network_accessModel Cluster has a new parameter public_network_accessModel ClusterUpdate has a new parameter accepted_audiencesModel ClusterUpdate has a new parameter allowed_fqdn_listModel ClusterUpdate has a new parameter enable_auto_stopModel ClusterUpdate has a new parameter allowed_ip_range_listModel ClusterUpdate has a new parameter restrict_outbound_network_accessModel ClusterUpdate has a new parameter public_network_accessAdded operation AttachedDatabaseConfigurationsOperations.check_name_availabilityAdded operation ClustersOperations.list_outbound_network_dependencies_endpointsAdded operation group PrivateEndpointConnectionsOperationsAdded operation group ManagedPrivateEndpointsOperationsAdded operation group PrivateLinkResourcesOperations2.0.0 (2021-04-26)FeaturesModel EventHubDataConnection has a new parameter managed_identity_resource_idModel Cluster has a new parameter etagModel AttachedDatabaseConfiguration has a new parameter table_level_sharing_propertiesAdded operation group ScriptsOperationsAdded operation group OperationsResultsOperationsBreaking changesOperation ClustersOperations.begin_update has a new signatureOperation ClustersOperations.begin_create_or_update has a new signature1.0.0 (2021-02-04)GA release1.0.0b1 (2020-11-30)This is beta preview version.This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).General breaking changesCredential system has been completly revamped:azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead:https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredentialTheconfigattribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.core.exceptions.HttpResponseError(CloudErrorhas been removed).Most of the operation kwarg have changed. Some of the most noticeable:rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.0.7.0 (2020-03-20)FeaturesModel ClusterUpdate has a new parameter enable_purgeModel ClusterUpdate has a new parameter language_extensionsModel Cluster has a new parameter enable_purgeModel Cluster has a new parameter language_extensionsAdded operation ClustersOperations.add_language_extensionsAdded operation ClustersOperations.remove_language_extensionsAdded operation ClustersOperations.list_language_extensions0.6.0 (2020-01-31)FeaturesModel Cluster has a new parameter state_reasonModel ReadWriteDatabase has a new parameter is_followedModel EventHubDataConnection has a new parameter compressionModel ClusterUpdate has a new parameter state_reasonAdded operation ClustersOperations.diagnose_virtual_networkAdded operation group DatabasePrincipalAssignmentsOperationsAdded operation group ClusterPrincipalAssignmentsOperations0.5.0 (2019-11-11)FeaturesModel ClusterUpdate has a new parameter key_vault_propertiesModel ClusterUpdate has a new parameter identityModel Cluster has a new parameter key_vault_propertiesModel Cluster has a new parameter identityAdded operation ClustersOperations.detach_follower_databasesAdded operation ClustersOperations.list_follower_databasesAdded operation group AttachedDatabaseConfigurationsOperationsBreaking changesOperation DatabasesOperations.check_name_availability has a new
signatureModel Database no longer has parameter soft_delete_periodModel Database no longer has parameter hot_cache_periodModel Database no longer has parameter statisticsModel Database no longer has parameter provisioning_stateModel Database has a new required parameter kind0.4.0 (2019-08-27)FeaturesModel Cluster has a new parameter enable_disk_encryptionModel Cluster has a new parameter zonesModel Cluster has a new parameter optimized_autoscaleModel Cluster has a new parameter virtual_network_configurationModel Cluster has a new parameter enable_streaming_ingestModel EventHubDataConnection has a new parameter
event_system_propertiesModel CheckNameResult has a new parameter reasonModel DatabasePrincipal has a new parameter tenant_nameModel ClusterUpdate has a new parameter enable_disk_encryptionModel ClusterUpdate has a new parameter optimized_autoscaleModel ClusterUpdate has a new parameter enable_streaming_ingestModel ClusterUpdate has a new parameter
virtual_network_configurationAdded operation DataConnectionsOperations.check_name_availabilityGeneral breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes if from some import. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.KustoManagementClient cannot be imported fromazure.mgmt.kusto.kusto_management_clientanymore (import fromazure.mgmt.kustoworks like before)KustoManagementClientConfiguration import has been moved fromazure.mgmt.kusto.kusto_management_clienttoazure.mgmt.kustoA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.kusto.models.my_class(import fromazure.mgmt.kusto.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.kusto.operations.my_class_operations(import fromazure.mgmt.kusto.operationsworks like before)Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.0.3.0 (2019-02-06)FeaturesModel DatabaseUpdate has a new parameter hot_cache_periodModel DatabaseUpdate has a new parameter soft_delete_periodModel Database has a new parameter hot_cache_periodModel Database has a new parameter soft_delete_periodAdded operation group DataConnectionsOperationsBreaking changesModel DatabaseUpdate no longer has parameter
hot_cache_period_in_daysModel DatabaseUpdate no longer has parameter etagModel DatabaseUpdate no longer has parameter
soft_delete_period_in_daysModel Database no longer has parameter tagsModel Database no longer has parameter etagModel Database no longer has parameter hot_cache_period_in_daysModel Database no longer has parameter
soft_delete_period_in_daysModel Cluster no longer has parameter etagModel ClusterUpdate no longer has parameter etagRemoved operation group EventHubConnectionsOperations0.2.0 (2018-11-27)FeaturesModel Cluster has a new parameter uriModel Cluster has a new parameter stateModel Cluster has a new parameter data_ingestion_uriModel Cluster has a new parameter trusted_external_tenantsModel DatabaseUpdate has a new parameter etagModel DatabaseUpdate has a new parameter statisticsModel DatabaseUpdate has a new parameter
hot_cache_period_in_daysModel Database has a new parameter statisticsModel Database has a new parameter hot_cache_period_in_daysModel ClusterUpdate has a new parameter uriModel ClusterUpdate has a new parameter etagModel ClusterUpdate has a new parameter stateModel ClusterUpdate has a new parameter skuModel ClusterUpdate has a new parameter tagsModel ClusterUpdate has a new parameter data_ingestion_uriModel ClusterUpdate has a new parameter trusted_external_tenantsAdded operation DatabasesOperations.list_principalsAdded operation DatabasesOperations.check_name_availabilityAdded operation DatabasesOperations.add_principalsAdded operation DatabasesOperations.remove_principalsAdded operation ClustersOperations.list_skusAdded operation ClustersOperations.list_skus_by_resourceAdded operation ClustersOperations.startAdded operation ClustersOperations.check_name_availabilityAdded operation ClustersOperations.stopAdded operation group EventHubConnectionsOperationsBreaking changesOperation DatabasesOperations.update has a new signatureOperation ClustersOperations.update has a new signatureOperation DatabasesOperations.update has a new signatureOperation ClustersOperations.create_or_update has a new signatureModel Cluster has a new required parameter sku0.1.0 (2018-08-09)Initial Release