Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type ActionGroup struct + ActionGroupID *string + Conditions *Conditions + CreatedAt *date.Time + CreatedBy *string + Description *string + LastModifiedAt *date.Time + LastModifiedBy *string + Scope *Scope + Status ActionRuleStatus + Type Type + func (ag ActionGroup) AsActionGroup() (*ActionGroup, bool) + func (ag ActionGroup) AsActionRuleProperties() (*ActionRuleProperties, bool) + func (ag ActionGroup) AsBasicActionRuleProperties() (BasicActionRuleProperties, bool) + func (ag ActionGroup) AsDiagnostics() (*Diagnostics, bool) + func (ag ActionGroup) AsSuppression() (*Suppression, bool) + func (ag ActionGroup) MarshalJSON() ([]byte, error) + type ActionGroupsInformation struct + CustomEmailSubject *string + CustomWebhookPayload *string + GroupIds *[]string + type ActionRule struct + ID *string + Location *string + Name *string + Properties BasicActionRuleProperties + Tags map[string]*string + Type *string + func (ar *ActionRule) UnmarshalJSON(body []byte) error + func (ar ActionRule) MarshalJSON() ([]byte, error) + type ActionRuleProperties struct + Conditions *Conditions + CreatedAt *date.Time + CreatedBy *string + Description *string + LastModifiedAt *date.Time + LastModifiedBy *string + Scope *Scope + Status ActionRuleStatus + Type Type + func (arp ActionRuleProperties) AsActionGroup() (*ActionGroup, bool) + func (arp ActionRuleProperties) AsActionRuleProperties() (*ActionRuleProperties, bool) + func (arp ActionRuleProperties) AsBasicActionRuleProperties() (BasicActionRuleProperties, bool) + func (arp ActionRuleProperties) AsDiagnostics() (*Diagnostics, bool) + func (arp ActionRuleProperties) AsSuppression() (*Suppression, bool) + func (arp ActionRuleProperties) MarshalJSON() ([]byte, error) + type ActionRuleStatus string + const Disabled + const Enabled + func PossibleActionRuleStatusValues() []ActionRuleStatus + type ActionRulesClient struct + func NewActionRulesClient(subscriptionID string) ActionRulesClient + func NewActionRulesClientWithBaseURI(baseURI string, subscriptionID string) ActionRulesClient + func (client ActionRulesClient) CreateUpdate(ctx context.Context, resourceGroupName string, actionRuleName string, ...) (result ActionRule, err error) + func (client ActionRulesClient) CreateUpdatePreparer(ctx context.Context, resourceGroupName string, actionRuleName string, ...) (*http.Request, error) + func (client ActionRulesClient) CreateUpdateResponder(resp *http.Response) (result ActionRule, err error) + func (client ActionRulesClient) CreateUpdateSender(req *http.Request) (*http.Response, error) + func (client ActionRulesClient) Delete(ctx context.Context, resourceGroupName string, actionRuleName string) (result Bool, err error) + func (client ActionRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, actionRuleName string) (*http.Request, error) + func (client ActionRulesClient) DeleteResponder(resp *http.Response) (result Bool, err error) + func (client ActionRulesClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client ActionRulesClient) GetByName(ctx context.Context, resourceGroupName string, actionRuleName string) (result ActionRule, err error) + func (client ActionRulesClient) GetByNamePreparer(ctx context.Context, resourceGroupName string, actionRuleName string) (*http.Request, error) + func (client ActionRulesClient) GetByNameResponder(resp *http.Response) (result ActionRule, err error) + func (client ActionRulesClient) GetByNameSender(req *http.Request) (*http.Response, error) + func (client ActionRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, targetResourceGroup string, ...) (result ActionRulesListPage, err error) + func (client ActionRulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, targetResourceGroup string, ...) (result ActionRulesListIterator, err error) + func (client ActionRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, targetResourceGroup string, ...) (*http.Request, error) + func (client ActionRulesClient) ListByResourceGroupResponder(resp *http.Response) (result ActionRulesList, err error) + func (client ActionRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client ActionRulesClient) ListBySubscription(ctx context.Context, targetResourceGroup string, targetResourceType string, ...) (result ActionRulesListPage, err error) + func (client ActionRulesClient) ListBySubscriptionComplete(ctx context.Context, targetResourceGroup string, targetResourceType string, ...) (result ActionRulesListIterator, err error) + func (client ActionRulesClient) ListBySubscriptionPreparer(ctx context.Context, targetResourceGroup string, targetResourceType string, ...) (*http.Request, error) + func (client ActionRulesClient) ListBySubscriptionResponder(resp *http.Response) (result ActionRulesList, err error) + func (client ActionRulesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) + func (client ActionRulesClient) Update(ctx context.Context, resourceGroupName string, actionRuleName string, ...) (result ActionRule, err error) + func (client ActionRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, actionRuleName string, ...) (*http.Request, error) + func (client ActionRulesClient) UpdateResponder(resp *http.Response) (result ActionRule, err error) + func (client ActionRulesClient) UpdateSender(req *http.Request) (*http.Response, error) + type ActionRulesList struct + NextLink *string + Value *[]ActionRule + func (arl ActionRulesList) IsEmpty() bool + type ActionRulesListIterator struct + func NewActionRulesListIterator(page ActionRulesListPage) ActionRulesListIterator + func (iter *ActionRulesListIterator) Next() error + func (iter *ActionRulesListIterator) NextWithContext(ctx context.Context) (err error) + func (iter ActionRulesListIterator) NotDone() bool + func (iter ActionRulesListIterator) Response() ActionRulesList + func (iter ActionRulesListIterator) Value() ActionRule + type ActionRulesListPage struct + func NewActionRulesListPage(cur ActionRulesList, ...) ActionRulesListPage + func (page *ActionRulesListPage) Next() error + func (page *ActionRulesListPage) NextWithContext(ctx context.Context) (err error) + func (page ActionRulesListPage) NotDone() bool + func (page ActionRulesListPage) Response() ActionRulesList + func (page ActionRulesListPage) Values() []ActionRule + type Alert struct + ID *string + Name *string + Properties *AlertProperties + Type *string + func (a Alert) MarshalJSON() ([]byte, error) + type AlertModification struct + ID *string + Name *string + Properties *AlertModificationProperties + Type *string + func (am AlertModification) MarshalJSON() ([]byte, error) + type AlertModificationEvent string + const ActionRuleSuppressed + const ActionRuleTriggered + const ActionsFailed + const ActionsSuppressed + const ActionsTriggered + const AlertCreated + const MonitorConditionChange + const SeverityChange + const StateChange + func PossibleAlertModificationEventValues() []AlertModificationEvent + type AlertModificationItem struct + Comments *string + Description *string + ModificationEvent AlertModificationEvent + ModifiedAt *string + ModifiedBy *string + NewValue *string + OldValue *string + type AlertModificationProperties struct + AlertID *string + Modifications *[]AlertModificationItem + func (amp AlertModificationProperties) MarshalJSON() ([]byte, error) + type AlertProperties struct + Context interface{} + EgressConfig interface{} + Essentials *Essentials + type AlertRule struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (ar *AlertRule) UnmarshalJSON(body []byte) error + func (ar AlertRule) MarshalJSON() ([]byte, error) + type AlertRulePatchObject struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (arpo *AlertRulePatchObject) UnmarshalJSON(body []byte) error + func (arpo AlertRulePatchObject) MarshalJSON() ([]byte, error) + type AlertRulePatchProperties struct + ActionGroups *ActionGroupsInformation + Description *string + Frequency *string + Severity Severity + State AlertRuleState + Throttling *ThrottlingInformation + type AlertRuleProperties struct + ActionGroups *ActionGroupsInformation + Description *string + Detector *Detector + Frequency *string + Scope *[]string + Severity Severity + State AlertRuleState + Throttling *ThrottlingInformation + type AlertRuleState string + const AlertRuleStateDisabled + const AlertRuleStateEnabled + func PossibleAlertRuleStateValues() []AlertRuleState + type AlertRulesList struct + NextLink *string + Value *[]AlertRule + func (arl AlertRulesList) IsEmpty() bool + type AlertRulesListIterator struct + func NewAlertRulesListIterator(page AlertRulesListPage) AlertRulesListIterator + func (iter *AlertRulesListIterator) Next() error + func (iter *AlertRulesListIterator) NextWithContext(ctx context.Context) (err error) + func (iter AlertRulesListIterator) NotDone() bool + func (iter AlertRulesListIterator) Response() AlertRulesList + func (iter AlertRulesListIterator) Value() AlertRule + type AlertRulesListPage struct + func NewAlertRulesListPage(cur AlertRulesList, ...) AlertRulesListPage + func (page *AlertRulesListPage) Next() error + func (page *AlertRulesListPage) NextWithContext(ctx context.Context) (err error) + func (page AlertRulesListPage) NotDone() bool + func (page AlertRulesListPage) Response() AlertRulesList + func (page AlertRulesListPage) Values() []AlertRule + type AlertState string + const AlertStateAcknowledged + const AlertStateClosed + const AlertStateNew + func PossibleAlertStateValues() []AlertState + type AlertsClient struct + func NewAlertsClient(subscriptionID string) AlertsClient + func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient + func (client AlertsClient) ChangeState(ctx context.Context, alertID string, newState AlertState) (result Alert, err error) + func (client AlertsClient) ChangeStatePreparer(ctx context.Context, alertID string, newState AlertState) (*http.Request, error) + func (client AlertsClient) ChangeStateResponder(resp *http.Response) (result Alert, err error) + func (client AlertsClient) ChangeStateSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) GetAll(ctx context.Context, targetResource string, targetResourceType string, ...) (result AlertsListPage, err error) + func (client AlertsClient) GetAllComplete(ctx context.Context, targetResource string, targetResourceType string, ...) (result AlertsListIterator, err error) + func (client AlertsClient) GetAllPreparer(ctx context.Context, targetResource string, targetResourceType string, ...) (*http.Request, error) + func (client AlertsClient) GetAllResponder(resp *http.Response) (result AlertsList, err error) + func (client AlertsClient) GetAllSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) GetByID(ctx context.Context, alertID string) (result Alert, err error) + func (client AlertsClient) GetByIDPreparer(ctx context.Context, alertID string) (*http.Request, error) + func (client AlertsClient) GetByIDResponder(resp *http.Response) (result Alert, err error) + func (client AlertsClient) GetByIDSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) GetHistory(ctx context.Context, alertID string) (result AlertModification, err error) + func (client AlertsClient) GetHistoryPreparer(ctx context.Context, alertID string) (*http.Request, error) + func (client AlertsClient) GetHistoryResponder(resp *http.Response) (result AlertModification, err error) + func (client AlertsClient) GetHistorySender(req *http.Request) (*http.Response, error) + func (client AlertsClient) GetSummary(ctx context.Context, groupby AlertsSummaryGroupByFields, ...) (result AlertsSummary, err error) + func (client AlertsClient) GetSummaryPreparer(ctx context.Context, groupby AlertsSummaryGroupByFields, ...) (*http.Request, error) + func (client AlertsClient) GetSummaryResponder(resp *http.Response) (result AlertsSummary, err error) + func (client AlertsClient) GetSummarySender(req *http.Request) (*http.Response, error) + func (client AlertsClient) MetaData(ctx context.Context) (result AlertsMetaData, err error) + func (client AlertsClient) MetaDataPreparer(ctx context.Context) (*http.Request, error) + func (client AlertsClient) MetaDataResponder(resp *http.Response) (result AlertsMetaData, err error) + func (client AlertsClient) MetaDataSender(req *http.Request) (*http.Response, error) + type AlertsList struct + NextLink *string + Value *[]Alert + func (al AlertsList) IsEmpty() bool + type AlertsListIterator struct + func NewAlertsListIterator(page AlertsListPage) AlertsListIterator + func (iter *AlertsListIterator) Next() error + func (iter *AlertsListIterator) NextWithContext(ctx context.Context) (err error) + func (iter AlertsListIterator) NotDone() bool + func (iter AlertsListIterator) Response() AlertsList + func (iter AlertsListIterator) Value() Alert + type AlertsListPage struct + func NewAlertsListPage(cur AlertsList, ...) AlertsListPage + func (page *AlertsListPage) Next() error + func (page *AlertsListPage) NextWithContext(ctx context.Context) (err error) + func (page AlertsListPage) NotDone() bool + func (page AlertsListPage) Response() AlertsList + func (page AlertsListPage) Values() []Alert + type AlertsMetaData struct + Properties BasicAlertsMetaDataProperties + func (amd *AlertsMetaData) UnmarshalJSON(body []byte) error + type AlertsMetaDataProperties struct + MetadataIdentifier MetadataIdentifier + func (amdp AlertsMetaDataProperties) AsAlertsMetaDataProperties() (*AlertsMetaDataProperties, bool) + func (amdp AlertsMetaDataProperties) AsBasicAlertsMetaDataProperties() (BasicAlertsMetaDataProperties, bool) + func (amdp AlertsMetaDataProperties) AsMonitorServiceList() (*MonitorServiceList, bool) + func (amdp AlertsMetaDataProperties) MarshalJSON() ([]byte, error) + type AlertsSortByFields string + const AlertsSortByFieldsAlertState + const AlertsSortByFieldsLastModifiedDateTime + const AlertsSortByFieldsMonitorCondition + const AlertsSortByFieldsName + const AlertsSortByFieldsSeverity + const AlertsSortByFieldsStartDateTime + const AlertsSortByFieldsTargetResource + const AlertsSortByFieldsTargetResourceGroup + const AlertsSortByFieldsTargetResourceName + const AlertsSortByFieldsTargetResourceType + func PossibleAlertsSortByFieldsValues() []AlertsSortByFields + type AlertsSummary struct + ID *string + Name *string + Properties *AlertsSummaryGroup + Type *string + func (as AlertsSummary) MarshalJSON() ([]byte, error) + type AlertsSummaryGroup struct + Groupedby *string + SmartGroupsCount *int32 + Total *int32 + Values *[]AlertsSummaryGroupItem + type AlertsSummaryGroupByFields string + const AlertsSummaryGroupByFieldsAlertRule + const AlertsSummaryGroupByFieldsAlertState + const AlertsSummaryGroupByFieldsMonitorCondition + const AlertsSummaryGroupByFieldsMonitorService + const AlertsSummaryGroupByFieldsSeverity + const AlertsSummaryGroupByFieldsSignalType + func PossibleAlertsSummaryGroupByFieldsValues() []AlertsSummaryGroupByFields + type AlertsSummaryGroupItem struct + Count *int32 + Groupedby *string + Name *string + Values *[]AlertsSummaryGroupItem + type AzureResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (ar AzureResource) MarshalJSON() ([]byte, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type BasicActionRuleProperties interface + AsActionGroup func() (*ActionGroup, bool) + AsActionRuleProperties func() (*ActionRuleProperties, bool) + AsDiagnostics func() (*Diagnostics, bool) + AsSuppression func() (*Suppression, bool) + type BasicAlertsMetaDataProperties interface + AsAlertsMetaDataProperties func() (*AlertsMetaDataProperties, bool) + AsMonitorServiceList func() (*MonitorServiceList, bool) + type Bool struct + Value *bool + type Condition struct + Operator Operator + Values *[]string + type Conditions struct + AlertContext *Condition + AlertRuleID *Condition + Description *Condition + MonitorCondition *Condition + MonitorService *Condition + Severity *Condition + TargetResourceType *Condition + type Detector struct + Description *string + ID *string + ImagePaths *[]string + Name *string + Parameters map[string]interface{} + SupportedResourceTypes *[]string + func (d Detector) MarshalJSON() ([]byte, error) + type Diagnostics struct + Conditions *Conditions + CreatedAt *date.Time + CreatedBy *string + Description *string + LastModifiedAt *date.Time + LastModifiedBy *string + Scope *Scope + Status ActionRuleStatus + Type Type + func (d Diagnostics) AsActionGroup() (*ActionGroup, bool) + func (d Diagnostics) AsActionRuleProperties() (*ActionRuleProperties, bool) + func (d Diagnostics) AsBasicActionRuleProperties() (BasicActionRuleProperties, bool) + func (d Diagnostics) AsDiagnostics() (*Diagnostics, bool) + func (d Diagnostics) AsSuppression() (*Suppression, bool) + func (d Diagnostics) MarshalJSON() ([]byte, error) + type ErrorResponse struct + Error *ErrorResponseBody + type ErrorResponseBody struct + Code *string + Details *[]ErrorResponseBody + Message *string + Target *string + type Essentials struct + AlertRule *string + AlertState AlertState + LastModifiedDateTime *date.Time + LastModifiedUserName *string + MonitorCondition MonitorCondition + MonitorConditionResolvedDateTime *date.Time + MonitorService MonitorService + Severity Severity + SignalType SignalType + SmartGroupID *string + SmartGroupingReason *string + SourceCreatedID *string + StartDateTime *date.Time + TargetResource *string + TargetResourceGroup *string + TargetResourceName *string + TargetResourceType *string + func (e Essentials) MarshalJSON() ([]byte, error) + type ManagedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (mr ManagedResource) MarshalJSON() ([]byte, error) + type MetadataIdentifier string + const MetadataIdentifierAlertsMetaDataProperties + const MetadataIdentifierMonitorServiceList + func PossibleMetadataIdentifierValues() []MetadataIdentifier + type MonitorCondition string + const Fired + const Resolved + func PossibleMonitorConditionValues() []MonitorCondition + type MonitorService string + const ActivityLogAdministrative + const ActivityLogAutoscale + const ActivityLogPolicy + const ActivityLogRecommendation + const ActivityLogSecurity + const ApplicationInsights + const LogAnalytics + const Nagios + const Platform + const SCOM + const ServiceHealth + const SmartDetector + const VMInsights + const Zabbix + func PossibleMonitorServiceValues() []MonitorService + type MonitorServiceDetails struct + DisplayName *string + Name *string + type MonitorServiceList struct + Data *[]MonitorServiceDetails + MetadataIdentifier MetadataIdentifier + func (msl MonitorServiceList) AsAlertsMetaDataProperties() (*AlertsMetaDataProperties, bool) + func (msl MonitorServiceList) AsBasicAlertsMetaDataProperties() (BasicAlertsMetaDataProperties, bool) + func (msl MonitorServiceList) AsMonitorServiceList() (*MonitorServiceList, bool) + func (msl MonitorServiceList) MarshalJSON() ([]byte, error) + type Operation struct + Display *OperationDisplay + Name *string + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationsListPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationsListIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsList, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type OperationsList struct + NextLink *string + Value *[]Operation + func (ol OperationsList) IsEmpty() bool + type OperationsListIterator struct + func NewOperationsListIterator(page OperationsListPage) OperationsListIterator + func (iter *OperationsListIterator) Next() error + func (iter *OperationsListIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationsListIterator) NotDone() bool + func (iter OperationsListIterator) Response() OperationsList + func (iter OperationsListIterator) Value() Operation + type OperationsListPage struct + func NewOperationsListPage(cur OperationsList, ...) OperationsListPage + func (page *OperationsListPage) Next() error + func (page *OperationsListPage) NextWithContext(ctx context.Context) (err error) + func (page OperationsListPage) NotDone() bool + func (page OperationsListPage) Response() OperationsList + func (page OperationsListPage) Values() []Operation + type Operator string + const Contains + const DoesNotContain + const Equals + const NotEquals + func PossibleOperatorValues() []Operator + type PatchObject struct + Tags interface{} + func (po *PatchObject) UnmarshalJSON(body []byte) error + func (po PatchObject) MarshalJSON() ([]byte, error) + type PatchProperties struct + Status ActionRuleStatus + type Resource struct + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type Scope struct + ScopeType ScopeType + Values *[]string + type ScopeType string + const ScopeTypeResource + const ScopeTypeResourceGroup + const ScopeTypeSubscription + func PossibleScopeTypeValues() []ScopeType + type Severity string + const Sev0 + const Sev1 + const Sev2 + const Sev3 + const Sev4 + func PossibleSeverityValues() []Severity + type SignalType string + const Log + const Metric + const Unknown + func PossibleSignalTypeValues() []SignalType + type SmartDetectorAlertRulesClient struct + func NewSmartDetectorAlertRulesClient(subscriptionID string) SmartDetectorAlertRulesClient + func NewSmartDetectorAlertRulesClientWithBaseURI(baseURI string, subscriptionID string) SmartDetectorAlertRulesClient + func (client SmartDetectorAlertRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, alertRuleName string, ...) (result AlertRule, err error) + func (client SmartDetectorAlertRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, alertRuleName string, ...) (*http.Request, error) + func (client SmartDetectorAlertRulesClient) CreateOrUpdateResponder(resp *http.Response) (result AlertRule, err error) + func (client SmartDetectorAlertRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client SmartDetectorAlertRulesClient) Delete(ctx context.Context, resourceGroupName string, alertRuleName string) (result autorest.Response, err error) + func (client SmartDetectorAlertRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, alertRuleName string) (*http.Request, error) + func (client SmartDetectorAlertRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client SmartDetectorAlertRulesClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client SmartDetectorAlertRulesClient) Get(ctx context.Context, resourceGroupName string, alertRuleName string, ...) (result AlertRule, err error) + func (client SmartDetectorAlertRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, alertRuleName string, ...) (*http.Request, error) + func (client SmartDetectorAlertRulesClient) GetResponder(resp *http.Response) (result AlertRule, err error) + func (client SmartDetectorAlertRulesClient) GetSender(req *http.Request) (*http.Response, error) + func (client SmartDetectorAlertRulesClient) List(ctx context.Context, expandDetector *bool) (result AlertRulesListPage, err error) + func (client SmartDetectorAlertRulesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expandDetector *bool) (result AlertRulesListPage, err error) + func (client SmartDetectorAlertRulesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expandDetector *bool) (result AlertRulesListIterator, err error) + func (client SmartDetectorAlertRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expandDetector *bool) (*http.Request, error) + func (client SmartDetectorAlertRulesClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRulesList, err error) + func (client SmartDetectorAlertRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client SmartDetectorAlertRulesClient) ListComplete(ctx context.Context, expandDetector *bool) (result AlertRulesListIterator, err error) + func (client SmartDetectorAlertRulesClient) ListPreparer(ctx context.Context, expandDetector *bool) (*http.Request, error) + func (client SmartDetectorAlertRulesClient) ListResponder(resp *http.Response) (result AlertRulesList, err error) + func (client SmartDetectorAlertRulesClient) ListSender(req *http.Request) (*http.Response, error) + func (client SmartDetectorAlertRulesClient) Patch(ctx context.Context, resourceGroupName string, alertRuleName string, ...) (result AlertRule, err error) + func (client SmartDetectorAlertRulesClient) PatchPreparer(ctx context.Context, resourceGroupName string, alertRuleName string, ...) (*http.Request, error) + func (client SmartDetectorAlertRulesClient) PatchResponder(resp *http.Response) (result AlertRule, err error) + func (client SmartDetectorAlertRulesClient) PatchSender(req *http.Request) (*http.Response, error) + type SmartDetectorErrorResponse struct + Code *string + Message *string + type SmartGroup struct + ID *string + Name *string + Type *string + func (sg *SmartGroup) UnmarshalJSON(body []byte) error + func (sg SmartGroup) MarshalJSON() ([]byte, error) + type SmartGroupAggregatedProperty struct + Count *int32 + Name *string + type SmartGroupModification struct + ID *string + Name *string + Properties *SmartGroupModificationProperties + Type *string + func (sgm SmartGroupModification) MarshalJSON() ([]byte, error) + type SmartGroupModificationEvent string + const SmartGroupModificationEventAlertAdded + const SmartGroupModificationEventAlertRemoved + const SmartGroupModificationEventSmartGroupCreated + const SmartGroupModificationEventStateChange + func PossibleSmartGroupModificationEventValues() []SmartGroupModificationEvent + type SmartGroupModificationItem struct + Comments *string + Description *string + ModificationEvent SmartGroupModificationEvent + ModifiedAt *string + ModifiedBy *string + NewValue *string + OldValue *string + type SmartGroupModificationProperties struct + Modifications *[]SmartGroupModificationItem + NextLink *string + SmartGroupID *string + func (sgmp SmartGroupModificationProperties) MarshalJSON() ([]byte, error) + type SmartGroupProperties struct + AlertSeverities *[]SmartGroupAggregatedProperty + AlertStates *[]SmartGroupAggregatedProperty + AlertsCount *int32 + LastModifiedDateTime *date.Time + LastModifiedUserName *string + MonitorConditions *[]SmartGroupAggregatedProperty + MonitorServices *[]SmartGroupAggregatedProperty + NextLink *string + ResourceGroups *[]SmartGroupAggregatedProperty + ResourceTypes *[]SmartGroupAggregatedProperty + Resources *[]SmartGroupAggregatedProperty + Severity Severity + SmartGroupState State + StartDateTime *date.Time + func (sgp SmartGroupProperties) MarshalJSON() ([]byte, error) + type SmartGroupsClient struct + func NewSmartGroupsClient(subscriptionID string) SmartGroupsClient + func NewSmartGroupsClientWithBaseURI(baseURI string, subscriptionID string) SmartGroupsClient + func (client SmartGroupsClient) ChangeState(ctx context.Context, smartGroupID string, newState AlertState) (result SmartGroup, err error) + func (client SmartGroupsClient) ChangeStatePreparer(ctx context.Context, smartGroupID string, newState AlertState) (*http.Request, error) + func (client SmartGroupsClient) ChangeStateResponder(resp *http.Response) (result SmartGroup, err error) + func (client SmartGroupsClient) ChangeStateSender(req *http.Request) (*http.Response, error) + func (client SmartGroupsClient) GetAll(ctx context.Context, targetResource string, targetResourceGroup string, ...) (result SmartGroupsListPage, err error) + func (client SmartGroupsClient) GetAllComplete(ctx context.Context, targetResource string, targetResourceGroup string, ...) (result SmartGroupsListIterator, err error) + func (client SmartGroupsClient) GetAllPreparer(ctx context.Context, targetResource string, targetResourceGroup string, ...) (*http.Request, error) + func (client SmartGroupsClient) GetAllResponder(resp *http.Response) (result SmartGroupsList, err error) + func (client SmartGroupsClient) GetAllSender(req *http.Request) (*http.Response, error) + func (client SmartGroupsClient) GetByID(ctx context.Context, smartGroupID string) (result SmartGroup, err error) + func (client SmartGroupsClient) GetByIDPreparer(ctx context.Context, smartGroupID string) (*http.Request, error) + func (client SmartGroupsClient) GetByIDResponder(resp *http.Response) (result SmartGroup, err error) + func (client SmartGroupsClient) GetByIDSender(req *http.Request) (*http.Response, error) + func (client SmartGroupsClient) GetHistory(ctx context.Context, smartGroupID string) (result SmartGroupModification, err error) + func (client SmartGroupsClient) GetHistoryPreparer(ctx context.Context, smartGroupID string) (*http.Request, error) + func (client SmartGroupsClient) GetHistoryResponder(resp *http.Response) (result SmartGroupModification, err error) + func (client SmartGroupsClient) GetHistorySender(req *http.Request) (*http.Response, error) + type SmartGroupsList struct + NextLink *string + Value *[]SmartGroup + func (sgl SmartGroupsList) IsEmpty() bool + type SmartGroupsListIterator struct + func NewSmartGroupsListIterator(page SmartGroupsListPage) SmartGroupsListIterator + func (iter *SmartGroupsListIterator) Next() error + func (iter *SmartGroupsListIterator) NextWithContext(ctx context.Context) (err error) + func (iter SmartGroupsListIterator) NotDone() bool + func (iter SmartGroupsListIterator) Response() SmartGroupsList + func (iter SmartGroupsListIterator) Value() SmartGroup + type SmartGroupsListPage struct + func NewSmartGroupsListPage(cur SmartGroupsList, ...) SmartGroupsListPage + func (page *SmartGroupsListPage) Next() error + func (page *SmartGroupsListPage) NextWithContext(ctx context.Context) (err error) + func (page SmartGroupsListPage) NotDone() bool + func (page SmartGroupsListPage) Response() SmartGroupsList + func (page SmartGroupsListPage) Values() []SmartGroup + type SmartGroupsSortByFields string + const SmartGroupsSortByFieldsAlertsCount + const SmartGroupsSortByFieldsLastModifiedDateTime + const SmartGroupsSortByFieldsSeverity + const SmartGroupsSortByFieldsStartDateTime + const SmartGroupsSortByFieldsState + func PossibleSmartGroupsSortByFieldsValues() []SmartGroupsSortByFields + type State string + const StateAcknowledged + const StateClosed + const StateNew + func PossibleStateValues() []State + type Suppression struct + Conditions *Conditions + CreatedAt *date.Time + CreatedBy *string + Description *string + LastModifiedAt *date.Time + LastModifiedBy *string + Scope *Scope + Status ActionRuleStatus + SuppressionConfig *SuppressionConfig + Type Type + func (s Suppression) AsActionGroup() (*ActionGroup, bool) + func (s Suppression) AsActionRuleProperties() (*ActionRuleProperties, bool) + func (s Suppression) AsBasicActionRuleProperties() (BasicActionRuleProperties, bool) + func (s Suppression) AsDiagnostics() (*Diagnostics, bool) + func (s Suppression) AsSuppression() (*Suppression, bool) + func (s Suppression) MarshalJSON() ([]byte, error) + type SuppressionConfig struct + RecurrenceType SuppressionType + Schedule *SuppressionSchedule + type SuppressionSchedule struct + EndDate *string + EndTime *string + RecurrenceValues *[]int32 + StartDate *string + StartTime *string + type SuppressionType string + const Always + const Daily + const Monthly + const Once + const Weekly + func PossibleSuppressionTypeValues() []SuppressionType + type ThrottlingInformation struct + Duration *string + type TimeRange string + const Oned + const Oneh + const Sevend + const ThreeZerod + func PossibleTimeRangeValues() []TimeRange + type Type string + const TypeActionGroup + const TypeActionRuleProperties + const TypeDiagnostics + const TypeSuppression + func PossibleTypeValues() []Type