1.0.0-beta.3 (2021-02-09)
New Features
- Added support for AAD authentication in
MetricsAdvisorClient
andMetricsAdvisorAdministrationClient
.
Breaking Changes
- The constructor of the
DataFeed
class is now parameterless. Required properties should be set via setters. - The constructor of the
DataFeedSchema
class is now parameterless. Metrics can be added directly toMetricColumns
. - The constructor of the
DataFeedIngestionSettings
class is now parameterless. Required properties should be set via setters. - The constructor of the
AnomalyDetectionConfiguration
class is now parameterless. Required properties should be set via setters. - The constructor of the
MetricSingleSeriesDetectionCondition
class is now parameterless. Dimension columns can be added directly toSeriesKey
. - The constructor of the
MetricSeriesGroupDetectionCondition
class is now parameterless. Dimension columns can be added directly toSeriesGroupKey
. - The constructor of the
AnomalyAlertConfiguration
class is now parameterless. Required properties should be set via setters. - The constructor of the
EmailNotificationHook
andWebNotificationHook
are now parameterless. Required properies should be set via setters. - In
MetricsAdvisorAdministratorClient
, changed return types of sync and asyncCreateDataFeed
methods to aResponse<DataFeed>
containing the created data feed. - In
MetricsAdvisorAdministratorClient
, changed return types of sync and asyncCreateDetectionConfiguration
methods to aResponse<AnomalyDetectionConfiguration>
containing the created configuration. - In
MetricsAdvisorAdministratorClient
, changed return types of sync and asyncCreateAlertConfiguration
methods to aResponse<AnomalyAlertConfiguration>
containing the created configuration. - In
MetricsAdvisorAdministratorClient
, changed return types of sync and asyncCreateHook
methods to aResponse<NotificationHook>
containing the created hook. - In
MetricsAdvisorClient
, changed return types of sync and asyncAddMetricFeedback
methods to aResponse<MetricFeedback>
containing the added feedback. - In
DataFeed
, added property setters toName
,DataSource
,Granularity
,IngestionSettings
, andSchema
. - In
DataFeedIngestionSettings
, added a property setter toIngestionStartTime
. - In
AnomalyDetectionConfiguration
, added property setters toMetricId
,Name
, andWholeSeriesDetectionConditions
. - In
AnomalyAlertConfiguration
, added a property setter toName
. - In
MetricAnomalyAlertSnoozeCondition
, added property setters toAutoSnooze
,IsOnlyForSuccessive
, andSnoozeScope
. - In
MetricBoundaryCondition
, added a property setter toDirection
. - In
SeverityCondition
, added property setters toMaximumAlertSeverity
andMinimumAlertSeverity
. - In
NotificationHook
, added a property setter toName
. - In
WebNotificationHook
, added a property setter toEndpoint
. - In
DataFeed
, removed the setters of the propertiesAdministrators
andViewers
. - In
DataFeedSchema
, removed the setter of the propertyDimensionColumns
. - In
DataFeedRollupSettings
, removed the setter of the propertyAutoRollupGroupByColumnNames
. - In
AnomalyDetectionConfiguration
, removed the setters of the propertiesSeriesDetectionConditions
andSeriesGroupDetectionConditions
. - In
WebNotificationHook
, removed the setter of the propertyHeaders
. - In
GetAnomaliesForDetectionConfigurationFilter
, removed the setter of the propertySeriesGroupKeys
. Keys can be added directly to the property. - In
GetMetricSeriesDefinitionsOptions
, removed the setter of the propertyDimensionCombinationsToFilter
. Keys combinations can be added directly to the property. - In
GetValuesOfDimensionWithAnomaliesOptions
, removed the setter of the propertyDimensionToFilter
. Dimension columns can be added directly to the property. DataFeed.SourceType
is now nullable. It will be null wheneverDataFeed.DataSource
is null.DataFeed.IngestionStartTime
is now nullable.MetricsAdvisorAdministrationClient.CreateDataFeed
sync and async methods now throw anArgumentException
if required properties are not set properly.MetricsAdvisorAdministrationClient.CreateDetectionConfiguration
sync and async methods now throw anArgumentException
if required properties are not set properly.MetricsAdvisorAdministrationClient.CreateAlertConfiguration
sync and async methods now throw anArgumentException
if required properties are not set properly.- In
MetricsAdvisorKeyCredential
, renamed the parameterkey
tosubscriptionKey
in the methodUpdateSubscriptionKey
. - In
MetricsAdvisorKeyCredential
, renamed the parameterkey
toapiKey
in the methodUpdateApiKey
. - In
GetMetricSeriesDataOptions
, removed the parameterseriesToFilter
from the constructor. Keys can be added directly toSeriesToFilter
. - In
FeedbackDimensionFilter
, removed the parameterdimensionFilter
from the constructor. Dimension columns can be added directly toDimensionFilter
.
Key Bug Fixes
- Fixed a bug in which setting
WebNotificationHook.CertificatePassword
would actually set the propertyUsername
instead. - Fixed a bug in which an
ArgumentNullException
was thrown when getting aDataFeed
from the service as a Viewer. - Fixed a bug in which a data feed's administrators and viewers could not be set during creation.