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