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/2017-03-01/apimanagement" 12 "github.com/Azure/go-autorest/autorest" 13) 14 15// PolicyClientAPI contains the set of methods on the PolicyClient type. 16type PolicyClientAPI interface { 17 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PolicyContract) (result apimanagement.PolicyContract, err error) 18 Delete(ctx context.Context, resourceGroupName string, serviceName string, ifMatch string) (result autorest.Response, err error) 19 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PolicyContract, err error) 20 ListByService(ctx context.Context, resourceGroupName string, serviceName string, scope apimanagement.PolicyScopeContract) (result apimanagement.PolicyCollection, err error) 21} 22 23var _ PolicyClientAPI = (*apimanagement.PolicyClient)(nil) 24 25// PolicySnippetsClientAPI contains the set of methods on the PolicySnippetsClient type. 26type PolicySnippetsClientAPI interface { 27 ListByService(ctx context.Context, resourceGroupName string, serviceName string, scope apimanagement.PolicyScopeContract) (result apimanagement.PolicySnippetsCollection, err error) 28} 29 30var _ PolicySnippetsClientAPI = (*apimanagement.PolicySnippetsClient)(nil) 31 32// RegionsClientAPI contains the set of methods on the RegionsClient type. 33type RegionsClientAPI interface { 34 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.RegionListResult, err error) 35} 36 37var _ RegionsClientAPI = (*apimanagement.RegionsClient)(nil) 38 39// APIClientAPI contains the set of methods on the APIClient type. 40type APIClientAPI interface { 41 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.APICreateOrUpdateParameter, ifMatch string) (result apimanagement.APIContract, err error) 42 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, ifMatch string) (result autorest.Response, err error) 43 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.APIContract, err error) 44 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result autorest.Response, err error) 45 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandAPIVersionSet *bool) (result apimanagement.APICollectionPage, err error) 46 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandAPIVersionSet *bool) (result apimanagement.APICollectionIterator, err error) 47 ListByTags(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionPage, err error) 48 ListByTagsComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionIterator, err error) 49 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.APIUpdateContract, ifMatch string) (result autorest.Response, err error) 50} 51 52var _ APIClientAPI = (*apimanagement.APIClient)(nil) 53 54// APIRevisionsClientAPI contains the set of methods on the APIRevisionsClient type. 55type APIRevisionsClientAPI interface { 56 List(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIRevisionCollectionPage, err error) 57 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIRevisionCollectionIterator, err error) 58} 59 60var _ APIRevisionsClientAPI = (*apimanagement.APIRevisionsClient)(nil) 61 62// APIReleaseClientAPI contains the set of methods on the APIReleaseClient type. 63type APIReleaseClientAPI interface { 64 Create(ctx context.Context, parameters apimanagement.APIReleaseContract, resourceGroupName string, serviceName string, apiid string, releaseID string) (result apimanagement.APIReleaseContract, err error) 65 Delete(ctx context.Context, ifMatch string, resourceGroupName string, serviceName string, apiid string, releaseID string) (result autorest.Response, err error) 66 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, releaseID string) (result apimanagement.APIReleaseContract, err error) 67 List(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIReleaseCollectionPage, err error) 68 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIReleaseCollectionIterator, err error) 69 Update(ctx context.Context, parameters apimanagement.APIReleaseContract, ifMatch string, resourceGroupName string, serviceName string, apiid string, releaseID string) (result autorest.Response, err error) 70} 71 72var _ APIReleaseClientAPI = (*apimanagement.APIReleaseClient)(nil) 73 74// APIOperationClientAPI contains the set of methods on the APIOperationClient type. 75type APIOperationClientAPI interface { 76 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.OperationContract) (result apimanagement.OperationContract, err error) 77 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, ifMatch string) (result autorest.Response, err error) 78 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.OperationContract, err error) 79 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result autorest.Response, err error) 80 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.OperationCollectionPage, err error) 81 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.OperationCollectionIterator, err error) 82 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.OperationUpdateContract, ifMatch string) (result autorest.Response, err error) 83} 84 85var _ APIOperationClientAPI = (*apimanagement.APIOperationClient)(nil) 86 87// APIOperationPolicyClientAPI contains the set of methods on the APIOperationPolicyClient type. 88type APIOperationPolicyClientAPI interface { 89 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.PolicyContract, ifMatch string) (result apimanagement.PolicyContract, err error) 90 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, ifMatch string) (result autorest.Response, err error) 91 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.PolicyContract, err error) 92 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result autorest.Response, err error) 93 ListByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.PolicyCollection, err error) 94} 95 96var _ APIOperationPolicyClientAPI = (*apimanagement.APIOperationPolicyClient)(nil) 97 98// APIProductClientAPI contains the set of methods on the APIProductClient type. 99type APIProductClientAPI interface { 100 ListByApis(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.ProductCollectionPage, err error) 101 ListByApisComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.ProductCollectionIterator, err error) 102} 103 104var _ APIProductClientAPI = (*apimanagement.APIProductClient)(nil) 105 106// APIPolicyClientAPI contains the set of methods on the APIPolicyClient type. 107type APIPolicyClientAPI interface { 108 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.PolicyContract, ifMatch string) (result apimanagement.PolicyContract, err error) 109 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, ifMatch string) (result autorest.Response, err error) 110 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.PolicyContract, err error) 111 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result autorest.Response, err error) 112 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.PolicyCollection, err error) 113} 114 115var _ APIPolicyClientAPI = (*apimanagement.APIPolicyClient)(nil) 116 117// APISchemaClientAPI contains the set of methods on the APISchemaClient type. 118type APISchemaClientAPI interface { 119 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string, parameters apimanagement.SchemaContract, ifMatch string) (result apimanagement.SchemaContract, err error) 120 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string, ifMatch string) (result autorest.Response, err error) 121 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string) (result apimanagement.SchemaContract, err error) 122 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string) (result autorest.Response, err error) 123 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.SchemaCollectionPage, err error) 124 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.SchemaCollectionIterator, err error) 125} 126 127var _ APISchemaClientAPI = (*apimanagement.APISchemaClient)(nil) 128 129// APIDiagnosticClientAPI contains the set of methods on the APIDiagnosticClient type. 130type APIDiagnosticClientAPI interface { 131 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result apimanagement.DiagnosticContract, err error) 132 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, ifMatch string) (result autorest.Response, err error) 133 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string) (result apimanagement.DiagnosticContract, err error) 134 Head(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string) (result autorest.Response, err error) 135 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionPage, err error) 136 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionIterator, err error) 137 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result autorest.Response, err error) 138} 139 140var _ APIDiagnosticClientAPI = (*apimanagement.APIDiagnosticClient)(nil) 141 142// APIDiagnosticLoggerClientAPI contains the set of methods on the APIDiagnosticLoggerClient type. 143type APIDiagnosticLoggerClientAPI interface { 144 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, loggerid string) (result autorest.Response, err error) 145 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, loggerid string) (result apimanagement.LoggerContract, err error) 146 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, loggerid string) (result autorest.Response, err error) 147 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionPage, err error) 148 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionIterator, err error) 149} 150 151var _ APIDiagnosticLoggerClientAPI = (*apimanagement.APIDiagnosticLoggerClient)(nil) 152 153// APIIssuesClientAPI contains the set of methods on the APIIssuesClient type. 154type APIIssuesClientAPI interface { 155 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.IssueCollectionPage, err error) 156 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.IssueCollectionIterator, err error) 157} 158 159var _ APIIssuesClientAPI = (*apimanagement.APIIssuesClient)(nil) 160 161// APIIssueClientAPI contains the set of methods on the APIIssueClient type. 162type APIIssueClientAPI interface { 163 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, parameters apimanagement.IssueContract, ifMatch string) (result apimanagement.IssueContract, err error) 164 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, ifMatch string) (result autorest.Response, err error) 165 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string) (result apimanagement.IssueContract, err error) 166 Head(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string) (result autorest.Response, err error) 167} 168 169var _ APIIssueClientAPI = (*apimanagement.APIIssueClient)(nil) 170 171// APIIssueCommentsClientAPI contains the set of methods on the APIIssueCommentsClient type. 172type APIIssueCommentsClientAPI interface { 173 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueCommentCollectionPage, err error) 174 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueCommentCollectionIterator, err error) 175} 176 177var _ APIIssueCommentsClientAPI = (*apimanagement.APIIssueCommentsClient)(nil) 178 179// APIIssuCommentClientAPI contains the set of methods on the APIIssuCommentClient type. 180type APIIssuCommentClientAPI interface { 181 Head(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string) (result autorest.Response, err error) 182} 183 184var _ APIIssuCommentClientAPI = (*apimanagement.APIIssuCommentClient)(nil) 185 186// APIIssueCommentClientAPI contains the set of methods on the APIIssueCommentClient type. 187type APIIssueCommentClientAPI interface { 188 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string, parameters apimanagement.IssueCommentContract, ifMatch string) (result apimanagement.IssueCommentContract, err error) 189 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string, ifMatch string) (result autorest.Response, err error) 190 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string) (result apimanagement.IssueCommentContract, err error) 191} 192 193var _ APIIssueCommentClientAPI = (*apimanagement.APIIssueCommentClient)(nil) 194 195// APIIssueAttachmentsClientAPI contains the set of methods on the APIIssueAttachmentsClient type. 196type APIIssueAttachmentsClientAPI interface { 197 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueAttachmentCollectionPage, err error) 198 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueAttachmentCollectionIterator, err error) 199} 200 201var _ APIIssueAttachmentsClientAPI = (*apimanagement.APIIssueAttachmentsClient)(nil) 202 203// APIIssuAttachmentClientAPI contains the set of methods on the APIIssuAttachmentClient type. 204type APIIssuAttachmentClientAPI interface { 205 Head(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string) (result autorest.Response, err error) 206} 207 208var _ APIIssuAttachmentClientAPI = (*apimanagement.APIIssuAttachmentClient)(nil) 209 210// APIIssueAttachmentClientAPI contains the set of methods on the APIIssueAttachmentClient type. 211type APIIssueAttachmentClientAPI interface { 212 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string, parameters apimanagement.IssueAttachmentContract, ifMatch string) (result apimanagement.IssueAttachmentContract, err error) 213 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string, ifMatch string) (result autorest.Response, err error) 214 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string) (result apimanagement.IssueAttachmentContract, err error) 215} 216 217var _ APIIssueAttachmentClientAPI = (*apimanagement.APIIssueAttachmentClient)(nil) 218 219// AuthorizationServerClientAPI contains the set of methods on the AuthorizationServerClient type. 220type AuthorizationServerClientAPI interface { 221 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, authsid string, parameters apimanagement.AuthorizationServerContract) (result apimanagement.AuthorizationServerContract, err error) 222 Delete(ctx context.Context, resourceGroupName string, serviceName string, authsid string, ifMatch string) (result autorest.Response, err error) 223 Get(ctx context.Context, resourceGroupName string, serviceName string, authsid string) (result apimanagement.AuthorizationServerContract, err error) 224 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, authsid string) (result autorest.Response, err error) 225 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.AuthorizationServerCollectionPage, err error) 226 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.AuthorizationServerCollectionIterator, err error) 227 Update(ctx context.Context, resourceGroupName string, serviceName string, authsid string, parameters apimanagement.AuthorizationServerUpdateContract, ifMatch string) (result autorest.Response, err error) 228} 229 230var _ AuthorizationServerClientAPI = (*apimanagement.AuthorizationServerClient)(nil) 231 232// BackendClientAPI contains the set of methods on the BackendClient type. 233type BackendClientAPI interface { 234 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, backendid string, parameters apimanagement.BackendContract) (result apimanagement.BackendContract, err error) 235 Delete(ctx context.Context, resourceGroupName string, serviceName string, backendid string, ifMatch string) (result autorest.Response, err error) 236 Get(ctx context.Context, resourceGroupName string, serviceName string, backendid string) (result apimanagement.BackendContract, err error) 237 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, backendid string) (result autorest.Response, err error) 238 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.BackendCollectionPage, err error) 239 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.BackendCollectionIterator, err error) 240 Reconnect(ctx context.Context, resourceGroupName string, serviceName string, backendid string, parameters *apimanagement.BackendReconnectContract) (result autorest.Response, err error) 241 Update(ctx context.Context, resourceGroupName string, serviceName string, backendid string, parameters apimanagement.BackendUpdateParameters, ifMatch string) (result autorest.Response, err error) 242} 243 244var _ BackendClientAPI = (*apimanagement.BackendClient)(nil) 245 246// CertificateClientAPI contains the set of methods on the CertificateClient type. 247type CertificateClientAPI interface { 248 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, certificateID string, parameters apimanagement.CertificateCreateOrUpdateParameters, ifMatch string) (result apimanagement.CertificateContract, err error) 249 Delete(ctx context.Context, resourceGroupName string, serviceName string, certificateID string, ifMatch string) (result autorest.Response, err error) 250 Get(ctx context.Context, resourceGroupName string, serviceName string, certificateID string) (result apimanagement.CertificateContract, err error) 251 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, certificateID string) (result autorest.Response, err error) 252 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.CertificateCollectionPage, err error) 253 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.CertificateCollectionIterator, err error) 254} 255 256var _ CertificateClientAPI = (*apimanagement.CertificateClient)(nil) 257 258// OperationsClientAPI contains the set of methods on the OperationsClient type. 259type OperationsClientAPI interface { 260 List(ctx context.Context) (result apimanagement.OperationListResultPage, err error) 261 ListComplete(ctx context.Context) (result apimanagement.OperationListResultIterator, err error) 262} 263 264var _ OperationsClientAPI = (*apimanagement.OperationsClient)(nil) 265 266// ServiceClientAPI contains the set of methods on the ServiceClient type. 267type ServiceClientAPI interface { 268 ApplyNetworkConfigurationUpdates(ctx context.Context, resourceGroupName string, serviceName string, parameters *apimanagement.ServiceApplyNetworkConfigurationParameters) (result apimanagement.ServiceApplyNetworkConfigurationUpdatesFuture, err error) 269 Backup(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceBackupRestoreParameters) (result apimanagement.ServiceBackupFuture, err error) 270 CheckNameAvailability(ctx context.Context, parameters apimanagement.ServiceCheckNameAvailabilityParameters) (result apimanagement.ServiceNameAvailabilityResult, err error) 271 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceResource) (result apimanagement.ServiceCreateOrUpdateFuture, err error) 272 Delete(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 273 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceResource, err error) 274 GetSsoToken(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceGetSsoTokenResult, err error) 275 List(ctx context.Context) (result apimanagement.ServiceListResultPage, err error) 276 ListComplete(ctx context.Context) (result apimanagement.ServiceListResultIterator, err error) 277 ListByResourceGroup(ctx context.Context, resourceGroupName string) (result apimanagement.ServiceListResultPage, err error) 278 ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result apimanagement.ServiceListResultIterator, err error) 279 Restore(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceBackupRestoreParameters) (result apimanagement.ServiceRestoreFuture, err error) 280 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUpdateParameters) (result apimanagement.ServiceUpdateFuture, err error) 281 UpdateHostname(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUpdateHostnameParameters) (result apimanagement.ServiceUpdateHostnameFuture, err error) 282 UploadCertificate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUploadCertificateParameters) (result apimanagement.CertificateInformation, err error) 283} 284 285var _ ServiceClientAPI = (*apimanagement.ServiceClient)(nil) 286 287// DiagnosticClientAPI contains the set of methods on the DiagnosticClient type. 288type DiagnosticClientAPI interface { 289 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result apimanagement.DiagnosticContract, err error) 290 Delete(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, ifMatch string) (result autorest.Response, err error) 291 Get(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string) (result apimanagement.DiagnosticContract, err error) 292 Head(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string) (result autorest.Response, err error) 293 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionPage, err error) 294 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionIterator, err error) 295 Update(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result autorest.Response, err error) 296} 297 298var _ DiagnosticClientAPI = (*apimanagement.DiagnosticClient)(nil) 299 300// DiagnosticLoggerClientAPI contains the set of methods on the DiagnosticLoggerClient type. 301type DiagnosticLoggerClientAPI interface { 302 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, loggerid string) (result autorest.Response, err error) 303 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, loggerid string) (result apimanagement.LoggerContract, err error) 304 Delete(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, loggerid string) (result autorest.Response, err error) 305 ListByService(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionPage, err error) 306 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionIterator, err error) 307} 308 309var _ DiagnosticLoggerClientAPI = (*apimanagement.DiagnosticLoggerClient)(nil) 310 311// EmailTemplateClientAPI contains the set of methods on the EmailTemplateClient type. 312type EmailTemplateClientAPI interface { 313 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName, parameters apimanagement.EmailTemplateUpdateParameters) (result apimanagement.EmailTemplateContract, err error) 314 Delete(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName, ifMatch string) (result autorest.Response, err error) 315 Get(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName) (result apimanagement.EmailTemplateContract, err error) 316 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName) (result autorest.Response, err error) 317 ListByService(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.EmailTemplateCollectionPage, err error) 318 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.EmailTemplateCollectionIterator, err error) 319 Update(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName, parameters apimanagement.EmailTemplateUpdateParameters) (result autorest.Response, err error) 320} 321 322var _ EmailTemplateClientAPI = (*apimanagement.EmailTemplateClient)(nil) 323 324// GroupClientAPI contains the set of methods on the GroupClient type. 325type GroupClientAPI interface { 326 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, groupID string, parameters apimanagement.GroupCreateParameters) (result apimanagement.GroupContract, err error) 327 Delete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, ifMatch string) (result autorest.Response, err error) 328 Get(ctx context.Context, resourceGroupName string, serviceName string, groupID string) (result apimanagement.GroupContract, err error) 329 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, groupID string) (result autorest.Response, err error) 330 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error) 331 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionIterator, err error) 332 Update(ctx context.Context, resourceGroupName string, serviceName string, groupID string, parameters apimanagement.GroupUpdateParameters, ifMatch string) (result autorest.Response, err error) 333} 334 335var _ GroupClientAPI = (*apimanagement.GroupClient)(nil) 336 337// GroupUserClientAPI contains the set of methods on the GroupUserClient type. 338type GroupUserClientAPI interface { 339 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, groupID string, UID string) (result autorest.Response, err error) 340 Create(ctx context.Context, resourceGroupName string, serviceName string, groupID string, UID string) (result apimanagement.UserContract, err error) 341 Delete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, UID string) (result autorest.Response, err error) 342 List(ctx context.Context, resourceGroupName string, serviceName string, groupID string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionPage, err error) 343 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionIterator, err error) 344} 345 346var _ GroupUserClientAPI = (*apimanagement.GroupUserClient)(nil) 347 348// IdentityProviderClientAPI contains the set of methods on the IdentityProviderClient type. 349type IdentityProviderClientAPI interface { 350 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType, parameters apimanagement.IdentityProviderContract) (result apimanagement.IdentityProviderContract, err error) 351 Delete(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType, ifMatch string) (result autorest.Response, err error) 352 Get(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType) (result apimanagement.IdentityProviderContract, err error) 353 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType) (result autorest.Response, err error) 354 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.IdentityProviderList, err error) 355 Update(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType, parameters apimanagement.IdentityProviderUpdateParameters, ifMatch string) (result autorest.Response, err error) 356} 357 358var _ IdentityProviderClientAPI = (*apimanagement.IdentityProviderClient)(nil) 359 360// LoggerClientAPI contains the set of methods on the LoggerClient type. 361type LoggerClientAPI interface { 362 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, loggerid string, parameters apimanagement.LoggerContract) (result apimanagement.LoggerContract, err error) 363 Delete(ctx context.Context, resourceGroupName string, serviceName string, loggerid string, ifMatch string) (result autorest.Response, err error) 364 Get(ctx context.Context, resourceGroupName string, serviceName string, loggerid string) (result apimanagement.LoggerContract, err error) 365 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, loggerid string) (result autorest.Response, err error) 366 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionPage, err error) 367 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionIterator, err error) 368 Update(ctx context.Context, resourceGroupName string, serviceName string, loggerid string, parameters apimanagement.LoggerUpdateContract, ifMatch string) (result autorest.Response, err error) 369} 370 371var _ LoggerClientAPI = (*apimanagement.LoggerClient)(nil) 372 373// NotificationClientAPI contains the set of methods on the NotificationClient type. 374type NotificationClientAPI interface { 375 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.NotificationContract, err error) 376 Get(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.NotificationContract, err error) 377 ListByService(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.NotificationCollectionPage, err error) 378 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.NotificationCollectionIterator, err error) 379} 380 381var _ NotificationClientAPI = (*apimanagement.NotificationClient)(nil) 382 383// NotificationRecipientUserClientAPI contains the set of methods on the NotificationRecipientUserClient type. 384type NotificationRecipientUserClientAPI interface { 385 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, UID string) (result apimanagement.RecipientUserContract, err error) 386 Delete(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, UID string) (result autorest.Response, err error) 387 Get(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, UID string) (result autorest.Response, err error) 388 ListByNotification(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.RecipientUserCollection, err error) 389} 390 391var _ NotificationRecipientUserClientAPI = (*apimanagement.NotificationRecipientUserClient)(nil) 392 393// NotificationRecipientEmailClientAPI contains the set of methods on the NotificationRecipientEmailClient type. 394type NotificationRecipientEmailClientAPI interface { 395 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, email string) (result apimanagement.RecipientEmailContract, err error) 396 Delete(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, email string) (result autorest.Response, err error) 397 Get(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, email string) (result autorest.Response, err error) 398 ListByNotification(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.RecipientEmailCollection, err error) 399} 400 401var _ NotificationRecipientEmailClientAPI = (*apimanagement.NotificationRecipientEmailClient)(nil) 402 403// NetworkStatusClientAPI contains the set of methods on the NetworkStatusClient type. 404type NetworkStatusClientAPI interface { 405 ListByLocation(ctx context.Context, resourceGroupName string, serviceName string, locationName string) (result apimanagement.NetworkStatusContract, err error) 406 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.NetworkStatusContract, err error) 407} 408 409var _ NetworkStatusClientAPI = (*apimanagement.NetworkStatusClient)(nil) 410 411// OpenIDConnectProviderClientAPI contains the set of methods on the OpenIDConnectProviderClient type. 412type OpenIDConnectProviderClientAPI interface { 413 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, opid string, parameters apimanagement.OpenidConnectProviderContract) (result apimanagement.OpenidConnectProviderContract, err error) 414 Delete(ctx context.Context, resourceGroupName string, serviceName string, opid string, ifMatch string) (result autorest.Response, err error) 415 Get(ctx context.Context, resourceGroupName string, serviceName string, opid string) (result apimanagement.OpenidConnectProviderContract, err error) 416 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, opid string) (result autorest.Response, err error) 417 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.OpenIDConnectProviderCollectionPage, err error) 418 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.OpenIDConnectProviderCollectionIterator, err error) 419 Update(ctx context.Context, resourceGroupName string, serviceName string, opid string, parameters apimanagement.OpenidConnectProviderUpdateContract, ifMatch string) (result autorest.Response, err error) 420} 421 422var _ OpenIDConnectProviderClientAPI = (*apimanagement.OpenIDConnectProviderClient)(nil) 423 424// SignInSettingsClientAPI contains the set of methods on the SignInSettingsClient type. 425type SignInSettingsClientAPI interface { 426 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSigninSettings) (result apimanagement.PortalSigninSettings, err error) 427 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalSigninSettings, err error) 428 Head(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 429 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSigninSettings, ifMatch string) (result autorest.Response, err error) 430} 431 432var _ SignInSettingsClientAPI = (*apimanagement.SignInSettingsClient)(nil) 433 434// SignUpSettingsClientAPI contains the set of methods on the SignUpSettingsClient type. 435type SignUpSettingsClientAPI interface { 436 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSignupSettings) (result apimanagement.PortalSignupSettings, err error) 437 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalSignupSettings, err error) 438 Head(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 439 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSignupSettings, ifMatch string) (result autorest.Response, err error) 440} 441 442var _ SignUpSettingsClientAPI = (*apimanagement.SignUpSettingsClient)(nil) 443 444// DelegationSettingsClientAPI contains the set of methods on the DelegationSettingsClient type. 445type DelegationSettingsClientAPI interface { 446 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalDelegationSettings) (result apimanagement.PortalDelegationSettings, err error) 447 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalDelegationSettings, err error) 448 Head(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 449 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalDelegationSettings, ifMatch string) (result autorest.Response, err error) 450} 451 452var _ DelegationSettingsClientAPI = (*apimanagement.DelegationSettingsClient)(nil) 453 454// ProductClientAPI contains the set of methods on the ProductClient type. 455type ProductClientAPI interface { 456 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.ProductContract) (result apimanagement.ProductContract, err error) 457 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, ifMatch string, deleteSubscriptions *bool) (result autorest.Response, err error) 458 Get(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.ProductContract, err error) 459 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result autorest.Response, err error) 460 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool) (result apimanagement.ProductCollectionPage, err error) 461 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool) (result apimanagement.ProductCollectionIterator, err error) 462 Update(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.ProductUpdateParameters, ifMatch string) (result autorest.Response, err error) 463} 464 465var _ ProductClientAPI = (*apimanagement.ProductClient)(nil) 466 467// ProductAPIClientAPI contains the set of methods on the ProductAPIClient type. 468type ProductAPIClientAPI interface { 469 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result autorest.Response, err error) 470 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result apimanagement.APIContract, err error) 471 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result autorest.Response, err error) 472 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionPage, err error) 473 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionIterator, err error) 474} 475 476var _ ProductAPIClientAPI = (*apimanagement.ProductAPIClient)(nil) 477 478// ProductGroupClientAPI contains the set of methods on the ProductGroupClient type. 479type ProductGroupClientAPI interface { 480 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result autorest.Response, err error) 481 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result apimanagement.GroupContract, err error) 482 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result autorest.Response, err error) 483 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error) 484 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionIterator, err error) 485} 486 487var _ ProductGroupClientAPI = (*apimanagement.ProductGroupClient)(nil) 488 489// ProductSubscriptionsClientAPI contains the set of methods on the ProductSubscriptionsClient type. 490type ProductSubscriptionsClientAPI interface { 491 List(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error) 492 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionIterator, err error) 493} 494 495var _ ProductSubscriptionsClientAPI = (*apimanagement.ProductSubscriptionsClient)(nil) 496 497// ProductPolicyClientAPI contains the set of methods on the ProductPolicyClient type. 498type ProductPolicyClientAPI interface { 499 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.PolicyContract) (result apimanagement.PolicyContract, err error) 500 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, ifMatch string) (result autorest.Response, err error) 501 Get(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.PolicyContract, err error) 502 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.PolicyCollection, err error) 503} 504 505var _ ProductPolicyClientAPI = (*apimanagement.ProductPolicyClient)(nil) 506 507// PropertyClientAPI contains the set of methods on the PropertyClient type. 508type PropertyClientAPI interface { 509 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, propID string, parameters apimanagement.PropertyContract) (result apimanagement.PropertyContract, err error) 510 Delete(ctx context.Context, resourceGroupName string, serviceName string, propID string, ifMatch string) (result autorest.Response, err error) 511 Get(ctx context.Context, resourceGroupName string, serviceName string, propID string) (result apimanagement.PropertyContract, err error) 512 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, propID string) (result autorest.Response, err error) 513 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.PropertyCollectionPage, err error) 514 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.PropertyCollectionIterator, err error) 515 Update(ctx context.Context, resourceGroupName string, serviceName string, propID string, parameters apimanagement.PropertyUpdateParameters, ifMatch string) (result autorest.Response, err error) 516} 517 518var _ PropertyClientAPI = (*apimanagement.PropertyClient)(nil) 519 520// QuotaByCounterKeysClientAPI contains the set of methods on the QuotaByCounterKeysClient type. 521type QuotaByCounterKeysClientAPI interface { 522 ListByService(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string) (result apimanagement.QuotaCounterCollection, err error) 523 Update(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, parameters apimanagement.QuotaCounterValueContractProperties) (result autorest.Response, err error) 524} 525 526var _ QuotaByCounterKeysClientAPI = (*apimanagement.QuotaByCounterKeysClient)(nil) 527 528// QuotaByPeriodKeysClientAPI contains the set of methods on the QuotaByPeriodKeysClient type. 529type QuotaByPeriodKeysClientAPI interface { 530 Get(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, quotaPeriodKey string) (result apimanagement.QuotaCounterContract, err error) 531 Update(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, quotaPeriodKey string, parameters apimanagement.QuotaCounterValueContractProperties) (result autorest.Response, err error) 532} 533 534var _ QuotaByPeriodKeysClientAPI = (*apimanagement.QuotaByPeriodKeysClient)(nil) 535 536// ReportsClientAPI contains the set of methods on the ReportsClient type. 537type ReportsClientAPI interface { 538 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 539 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 540 ListByGeo(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 541 ListByGeoComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 542 ListByOperation(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 543 ListByOperationComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 544 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 545 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 546 ListByRequest(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.RequestReportCollection, err error) 547 ListBySubscription(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 548 ListBySubscriptionComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 549 ListByTime(ctx context.Context, resourceGroupName string, serviceName string, interval string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 550 ListByTimeComplete(ctx context.Context, resourceGroupName string, serviceName string, interval string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 551 ListByUser(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 552 ListByUserComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 553} 554 555var _ ReportsClientAPI = (*apimanagement.ReportsClient)(nil) 556 557// SubscriptionClientAPI contains the set of methods on the SubscriptionClient type. 558type SubscriptionClientAPI interface { 559 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, sid string, parameters apimanagement.SubscriptionCreateParameters) (result apimanagement.SubscriptionContract, err error) 560 Delete(ctx context.Context, resourceGroupName string, serviceName string, sid string, ifMatch string) (result autorest.Response, err error) 561 Get(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result apimanagement.SubscriptionContract, err error) 562 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error) 563 List(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error) 564 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionIterator, err error) 565 RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error) 566 RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error) 567 Update(ctx context.Context, resourceGroupName string, serviceName string, sid string, parameters apimanagement.SubscriptionUpdateParameters, ifMatch string) (result autorest.Response, err error) 568} 569 570var _ SubscriptionClientAPI = (*apimanagement.SubscriptionClient)(nil) 571 572// TagResourceClientAPI contains the set of methods on the TagResourceClient type. 573type TagResourceClientAPI interface { 574 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionPage, err error) 575 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionIterator, err error) 576} 577 578var _ TagResourceClientAPI = (*apimanagement.TagResourceClient)(nil) 579 580// TagClientAPI contains the set of methods on the TagClient type. 581type TagClientAPI interface { 582 AssignToAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string, ifMatch string) (result apimanagement.TagContract, err error) 583 AssignToOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string, ifMatch string) (result apimanagement.TagContract, err error) 584 AssignToProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string, ifMatch string) (result apimanagement.TagContract, err error) 585 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, tagID string, parameters apimanagement.TagCreateUpdateParameters) (result apimanagement.TagContract, err error) 586 Delete(ctx context.Context, resourceGroupName string, serviceName string, tagID string, ifMatch string) (result autorest.Response, err error) 587 DetachFromAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string, ifMatch string) (result autorest.Response, err error) 588 DetachFromOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string, ifMatch string) (result autorest.Response, err error) 589 DetachFromProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string, ifMatch string) (result autorest.Response, err error) 590 Get(ctx context.Context, resourceGroupName string, serviceName string, tagID string) (result apimanagement.TagContract, err error) 591 GetByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result apimanagement.TagContract, err error) 592 GetByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string) (result apimanagement.TagContract, err error) 593 GetByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string) (result apimanagement.TagContract, err error) 594 GetEntityState(ctx context.Context, resourceGroupName string, serviceName string, tagID string) (result autorest.Response, err error) 595 GetEntityStateByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result autorest.Response, err error) 596 GetEntityStateByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string) (result autorest.Response, err error) 597 GetEntityStateByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string) (result autorest.Response, err error) 598 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 599 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 600 ListByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 601 ListByOperationComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 602 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 603 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 604 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 605 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 606 Update(ctx context.Context, resourceGroupName string, serviceName string, tagID string, parameters apimanagement.TagCreateUpdateParameters, ifMatch string) (result autorest.Response, err error) 607} 608 609var _ TagClientAPI = (*apimanagement.TagClient)(nil) 610 611// TagDescriptionClientAPI contains the set of methods on the TagDescriptionClient type. 612type TagDescriptionClientAPI interface { 613 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string, parameters apimanagement.TagDescriptionCreateParameters, ifMatch string) (result apimanagement.TagDescriptionContract, err error) 614 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string, ifMatch string) (result autorest.Response, err error) 615 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result apimanagement.TagDescriptionContract, err error) 616 GetEntityState(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result autorest.Response, err error) 617 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagDescriptionCollectionPage, err error) 618 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagDescriptionCollectionIterator, err error) 619} 620 621var _ TagDescriptionClientAPI = (*apimanagement.TagDescriptionClient)(nil) 622 623// OperationClientAPI contains the set of methods on the OperationClient type. 624type OperationClientAPI interface { 625 ListByTags(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionPage, err error) 626 ListByTagsComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionIterator, err error) 627} 628 629var _ OperationClientAPI = (*apimanagement.OperationClient)(nil) 630 631// TenantAccessClientAPI contains the set of methods on the TenantAccessClient type. 632type TenantAccessClientAPI interface { 633 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.AccessInformationContract, err error) 634 RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 635 RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 636 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.AccessInformationUpdateParameters, ifMatch string) (result autorest.Response, err error) 637} 638 639var _ TenantAccessClientAPI = (*apimanagement.TenantAccessClient)(nil) 640 641// TenantAccessGitClientAPI contains the set of methods on the TenantAccessGitClient type. 642type TenantAccessGitClientAPI interface { 643 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.AccessInformationContract, err error) 644 RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 645 RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 646} 647 648var _ TenantAccessGitClientAPI = (*apimanagement.TenantAccessGitClient)(nil) 649 650// TenantConfigurationClientAPI contains the set of methods on the TenantConfigurationClient type. 651type TenantConfigurationClientAPI interface { 652 Deploy(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.DeployConfigurationParameters) (result apimanagement.TenantConfigurationDeployFuture, err error) 653 GetSyncState(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.TenantConfigurationSyncStateContract, err error) 654 Save(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.SaveConfigurationParameter) (result apimanagement.TenantConfigurationSaveFuture, err error) 655 Validate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.DeployConfigurationParameters) (result apimanagement.TenantConfigurationValidateFuture, err error) 656} 657 658var _ TenantConfigurationClientAPI = (*apimanagement.TenantConfigurationClient)(nil) 659 660// UserClientAPI contains the set of methods on the UserClient type. 661type UserClientAPI interface { 662 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, UID string, parameters apimanagement.UserCreateParameters) (result apimanagement.UserContract, err error) 663 Delete(ctx context.Context, resourceGroupName string, serviceName string, UID string, ifMatch string, deleteSubscriptions *bool) (result autorest.Response, err error) 664 GenerateSsoURL(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result apimanagement.GenerateSsoURLResult, err error) 665 Get(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result apimanagement.UserContract, err error) 666 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result autorest.Response, err error) 667 GetSharedAccessToken(ctx context.Context, resourceGroupName string, serviceName string, UID string, parameters apimanagement.UserTokenParameters) (result apimanagement.UserTokenResult, err error) 668 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionPage, err error) 669 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionIterator, err error) 670 Update(ctx context.Context, resourceGroupName string, serviceName string, UID string, parameters apimanagement.UserUpdateParameters, ifMatch string) (result autorest.Response, err error) 671} 672 673var _ UserClientAPI = (*apimanagement.UserClient)(nil) 674 675// UserGroupClientAPI contains the set of methods on the UserGroupClient type. 676type UserGroupClientAPI interface { 677 List(ctx context.Context, resourceGroupName string, serviceName string, UID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error) 678 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, UID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionIterator, err error) 679} 680 681var _ UserGroupClientAPI = (*apimanagement.UserGroupClient)(nil) 682 683// UserSubscriptionClientAPI contains the set of methods on the UserSubscriptionClient type. 684type UserSubscriptionClientAPI interface { 685 List(ctx context.Context, resourceGroupName string, serviceName string, UID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error) 686 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, UID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionIterator, err error) 687} 688 689var _ UserSubscriptionClientAPI = (*apimanagement.UserSubscriptionClient)(nil) 690 691// UserIdentitiesClientAPI contains the set of methods on the UserIdentitiesClient type. 692type UserIdentitiesClientAPI interface { 693 List(ctx context.Context, resourceGroupName string, serviceName string, UID string) (result apimanagement.UserIdentityCollection, err error) 694} 695 696var _ UserIdentitiesClientAPI = (*apimanagement.UserIdentitiesClient)(nil) 697 698// APIVersionSetClientAPI contains the set of methods on the APIVersionSetClient type. 699type APIVersionSetClientAPI interface { 700 CreateOrUpdate(ctx context.Context, parameters apimanagement.APIVersionSetContract, resourceGroupName string, serviceName string, versionSetID string, ifMatch string) (result apimanagement.APIVersionSetContract, err error) 701 Delete(ctx context.Context, ifMatch string, resourceGroupName string, serviceName string, versionSetID string) (result autorest.Response, err error) 702 Get(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string) (result apimanagement.APIVersionSetContract, err error) 703 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string) (result autorest.Response, err error) 704 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.APIVersionSetCollectionPage, err error) 705 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.APIVersionSetCollectionIterator, err error) 706 Update(ctx context.Context, parameters apimanagement.APIVersionSetUpdateParameters, ifMatch string, resourceGroupName string, serviceName string, versionSetID string) (result autorest.Response, err error) 707} 708 709var _ APIVersionSetClientAPI = (*apimanagement.APIVersionSetClient)(nil) 710 711// APIExportClientAPI contains the set of methods on the APIExportClient type. 712type APIExportClientAPI interface { 713 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.APIExportResult, err error) 714} 715 716var _ APIExportClientAPI = (*apimanagement.APIExportClient)(nil) 717