Skip to content

Commit

Permalink
update to aab1fb9 (#18246)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyan99 authored Apr 23, 2021
1 parent e38c500 commit 32084bb
Show file tree
Hide file tree
Showing 6 changed files with 3,686 additions and 479 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
from ._models_py3 import AzureDataLakeStorageGen2DataFeed
from ._models_py3 import AzureDataLakeStorageGen2DataFeedPatch
from ._models_py3 import AzureDataLakeStorageGen2Parameter
from ._models_py3 import AzureEventHubsDataFeed
from ._models_py3 import AzureEventHubsDataFeedPatch
from ._models_py3 import AzureEventHubsParameter
from ._models_py3 import AzureSQLConnectionStringCredential
from ._models_py3 import AzureSQLConnectionStringCredentialPatch
from ._models_py3 import AzureSQLConnectionStringParam
from ._models_py3 import AzureTableDataFeed
from ._models_py3 import AzureTableDataFeedPatch
from ._models_py3 import AzureTableParameter
Expand All @@ -50,6 +56,12 @@
from ._models_py3 import DataFeedDetailPatch
from ._models_py3 import DataFeedIngestionProgress
from ._models_py3 import DataFeedList
from ._models_py3 import DataLakeGen2SharedKeyCredential
from ._models_py3 import DataLakeGen2SharedKeyCredentialPatch
from ._models_py3 import DataLakeGen2SharedKeyParam
from ._models_py3 import DataSourceCredential
from ._models_py3 import DataSourceCredentialList
from ._models_py3 import DataSourceCredentialPatch
from ._models_py3 import DetectionAnomalyFilterCondition
from ._models_py3 import DetectionAnomalyResultQuery
from ._models_py3 import DetectionIncidentFilterCondition
Expand Down Expand Up @@ -116,6 +128,12 @@
from ._models_py3 import SeriesIdentity
from ._models_py3 import SeriesResult
from ._models_py3 import SeriesResultList
from ._models_py3 import ServicePrincipalCredential
from ._models_py3 import ServicePrincipalCredentialPatch
from ._models_py3 import ServicePrincipalInKVCredential
from ._models_py3 import ServicePrincipalInKVCredentialPatch
from ._models_py3 import ServicePrincipalInKVParam
from ._models_py3 import ServicePrincipalParam
from ._models_py3 import SeverityCondition
from ._models_py3 import SeverityFilterCondition
from ._models_py3 import SmartDetectionCondition
Expand Down Expand Up @@ -160,6 +178,12 @@
from ._models import AzureDataLakeStorageGen2DataFeed # type: ignore
from ._models import AzureDataLakeStorageGen2DataFeedPatch # type: ignore
from ._models import AzureDataLakeStorageGen2Parameter # type: ignore
from ._models import AzureEventHubsDataFeed # type: ignore
from ._models import AzureEventHubsDataFeedPatch # type: ignore
from ._models import AzureEventHubsParameter # type: ignore
from ._models import AzureSQLConnectionStringCredential # type: ignore
from ._models import AzureSQLConnectionStringCredentialPatch # type: ignore
from ._models import AzureSQLConnectionStringParam # type: ignore
from ._models import AzureTableDataFeed # type: ignore
from ._models import AzureTableDataFeedPatch # type: ignore
from ._models import AzureTableParameter # type: ignore
Expand All @@ -172,6 +196,12 @@
from ._models import DataFeedDetailPatch # type: ignore
from ._models import DataFeedIngestionProgress # type: ignore
from ._models import DataFeedList # type: ignore
from ._models import DataLakeGen2SharedKeyCredential # type: ignore
from ._models import DataLakeGen2SharedKeyCredentialPatch # type: ignore
from ._models import DataLakeGen2SharedKeyParam # type: ignore
from ._models import DataSourceCredential # type: ignore
from ._models import DataSourceCredentialList # type: ignore
from ._models import DataSourceCredentialPatch # type: ignore
from ._models import DetectionAnomalyFilterCondition # type: ignore
from ._models import DetectionAnomalyResultQuery # type: ignore
from ._models import DetectionIncidentFilterCondition # type: ignore
Expand Down Expand Up @@ -238,6 +268,12 @@
from ._models import SeriesIdentity # type: ignore
from ._models import SeriesResult # type: ignore
from ._models import SeriesResultList # type: ignore
from ._models import ServicePrincipalCredential # type: ignore
from ._models import ServicePrincipalCredentialPatch # type: ignore
from ._models import ServicePrincipalInKVCredential # type: ignore
from ._models import ServicePrincipalInKVCredentialPatch # type: ignore
from ._models import ServicePrincipalInKVParam # type: ignore
from ._models import ServicePrincipalParam # type: ignore
from ._models import SeverityCondition # type: ignore
from ._models import SeverityFilterCondition # type: ignore
from ._models import SmartDetectionCondition # type: ignore
Expand All @@ -258,7 +294,9 @@
AnomalyScope,
AnomalyStatus,
AnomalyValue,
AuthenticationTypeEnum,
ChangePointValue,
DataSourceCredentialType,
DataSourceType,
Direction,
EntityStatus,
Expand All @@ -275,6 +313,7 @@
Severity,
SnoozeScope,
TimeMode,
ValueType,
ViewMode,
)

