1package workloadmonitorapi
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20import (
21	"context"
22	"github.com/Azure/azure-sdk-for-go/services/preview/workloadmonitor/mgmt/2018-08-31-preview/workloadmonitor"
23	"github.com/satori/go.uuid"
24)
25
26// MonitorsClientAPI contains the set of methods on the MonitorsClient type.
27type MonitorsClientAPI interface {
28	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, monitorID string) (result workloadmonitor.Monitor, err error)
29	ListByResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, filter string, skiptoken string) (result workloadmonitor.MonitorsCollectionPage, err error)
30	ListByResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, filter string, skiptoken string) (result workloadmonitor.MonitorsCollectionIterator, err error)
31	Update(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, monitorID string, body workloadmonitor.Monitor) (result workloadmonitor.Monitor, err error)
32}
33
34var _ MonitorsClientAPI = (*workloadmonitor.MonitorsClient)(nil)
35
36// ComponentsClientAPI contains the set of methods on the ComponentsClient type.
37type ComponentsClientAPI interface {
38	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, componentID uuid.UUID, selectParameter string, expand string) (result workloadmonitor.Component, err error)
39	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)
40	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)
41}
42
43var _ ComponentsClientAPI = (*workloadmonitor.ComponentsClient)(nil)
44
45// MonitorInstancesClientAPI contains the set of methods on the MonitorInstancesClient type.
46type MonitorInstancesClientAPI interface {
47	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, monitorInstanceID uuid.UUID, selectParameter string, expand string) (result workloadmonitor.MonitorInstance, err error)
48	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)
49	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)
50}
51
52var _ MonitorInstancesClientAPI = (*workloadmonitor.MonitorInstancesClient)(nil)
53
54// NotificationSettingsClientAPI contains the set of methods on the NotificationSettingsClient type.
55type NotificationSettingsClientAPI interface {
56	Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result workloadmonitor.NotificationSetting, err error)
57	ListByResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, skiptoken string) (result workloadmonitor.NotificationSettingsCollectionPage, err error)
58	ListByResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, skiptoken string) (result workloadmonitor.NotificationSettingsCollectionIterator, err error)
59	Update(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, body workloadmonitor.NotificationSetting) (result workloadmonitor.NotificationSetting, err error)
60}
61
62var _ NotificationSettingsClientAPI = (*workloadmonitor.NotificationSettingsClient)(nil)
63
64// ComponentsSummaryClientAPI contains the set of methods on the ComponentsSummaryClient type.
65type ComponentsSummaryClientAPI interface {
66	List(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.ComponentsCollectionPage, err error)
67	ListComplete(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.ComponentsCollectionIterator, err error)
68}
69
70var _ ComponentsSummaryClientAPI = (*workloadmonitor.ComponentsSummaryClient)(nil)
71
72// MonitorInstancesSummaryClientAPI contains the set of methods on the MonitorInstancesSummaryClient type.
73type MonitorInstancesSummaryClientAPI interface {
74	List(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.MonitorInstancesCollectionPage, err error)
75	ListComplete(ctx context.Context, selectParameter string, filter string, apply string, orderby string, expand string, top string, skiptoken string) (result workloadmonitor.MonitorInstancesCollectionIterator, err error)
76}
77
78var _ MonitorInstancesSummaryClientAPI = (*workloadmonitor.MonitorInstancesSummaryClient)(nil)
79
80// OperationsClientAPI contains the set of methods on the OperationsClient type.
81type OperationsClientAPI interface {
82	List(ctx context.Context, skiptoken string) (result workloadmonitor.OperationListResultPage, err error)
83	ListComplete(ctx context.Context, skiptoken string) (result workloadmonitor.OperationListResultIterator, err error)
84}
85
86var _ OperationsClientAPI = (*workloadmonitor.OperationsClient)(nil)
87