Skip to content

Commit 32084bb

Browse files
authored
update to aab1fb9 (Azure#18246)
1 parent e38c500 commit 32084bb

File tree

6 files changed

+3686
-479
lines changed

6 files changed

+3686
-479
lines changed

sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/aio/operations/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_operations.py

Lines changed: 377 additions & 70 deletions
Large diffs are not rendered by default.

sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/__init__.py

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
from ._models_py3 import AzureDataLakeStorageGen2DataFeed
3939
from ._models_py3 import AzureDataLakeStorageGen2DataFeedPatch
4040
from ._models_py3 import AzureDataLakeStorageGen2Parameter
41+
from ._models_py3 import AzureEventHubsDataFeed
42+
from ._models_py3 import AzureEventHubsDataFeedPatch
43+
from ._models_py3 import AzureEventHubsParameter
44+
from ._models_py3 import AzureSQLConnectionStringCredential
45+
from ._models_py3 import AzureSQLConnectionStringCredentialPatch
46+
from ._models_py3 import AzureSQLConnectionStringParam
4147
from ._models_py3 import AzureTableDataFeed
4248
from ._models_py3 import AzureTableDataFeedPatch
4349
from ._models_py3 import AzureTableParameter
@@ -50,6 +56,12 @@
5056
from ._models_py3 import DataFeedDetailPatch
5157
from ._models_py3 import DataFeedIngestionProgress
5258
from ._models_py3 import DataFeedList
59+
from ._models_py3 import DataLakeGen2SharedKeyCredential
60+
from ._models_py3 import DataLakeGen2SharedKeyCredentialPatch
61+
from ._models_py3 import DataLakeGen2SharedKeyParam
62+
from ._models_py3 import DataSourceCredential
63+
from ._models_py3 import DataSourceCredentialList
64+
from ._models_py3 import DataSourceCredentialPatch
5365
from ._models_py3 import DetectionAnomalyFilterCondition
5466
from ._models_py3 import DetectionAnomalyResultQuery
5567
from ._models_py3 import DetectionIncidentFilterCondition
@@ -116,6 +128,12 @@
116128
from ._models_py3 import SeriesIdentity
117129
from ._models_py3 import SeriesResult
118130
from ._models_py3 import SeriesResultList
131+
from ._models_py3 import ServicePrincipalCredential
132+
from ._models_py3 import ServicePrincipalCredentialPatch
133+
from ._models_py3 import ServicePrincipalInKVCredential
134+
from ._models_py3 import ServicePrincipalInKVCredentialPatch
135+
from ._models_py3 import ServicePrincipalInKVParam
136+
from ._models_py3 import ServicePrincipalParam
119137
from ._models_py3 import SeverityCondition
120138
from ._models_py3 import SeverityFilterCondition
121139
from ._models_py3 import SmartDetectionCondition
@@ -160,6 +178,12 @@
160178
from ._models import AzureDataLakeStorageGen2DataFeed # type: ignore
161179
from ._models import AzureDataLakeStorageGen2DataFeedPatch # type: ignore
162180
from ._models import AzureDataLakeStorageGen2Parameter # type: ignore
181+
from ._models import AzureEventHubsDataFeed # type: ignore
182+
from ._models import AzureEventHubsDataFeedPatch # type: ignore
183+
from ._models import AzureEventHubsParameter # type: ignore
184+
from ._models import AzureSQLConnectionStringCredential # type: ignore
185+
from ._models import AzureSQLConnectionStringCredentialPatch # type: ignore
186+
from ._models import AzureSQLConnectionStringParam # type: ignore
163187
from ._models import AzureTableDataFeed # type: ignore
164188
from ._models import AzureTableDataFeedPatch # type: ignore
165189
from ._models import AzureTableParameter # type: ignore
@@ -172,6 +196,12 @@
172196
from ._models import DataFeedDetailPatch # type: ignore
173197
from ._models import DataFeedIngestionProgress # type: ignore
174198
from ._models import DataFeedList # type: ignore
199+
from ._models import DataLakeGen2SharedKeyCredential # type: ignore
200+
from ._models import DataLakeGen2SharedKeyCredentialPatch # type: ignore
201+
from ._models import DataLakeGen2SharedKeyParam # type: ignore
202+
from ._models import DataSourceCredential # type: ignore
203+
from ._models import DataSourceCredentialList # type: ignore
204+
from ._models import DataSourceCredentialPatch # type: ignore
175205
from ._models import DetectionAnomalyFilterCondition # type: ignore
176206
from ._models import DetectionAnomalyResultQuery # type: ignore
177207
from ._models import DetectionIncidentFilterCondition # type: ignore
@@ -238,6 +268,12 @@
238268
from ._models import SeriesIdentity # type: ignore
239269
from ._models import SeriesResult # type: ignore
240270
from ._models import SeriesResultList # type: ignore
271+
from ._models import ServicePrincipalCredential # type: ignore
272+
from ._models import ServicePrincipalCredentialPatch # type: ignore
273+
from ._models import ServicePrincipalInKVCredential # type: ignore
274+
from ._models import ServicePrincipalInKVCredentialPatch # type: ignore
275+
from ._models import ServicePrincipalInKVParam # type: ignore
276+
from ._models import ServicePrincipalParam # type: ignore
241277
from ._models import SeverityCondition # type: ignore
242278
from ._models import SeverityFilterCondition # type: ignore
243279
from ._models import SmartDetectionCondition # type: ignore
@@ -258,7 +294,9 @@
258294
AnomalyScope,
259295
AnomalyStatus,
260296
AnomalyValue,
297+
AuthenticationTypeEnum,
261298
ChangePointValue,
299+
DataSourceCredentialType,
262300
DataSourceType,
263301
Direction,
264302
EntityStatus,
@@ -275,6 +313,7 @@
275313
Severity,
276314
SnoozeScope,
277315
TimeMode,
316+
ValueType,
278317
ViewMode,
279318
)
280319

