Versions in this module Expand all Collapse all v24 v24.1.0 Jan 15, 2019 v24.0.0 Dec 19, 2018 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type Alert struct + ID *string + Name *string + Properties *AlertProperties + Type *string + type AlertModification struct + ID *string + Name *string + Properties *AlertModificationProperties + Type *string + type AlertModificationEvent string + const AlertCreated + const MonitorConditionChange + 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 + type AlertProperties struct + Context interface{} + EgressConfig interface{} + Essentials *Essentials + 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) + 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(getNextPage func(context.Context, AlertsList) (AlertsList, error)) 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 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 + 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 BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + 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 + 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 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(getNextPage func(context.Context, OperationsList) (OperationsList, error)) 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 Resource struct + ID *string + Name *string + Type *string + 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 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 + 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 + 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 + 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 SmartGroupsList, 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 + 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 TimeRange string + const Oned + const Oneh + const Sevend + const ThreeZerod + func PossibleTimeRangeValues() []TimeRange Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v22 gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v28 gopkg.in/Azure/azure-sdk-for-go.v29 gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v35 gopkg.in/Azure/azure-sdk-for-go.v36 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48