From d87e84f223e41b5fa5bc8ed49a1101afbf31868c Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 11 Aug 2020 21:34:29 +0000 Subject: [PATCH] Update from release/v3 --- sdk/loganalytics/azure-mgmt-loganalytics/README.md | 2 +- .../models/_log_analytics_management_client_enums.py | 3 +++ .../azure/mgmt/loganalytics/models/_models.py | 2 +- .../azure/mgmt/loganalytics/models/_models_py3.py | 2 +- .../operations/_linked_storage_accounts_operations.py | 6 +++--- sdk/loganalytics/azure-mgmt-loganalytics/setup.py | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/README.md b/sdk/loganalytics/azure-mgmt-loganalytics/README.md index cf7c59dc07e4..87dcf93e2334 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/README.md +++ b/sdk/loganalytics/azure-mgmt-loganalytics/README.md @@ -2,7 +2,7 @@ This 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 the [azure sdk python release](https://aka.ms/azsdk/python/all). +For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/) # Usage diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_log_analytics_management_client_enums.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_log_analytics_management_client_enums.py index aa45b4438fb9..9bd496364d1f 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_log_analytics_management_client_enums.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_log_analytics_management_client_enums.py @@ -67,6 +67,9 @@ class DataSourceType(str, Enum): custom_logs = "CustomLogs" azure_watson = "AzureWatson" + query = "Query" + ingestion = "Ingestion" + alerts = "Alerts" class WorkspaceSkuNameEnum(str, Enum): diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py index c0d39ccc40bf..d5049c51c458 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models.py @@ -868,7 +868,7 @@ class LinkedStorageAccountsResource(ProxyResource): Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str :ivar data_source_type: Linked storage accounts type. Possible values - include: 'CustomLogs', 'AzureWatson' + include: 'CustomLogs', 'AzureWatson', 'Query', 'Ingestion', 'Alerts' :vartype data_source_type: str or ~azure.mgmt.loganalytics.models.DataSourceType :param storage_account_ids: Linked storage accounts resources ids. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py index 2e87119ac2bd..20f4d2b01e50 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/_models_py3.py @@ -868,7 +868,7 @@ class LinkedStorageAccountsResource(ProxyResource): Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str :ivar data_source_type: Linked storage accounts type. Possible values - include: 'CustomLogs', 'AzureWatson' + include: 'CustomLogs', 'AzureWatson', 'Query', 'Ingestion', 'Alerts' :vartype data_source_type: str or ~azure.mgmt.loganalytics.models.DataSourceType :param storage_account_ids: Linked storage accounts resources ids. diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_storage_accounts_operations.py b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_storage_accounts_operations.py index 3fa6e6bac3b8..6d6b368ed13e 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_storage_accounts_operations.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/_linked_storage_accounts_operations.py @@ -50,7 +50,7 @@ def create_or_update( :param workspace_name: The name of the workspace. :type workspace_name: str :param data_source_type: Linked storage accounts type. Possible values - include: 'CustomLogs', 'AzureWatson' + include: 'CustomLogs', 'AzureWatson', 'Query', 'Ingestion', 'Alerts' :type data_source_type: str or ~azure.mgmt.loganalytics.models.DataSourceType :param storage_account_ids: Linked storage accounts resources ids. @@ -127,7 +127,7 @@ def delete( :param workspace_name: The name of the workspace. :type workspace_name: str :param data_source_type: Linked storage accounts type. Possible values - include: 'CustomLogs', 'AzureWatson' + include: 'CustomLogs', 'AzureWatson', 'Query', 'Ingestion', 'Alerts' :type data_source_type: str or ~azure.mgmt.loganalytics.models.DataSourceType :param dict custom_headers: headers that will be added to the request @@ -187,7 +187,7 @@ def get( :param workspace_name: The name of the workspace. :type workspace_name: str :param data_source_type: Linked storage accounts type. Possible values - include: 'CustomLogs', 'AzureWatson' + include: 'CustomLogs', 'AzureWatson', 'Query', 'Ingestion', 'Alerts' :type data_source_type: str or ~azure.mgmt.loganalytics.models.DataSourceType :param dict custom_headers: headers that will be added to the request diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/setup.py b/sdk/loganalytics/azure-mgmt-loganalytics/setup.py index 714269b3200e..ce8f42ec38f5 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/setup.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/setup.py @@ -36,7 +36,7 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') +with open(os.path.join(package_folder_path, 'version.py') if os.path.exists(os.path.join(package_folder_path, 'version.py')) else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',