@@ -310,6 +349,12 @@
310349
'AzureDataLakeStorageGen2DataFeed',
311350
'AzureDataLakeStorageGen2DataFeedPatch',
312351
'AzureDataLakeStorageGen2Parameter',
352+
'AzureEventHubsDataFeed',
353+
'AzureEventHubsDataFeedPatch',
354+
'AzureEventHubsParameter',
355+
'AzureSQLConnectionStringCredential',
356+
'AzureSQLConnectionStringCredentialPatch',
357+
'AzureSQLConnectionStringParam',
313358
'AzureTableDataFeed',
314359
'AzureTableDataFeedPatch',
315360
'AzureTableParameter',
@@ -322,6 +367,12 @@
322367
'DataFeedDetailPatch',
323368
'DataFeedIngestionProgress',
324369
'DataFeedList',
370+
'DataLakeGen2SharedKeyCredential',
371+
'DataLakeGen2SharedKeyCredentialPatch',
372+
'DataLakeGen2SharedKeyParam',
373+
'DataSourceCredential',
374+
'DataSourceCredentialList',
375+
'DataSourceCredentialPatch',
325376
'DetectionAnomalyFilterCondition',
326377
'DetectionAnomalyResultQuery',
327378
'DetectionIncidentFilterCondition',
@@ -388,6 +439,12 @@
388439
'SeriesIdentity',
389440
'SeriesResult',
390441
'SeriesResultList',
442+
'ServicePrincipalCredential',
443+
'ServicePrincipalCredentialPatch',
444+
'ServicePrincipalInKVCredential',
445+
'ServicePrincipalInKVCredentialPatch',
446+
'ServicePrincipalInKVParam',
447+
'ServicePrincipalParam',
391448
'SeverityCondition',
392449
'SeverityFilterCondition',
393450
'SmartDetectionCondition',
@@ -406,7 +463,9 @@
406463
'AnomalyScope',
407464
'AnomalyStatus',
408465
'AnomalyValue',
466+
'AuthenticationTypeEnum',
409467
'ChangePointValue',
468+
'DataSourceCredentialType',
410469
'DataSourceType',
411470
'Direction',
412471
'EntityStatus',
@@ -423,5 +482,6 @@
423482
'Severity',
424483
'SnoozeScope',
425484
'TimeMode',
485+
'ValueType',
426486
'ViewMode',
427487
]

sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_azure_cognitive_service_metrics_advisor_restapi_open_ap_iv2_enums.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,42 @@ class AnomalyValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
7676
ANOMALY = "Anomaly"
7777
NOT_ANOMALY = "NotAnomaly"
7878

79+
class AuthenticationTypeEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
80+
"""authentication type for corresponding data source
81+
"""
82+
83+
BASIC = "Basic"
84+
MANAGED_IDENTITY = "ManagedIdentity"
85+
AZURE_SQL_CONNECTION_STRING = "AzureSQLConnectionString"
86+
DATA_LAKE_GEN2_SHARED_KEY = "DataLakeGen2SharedKey"
87+
SERVICE_PRINCIPAL = "ServicePrincipal"
88+
SERVICE_PRINCIPAL_IN_KV = "ServicePrincipalInKV"
89+
7990
class ChangePointValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
8091

8192
AUTO_DETECT = "AutoDetect"
8293
CHANGE_POINT = "ChangePoint"
8394
NOT_CHANGE_POINT = "NotChangePoint"
8495

96+
class DataSourceCredentialType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
97+
"""Type of data source credential
98+
"""
99+
100+
AZURE_SQL_CONNECTION_STRING = "AzureSQLConnectionString"
101+
DATA_LAKE_GEN2_SHARED_KEY = "DataLakeGen2SharedKey"
102+
SERVICE_PRINCIPAL = "ServicePrincipal"
103+
SERVICE_PRINCIPAL_IN_KV = "ServicePrincipalInKV"
104+
85105
class DataSourceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
106+
"""Type of data source credential
107+
"""
86108

87109
AZURE_APPLICATION_INSIGHTS = "AzureApplicationInsights"
88110
AZURE_BLOB = "AzureBlob"
89111
AZURE_COSMOS_DB = "AzureCosmosDB"
90112
AZURE_DATA_EXPLORER = "AzureDataExplorer"
91113
AZURE_DATA_LAKE_STORAGE_GEN2 = "AzureDataLakeStorageGen2"
114+
AZURE_EVENT_HUBS = "AzureEventHubs"
92115
AZURE_TABLE = "AzureTable"
93116
ELASTICSEARCH = "Elasticsearch"
94117
HTTP_REQUEST = "HttpRequest"
@@ -107,6 +130,8 @@ class Direction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
107130
UP = "Up"
108131

109132
class EntityStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
133+
"""data feed status
134+
"""
110135

111136
ACTIVE = "Active"
112137
PAUSED = "Paused"
@@ -137,6 +162,8 @@ class FillMissingPointType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
137162
NO_FILLING = "NoFilling"
138163

139164
class Granularity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
165+
"""granularity of the time series
166+
"""
140167

141168
YEARLY = "Yearly"
142169
MONTHLY = "Monthly"
@@ -225,6 +252,13 @@ class TimeMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
225252
CREATED_TIME = "CreatedTime"
226253
MODIFIED_TIME = "ModifiedTime"
227254

255+
class ValueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
256+
"""data used to implement value filter
257+
"""
258+
259+
VALUE = "Value"
260+
MEAN = "Mean"
261+
228262
class ViewMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
229263
"""data feed access mode, default is Private
230264
"""

0 commit comments

Comments
 (0)