From 946c6674b02cbcded3fb1215ffba97a20add48c9 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sun, 14 Jun 2020 13:18:08 +0000 Subject: [PATCH] Generated from cce7f5e4de0d4de0b25b8492fb575727354c63af add descriptions for data ingestion --- .../_log_analytics_management_client_enums.py | 12 +++++------ .../azure/mgmt/loganalytics/models/_models.py | 16 +++++++-------- .../mgmt/loganalytics/models/_models_py3.py | 20 +++++++++---------- 3 files changed, 24 insertions(+), 24 deletions(-) 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 47c8945b9279..aa45b4438fb9 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 @@ -82,12 +82,12 @@ class WorkspaceSkuNameEnum(str, Enum): class DataIngestionStatus(str, Enum): - respect_quota = "RespectQuota" - force_on = "ForceOn" - force_off = "ForceOff" - over_quota = "OverQuota" - subscription_suspended = "SubscriptionSuspended" - approaching_quota = "ApproachingQuota" + respect_quota = "RespectQuota" #: Ingestion enabled following daily cap quota reset, or subscription enablement. + force_on = "ForceOn" #: Ingestion started following service setting change. + force_off = "ForceOff" #: Ingestion stopped following service setting change. + over_quota = "OverQuota" #: Reached daily cap quota, ingestion stopped. + subscription_suspended = "SubscriptionSuspended" #: Ingestion stopped following suspended subscription. + approaching_quota = "ApproachingQuota" #: 80% of daily cap quota reached. class WorkspaceEntityStatus(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 61269424b641..c0d39ccc40bf 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 @@ -528,8 +528,8 @@ class DataSource(ProxyResource): :param properties: Required. The data source properties in raw json format, each kind of data source have it's own schema. :type properties: object - :param e_tag: The ETag of the data source. - :type e_tag: str + :param etag: The ETag of the data source. + :type etag: str :param kind: Required. Possible values include: 'WindowsEvent', 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog', 'LinuxSyslogCollection', 'LinuxPerformanceObject', @@ -564,7 +564,7 @@ class DataSource(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'object'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } @@ -572,7 +572,7 @@ class DataSource(ProxyResource): def __init__(self, **kwargs): super(DataSource, self).__init__(**kwargs) self.properties = kwargs.get('properties', None) - self.e_tag = kwargs.get('e_tag', None) + self.etag = kwargs.get('etag', None) self.kind = kwargs.get('kind', None) self.tags = kwargs.get('tags', None) @@ -1086,8 +1086,8 @@ class SavedSearch(ProxyResource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :param e_tag: The ETag of the saved search. - :type e_tag: str + :param etag: The ETag of the saved search. + :type etag: str :param category: Required. The category of the saved search. This helps the user to find a saved search faster. :type category: str @@ -1123,7 +1123,7 @@ class SavedSearch(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, 'category': {'key': 'properties.category', 'type': 'str'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'query': {'key': 'properties.query', 'type': 'str'}, @@ -1135,7 +1135,7 @@ class SavedSearch(ProxyResource): def __init__(self, **kwargs): super(SavedSearch, self).__init__(**kwargs) - self.e_tag = kwargs.get('e_tag', None) + self.etag = kwargs.get('etag', None) self.category = kwargs.get('category', None) self.display_name = kwargs.get('display_name', None) self.query = kwargs.get('query', None) 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 6640ff898a3e..2e87119ac2bd 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 @@ -528,8 +528,8 @@ class DataSource(ProxyResource): :param properties: Required. The data source properties in raw json format, each kind of data source have it's own schema. :type properties: object - :param e_tag: The ETag of the data source. - :type e_tag: str + :param etag: The ETag of the data source. + :type etag: str :param kind: Required. Possible values include: 'WindowsEvent', 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog', 'LinuxSyslogCollection', 'LinuxPerformanceObject', @@ -564,15 +564,15 @@ class DataSource(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'properties': {'key': 'properties', 'type': 'object'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, properties, kind, e_tag: str=None, tags=None, **kwargs) -> None: + def __init__(self, *, properties, kind, etag: str=None, tags=None, **kwargs) -> None: super(DataSource, self).__init__(**kwargs) self.properties = properties - self.e_tag = e_tag + self.etag = etag self.kind = kind self.tags = tags @@ -1086,8 +1086,8 @@ class SavedSearch(ProxyResource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :param e_tag: The ETag of the saved search. - :type e_tag: str + :param etag: The ETag of the saved search. + :type etag: str :param category: Required. The category of the saved search. This helps the user to find a saved search faster. :type category: str @@ -1123,7 +1123,7 @@ class SavedSearch(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, 'category': {'key': 'properties.category', 'type': 'str'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'query': {'key': 'properties.query', 'type': 'str'}, @@ -1133,9 +1133,9 @@ class SavedSearch(ProxyResource): 'tags': {'key': 'properties.tags', 'type': '[Tag]'}, } - def __init__(self, *, category: str, display_name: str, query: str, e_tag: str=None, function_alias: str=None, function_parameters: str=None, version: int=None, tags=None, **kwargs) -> None: + def __init__(self, *, category: str, display_name: str, query: str, etag: str=None, function_alias: str=None, function_parameters: str=None, version: int=None, tags=None, **kwargs) -> None: super(SavedSearch, self).__init__(**kwargs) - self.e_tag = e_tag + self.etag = etag self.category = category self.display_name = display_name self.query = query