Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type ActionGroup struct + ActionGroupID *string + WebhookProperties map[string]*string + func (ag ActionGroup) MarshalJSON() ([]byte, error) + type ActionList struct + ActionGroups *[]ActionGroup + type AlertResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (ar *AlertResource) UnmarshalJSON(body []byte) error + func (ar AlertResource) MarshalJSON() ([]byte, error) + type AlertRuleAllOfCondition struct + AllOf *[]AlertRuleAnyOfOrLeafCondition + type AlertRuleAnyOfOrLeafCondition struct + AnyOf *[]AlertRuleLeafCondition + ContainsAny *[]string + Equals *string + Field *string + type AlertRuleLeafCondition struct + ContainsAny *[]string + Equals *string + Field *string + type AlertRuleList struct + NextLink *string + Value *[]AlertResource + func (arl AlertRuleList) IsEmpty() bool + type AlertRuleListIterator struct + func NewAlertRuleListIterator(page AlertRuleListPage) AlertRuleListIterator + func (iter *AlertRuleListIterator) Next() error + func (iter *AlertRuleListIterator) NextWithContext(ctx context.Context) (err error) + func (iter AlertRuleListIterator) NotDone() bool + func (iter AlertRuleListIterator) Response() AlertRuleList + func (iter AlertRuleListIterator) Value() AlertResource + type AlertRuleListPage struct + func NewAlertRuleListPage(cur AlertRuleList, ...) AlertRuleListPage + func (page *AlertRuleListPage) Next() error + func (page *AlertRuleListPage) NextWithContext(ctx context.Context) (err error) + func (page AlertRuleListPage) NotDone() bool + func (page AlertRuleListPage) Response() AlertRuleList + func (page AlertRuleListPage) Values() []AlertResource + type AlertRulePatchObject struct + Tags map[string]*string + func (arpo *AlertRulePatchObject) UnmarshalJSON(body []byte) error + func (arpo AlertRulePatchObject) MarshalJSON() ([]byte, error) + type AlertRulePatchProperties struct + Enabled *bool + type AlertRuleProperties struct + Actions *ActionList + Condition *AlertRuleAllOfCondition + Description *string + Enabled *bool + Scopes *[]string + type AlertsClient struct + func NewAlertsClient(subscriptionID string) AlertsClient + func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient + func (client AlertsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, activityLogAlertName string, ...) (result AlertResource, err error) + func (client AlertsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, ...) (*http.Request, error) + func (client AlertsClient) CreateOrUpdateResponder(resp *http.Response) (result AlertResource, err error) + func (client AlertsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) Delete(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result autorest.Response, err error) + func (client AlertsClient) DeletePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error) + func (client AlertsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client AlertsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) Get(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result AlertResource, err error) + func (client AlertsClient) GetPreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error) + func (client AlertsClient) GetResponder(resp *http.Response) (result AlertResource, err error) + func (client AlertsClient) GetSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AlertRuleListPage, err error) + func (client AlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AlertRuleListIterator, err error) + func (client AlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client AlertsClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRuleList, err error) + func (client AlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) ListBySubscriptionID(ctx context.Context) (result AlertRuleListPage, err error) + func (client AlertsClient) ListBySubscriptionIDComplete(ctx context.Context) (result AlertRuleListIterator, err error) + func (client AlertsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error) + func (client AlertsClient) ListBySubscriptionIDResponder(resp *http.Response) (result AlertRuleList, err error) + func (client AlertsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) + func (client AlertsClient) Update(ctx context.Context, resourceGroupName string, activityLogAlertName string, ...) (result AlertResource, err error) + func (client AlertsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, ...) (*http.Request, error) + func (client AlertsClient) UpdateResponder(resp *http.Response) (result AlertResource, err error) + func (client AlertsClient) UpdateSender(req *http.Request) (*http.Response, error) + 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 Client struct + func NewClient(subscriptionID string) Client + func NewClientWithBaseURI(baseURI string, subscriptionID string) Client + func (client Client) List(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionPage, err error) + func (client Client) ListComplete(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionIterator, err error) + func (client Client) ListPreparer(ctx context.Context, filter string, selectParameter string) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result EventDataCollection, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + type ErrorResponse struct + Code *string + Message *string + type EventData struct + Authorization *SenderAuthorization + Caller *string + Category *LocalizableString + Claims map[string]*string + CorrelationID *string + Description *string + EventDataID *string + EventName *LocalizableString + EventTimestamp *date.Time + HTTPRequest *HTTPRequestInfo + ID *string + Level EventLevel + OperationID *string + OperationName *LocalizableString + Properties map[string]*string + ResourceGroupName *string + ResourceID *string + ResourceProviderName *LocalizableString + ResourceType *LocalizableString + Status *LocalizableString + SubStatus *LocalizableString + SubmissionTimestamp *date.Time + SubscriptionID *string + TenantID *string + func (ed EventData) MarshalJSON() ([]byte, error) + type EventDataCollection struct + NextLink *string + Value *[]EventData + func (edc EventDataCollection) IsEmpty() bool + type EventDataCollectionIterator struct + func NewEventDataCollectionIterator(page EventDataCollectionPage) EventDataCollectionIterator + func (iter *EventDataCollectionIterator) Next() error + func (iter *EventDataCollectionIterator) NextWithContext(ctx context.Context) (err error) + func (iter EventDataCollectionIterator) NotDone() bool + func (iter EventDataCollectionIterator) Response() EventDataCollection + func (iter EventDataCollectionIterator) Value() EventData + type EventDataCollectionPage struct + func NewEventDataCollectionPage(cur EventDataCollection, ...) EventDataCollectionPage + func (page *EventDataCollectionPage) Next() error + func (page *EventDataCollectionPage) NextWithContext(ctx context.Context) (err error) + func (page EventDataCollectionPage) NotDone() bool + func (page EventDataCollectionPage) Response() EventDataCollection + func (page EventDataCollectionPage) Values() []EventData + type EventLevel string + const EventLevelCritical + const EventLevelError + const EventLevelInformational + const EventLevelVerbose + const EventLevelWarning + func PossibleEventLevelValues() []EventLevel + type HTTPRequestInfo struct + ClientIPAddress *string + ClientRequestID *string + Method *string + URI *string + type LocalizableString struct + LocalizedValue *string + Value *string + type SenderAuthorization struct + Action *string + Role *string + Scope *string + type TenantActivityLogsClient struct + func NewTenantActivityLogsClient(subscriptionID string) TenantActivityLogsClient + func NewTenantActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) TenantActivityLogsClient + func (client TenantActivityLogsClient) List(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionPage, err error) + func (client TenantActivityLogsClient) ListComplete(ctx context.Context, filter string, selectParameter string) (result EventDataCollectionIterator, err error) + func (client TenantActivityLogsClient) ListPreparer(ctx context.Context, filter string, selectParameter string) (*http.Request, error) + func (client TenantActivityLogsClient) ListResponder(resp *http.Response) (result EventDataCollection, err error) + func (client TenantActivityLogsClient) ListSender(req *http.Request) (*http.Response, error)