...

Package activitylogsapi

import "github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2020-10-01/activitylogs/activitylogsapi"
Overview
Index

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

type AlertsClientAPI

AlertsClientAPI contains the set of methods on the AlertsClient type.

type AlertsClientAPI interface {
    CreateOrUpdate(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule activitylogs.AlertResource) (result activitylogs.AlertResource, err error)
    Delete(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result autorest.Response, err error)
    Get(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result activitylogs.AlertResource, err error)
    ListByResourceGroup(ctx context.Context, resourceGroupName string) (result activitylogs.AlertRuleListPage, err error)
    ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result activitylogs.AlertRuleListIterator, err error)
    ListBySubscriptionID(ctx context.Context) (result activitylogs.AlertRuleListPage, err error)
    ListBySubscriptionIDComplete(ctx context.Context) (result activitylogs.AlertRuleListIterator, err error)
    Update(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch activitylogs.AlertRulePatchObject) (result activitylogs.AlertResource, err error)
}

type ClientAPI

ClientAPI contains the set of methods on the Client type.

type ClientAPI interface {
    List(ctx context.Context, filter string, selectParameter string) (result activitylogs.EventDataCollectionPage, err error)
    ListComplete(ctx context.Context, filter string, selectParameter string) (result activitylogs.EventDataCollectionIterator, err error)
}

type TenantActivityLogsClientAPI

TenantActivityLogsClientAPI contains the set of methods on the TenantActivityLogsClient type.

type TenantActivityLogsClientAPI interface {
    List(ctx context.Context, filter string, selectParameter string) (result activitylogs.EventDataCollectionPage, err error)
    ListComplete(ctx context.Context, filter string, selectParameter string) (result activitylogs.EventDataCollectionIterator, err error)
}