Skip to content

Commit

Permalink
Update from release/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Aug 11, 2020
1 parent c96ce20 commit d87e84f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sdk/loganalytics/azure-mgmt-loganalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ class DataSourceType(str, Enum):

custom_logs = "CustomLogs"
azure_watson = "AzureWatson"
query = "Query"
ingestion = "Ingestion"
alerts = "Alerts"


class WorkspaceSkuNameEnum(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdk/loganalytics/azure-mgmt-loganalytics/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*[\'"]([^\'"]*)[\'"]',
Expand Down

0 comments on commit d87e84f

Please sign in to comment.