1package hybridnetworkapi
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/hybridnetwork/mgmt/2020-01-01-preview/hybridnetwork"
12)
13
14// NetworkFunctionsClientAPI contains the set of methods on the NetworkFunctionsClient type.
15type NetworkFunctionsClientAPI interface {
16	CreateOrUpdate(ctx context.Context, resourceGroupName string, networkFunctionName string, parameters hybridnetwork.NetworkFunction) (result hybridnetwork.NetworkFunctionsCreateOrUpdateFuture, err error)
17	Delete(ctx context.Context, resourceGroupName string, networkFunctionName string) (result hybridnetwork.NetworkFunctionsDeleteFuture, err error)
18	Get(ctx context.Context, resourceGroupName string, networkFunctionName string) (result hybridnetwork.NetworkFunction, err error)
19	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result hybridnetwork.NetworkFunctionListResultPage, err error)
20	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result hybridnetwork.NetworkFunctionListResultIterator, err error)
21	ListBySubscription(ctx context.Context) (result hybridnetwork.NetworkFunctionListResultPage, err error)
22	ListBySubscriptionComplete(ctx context.Context) (result hybridnetwork.NetworkFunctionListResultIterator, err error)
23	UpdateTags(ctx context.Context, resourceGroupName string, networkFunctionName string, parameters hybridnetwork.TagsObject) (result hybridnetwork.NetworkFunction, err error)
24}
25
26var _ NetworkFunctionsClientAPI = (*hybridnetwork.NetworkFunctionsClient)(nil)
27
28// DevicesClientAPI contains the set of methods on the DevicesClient type.
29type DevicesClientAPI interface {
30	CreateOrUpdate(ctx context.Context, resourceGroupName string, deviceName string, parameters hybridnetwork.Device) (result hybridnetwork.DevicesCreateOrUpdateFuture, err error)
31	Delete(ctx context.Context, resourceGroupName string, deviceName string) (result hybridnetwork.DevicesDeleteFuture, err error)
32	Get(ctx context.Context, resourceGroupName string, deviceName string) (result hybridnetwork.Device, err error)
33	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result hybridnetwork.DeviceListResultPage, err error)
34	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result hybridnetwork.DeviceListResultIterator, err error)
35	ListBySubscription(ctx context.Context) (result hybridnetwork.DeviceListResultPage, err error)
36	ListBySubscriptionComplete(ctx context.Context) (result hybridnetwork.DeviceListResultIterator, err error)
37	ListRegistrationKey(ctx context.Context, resourceGroupName string, deviceName string) (result hybridnetwork.DeviceRegistrationKey, err error)
38	UpdateTags(ctx context.Context, resourceGroupName string, deviceName string, parameters hybridnetwork.TagsObject) (result hybridnetwork.Device, err error)
39}
40
41var _ DevicesClientAPI = (*hybridnetwork.DevicesClient)(nil)
42
43// OperationsClientAPI contains the set of methods on the OperationsClient type.
44type OperationsClientAPI interface {
45	List(ctx context.Context) (result hybridnetwork.OperationListPage, err error)
46	ListComplete(ctx context.Context) (result hybridnetwork.OperationListIterator, err error)
47}
48
49var _ OperationsClientAPI = (*hybridnetwork.OperationsClient)(nil)
50
51// VendorsClientAPI contains the set of methods on the VendorsClient type.
52type VendorsClientAPI interface {
53	CreateOrUpdate(ctx context.Context, vendorName string, parameters *hybridnetwork.Vendor) (result hybridnetwork.VendorsCreateOrUpdateFuture, err error)
54	Delete(ctx context.Context, vendorName string) (result hybridnetwork.VendorsDeleteFuture, err error)
55	Get(ctx context.Context, vendorName string) (result hybridnetwork.Vendor, err error)
56	ListBySubscription(ctx context.Context) (result hybridnetwork.VendorListResultPage, err error)
57	ListBySubscriptionComplete(ctx context.Context) (result hybridnetwork.VendorListResultIterator, err error)
58}
59
60var _ VendorsClientAPI = (*hybridnetwork.VendorsClient)(nil)
61
62// VendorSkusClientAPI contains the set of methods on the VendorSkusClient type.
63type VendorSkusClientAPI interface {
64	CreateOrUpdate(ctx context.Context, vendorName string, skuName string, parameters hybridnetwork.VendorSku) (result hybridnetwork.VendorSkusCreateOrUpdateFuture, err error)
65	Delete(ctx context.Context, vendorName string, skuName string) (result hybridnetwork.VendorSkusDeleteFuture, err error)
66	Get(ctx context.Context, vendorName string, skuName string) (result hybridnetwork.VendorSku, err error)
67	List(ctx context.Context, vendorName string) (result hybridnetwork.VendorSkuListResultPage, err error)
68	ListComplete(ctx context.Context, vendorName string) (result hybridnetwork.VendorSkuListResultIterator, err error)
69}
70
71var _ VendorSkusClientAPI = (*hybridnetwork.VendorSkusClient)(nil)
72
73// VendorSkuPreviewClientAPI contains the set of methods on the VendorSkuPreviewClient type.
74type VendorSkuPreviewClientAPI interface {
75	CreateOrUpdate(ctx context.Context, vendorName string, skuName string, previewSubscription string, parameters hybridnetwork.PreviewSubscription) (result hybridnetwork.VendorSkuPreviewCreateOrUpdateFuture, err error)
76	Delete(ctx context.Context, vendorName string, skuName string, previewSubscription string) (result hybridnetwork.VendorSkuPreviewDeleteFuture, err error)
77	Get(ctx context.Context, vendorName string, skuName string, previewSubscription string) (result hybridnetwork.PreviewSubscription, err error)
78	List(ctx context.Context, vendorName string, skuName string) (result hybridnetwork.PreviewSubscriptionsListPage, err error)
79	ListComplete(ctx context.Context, vendorName string, skuName string) (result hybridnetwork.PreviewSubscriptionsListIterator, err error)
80}
81
82var _ VendorSkuPreviewClientAPI = (*hybridnetwork.VendorSkuPreviewClient)(nil)
83
84// NetworkFunctionVendorsClientAPI contains the set of methods on the NetworkFunctionVendorsClient type.
85type NetworkFunctionVendorsClientAPI interface {
86	List(ctx context.Context) (result hybridnetwork.NetworkFunctionVendorListResultPage, err error)
87	ListComplete(ctx context.Context) (result hybridnetwork.NetworkFunctionVendorListResultIterator, err error)
88}
89
90var _ NetworkFunctionVendorsClientAPI = (*hybridnetwork.NetworkFunctionVendorsClient)(nil)
91
92// NetworkFunctionVendorSkusClientAPI contains the set of methods on the NetworkFunctionVendorSkusClient type.
93type NetworkFunctionVendorSkusClientAPI interface {
94	ListBySku(ctx context.Context, vendorName string, vendorSkuName string) (result hybridnetwork.NetworkFunctionSkuDetailsPage, err error)
95	ListBySkuComplete(ctx context.Context, vendorName string, vendorSkuName string) (result hybridnetwork.NetworkFunctionSkuDetailsIterator, err error)
96	ListByVendor(ctx context.Context, vendorName string) (result hybridnetwork.NetworkFunctionSkuListResultPage, err error)
97	ListByVendorComplete(ctx context.Context, vendorName string) (result hybridnetwork.NetworkFunctionSkuListResultIterator, err error)
98}
99
100var _ NetworkFunctionVendorSkusClientAPI = (*hybridnetwork.NetworkFunctionVendorSkusClient)(nil)
101
102// VendorNetworkFunctionsClientAPI contains the set of methods on the VendorNetworkFunctionsClient type.
103type VendorNetworkFunctionsClientAPI interface {
104	CreateOrUpdate(ctx context.Context, locationName string, vendorName string, serviceKey string, parameters hybridnetwork.VendorNetworkFunction) (result hybridnetwork.VendorNetworkFunctionsCreateOrUpdateFuture, err error)
105	Get(ctx context.Context, locationName string, vendorName string, serviceKey string) (result hybridnetwork.VendorNetworkFunction, err error)
106	List(ctx context.Context, locationName string, vendorName string, filter string) (result hybridnetwork.VendorNetworkFunctionListResultPage, err error)
107	ListComplete(ctx context.Context, locationName string, vendorName string, filter string) (result hybridnetwork.VendorNetworkFunctionListResultIterator, err error)
108}
109
110var _ VendorNetworkFunctionsClientAPI = (*hybridnetwork.VendorNetworkFunctionsClient)(nil)
111
112// RoleInstancesClientAPI contains the set of methods on the RoleInstancesClient type.
113type RoleInstancesClientAPI interface {
114	Get(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result hybridnetwork.RoleInstance, err error)
115	List(ctx context.Context, locationName string, vendorName string, serviceKey string) (result hybridnetwork.NetworkFunctionRoleInstanceListResultPage, err error)
116	ListComplete(ctx context.Context, locationName string, vendorName string, serviceKey string) (result hybridnetwork.NetworkFunctionRoleInstanceListResultIterator, err error)
117	Restart(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result hybridnetwork.RoleInstancesRestartFuture, err error)
118	Start(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result hybridnetwork.RoleInstancesStartFuture, err error)
119	Stop(ctx context.Context, locationName string, vendorName string, serviceKey string, roleInstanceName string) (result hybridnetwork.RoleInstancesStopFuture, err error)
120}
121
122var _ RoleInstancesClientAPI = (*hybridnetwork.RoleInstancesClient)(nil)
123