Expand Down Expand Up @@ -310,6 +349,12 @@
'AzureDataLakeStorageGen2DataFeed',
'AzureDataLakeStorageGen2DataFeedPatch',
'AzureDataLakeStorageGen2Parameter',
'AzureEventHubsDataFeed',
'AzureEventHubsDataFeedPatch',
'AzureEventHubsParameter',
'AzureSQLConnectionStringCredential',
'AzureSQLConnectionStringCredentialPatch',
'AzureSQLConnectionStringParam',
'AzureTableDataFeed',
'AzureTableDataFeedPatch',
'AzureTableParameter',
Expand All @@ -322,6 +367,12 @@
'DataFeedDetailPatch',
'DataFeedIngestionProgress',
'DataFeedList',
'DataLakeGen2SharedKeyCredential',
'DataLakeGen2SharedKeyCredentialPatch',
'DataLakeGen2SharedKeyParam',
'DataSourceCredential',
'DataSourceCredentialList',
'DataSourceCredentialPatch',
'DetectionAnomalyFilterCondition',
'DetectionAnomalyResultQuery',
'DetectionIncidentFilterCondition',
Expand Down Expand Up @@ -388,6 +439,12 @@
'SeriesIdentity',
'SeriesResult',
'SeriesResultList',
'ServicePrincipalCredential',
'ServicePrincipalCredentialPatch',
'ServicePrincipalInKVCredential',
'ServicePrincipalInKVCredentialPatch',
'ServicePrincipalInKVParam',
'ServicePrincipalParam',
'SeverityCondition',
'SeverityFilterCondition',
'SmartDetectionCondition',
Expand All @@ -406,7 +463,9 @@
'AnomalyScope',
'AnomalyStatus',
'AnomalyValue',
'AuthenticationTypeEnum',
'ChangePointValue',
'DataSourceCredentialType',
'DataSourceType',
'Direction',
'EntityStatus',
Expand All @@ -423,5 +482,6 @@
'Severity',
'SnoozeScope',
'TimeMode',
'ValueType',
'ViewMode',
]
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,42 @@ class AnomalyValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
ANOMALY = "Anomaly"
NOT_ANOMALY = "NotAnomaly"

class AuthenticationTypeEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""authentication type for corresponding data source
"""

BASIC = "Basic"
MANAGED_IDENTITY = "ManagedIdentity"
AZURE_SQL_CONNECTION_STRING = "AzureSQLConnectionString"
DATA_LAKE_GEN2_SHARED_KEY = "DataLakeGen2SharedKey"
SERVICE_PRINCIPAL = "ServicePrincipal"
SERVICE_PRINCIPAL_IN_KV = "ServicePrincipalInKV"

class ChangePointValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

AUTO_DETECT = "AutoDetect"
CHANGE_POINT = "ChangePoint"
NOT_CHANGE_POINT = "NotChangePoint"

class DataSourceCredentialType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Type of data source credential
"""

AZURE_SQL_CONNECTION_STRING = "AzureSQLConnectionString"
DATA_LAKE_GEN2_SHARED_KEY = "DataLakeGen2SharedKey"
SERVICE_PRINCIPAL = "ServicePrincipal"
SERVICE_PRINCIPAL_IN_KV = "ServicePrincipalInKV"

class DataSourceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Type of data source credential
"""

AZURE_APPLICATION_INSIGHTS = "AzureApplicationInsights"
AZURE_BLOB = "AzureBlob"
AZURE_COSMOS_DB = "AzureCosmosDB"
AZURE_DATA_EXPLORER = "AzureDataExplorer"
AZURE_DATA_LAKE_STORAGE_GEN2 = "AzureDataLakeStorageGen2"
AZURE_EVENT_HUBS = "AzureEventHubs"
AZURE_TABLE = "AzureTable"
ELASTICSEARCH = "Elasticsearch"
HTTP_REQUEST = "HttpRequest"
Expand All @@ -107,6 +130,8 @@ class Direction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
UP = "Up"

class EntityStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""data feed status
"""

ACTIVE = "Active"
PAUSED = "Paused"
Expand Down Expand Up @@ -137,6 +162,8 @@ class FillMissingPointType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
NO_FILLING = "NoFilling"

class Granularity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""granularity of the time series
"""

YEARLY = "Yearly"
MONTHLY = "Monthly"
Expand Down Expand Up @@ -225,6 +252,13 @@ class TimeMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
CREATED_TIME = "CreatedTime"
MODIFIED_TIME = "ModifiedTime"

class ValueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""data used to implement value filter
"""

VALUE = "Value"
MEAN = "Mean"

class ViewMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""data feed access mode, default is Private
"""
Expand Down
Loading

0 comments on commit 32084bb

Please sign in to comment.