1package netappapi
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/netapp/mgmt/2019-10-01/netapp"
23	"github.com/Azure/go-autorest/autorest"
24)
25
26// OperationsClientAPI contains the set of methods on the OperationsClient type.
27type OperationsClientAPI interface {
28	List(ctx context.Context) (result netapp.OperationListResult, err error)
29}
30
31var _ OperationsClientAPI = (*netapp.OperationsClient)(nil)
32
33// ResourceClientAPI contains the set of methods on the ResourceClient type.
34type ResourceClientAPI interface {
35	CheckFilePathAvailability(ctx context.Context, body netapp.ResourceNameAvailabilityRequest, location string) (result netapp.ResourceNameAvailability, err error)
36	CheckNameAvailability(ctx context.Context, body netapp.ResourceNameAvailabilityRequest, location string) (result netapp.ResourceNameAvailability, err error)
37}
38
39var _ ResourceClientAPI = (*netapp.ResourceClient)(nil)
40
41// AccountsClientAPI contains the set of methods on the AccountsClient type.
42type AccountsClientAPI interface {
43	CreateOrUpdate(ctx context.Context, body netapp.Account, resourceGroupName string, accountName string) (result netapp.AccountsCreateOrUpdateFuture, err error)
44	Delete(ctx context.Context, resourceGroupName string, accountName string) (result netapp.AccountsDeleteFuture, err error)
45	Get(ctx context.Context, resourceGroupName string, accountName string) (result netapp.Account, err error)
46	List(ctx context.Context, resourceGroupName string) (result netapp.AccountList, err error)
47	Update(ctx context.Context, body netapp.AccountPatch, resourceGroupName string, accountName string) (result netapp.Account, err error)
48}
49
50var _ AccountsClientAPI = (*netapp.AccountsClient)(nil)
51
52// PoolsClientAPI contains the set of methods on the PoolsClient type.
53type PoolsClientAPI interface {
54	CreateOrUpdate(ctx context.Context, body netapp.CapacityPool, resourceGroupName string, accountName string, poolName string) (result netapp.PoolsCreateOrUpdateFuture, err error)
55	Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result netapp.PoolsDeleteFuture, err error)
56	Get(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result netapp.CapacityPool, err error)
57	List(ctx context.Context, resourceGroupName string, accountName string) (result netapp.CapacityPoolList, err error)
58	Update(ctx context.Context, body netapp.CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (result netapp.CapacityPool, err error)
59}
60
61var _ PoolsClientAPI = (*netapp.PoolsClient)(nil)
62
63// VolumesClientAPI contains the set of methods on the VolumesClient type.
64type VolumesClientAPI interface {
65	AuthorizeReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body netapp.AuthorizeRequest) (result autorest.Response, err error)
66	BreakReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result autorest.Response, err error)
67	CreateOrUpdate(ctx context.Context, body netapp.Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.VolumesCreateOrUpdateFuture, err error)
68	Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.VolumesDeleteFuture, err error)
69	DeleteReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result autorest.Response, err error)
70	Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.Volume, err error)
71	List(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result netapp.VolumeList, err error)
72	ReplicationStatusMethod(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.ReplicationStatus, err error)
73	ResyncReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result autorest.Response, err error)
74	Update(ctx context.Context, body netapp.VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.Volume, err error)
75}
76
77var _ VolumesClientAPI = (*netapp.VolumesClient)(nil)
78
79// MountTargetsClientAPI contains the set of methods on the MountTargetsClient type.
80type MountTargetsClientAPI interface {
81	List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.MountTargetList, err error)
82}
83
84var _ MountTargetsClientAPI = (*netapp.MountTargetsClient)(nil)
85
86// SnapshotsClientAPI contains the set of methods on the SnapshotsClient type.
87type SnapshotsClientAPI interface {
88	Create(ctx context.Context, body netapp.Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result netapp.SnapshotsCreateFuture, err error)
89	Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result netapp.SnapshotsDeleteFuture, err error)
90	Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result netapp.Snapshot, err error)
91	List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result netapp.SnapshotsList, err error)
92	Update(ctx context.Context, body netapp.SnapshotPatch, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result netapp.Snapshot, err error)
93}
94
95var _ SnapshotsClientAPI = (*netapp.SnapshotsClient)(nil)
96