1package workloadmonitorapi
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9import (
10	"context"
11	"github.com/Azure/azure-sdk-for-go/services/preview/workloadmonitor/mgmt/2018-08-31-preview/workloadmonitor"
12	"github.com/gofrs/uuid"
13)
14
15// MonitorsClientAPI contains the set of methods on the MonitorsClient type.
16type MonitorsClientAPI interface {
17	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, monitorID string) (result workloadmonitor.Monitor, err error)
18	ListByResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, filter string, skiptoken string) (result workloadmonitor.MonitorsCollectionPage, err error)
19	ListByResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, filter string, skiptoken string) (result workloadmonitor.MonitorsCollectionIterator, err error)
20	Update(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, monitorID string, body workloadmonitor.Monitor) (result workloadmonitor.Monitor, err error)
21}
22
23var _ MonitorsClientAPI = (*workloadmonitor.MonitorsClient)(nil)
24
25// ComponentsClientAPI contains the set of methods on the ComponentsClient type.
26type ComponentsClientAPI interface {
27	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, componentID uuid.UUID, selectParameter string, expand string) (result workloadmonitor.Component, err error)
28	ListByResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.ComponentsCollectionPage, err error)
29	ListByResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.ComponentsCollectionIterator, err error)
30}
31
32var _ ComponentsClientAPI = (*workloadmonitor.ComponentsClient)(nil)
33
34// MonitorInstancesClientAPI contains the set of methods on the MonitorInstancesClient type.
35type MonitorInstancesClientAPI interface {
36	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, monitorInstanceID uuid.UUID, selectParameter string, expand string) (result workloadmonitor.MonitorInstance, err error)
37	ListByResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.MonitorInstancesCollectionPage, err error)
38	ListByResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.MonitorInstancesCollectionIterator, err error)
39}
40
41var _ MonitorInstancesClientAPI = (*workloadmonitor.MonitorInstancesClient)(nil)
42
43// NotificationSettingsClientAPI contains the set of methods on the NotificationSettingsClient type.
44type NotificationSettingsClientAPI interface {
45	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result workloadmonitor.NotificationSetting, err error)
46	ListByResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, skiptoken string) (result workloadmonitor.NotificationSettingsCollectionPage, err error)
47	ListByResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, skiptoken string) (result workloadmonitor.NotificationSettingsCollectionIterator, err error)
48	Update(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, body workloadmonitor.NotificationSetting) (result workloadmonitor.NotificationSetting, err error)
49}
50
51var _ NotificationSettingsClientAPI = (*workloadmonitor.NotificationSettingsClient)(nil)
52
53// ComponentsSummaryClientAPI contains the set of methods on the ComponentsSummaryClient type.
54type ComponentsSummaryClientAPI interface {
55	List(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.ComponentsCollectionPage, err error)
56	ListComplete(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.ComponentsCollectionIterator, err error)
57}
58
59var _ ComponentsSummaryClientAPI = (*workloadmonitor.ComponentsSummaryClient)(nil)
60
61// MonitorInstancesSummaryClientAPI contains the set of methods on the MonitorInstancesSummaryClient type.
62type MonitorInstancesSummaryClientAPI interface {
63	List(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.MonitorInstancesCollectionPage, err error)
64	ListComplete(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.MonitorInstancesCollectionIterator, err error)
65}
66
67var _ MonitorInstancesSummaryClientAPI = (*workloadmonitor.MonitorInstancesSummaryClient)(nil)
68
69// OperationsClientAPI contains the set of methods on the OperationsClient type.
70type OperationsClientAPI interface {
71	List(ctx context.Context, skiptoken string) (result workloadmonitor.OperationListResultPage, err error)
72	ListComplete(ctx context.Context, skiptoken string) (result workloadmonitor.OperationListResultIterator, err error)
73}
74
75var _ OperationsClientAPI = (*workloadmonitor.OperationsClient)(nil)
76