...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-09-01-preview/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/preview/monitor/mgmt/2021-09-01-preview/insights"
    13  	"github.com/Azure/go-autorest/autorest"
    14  )
    15  
    16  // AutoscaleSettingsClientAPI contains the set of methods on the AutoscaleSettingsClient type.
    17  type AutoscaleSettingsClientAPI interface {
    18  	CreateOrUpdate(ctx context.Context, resourceGroupName string, autoscaleSettingName string, parameters insights.AutoscaleSettingResource) (result insights.AutoscaleSettingResource, err error)
    19  	Delete(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (result autorest.Response, err error)
    20  	Get(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (result insights.AutoscaleSettingResource, err error)
    21  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.AutoscaleSettingResourceCollectionPage, err error)
    22  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result insights.AutoscaleSettingResourceCollectionIterator, err error)
    23  	ListBySubscription(ctx context.Context) (result insights.AutoscaleSettingResourceCollectionPage, err error)
    24  	ListBySubscriptionComplete(ctx context.Context) (result insights.AutoscaleSettingResourceCollectionIterator, err error)
    25  	Update(ctx context.Context, resourceGroupName string, autoscaleSettingName string, autoscaleSettingResource insights.AutoscaleSettingResourcePatch) (result insights.AutoscaleSettingResource, err error)
    26  }
    27  
    28  var _ AutoscaleSettingsClientAPI = (*insights.AutoscaleSettingsClient)(nil)
    29  
    30  // OperationsClientAPI contains the set of methods on the OperationsClient type.
    31  type OperationsClientAPI interface {
    32  	List(ctx context.Context) (result insights.OperationListResult, err error)
    33  }
    34  
    35  var _ OperationsClientAPI = (*insights.OperationsClient)(nil)
    36  
    37  // AlertRuleIncidentsClientAPI contains the set of methods on the AlertRuleIncidentsClient type.
    38  type AlertRuleIncidentsClientAPI interface {
    39  	Get(ctx context.Context, resourceGroupName string, ruleName string, incidentName string) (result insights.Incident, err error)
    40  	ListByAlertRule(ctx context.Context, resourceGroupName string, ruleName string) (result insights.IncidentListResult, err error)
    41  }
    42  
    43  var _ AlertRuleIncidentsClientAPI = (*insights.AlertRuleIncidentsClient)(nil)
    44  
    45  // AlertRulesClientAPI contains the set of methods on the AlertRulesClient type.
    46  type AlertRulesClientAPI interface {
    47  	CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters insights.AlertRuleResource) (result insights.AlertRuleResource, err error)
    48  	Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
    49  	Get(ctx context.Context, resourceGroupName string, ruleName string) (result insights.AlertRuleResource, err error)
    50  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.AlertRuleResourceCollection, err error)
    51  	ListBySubscription(ctx context.Context) (result insights.AlertRuleResourceCollection, err error)
    52  	Update(ctx context.Context, resourceGroupName string, ruleName string, alertRulesResource insights.AlertRuleResourcePatch) (result insights.AlertRuleResource, err error)
    53  }
    54  
    55  var _ AlertRulesClientAPI = (*insights.AlertRulesClient)(nil)
    56  
    57  // LogProfilesClientAPI contains the set of methods on the LogProfilesClient type.
    58  type LogProfilesClientAPI interface {
    59  	CreateOrUpdate(ctx context.Context, logProfileName string, parameters insights.LogProfileResource) (result insights.LogProfileResource, err error)
    60  	Delete(ctx context.Context, logProfileName string) (result autorest.Response, err error)
    61  	Get(ctx context.Context, logProfileName string) (result insights.LogProfileResource, err error)
    62  	List(ctx context.Context) (result insights.LogProfileCollection, err error)
    63  	Update(ctx context.Context, logProfileName string, logProfilesResource insights.LogProfileResourcePatch) (result insights.LogProfileResource, err error)
    64  }
    65  
    66  var _ LogProfilesClientAPI = (*insights.LogProfilesClient)(nil)
    67  
    68  // DiagnosticSettingsClientAPI contains the set of methods on the DiagnosticSettingsClient type.
    69  type DiagnosticSettingsClientAPI interface {
    70  	CreateOrUpdate(ctx context.Context, resourceURI string, parameters insights.DiagnosticSettingsResource, name string) (result insights.DiagnosticSettingsResource, err error)
    71  	Delete(ctx context.Context, resourceURI string, name string) (result autorest.Response, err error)
    72  	Get(ctx context.Context, resourceURI string, name string) (result insights.DiagnosticSettingsResource, err error)
    73  	List(ctx context.Context, resourceURI string) (result insights.DiagnosticSettingsResourceCollection, err error)
    74  }
    75  
    76  var _ DiagnosticSettingsClientAPI = (*insights.DiagnosticSettingsClient)(nil)
    77  
    78  // DiagnosticSettingsCategoryClientAPI contains the set of methods on the DiagnosticSettingsCategoryClient type.
    79  type DiagnosticSettingsCategoryClientAPI interface {
    80  	Get(ctx context.Context, resourceURI string, name string) (result insights.DiagnosticSettingsCategoryResource, err error)
    81  	List(ctx context.Context, resourceURI string) (result insights.DiagnosticSettingsCategoryResourceCollection, err error)
    82  }
    83  
    84  var _ DiagnosticSettingsCategoryClientAPI = (*insights.DiagnosticSettingsCategoryClient)(nil)
    85  
    86  // ActionGroupsClientAPI contains the set of methods on the ActionGroupsClient type.
    87  type ActionGroupsClientAPI interface {
    88  	CreateOrUpdate(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroup insights.ActionGroupResource) (result insights.ActionGroupResource, err error)
    89  	Delete(ctx context.Context, resourceGroupName string, actionGroupName string) (result autorest.Response, err error)
    90  	EnableReceiver(ctx context.Context, resourceGroupName string, actionGroupName string, enableRequest insights.EnableRequest) (result autorest.Response, err error)
    91  	Get(ctx context.Context, resourceGroupName string, actionGroupName string) (result insights.ActionGroupResource, err error)
    92  	GetTestNotifications(ctx context.Context, notificationID string) (result insights.TestNotificationDetailsResponse, err error)
    93  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.ActionGroupList, err error)
    94  	ListBySubscriptionID(ctx context.Context) (result insights.ActionGroupList, err error)
    95  	PostTestNotifications(ctx context.Context, notificationRequest insights.NotificationRequestBody) (result insights.ActionGroupsPostTestNotificationsFuture, err error)
    96  	Update(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroupPatch insights.ActionGroupPatchBody) (result insights.ActionGroupResource, err error)
    97  }
    98  
    99  var _ ActionGroupsClientAPI = (*insights.ActionGroupsClient)(nil)
   100  
   101  // ActivityLogsClientAPI contains the set of methods on the ActivityLogsClient type.
   102  type ActivityLogsClientAPI interface {
   103  	List(ctx context.Context, filter string, selectParameter string) (result insights.EventDataCollectionPage, err error)
   104  	ListComplete(ctx context.Context, filter string, selectParameter string) (result insights.EventDataCollectionIterator, err error)
   105  }
   106  
   107  var _ ActivityLogsClientAPI = (*insights.ActivityLogsClient)(nil)
   108  
   109  // EventCategoriesClientAPI contains the set of methods on the EventCategoriesClient type.
   110  type EventCategoriesClientAPI interface {
   111  	List(ctx context.Context) (result insights.EventCategoryCollection, err error)
   112  }
   113  
   114  var _ EventCategoriesClientAPI = (*insights.EventCategoriesClient)(nil)
   115  
   116  // TenantActivityLogsClientAPI contains the set of methods on the TenantActivityLogsClient type.
   117  type TenantActivityLogsClientAPI interface {
   118  	List(ctx context.Context, filter string, selectParameter string) (result insights.EventDataCollectionPage, err error)
   119  	ListComplete(ctx context.Context, filter string, selectParameter string) (result insights.EventDataCollectionIterator, err error)
   120  }
   121  
   122  var _ TenantActivityLogsClientAPI = (*insights.TenantActivityLogsClient)(nil)
   123  
   124  // MetricDefinitionsClientAPI contains the set of methods on the MetricDefinitionsClient type.
   125  type MetricDefinitionsClientAPI interface {
   126  	List(ctx context.Context, resourceURI string, metricnamespace string) (result insights.MetricDefinitionCollection, err error)
   127  }
   128  
   129  var _ MetricDefinitionsClientAPI = (*insights.MetricDefinitionsClient)(nil)
   130  
   131  // MetricsClientAPI contains the set of methods on the MetricsClient type.
   132  type MetricsClientAPI interface {
   133  	List(ctx context.Context, resourceURI string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType insights.ResultType, metricnamespace string) (result insights.Response, err error)
   134  }
   135  
   136  var _ MetricsClientAPI = (*insights.MetricsClient)(nil)
   137  
   138  // BaselinesClientAPI contains the set of methods on the BaselinesClient type.
   139  type BaselinesClientAPI interface {
   140  	List(ctx context.Context, resourceURI string, metricnames string, metricnamespace string, timespan string, interval *string, aggregation string, sensitivities string, filter string, resultType insights.ResultType) (result insights.MetricBaselinesResponse, err error)
   141  }
   142  
   143  var _ BaselinesClientAPI = (*insights.BaselinesClient)(nil)
   144  
   145  // MetricAlertsClientAPI contains the set of methods on the MetricAlertsClient type.
   146  type MetricAlertsClientAPI interface {
   147  	CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters insights.MetricAlertResource) (result insights.MetricAlertResource, err error)
   148  	Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
   149  	Get(ctx context.Context, resourceGroupName string, ruleName string) (result insights.MetricAlertResource, err error)
   150  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.MetricAlertResourceCollection, err error)
   151  	ListBySubscription(ctx context.Context) (result insights.MetricAlertResourceCollection, err error)
   152  	Update(ctx context.Context, resourceGroupName string, ruleName string, parameters insights.MetricAlertResourcePatch) (result insights.MetricAlertResource, err error)
   153  }
   154  
   155  var _ MetricAlertsClientAPI = (*insights.MetricAlertsClient)(nil)
   156  
   157  // MetricAlertsStatusClientAPI contains the set of methods on the MetricAlertsStatusClient type.
   158  type MetricAlertsStatusClientAPI interface {
   159  	List(ctx context.Context, resourceGroupName string, ruleName string) (result insights.MetricAlertStatusCollection, err error)
   160  	ListByName(ctx context.Context, resourceGroupName string, ruleName string, statusName string) (result insights.MetricAlertStatusCollection, err error)
   161  }
   162  
   163  var _ MetricAlertsStatusClientAPI = (*insights.MetricAlertsStatusClient)(nil)
   164  
   165  // ScheduledQueryRulesClientAPI contains the set of methods on the ScheduledQueryRulesClient type.
   166  type ScheduledQueryRulesClientAPI interface {
   167  	CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters insights.LogSearchRuleResource) (result insights.LogSearchRuleResource, err error)
   168  	Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
   169  	Get(ctx context.Context, resourceGroupName string, ruleName string) (result insights.LogSearchRuleResource, err error)
   170  	ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result insights.LogSearchRuleResourceCollection, err error)
   171  	ListBySubscription(ctx context.Context, filter string) (result insights.LogSearchRuleResourceCollection, err error)
   172  	Update(ctx context.Context, resourceGroupName string, ruleName string, parameters insights.LogSearchRuleResourcePatch) (result insights.LogSearchRuleResource, err error)
   173  }
   174  
   175  var _ ScheduledQueryRulesClientAPI = (*insights.ScheduledQueryRulesClient)(nil)
   176  
   177  // MetricNamespacesClientAPI contains the set of methods on the MetricNamespacesClient type.
   178  type MetricNamespacesClientAPI interface {
   179  	List(ctx context.Context, resourceURI string, startTime string) (result insights.MetricNamespaceCollection, err error)
   180  }
   181  
   182  var _ MetricNamespacesClientAPI = (*insights.MetricNamespacesClient)(nil)
   183  
   184  // VMInsightsClientAPI contains the set of methods on the VMInsightsClient type.
   185  type VMInsightsClientAPI interface {
   186  	GetOnboardingStatus(ctx context.Context, resourceURI string) (result insights.VMInsightsOnboardingStatus, err error)
   187  }
   188  
   189  var _ VMInsightsClientAPI = (*insights.VMInsightsClient)(nil)
   190  
   191  // PrivateLinkScopesClientAPI contains the set of methods on the PrivateLinkScopesClient type.
   192  type PrivateLinkScopesClientAPI interface {
   193  	CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, azureMonitorPrivateLinkScopePayload insights.AzureMonitorPrivateLinkScope) (result insights.AzureMonitorPrivateLinkScope, err error)
   194  	Delete(ctx context.Context, resourceGroupName string, scopeName string) (result insights.PrivateLinkScopesDeleteFuture, err error)
   195  	Get(ctx context.Context, resourceGroupName string, scopeName string) (result insights.AzureMonitorPrivateLinkScope, err error)
   196  	List(ctx context.Context) (result insights.AzureMonitorPrivateLinkScopeListResultPage, err error)
   197  	ListComplete(ctx context.Context) (result insights.AzureMonitorPrivateLinkScopeListResultIterator, err error)
   198  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.AzureMonitorPrivateLinkScopeListResultPage, err error)
   199  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result insights.AzureMonitorPrivateLinkScopeListResultIterator, err error)
   200  	UpdateTags(ctx context.Context, resourceGroupName string, scopeName string, privateLinkScopeTags insights.TagsResource) (result insights.AzureMonitorPrivateLinkScope, err error)
   201  }
   202  
   203  var _ PrivateLinkScopesClientAPI = (*insights.PrivateLinkScopesClient)(nil)
   204  
   205  // PrivateLinkScopeOperationStatusClientAPI contains the set of methods on the PrivateLinkScopeOperationStatusClient type.
   206  type PrivateLinkScopeOperationStatusClientAPI interface {
   207  	Get(ctx context.Context, asyncOperationID string, resourceGroupName string) (result insights.OperationStatus, err error)
   208  }
   209  
   210  var _ PrivateLinkScopeOperationStatusClientAPI = (*insights.PrivateLinkScopeOperationStatusClient)(nil)
   211  
   212  // PrivateLinkResourcesClientAPI contains the set of methods on the PrivateLinkResourcesClient type.
   213  type PrivateLinkResourcesClientAPI interface {
   214  	Get(ctx context.Context, resourceGroupName string, scopeName string, groupName string) (result insights.PrivateLinkResource, err error)
   215  	ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result insights.PrivateLinkResourceListResultPage, err error)
   216  	ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result insights.PrivateLinkResourceListResultIterator, err error)
   217  }
   218  
   219  var _ PrivateLinkResourcesClientAPI = (*insights.PrivateLinkResourcesClient)(nil)
   220  
   221  // PrivateEndpointConnectionsClientAPI contains the set of methods on the PrivateEndpointConnectionsClient type.
   222  type PrivateEndpointConnectionsClientAPI interface {
   223  	CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string, parameters insights.PrivateEndpointConnection) (result insights.PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
   224  	Delete(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result insights.PrivateEndpointConnectionsDeleteFuture, err error)
   225  	Get(ctx context.Context, resourceGroupName string, scopeName string, privateEndpointConnectionName string) (result insights.PrivateEndpointConnection, err error)
   226  	ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result insights.PrivateEndpointConnectionListResultPage, err error)
   227  	ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result insights.PrivateEndpointConnectionListResultIterator, err error)
   228  }
   229  
   230  var _ PrivateEndpointConnectionsClientAPI = (*insights.PrivateEndpointConnectionsClient)(nil)
   231  
   232  // PrivateLinkScopedResourcesClientAPI contains the set of methods on the PrivateLinkScopedResourcesClient type.
   233  type PrivateLinkScopedResourcesClientAPI interface {
   234  	CreateOrUpdate(ctx context.Context, resourceGroupName string, scopeName string, name string, parameters insights.ScopedResource) (result insights.PrivateLinkScopedResourcesCreateOrUpdateFuture, err error)
   235  	Delete(ctx context.Context, resourceGroupName string, scopeName string, name string) (result insights.PrivateLinkScopedResourcesDeleteFuture, err error)
   236  	Get(ctx context.Context, resourceGroupName string, scopeName string, name string) (result insights.ScopedResource, err error)
   237  	ListByPrivateLinkScope(ctx context.Context, resourceGroupName string, scopeName string) (result insights.ScopedResourceListResultPage, err error)
   238  	ListByPrivateLinkScopeComplete(ctx context.Context, resourceGroupName string, scopeName string) (result insights.ScopedResourceListResultIterator, err error)
   239  }
   240  
   241  var _ PrivateLinkScopedResourcesClientAPI = (*insights.PrivateLinkScopedResourcesClient)(nil)
   242  
   243  // ActivityLogAlertsClientAPI contains the set of methods on the ActivityLogAlertsClient type.
   244  type ActivityLogAlertsClientAPI interface {
   245  	CreateOrUpdate(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRule insights.ActivityLogAlertResource) (result insights.ActivityLogAlertResource, err error)
   246  	Delete(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result autorest.Response, err error)
   247  	Get(ctx context.Context, resourceGroupName string, activityLogAlertName string) (result insights.ActivityLogAlertResource, err error)
   248  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.AlertRuleListPage, err error)
   249  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result insights.AlertRuleListIterator, err error)
   250  	ListBySubscriptionID(ctx context.Context) (result insights.AlertRuleListPage, err error)
   251  	ListBySubscriptionIDComplete(ctx context.Context) (result insights.AlertRuleListIterator, err error)
   252  	Update(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertRulePatch insights.AlertRulePatchObject) (result insights.ActivityLogAlertResource, err error)
   253  }
   254  
   255  var _ ActivityLogAlertsClientAPI = (*insights.ActivityLogAlertsClient)(nil)
   256  
   257  // DataCollectionEndpointsClientAPI contains the set of methods on the DataCollectionEndpointsClient type.
   258  type DataCollectionEndpointsClientAPI interface {
   259  	Create(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *insights.DataCollectionEndpointResource) (result insights.DataCollectionEndpointResource, err error)
   260  	Delete(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result autorest.Response, err error)
   261  	Get(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string) (result insights.DataCollectionEndpointResource, err error)
   262  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.DataCollectionEndpointResourceListResultPage, err error)
   263  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result insights.DataCollectionEndpointResourceListResultIterator, err error)
   264  	ListBySubscription(ctx context.Context) (result insights.DataCollectionEndpointResourceListResultPage, err error)
   265  	ListBySubscriptionComplete(ctx context.Context) (result insights.DataCollectionEndpointResourceListResultIterator, err error)
   266  	Update(ctx context.Context, resourceGroupName string, dataCollectionEndpointName string, body *insights.ResourceForUpdate) (result insights.DataCollectionEndpointResource, err error)
   267  }
   268  
   269  var _ DataCollectionEndpointsClientAPI = (*insights.DataCollectionEndpointsClient)(nil)
   270  
   271  // DataCollectionRuleAssociationsClientAPI contains the set of methods on the DataCollectionRuleAssociationsClient type.
   272  type DataCollectionRuleAssociationsClientAPI interface {
   273  	Create(ctx context.Context, resourceURI string, associationName string, body *insights.DataCollectionRuleAssociationProxyOnlyResource) (result insights.DataCollectionRuleAssociationProxyOnlyResource, err error)
   274  	Delete(ctx context.Context, resourceURI string, associationName string) (result autorest.Response, err error)
   275  	Get(ctx context.Context, resourceURI string, associationName string) (result insights.DataCollectionRuleAssociationProxyOnlyResource, err error)
   276  	ListByResource(ctx context.Context, resourceURI string) (result insights.DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
   277  	ListByResourceComplete(ctx context.Context, resourceURI string) (result insights.DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)
   278  	ListByRule(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result insights.DataCollectionRuleAssociationProxyOnlyResourceListResultPage, err error)
   279  	ListByRuleComplete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result insights.DataCollectionRuleAssociationProxyOnlyResourceListResultIterator, err error)
   280  }
   281  
   282  var _ DataCollectionRuleAssociationsClientAPI = (*insights.DataCollectionRuleAssociationsClient)(nil)
   283  
   284  // DataCollectionRulesClientAPI contains the set of methods on the DataCollectionRulesClient type.
   285  type DataCollectionRulesClientAPI interface {
   286  	Create(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *insights.DataCollectionRuleResource) (result insights.DataCollectionRuleResource, err error)
   287  	Delete(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result autorest.Response, err error)
   288  	Get(ctx context.Context, resourceGroupName string, dataCollectionRuleName string) (result insights.DataCollectionRuleResource, err error)
   289  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result insights.DataCollectionRuleResourceListResultPage, err error)
   290  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result insights.DataCollectionRuleResourceListResultIterator, err error)
   291  	ListBySubscription(ctx context.Context) (result insights.DataCollectionRuleResourceListResultPage, err error)
   292  	ListBySubscriptionComplete(ctx context.Context) (result insights.DataCollectionRuleResourceListResultIterator, err error)
   293  	Update(ctx context.Context, resourceGroupName string, dataCollectionRuleName string, body *insights.ResourceForUpdate) (result insights.DataCollectionRuleResource, err error)
   294  }
   295  
   296  var _ DataCollectionRulesClientAPI = (*insights.DataCollectionRulesClient)(nil)
   297  

View as plain text