...

Source file src/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2020-10-01/insights/insightsapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2020-10-01/insights/insightsapi

     1  // 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.
     2  package insightsapi
     3  
     4  // Copyright (c) Microsoft Corporation. All rights reserved.
     5  // Licensed under the MIT License. See License.txt in the project root for license information.
     6  //
     7  // Code generated by Microsoft (R) AutoRest Code Generator.
     8  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     9  
    10  import (
    11  	"context"
    12  	"github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2020-10-01/insights"
    13  	"github.com/Azure/go-autorest/autorest"
    14  )
    15  
    16  // ActivityLogAlertsClientAPI contains the set of methods on the ActivityLogAlertsClient type.
    17  type ActivityLogAlertsClientAPI interface {
    18  	CreateOrUpdate(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule insights.ActivityLogAlertResource) (result insights.ActivityLogAlertResource, err error)
    19  	Delete(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result autorest.Response, err error)
    20  	Get(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result insights.ActivityLogAlertResource, err error)
    21  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.AlertRuleListPage, err error)
    22  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result insights.AlertRuleListIterator, err error)
    23  	ListBySubscriptionID(ctx context.Context) (result insights.AlertRuleListPage, err error)
    24  	ListBySubscriptionIDComplete(ctx context.Context) (result insights.AlertRuleListIterator, err error)
    25  	Update(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch insights.AlertRulePatchObject) (result insights.ActivityLogAlertResource, err error)
    26  }
    27  
    28  var _ ActivityLogAlertsClientAPI = (*insights.ActivityLogAlertsClient)(nil)
    29  

View as plain text