Package: azure-mgmt-loganalytics
Microsoft Azure SDK for PythonThis is the Microsoft Azure Log Analytics Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see theazure sdk python release.UsageTo learn how to use this package, see thequickstart guideFor docs and references, seePython SDK ReferencesCode samples for this package can be found atLog Analytics Managementon docs.microsoft.com.
Additional code samples for different Azure services are available atSamples RepoProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History12.0.0 (2021-11-16)FeaturesModel Table has a new parameter is_troubleshooting_allowedModel Table has a new parameter last_troubleshoot_dateModel Table has a new parameter is_troubleshoot_enabledAdded operation TablesOperations.createAdded operation ClustersOperations.begin_updateBreaking changesRemoved operation ClustersOperations.update11.0.0 (2021-07-12)FeaturesModel ClusterPatch has a new parameter billing_typeModel Workspace has a new parameter featuresModel WorkspacePatch has a new parameter featuresModel WorkspaceFeatures has a new parameter disable_local_authBreaking changesModel Workspace no longer has parameter immediate_purge_data_on30_daysModel Workspace no longer has parameter enable_log_access_using_only_resource_permissionsModel Workspace no longer has parameter cluster_resource_idModel Workspace no longer has parameter enable_data_exportModel WorkspacePatch no longer has parameter immediate_purge_data_on30_daysModel WorkspacePatch no longer has parameter enable_log_access_using_only_resource_permissionsModel WorkspacePatch no longer has parameter cluster_resource_idModel WorkspacePatch no longer has parameter enable_data_exportModel CapacityReservationProperties no longer has parameter max_capacity10.0.0 (2021-05-13)FeaturesModel WorkspacePatch has a new parameter cluster_resource_idModel WorkspacePatch has a new parameter immediate_purge_data_on30_daysModel WorkspacePatch has a new parameter enable_data_exportModel WorkspacePatch has a new parameter enable_log_access_using_only_resource_permissionsModel Workspace has a new parameter cluster_resource_idModel Workspace has a new parameter immediate_purge_data_on30_daysModel Workspace has a new parameter enable_data_exportModel Workspace has a new parameter enable_log_access_using_only_resource_permissionsBreaking changesModel WorkspacePatch no longer has parameter featuresModel Table no longer has parameter is_troubleshooting_allowedModel Table no longer has parameter is_troubleshoot_enabledModel Table no longer has parameter last_troubleshoot_dateModel WorkspaceSku no longer has parameter max_capacity_reservation_levelModel Workspace no longer has parameter features9.0.0 (2021-04-06)FeaturesModel WorkspacePatch has a new parameter created_dateModel WorkspacePatch has a new parameter featuresModel WorkspacePatch has a new parameter modified_dateModel WorkspacePatch has a new parameter force_cmk_for_queryModel Cluster has a new parameter last_modified_dateModel Cluster has a new parameter billing_typeModel Cluster has a new parameter is_double_encryption_enabledModel Cluster has a new parameter is_availability_zones_enabledModel Cluster has a new parameter created_dateModel Cluster has a new parameter capacity_reservation_propertiesModel Cluster has a new parameter associated_workspacesModel Table has a new parameter is_troubleshooting_allowedModel Table has a new parameter last_troubleshoot_dateModel Table has a new parameter is_troubleshoot_enabledModel Identity has a new parameter user_assigned_identitiesModel ClusterPatch has a new parameter identityModel KeyVaultProperties has a new parameter key_rsa_sizeModel Workspace has a new parameter created_dateModel Workspace has a new parameter featuresModel Workspace has a new parameter modified_dateModel Workspace has a new parameter force_cmk_for_queryBreaking changesModel Cluster no longer has parameter next_linkModel ErrorResponse has a new signature8.0.0 (2020-12-25)Breaking changesChange client name from OperationalInsightsManagementClient to LogAnalyticsManagementClient7.0.0 (2020-12-17)GA release7.0.0b1 (2020-11-16)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-core2.0.0(2020-11-09)Breaking changesModel DataExport no longer has parameter all_tables1.0.0 (2020-08-31)FeaturesREST call api-version changes from 2020-03-01-preview to 2020-08-01DataSourceType has new enum values0.7.0 (2020-07-09)FeaturesModel DataSource has a new parameter etagModel SavedSearch has a new parameter etagBreaking changesModel DataSource no longer has parameter e_tagModel SavedSearch no longer has parameter e_tag0.6.0 (2020-05-28)FeaturesModel SavedSearch has a new parameter function_parametersModel SavedSearch has a new parameter function_aliasModel WorkspacePatch has a new parameter workspace_cappingModel Workspace has a new parameter workspace_cappingAdded operation group AvailableServiceTiersOperationsAdded operation group TablesOperationsAdded operation group DeletedWorkspacesOperationsBreaking changesOperation WorkspacesOperations.delete has a new signatureRemoved operation WorkspacesOperations.available_service_tiersModel WorkspaceSku has a new signature0.5.0 (2020-04-22)Breaking changesReverted client name back to LogAnalyticsManagementClient as previous change was not intentional0.4.0 (2020-04-20)FeaturesModel LinkedService has a new parameter provisioning_stateAdded operation WorkspacesOperations.available_service_tiersAdded operation group ManagementGroupsOperationsAdded operation group GatewaysOperationsAdded operation group OperationStatusesOperationsAdded operation group SchemaOperationsAdded operation group WorkspacePurgeOperationsAdded operation group UsagesOperationsAdded operation group SharedKeysOperationsAdded operation group StorageInsightConfigsOperationsAdded operation group IntelligencePacksOperationsBreaking changesRemoved operation WorkspacesOperations.list_usagesRemoved operation WorkspacesOperations.get_shared_keysRemoved operation WorkspacesOperations.disable_intelligence_packRemoved operation WorkspacesOperations.list_intelligence_packsRemoved operation WorkspacesOperations.list_management_groupsRemoved operation WorkspacesOperations.enable_intelligence_packRemoved operation group StorageInsightsOperationsRemoved operation group OperationalInsightsManagementClientOperationsMixin0.3.0 (2020-04-08)FeaturesModel OperationDisplay has a new parameter descriptionModel LinkedService has a new parameter write_access_resource_idModel Workspace has a new parameter public_network_access_for_ingestionModel Workspace has a new parameter public_network_access_for_queryModel Workspace has a new parameter private_link_scoped_resourcesAdded operation group DataExportsOperationsAdded operation group LinkedStorageAccountsOperationsAdded operation group OperationalInsightsManagementClientOperationsMixinAdded operation group ClustersOperationsBreaking changesParameter location of model Workspace is now requiredOperation LinkedServicesOperations.create_or_update has a new signatureOperation SavedSearchesOperations.delete has a new signatureOperation SavedSearchesOperations.create_or_update has a new signatureOperation SavedSearchesOperations.get has a new signatureOperation LinkedServicesOperations.create_or_update has a new signatureModel ProxyResource no longer has parameter tagsModel SavedSearchesListResult no longer has parameter metadataModel Resource no longer has parameter locationModel Resource no longer has parameter tagsModel Workspace no longer has parameter sourceModel Workspace no longer has parameter portal_urlRemoved operation WorkspacesOperations.purgeRemoved operation WorkspacesOperations.get_search_resultsRemoved operation WorkspacesOperations.list_link_targetsRemoved operation WorkspacesOperations.get_schemaRemoved operation WorkspacesOperations.update_search_resultsGeneral Breaking ChangesThis version uses a next-generation code generator thatmightintroduce breaking changes. 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.LogAnalyticsManagementClient cannot be imported fromazure.mgmt.loganalytics.log_analytics_management_clientanymore
(import OperationalInsightsManagementClient fromazure.mgmt.loganalyticsworks like before)LogAnalyticsManagementClientConfiguration import has been moved fromazure.mgmt.loganalytics.log_analytics_management_clienttoazure.mgmt.loganalyticsA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.loganalytics.models.my_class(import fromazure.mgmt.loganalytics.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.loganalytics.operations.my_class_operations(import fromazure.mgmt.loganalytics.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.2.0 (2018-05-29)FeaturesModel IntelligencePack has a new parameter display_nameModel SavedSearch has a new parameter nameModel SavedSearch has a new parameter typeAdded operation WorkspacesOperations.purgeAdded operation WorkspacesOperations.updateAdded operation group OperationsClient class can be used as a context manager to keep the underlying
HTTP session open for performanceBreaking changesModel SavedSearch no longer has parameter etag (replaced by e_tag)Model SearchMetadata no longer has parameter etag (replaced by
e_tag)General Breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes.Model signatures now use only keyword-argument syntax. All
positional arguments must be re-written as keyword-arguments. To
keep auto-completion in most cases, models are now generated for
Python 2 and Python 3. Python 3 uses the "*" syntax for
keyword-only arguments.Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to
improve the behavior when unrecognized enum values are encountered.
While this is not a breaking change, the distinctions are important,
and are documented here:https://docs.python.org/3/library/enum.html#othersAt a glance:"is" should not be used at all."format" will return the string value, where "%s" string
formatting will returnNameOfEnum.stringvalue. Format syntax
should be prefered.New Long Running Operation:Return type changes frommsrestazure.azure_operation.AzureOperationPollertomsrest.polling.LROPoller. External API is the same.Return type is nowalwaysamsrest.polling.LROPoller,
regardless of the optional parameters used.The behavior has changed when usingraw=True. Instead of
returning the initial call result asClientRawResponse,
without polling, now this returns an LROPoller. After polling,
the final resource will be returned as aClientRawResponse.Newpollingparameter. The default behavior isPolling=Truewhich will poll using ARM algorithm. WhenPolling=False, the response of the initial call will be
returned without polling.pollingparameter accepts instances of subclasses ofmsrest.polling.PollingMethod.add_done_callbackwill no longer raise if called after
polling is finished, but will instead execute the callback right
away.BugfixesCompatibility of the sdist with wheel 0.31.00.1.0 (2017-11-01)Initial ReleaseThank you to jmalobicky for his help testing the package.