1package apimanagementapi
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/apimanagement/mgmt/2016-10-10/apimanagement"
23	"github.com/Azure/go-autorest/autorest"
24	"io"
25)
26
27// PolicySnippetsClientAPI contains the set of methods on the PolicySnippetsClient type.
28type PolicySnippetsClientAPI interface {
29	ListByService(ctx context.Context, resourceGroupName string, serviceName string, scope apimanagement.PolicyScopeContract) (result apimanagement.PolicySnippetsCollection, err error)
30}
31
32var _ PolicySnippetsClientAPI = (*apimanagement.PolicySnippetsClient)(nil)
33
34// RegionsClientAPI contains the set of methods on the RegionsClient type.
35type RegionsClientAPI interface {
36	ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.RegionListResult, err error)
37}
38
39var _ RegionsClientAPI = (*apimanagement.RegionsClient)(nil)
40
41// ApisClientAPI contains the set of methods on the ApisClient type.
42type ApisClientAPI interface {
43	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.APIContract, ifMatch string) (result autorest.Response, err error)
44	Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, ifMatch string) (result autorest.Response, err error)
45	Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.APIContract, err error)
46	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionPage, err error)
47	Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.APIUpdateContract, ifMatch string) (result autorest.Response, err error)
48}
49
50var _ ApisClientAPI = (*apimanagement.ApisClient)(nil)
51
52// APIOperationsClientAPI contains the set of methods on the APIOperationsClient type.
53type APIOperationsClientAPI interface {
54	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.OperationContract) (result autorest.Response, err error)
55	Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, ifMatch string) (result autorest.Response, err error)
56	Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.OperationContract, err error)
57	ListByApis(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.OperationCollectionPage, err error)
58	Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.OperationUpdateContract, ifMatch string) (result autorest.Response, err error)
59}
60
61var _ APIOperationsClientAPI = (*apimanagement.APIOperationsClient)(nil)
62
63// APIOperationsPolicyClientAPI contains the set of methods on the APIOperationsPolicyClient type.
64type APIOperationsPolicyClientAPI interface {
65	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters io.ReadCloser, ifMatch string) (result autorest.Response, err error)
66	Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, ifMatch string) (result autorest.Response, err error)
67	Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.ReadCloser, err error)
68}
69
70var _ APIOperationsPolicyClientAPI = (*apimanagement.APIOperationsPolicyClient)(nil)
71
72// APIProductsClientAPI contains the set of methods on the APIProductsClient type.
73type APIProductsClientAPI interface {
74	ListByApis(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.ProductCollectionPage, err error)
75}
76
77var _ APIProductsClientAPI = (*apimanagement.APIProductsClient)(nil)
78
79// APIPolicyClientAPI contains the set of methods on the APIPolicyClient type.
80type APIPolicyClientAPI interface {
81	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters io.ReadCloser, ifMatch string) (result autorest.Response, err error)
82	Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, ifMatch string) (result autorest.Response, err error)
83	Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.ReadCloser, err error)
84}
85
86var _ APIPolicyClientAPI = (*apimanagement.APIPolicyClient)(nil)
87
88// AuthorizationServersClientAPI contains the set of methods on the AuthorizationServersClient type.
89type AuthorizationServersClientAPI interface {
90	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, authsid string, parameters apimanagement.OAuth2AuthorizationServerContract) (result autorest.Response, err error)
91	Delete(ctx context.Context, resourceGroupName string, serviceName string, authsid string, ifMatch string) (result autorest.Response, err error)
92	Get(ctx context.Context, resourceGroupName string, serviceName string, authsid string) (result apimanagement.OAuth2AuthorizationServerContract, err error)
93	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.AuthorizationServerCollectionPage, err error)
94	Update(ctx context.Context, resourceGroupName string, serviceName string, authsid string, parameters apimanagement.OAuth2AuthorizationServerUpdateContract, ifMatch string) (result autorest.Response, err error)
95}
96
97var _ AuthorizationServersClientAPI = (*apimanagement.AuthorizationServersClient)(nil)
98
99// BackendsClientAPI contains the set of methods on the BackendsClient type.
100type BackendsClientAPI interface {
101	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, backendid string, parameters apimanagement.BackendContract) (result autorest.Response, err error)
102	Delete(ctx context.Context, resourceGroupName string, serviceName string, backendid string, ifMatch string) (result autorest.Response, err error)
103	Get(ctx context.Context, resourceGroupName string, serviceName string, backendid string) (result apimanagement.BackendResponse, err error)
104	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.BackendCollectionPage, err error)
105	Update(ctx context.Context, resourceGroupName string, serviceName string, backendid string, parameters apimanagement.BackendUpdateParameters, ifMatch string) (result autorest.Response, err error)
106}
107
108var _ BackendsClientAPI = (*apimanagement.BackendsClient)(nil)
109
110// CertificatesClientAPI contains the set of methods on the CertificatesClient type.
111type CertificatesClientAPI interface {
112	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, certificateID string, parameters apimanagement.CertificateCreateOrUpdateParameters, ifMatch string) (result autorest.Response, err error)
113	Delete(ctx context.Context, resourceGroupName string, serviceName string, certificateID string, ifMatch string) (result autorest.Response, err error)
114	Get(ctx context.Context, resourceGroupName string, serviceName string, certificateID string) (result apimanagement.CertificateContract, err error)
115	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.CertificateCollectionPage, err error)
116}
117
118var _ CertificatesClientAPI = (*apimanagement.CertificatesClient)(nil)
119
120// OperationsClientAPI contains the set of methods on the OperationsClient type.
121type OperationsClientAPI interface {
122	List(ctx context.Context) (result apimanagement.OperationListResultPage, err error)
123}
124
125var _ OperationsClientAPI = (*apimanagement.OperationsClient)(nil)
126
127// ServicesClientAPI contains the set of methods on the ServicesClient type.
128type ServicesClientAPI interface {
129	ApplyNetworkConfigurationUpdates(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServicesApplyNetworkConfigurationUpdatesFuture, err error)
130	Backup(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceBackupRestoreParameters) (result apimanagement.ServicesBackupFuture, err error)
131	CheckNameAvailability(ctx context.Context, parameters apimanagement.ServiceCheckNameAvailabilityParameters) (result apimanagement.ServiceNameAvailabilityResult, err error)
132	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceResource) (result apimanagement.ServiceResource, err error)
133	Delete(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error)
134	Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceResource, err error)
135	GetSsoToken(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceGetSsoTokenResult, err error)
136	List(ctx context.Context) (result apimanagement.ServiceListResultPage, err error)
137	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result apimanagement.ServiceListResultPage, err error)
138	ManageDeployments(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceManageDeploymentsParameters) (result apimanagement.ServicesManageDeploymentsFuture, err error)
139	Restore(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceBackupRestoreParameters) (result apimanagement.ServicesRestoreFuture, err error)
140	Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUpdateParameters) (result apimanagement.ServicesUpdateFuture, err error)
141	UpdateHostname(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUpdateHostnameParameters) (result apimanagement.ServicesUpdateHostnameFuture, err error)
142	UploadCertificate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUploadCertificateParameters) (result apimanagement.CertificateInformation, err error)
143}
144
145var _ ServicesClientAPI = (*apimanagement.ServicesClient)(nil)
146
147// GroupsClientAPI contains the set of methods on the GroupsClient type.
148type GroupsClientAPI interface {
149	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, groupID string, parameters apimanagement.GroupCreateParameters) (result autorest.Response, err error)
150	Delete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, ifMatch string) (result apimanagement.ErrorBodyContract, err error)
151	Get(ctx context.Context, resourceGroupName string, serviceName string, groupID string) (result apimanagement.GroupContract, err error)
152	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error)
153	Update(ctx context.Context, resourceGroupName string, serviceName string, groupID string, parameters apimanagement.GroupUpdateParameters, ifMatch string) (result apimanagement.ErrorBodyContract, err error)
154}
155
156var _ GroupsClientAPI = (*apimanagement.GroupsClient)(nil)
157
158// GroupUsersClientAPI contains the set of methods on the GroupUsersClient type.
159type GroupUsersClientAPI interface {
160	Create(ctx context.Context, resourceGroupName string, serviceName string, groupID string, UID string) (result apimanagement.ErrorBodyContract, err error)
161	Delete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, UID string) (result apimanagement.ErrorBodyContract, err error)
162	ListByGroups(ctx context.Context, resourceGroupName string, serviceName string, groupID string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionPage, err error)
163}
164
165var _ GroupUsersClientAPI = (*apimanagement.GroupUsersClient)(nil)
166
167// IdentityProvidersClientAPI contains the set of methods on the IdentityProvidersClient type.
168type IdentityProvidersClientAPI interface {
169	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderNameType, parameters apimanagement.IdentityProviderContract) (result autorest.Response, err error)
170	Delete(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderNameType, ifMatch string) (result autorest.Response, err error)
171	Get(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderNameType) (result apimanagement.IdentityProviderContract, err error)
172	ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.IdentityProviderList, err error)
173	Update(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderNameType, parameters apimanagement.IdentityProviderUpdateParameters, ifMatch string) (result autorest.Response, err error)
174}
175
176var _ IdentityProvidersClientAPI = (*apimanagement.IdentityProvidersClient)(nil)
177
178// LoggersClientAPI contains the set of methods on the LoggersClient type.
179type LoggersClientAPI interface {
180	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, loggerid string, parameters apimanagement.LoggerCreateParameters) (result autorest.Response, err error)
181	Delete(ctx context.Context, resourceGroupName string, serviceName string, loggerid string, ifMatch string) (result autorest.Response, err error)
182	Get(ctx context.Context, resourceGroupName string, serviceName string, loggerid string) (result apimanagement.LoggerResponse, err error)
183	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionPage, err error)
184	Update(ctx context.Context, resourceGroupName string, serviceName string, loggerid string, parameters apimanagement.LoggerUpdateParameters, ifMatch string) (result autorest.Response, err error)
185}
186
187var _ LoggersClientAPI = (*apimanagement.LoggersClient)(nil)
188
189// NetworkStatusClientAPI contains the set of methods on the NetworkStatusClient type.
190type NetworkStatusClientAPI interface {
191	GetByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.NetworkStatusContract, err error)
192}
193
194var _ NetworkStatusClientAPI = (*apimanagement.NetworkStatusClient)(nil)
195
196// OpenIDConnectProvidersClientAPI contains the set of methods on the OpenIDConnectProvidersClient type.
197type OpenIDConnectProvidersClientAPI interface {
198	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, opid string, parameters apimanagement.OpenidConnectProviderCreateContract) (result autorest.Response, err error)
199	Delete(ctx context.Context, resourceGroupName string, serviceName string, opid string, ifMatch string) (result apimanagement.ErrorBodyContract, err error)
200	Get(ctx context.Context, resourceGroupName string, serviceName string, opid string) (result apimanagement.OpenidConnectProviderContract, err error)
201	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.OpenIDConnectProviderCollectionPage, err error)
202	Update(ctx context.Context, resourceGroupName string, serviceName string, opid string, parameters apimanagement.OpenidConnectProviderUpdateContract, ifMatch string) (result autorest.Response, err error)
203}
204
205var _ OpenIDConnectProvidersClientAPI = (*apimanagement.OpenIDConnectProvidersClient)(nil)
206
207// ProductsClientAPI contains the set of methods on the ProductsClient type.
208type ProductsClientAPI interface {
209	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.ProductContract) (result autorest.Response, err error)
210	Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, ifMatch string, deleteSubscriptions *bool) (result autorest.Response, err error)
211	Get(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.ProductContract, err error)
212	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool) (result apimanagement.ProductCollectionPage, err error)
213	Update(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.ProductUpdateParameters, ifMatch string) (result autorest.Response, err error)
214}
215
216var _ ProductsClientAPI = (*apimanagement.ProductsClient)(nil)
217
218// ProductApisClientAPI contains the set of methods on the ProductApisClient type.
219type ProductApisClientAPI interface {
220	Create(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result autorest.Response, err error)
221	Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result autorest.Response, err error)
222	ListByProducts(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionPage, err error)
223}
224
225var _ ProductApisClientAPI = (*apimanagement.ProductApisClient)(nil)
226
227// ProductGroupsClientAPI contains the set of methods on the ProductGroupsClient type.
228type ProductGroupsClientAPI interface {
229	Create(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result autorest.Response, err error)
230	Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result apimanagement.ErrorBodyContract, err error)
231	ListByProducts(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error)
232}
233
234var _ ProductGroupsClientAPI = (*apimanagement.ProductGroupsClient)(nil)
235
236// ProductSubscriptionsClientAPI contains the set of methods on the ProductSubscriptionsClient type.
237type ProductSubscriptionsClientAPI interface {
238	ListByProducts(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error)
239}
240
241var _ ProductSubscriptionsClientAPI = (*apimanagement.ProductSubscriptionsClient)(nil)
242
243// ProductPolicyClientAPI contains the set of methods on the ProductPolicyClient type.
244type ProductPolicyClientAPI interface {
245	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters io.ReadCloser, ifMatch string) (result autorest.Response, err error)
246	Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, ifMatch string) (result autorest.Response, err error)
247	Get(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.ReadCloser, err error)
248}
249
250var _ ProductPolicyClientAPI = (*apimanagement.ProductPolicyClient)(nil)
251
252// PropertiesClientAPI contains the set of methods on the PropertiesClient type.
253type PropertiesClientAPI interface {
254	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.PropertyCollectionPage, err error)
255}
256
257var _ PropertiesClientAPI = (*apimanagement.PropertiesClient)(nil)
258
259// PropertyClientAPI contains the set of methods on the PropertyClient type.
260type PropertyClientAPI interface {
261	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, propID string, parameters apimanagement.PropertyCreateParameters) (result autorest.Response, err error)
262	Delete(ctx context.Context, resourceGroupName string, serviceName string, propID string, ifMatch string) (result apimanagement.ErrorBodyContract, err error)
263	Get(ctx context.Context, resourceGroupName string, serviceName string, propID string) (result apimanagement.PropertyContract, err error)
264	Update(ctx context.Context, resourceGroupName string, serviceName string, propID string, parameters apimanagement.PropertyUpdateParameters, ifMatch string) (result autorest.Response, err error)
265}
266
267var _ PropertyClientAPI = (*apimanagement.PropertyClient)(nil)
268
269// QuotaByCounterKeysClientAPI contains the set of methods on the QuotaByCounterKeysClient type.
270type QuotaByCounterKeysClientAPI interface {
271	ListByService(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string) (result apimanagement.QuotaCounterCollection, err error)
272	Update(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, parameters apimanagement.QuotaCounterValueContract) (result autorest.Response, err error)
273}
274
275var _ QuotaByCounterKeysClientAPI = (*apimanagement.QuotaByCounterKeysClient)(nil)
276
277// QuotaByPeriodKeysClientAPI contains the set of methods on the QuotaByPeriodKeysClient type.
278type QuotaByPeriodKeysClientAPI interface {
279	Get(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, quotaPeriodKey string) (result apimanagement.QuotaCounterContract, err error)
280	Update(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, quotaPeriodKey string, parameters apimanagement.QuotaCounterValueContract) (result autorest.Response, err error)
281}
282
283var _ QuotaByPeriodKeysClientAPI = (*apimanagement.QuotaByPeriodKeysClient)(nil)
284
285// ReportsClientAPI contains the set of methods on the ReportsClient type.
286type ReportsClientAPI interface {
287	ListByService(ctx context.Context, resourceGroupName string, serviceName string, aggregation apimanagement.ReportsAggregation, filter string, top *int32, skip *int32, interval *string) (result apimanagement.ReportCollectionPage, err error)
288}
289
290var _ ReportsClientAPI = (*apimanagement.ReportsClient)(nil)
291
292// SubscriptionsClientAPI contains the set of methods on the SubscriptionsClient type.
293type SubscriptionsClientAPI interface {
294	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, sid string, parameters apimanagement.SubscriptionCreateParameters) (result autorest.Response, err error)
295	Delete(ctx context.Context, resourceGroupName string, serviceName string, sid string, ifMatch string) (result autorest.Response, err error)
296	Get(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result apimanagement.SubscriptionContract, err error)
297	List(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error)
298	RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error)
299	RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error)
300	Update(ctx context.Context, resourceGroupName string, serviceName string, sid string, parameters apimanagement.SubscriptionUpdateParameters, ifMatch string) (result autorest.Response, err error)
301}
302
303var _ SubscriptionsClientAPI = (*apimanagement.SubscriptionsClient)(nil)
304
305// TenantAccessClientAPI contains the set of methods on the TenantAccessClient type.
306type TenantAccessClientAPI interface {
307	Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.AccessInformationContract, err error)
308	RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error)
309	RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error)
310	Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.AccessInformationUpdateParameters, ifMatch string) (result autorest.Response, err error)
311}
312
313var _ TenantAccessClientAPI = (*apimanagement.TenantAccessClient)(nil)
314
315// TenantAccessGitClientAPI contains the set of methods on the TenantAccessGitClient type.
316type TenantAccessGitClientAPI interface {
317	Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.AccessInformationContract, err error)
318	RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error)
319	RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error)
320}
321
322var _ TenantAccessGitClientAPI = (*apimanagement.TenantAccessGitClient)(nil)
323
324// TenantConfigurationClientAPI contains the set of methods on the TenantConfigurationClient type.
325type TenantConfigurationClientAPI interface {
326	Deploy(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.DeployConfigurationParameters) (result apimanagement.TenantConfigurationDeployFuture, err error)
327	Save(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.SaveConfigurationParameter) (result apimanagement.TenantConfigurationSaveFuture, err error)
328	Validate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.DeployConfigurationParameters) (result apimanagement.TenantConfigurationValidateFuture, err error)
329}
330
331var _ TenantConfigurationClientAPI = (*apimanagement.TenantConfigurationClient)(nil)
332
333// TenantConfigurationSyncStateClientAPI contains the set of methods on the TenantConfigurationSyncStateClient type.
334type TenantConfigurationSyncStateClientAPI interface {
335	Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.TenantConfigurationSyncStateContract, err error)
336}
337
338var _ TenantConfigurationSyncStateClientAPI = (*apimanagement.TenantConfigurationSyncStateClient)(nil)
339
340// TenantPolicyClientAPI contains the set of methods on the TenantPolicyClient type.
341type TenantPolicyClientAPI interface {
342	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters io.ReadCloser, ifMatch string) (result autorest.Response, err error)
343	Delete(ctx context.Context, resourceGroupName string, serviceName string, ifMatch string) (result autorest.Response, err error)
344	Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ReadCloser, err error)
345}
346
347var _ TenantPolicyClientAPI = (*apimanagement.TenantPolicyClient)(nil)
348
349// UsersClientAPI contains the set of methods on the UsersClient type.
350type UsersClientAPI interface {
351	CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, UID string, parameters apimanagement.UserCreateParameters) (result autorest.Response, err error)
352	Delete(ctx context.Context, resourceGroupName string, serviceName string, UID string, ifMatch string, deleteSubscriptions *bool) (result apimanagement.ErrorBodyContract, err error)
353	GenerateSsoURL(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result apimanagement.GenerateSsoURLResult, err error)
354	Get(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result apimanagement.UserContract, err error)
355	GetSharedAccessToken(ctx context.Context, resourceGroupName string, serviceName string, UID string, parameters apimanagement.UserTokenParameters) (result apimanagement.UserTokenResult, err error)
356	ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionPage, err error)
357	Update(ctx context.Context, resourceGroupName string, serviceName string, UID string, parameters apimanagement.UserUpdateParameters, ifMatch string) (result apimanagement.ErrorBodyContract, err error)
358}
359
360var _ UsersClientAPI = (*apimanagement.UsersClient)(nil)
361
362// UserGroupsClientAPI contains the set of methods on the UserGroupsClient type.
363type UserGroupsClientAPI interface {
364	ListByUsers(ctx context.Context, resourceGroupName string, serviceName string, UID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error)
365}
366
367var _ UserGroupsClientAPI = (*apimanagement.UserGroupsClient)(nil)
368
369// UserSubscriptionsClientAPI contains the set of methods on the UserSubscriptionsClient type.
370type UserSubscriptionsClientAPI interface {
371	ListByUsers(ctx context.Context, resourceGroupName string, serviceName string, UID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error)
372}
373
374var _ UserSubscriptionsClientAPI = (*apimanagement.UserSubscriptionsClient)(nil)
375
376// UserIdentitiesClientAPI contains the set of methods on the UserIdentitiesClient type.
377type UserIdentitiesClientAPI interface {
378	ListByUsers(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result apimanagement.UserIdentityCollection, err error)
379}
380
381var _ UserIdentitiesClientAPI = (*apimanagement.UserIdentitiesClient)(nil)
382
383// APIExportClientAPI contains the set of methods on the APIExportClient type.
384type APIExportClientAPI interface {
385	Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.APIExportResult, err error)
386}
387
388var _ APIExportClientAPI = (*apimanagement.APIExportClient)(nil)
389