1package avsapi
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/avs/mgmt/2020-03-20/avs"
12	"github.com/Azure/go-autorest/autorest"
13)
14
15// OperationsClientAPI contains the set of methods on the OperationsClient type.
16type OperationsClientAPI interface {
17	List(ctx context.Context) (result avs.OperationListPage, err error)
18	ListComplete(ctx context.Context) (result avs.OperationListIterator, err error)
19}
20
21var _ OperationsClientAPI = (*avs.OperationsClient)(nil)
22
23// LocationsClientAPI contains the set of methods on the LocationsClient type.
24type LocationsClientAPI interface {
25	CheckQuotaAvailability(ctx context.Context, location string) (result avs.Quota, err error)
26	CheckTrialAvailability(ctx context.Context, location string) (result avs.Trial, err error)
27}
28
29var _ LocationsClientAPI = (*avs.LocationsClient)(nil)
30
31// PrivateCloudsClientAPI contains the set of methods on the PrivateCloudsClient type.
32type PrivateCloudsClientAPI interface {
33	CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, privateCloud avs.PrivateCloud) (result avs.PrivateCloudsCreateOrUpdateFuture, err error)
34	Delete(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.PrivateCloudsDeleteFuture, err error)
35	Get(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.PrivateCloud, err error)
36	List(ctx context.Context, resourceGroupName string) (result avs.PrivateCloudListPage, err error)
37	ListComplete(ctx context.Context, resourceGroupName string) (result avs.PrivateCloudListIterator, err error)
38	ListAdminCredentials(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.AdminCredentials, err error)
39	ListInSubscription(ctx context.Context) (result avs.PrivateCloudListPage, err error)
40	ListInSubscriptionComplete(ctx context.Context) (result avs.PrivateCloudListIterator, err error)
41	Update(ctx context.Context, resourceGroupName string, privateCloudName string, privateCloudUpdate avs.PrivateCloudUpdate) (result avs.PrivateCloudsUpdateFuture, err error)
42}
43
44var _ PrivateCloudsClientAPI = (*avs.PrivateCloudsClient)(nil)
45
46// ClustersClientAPI contains the set of methods on the ClustersClient type.
47type ClustersClientAPI interface {
48	CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, cluster avs.Cluster) (result avs.ClustersCreateOrUpdateFuture, err error)
49	Delete(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (result avs.ClustersDeleteFuture, err error)
50	Get(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (result avs.Cluster, err error)
51	List(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.ClusterListPage, err error)
52	ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.ClusterListIterator, err error)
53	Update(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, clusterUpdate avs.ClusterUpdate) (result avs.ClustersUpdateFuture, err error)
54}
55
56var _ ClustersClientAPI = (*avs.ClustersClient)(nil)
57
58// HcxEnterpriseSitesClientAPI contains the set of methods on the HcxEnterpriseSitesClient type.
59type HcxEnterpriseSitesClientAPI interface {
60	CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string, hcxEnterpriseSite avs.HcxEnterpriseSite) (result avs.HcxEnterpriseSite, err error)
61	Delete(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) (result autorest.Response, err error)
62	Get(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) (result avs.HcxEnterpriseSite, err error)
63	List(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.HcxEnterpriseSiteListPage, err error)
64	ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.HcxEnterpriseSiteListIterator, err error)
65}
66
67var _ HcxEnterpriseSitesClientAPI = (*avs.HcxEnterpriseSitesClient)(nil)
68
69// AuthorizationsClientAPI contains the set of methods on the AuthorizationsClient type.
70type AuthorizationsClientAPI interface {
71	CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string, authorization avs.ExpressRouteAuthorization) (result avs.AuthorizationsCreateOrUpdateFuture, err error)
72	Delete(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string) (result avs.AuthorizationsDeleteFuture, err error)
73	Get(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string) (result avs.ExpressRouteAuthorization, err error)
74	List(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.ExpressRouteAuthorizationListPage, err error)
75	ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result avs.ExpressRouteAuthorizationListIterator, err error)
76}
77
78var _ AuthorizationsClientAPI = (*avs.AuthorizationsClient)(nil)
79