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/2020-12-01/apimanagement" 12 "github.com/Azure/go-autorest/autorest" 13) 14 15// APIClientAPI contains the set of methods on the APIClient type. 16type APIClientAPI interface { 17 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.APICreateOrUpdateParameter, ifMatch string) (result apimanagement.APICreateOrUpdateFuture, err error) 18 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, ifMatch string, deleteRevisions *bool) (result autorest.Response, err error) 19 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.APIContract, err error) 20 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result autorest.Response, err error) 21 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, tags string, expandAPIVersionSet *bool) (result apimanagement.APICollectionPage, err error) 22 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, tags string, expandAPIVersionSet *bool) (result apimanagement.APICollectionIterator, err error) 23 ListByTags(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, includeNotTaggedApis *bool) (result apimanagement.TagResourceCollectionPage, err error) 24 ListByTagsComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, includeNotTaggedApis *bool) (result apimanagement.TagResourceCollectionIterator, err error) 25 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.APIUpdateContract, ifMatch string) (result apimanagement.APIContract, err error) 26} 27 28var _ APIClientAPI = (*apimanagement.APIClient)(nil) 29 30// APIRevisionClientAPI contains the set of methods on the APIRevisionClient type. 31type APIRevisionClientAPI interface { 32 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIRevisionCollectionPage, err error) 33 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIRevisionCollectionIterator, err error) 34} 35 36var _ APIRevisionClientAPI = (*apimanagement.APIRevisionClient)(nil) 37 38// APIReleaseClientAPI contains the set of methods on the APIReleaseClient type. 39type APIReleaseClientAPI interface { 40 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, releaseID string, parameters apimanagement.APIReleaseContract, ifMatch string) (result apimanagement.APIReleaseContract, err error) 41 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, releaseID string, ifMatch string) (result autorest.Response, err error) 42 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, releaseID string) (result apimanagement.APIReleaseContract, err error) 43 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, releaseID string) (result autorest.Response, err error) 44 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIReleaseCollectionPage, err error) 45 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.APIReleaseCollectionIterator, err error) 46 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, releaseID string, parameters apimanagement.APIReleaseContract, ifMatch string) (result apimanagement.APIReleaseContract, err error) 47} 48 49var _ APIReleaseClientAPI = (*apimanagement.APIReleaseClient)(nil) 50 51// APIOperationClientAPI contains the set of methods on the APIOperationClient type. 52type APIOperationClientAPI interface { 53 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.OperationContract, ifMatch string) (result apimanagement.OperationContract, err error) 54 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, ifMatch string) (result autorest.Response, err error) 55 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.OperationContract, err error) 56 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result autorest.Response, err error) 57 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32, tags string) (result apimanagement.OperationCollectionPage, err error) 58 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32, tags string) (result apimanagement.OperationCollectionIterator, err error) 59 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.OperationUpdateContract, ifMatch string) (result apimanagement.OperationContract, err error) 60} 61 62var _ APIOperationClientAPI = (*apimanagement.APIOperationClient)(nil) 63 64// APIOperationPolicyClientAPI contains the set of methods on the APIOperationPolicyClient type. 65type APIOperationPolicyClientAPI interface { 66 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, parameters apimanagement.PolicyContract, ifMatch string) (result apimanagement.PolicyContract, err error) 67 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, ifMatch string) (result autorest.Response, err error) 68 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, formatParameter apimanagement.PolicyExportFormat) (result apimanagement.PolicyContract, err error) 69 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result autorest.Response, err error) 70 ListByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string) (result apimanagement.PolicyCollection, err error) 71} 72 73var _ APIOperationPolicyClientAPI = (*apimanagement.APIOperationPolicyClient)(nil) 74 75// TagClientAPI contains the set of methods on the TagClient type. 76type TagClientAPI interface { 77 AssignToAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result apimanagement.TagContract, err error) 78 AssignToOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string) (result apimanagement.TagContract, err error) 79 AssignToProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string) (result apimanagement.TagContract, err error) 80 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, tagID string, parameters apimanagement.TagCreateUpdateParameters, ifMatch string) (result apimanagement.TagContract, err error) 81 Delete(ctx context.Context, resourceGroupName string, serviceName string, tagID string, ifMatch string) (result autorest.Response, err error) 82 DetachFromAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result autorest.Response, err error) 83 DetachFromOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string) (result autorest.Response, err error) 84 DetachFromProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string) (result autorest.Response, err error) 85 Get(ctx context.Context, resourceGroupName string, serviceName string, tagID string) (result apimanagement.TagContract, err error) 86 GetByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result apimanagement.TagContract, err error) 87 GetByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string) (result apimanagement.TagContract, err error) 88 GetByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string) (result apimanagement.TagContract, err error) 89 GetEntityState(ctx context.Context, resourceGroupName string, serviceName string, tagID string) (result autorest.Response, err error) 90 GetEntityStateByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagID string) (result autorest.Response, err error) 91 GetEntityStateByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, tagID string) (result autorest.Response, err error) 92 GetEntityStateByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, tagID string) (result autorest.Response, err error) 93 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 94 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 95 ListByOperation(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 96 ListByOperationComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, operationID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 97 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionPage, err error) 98 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.TagCollectionIterator, err error) 99 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, scope string) (result apimanagement.TagCollectionPage, err error) 100 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, scope string) (result apimanagement.TagCollectionIterator, err error) 101 Update(ctx context.Context, resourceGroupName string, serviceName string, tagID string, parameters apimanagement.TagCreateUpdateParameters, ifMatch string) (result apimanagement.TagContract, err error) 102} 103 104var _ TagClientAPI = (*apimanagement.TagClient)(nil) 105 106// APIProductClientAPI contains the set of methods on the APIProductClient type. 107type APIProductClientAPI interface { 108 ListByApis(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.ProductCollectionPage, err error) 109 ListByApisComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.ProductCollectionIterator, err error) 110} 111 112var _ APIProductClientAPI = (*apimanagement.APIProductClient)(nil) 113 114// APIPolicyClientAPI contains the set of methods on the APIPolicyClient type. 115type APIPolicyClientAPI interface { 116 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, parameters apimanagement.PolicyContract, ifMatch string) (result apimanagement.PolicyContract, err error) 117 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, ifMatch string) (result autorest.Response, err error) 118 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, formatParameter apimanagement.PolicyExportFormat) (result apimanagement.PolicyContract, err error) 119 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result autorest.Response, err error) 120 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string) (result apimanagement.PolicyCollection, err error) 121} 122 123var _ APIPolicyClientAPI = (*apimanagement.APIPolicyClient)(nil) 124 125// APISchemaClientAPI contains the set of methods on the APISchemaClient type. 126type APISchemaClientAPI interface { 127 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string, parameters apimanagement.SchemaContract, ifMatch string) (result apimanagement.APISchemaCreateOrUpdateFuture, err error) 128 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string, ifMatch string, force *bool) (result autorest.Response, err error) 129 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string) (result apimanagement.SchemaContract, err error) 130 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, schemaID string) (result autorest.Response, err error) 131 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.SchemaCollectionPage, err error) 132 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.SchemaCollectionIterator, err error) 133} 134 135var _ APISchemaClientAPI = (*apimanagement.APISchemaClient)(nil) 136 137// APIDiagnosticClientAPI contains the set of methods on the APIDiagnosticClient type. 138type APIDiagnosticClientAPI interface { 139 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result apimanagement.DiagnosticContract, err error) 140 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, ifMatch string) (result autorest.Response, err error) 141 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string) (result apimanagement.DiagnosticContract, err error) 142 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string) (result autorest.Response, err error) 143 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionPage, err error) 144 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionIterator, err error) 145 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result apimanagement.DiagnosticContract, err error) 146} 147 148var _ APIDiagnosticClientAPI = (*apimanagement.APIDiagnosticClient)(nil) 149 150// APIIssueClientAPI contains the set of methods on the APIIssueClient type. 151type APIIssueClientAPI interface { 152 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, parameters apimanagement.IssueContract, ifMatch string) (result apimanagement.IssueContract, err error) 153 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, ifMatch string) (result autorest.Response, err error) 154 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, expandCommentsAttachments *bool) (result apimanagement.IssueContract, err error) 155 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string) (result autorest.Response, err error) 156 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, expandCommentsAttachments *bool, top *int32, skip *int32) (result apimanagement.IssueCollectionPage, err error) 157 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, expandCommentsAttachments *bool, top *int32, skip *int32) (result apimanagement.IssueCollectionIterator, err error) 158 Update(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, parameters apimanagement.IssueUpdateContract, ifMatch string) (result apimanagement.IssueContract, err error) 159} 160 161var _ APIIssueClientAPI = (*apimanagement.APIIssueClient)(nil) 162 163// APIIssueCommentClientAPI contains the set of methods on the APIIssueCommentClient type. 164type APIIssueCommentClientAPI interface { 165 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string, parameters apimanagement.IssueCommentContract, ifMatch string) (result apimanagement.IssueCommentContract, err error) 166 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string, ifMatch string) (result autorest.Response, err error) 167 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string) (result apimanagement.IssueCommentContract, err error) 168 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, commentID string) (result autorest.Response, err error) 169 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueCommentCollectionPage, err error) 170 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueCommentCollectionIterator, err error) 171} 172 173var _ APIIssueCommentClientAPI = (*apimanagement.APIIssueCommentClient)(nil) 174 175// APIIssueAttachmentClientAPI contains the set of methods on the APIIssueAttachmentClient type. 176type APIIssueAttachmentClientAPI interface { 177 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string, parameters apimanagement.IssueAttachmentContract, ifMatch string) (result apimanagement.IssueAttachmentContract, err error) 178 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string, ifMatch string) (result autorest.Response, err error) 179 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string) (result apimanagement.IssueAttachmentContract, err error) 180 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, attachmentID string) (result autorest.Response, err error) 181 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueAttachmentCollectionPage, err error) 182 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, issueID string, filter string, top *int32, skip *int32) (result apimanagement.IssueAttachmentCollectionIterator, err error) 183} 184 185var _ APIIssueAttachmentClientAPI = (*apimanagement.APIIssueAttachmentClient)(nil) 186 187// APITagDescriptionClientAPI contains the set of methods on the APITagDescriptionClient type. 188type APITagDescriptionClientAPI interface { 189 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagDescriptionID string, parameters apimanagement.TagDescriptionCreateParameters, ifMatch string) (result apimanagement.TagDescriptionContract, err error) 190 Delete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagDescriptionID string, ifMatch string) (result autorest.Response, err error) 191 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagDescriptionID string) (result apimanagement.TagDescriptionContract, err error) 192 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, apiid string, tagDescriptionID string) (result autorest.Response, err error) 193 ListByService(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagDescriptionCollectionPage, err error) 194 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32) (result apimanagement.TagDescriptionCollectionIterator, err error) 195} 196 197var _ APITagDescriptionClientAPI = (*apimanagement.APITagDescriptionClient)(nil) 198 199// OperationClientAPI contains the set of methods on the OperationClient type. 200type OperationClientAPI interface { 201 ListByTags(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32, includeNotTaggedOperations *bool) (result apimanagement.TagResourceCollectionPage, err error) 202 ListByTagsComplete(ctx context.Context, resourceGroupName string, serviceName string, apiid string, filter string, top *int32, skip *int32, includeNotTaggedOperations *bool) (result apimanagement.TagResourceCollectionIterator, err error) 203} 204 205var _ OperationClientAPI = (*apimanagement.OperationClient)(nil) 206 207// APIVersionSetClientAPI contains the set of methods on the APIVersionSetClient type. 208type APIVersionSetClientAPI interface { 209 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string, parameters apimanagement.APIVersionSetContract, ifMatch string) (result apimanagement.APIVersionSetContract, err error) 210 Delete(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string, ifMatch string) (result autorest.Response, err error) 211 Get(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string) (result apimanagement.APIVersionSetContract, err error) 212 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string) (result autorest.Response, err error) 213 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.APIVersionSetCollectionPage, err error) 214 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.APIVersionSetCollectionIterator, err error) 215 Update(ctx context.Context, resourceGroupName string, serviceName string, versionSetID string, parameters apimanagement.APIVersionSetUpdateParameters, ifMatch string) (result apimanagement.APIVersionSetContract, err error) 216} 217 218var _ APIVersionSetClientAPI = (*apimanagement.APIVersionSetClient)(nil) 219 220// AuthorizationServerClientAPI contains the set of methods on the AuthorizationServerClient type. 221type AuthorizationServerClientAPI interface { 222 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, authsid string, parameters apimanagement.AuthorizationServerContract, ifMatch string) (result apimanagement.AuthorizationServerContract, err error) 223 Delete(ctx context.Context, resourceGroupName string, serviceName string, authsid string, ifMatch string) (result autorest.Response, err error) 224 Get(ctx context.Context, resourceGroupName string, serviceName string, authsid string) (result apimanagement.AuthorizationServerContract, err error) 225 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, authsid string) (result autorest.Response, err error) 226 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.AuthorizationServerCollectionPage, err error) 227 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.AuthorizationServerCollectionIterator, err error) 228 ListSecrets(ctx context.Context, resourceGroupName string, serviceName string, authsid string) (result apimanagement.AuthorizationServerSecretsContract, err error) 229 Update(ctx context.Context, resourceGroupName string, serviceName string, authsid string, parameters apimanagement.AuthorizationServerUpdateContract, ifMatch string) (result apimanagement.AuthorizationServerContract, err error) 230} 231 232var _ AuthorizationServerClientAPI = (*apimanagement.AuthorizationServerClient)(nil) 233 234// BackendClientAPI contains the set of methods on the BackendClient type. 235type BackendClientAPI interface { 236 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, backendID string, parameters apimanagement.BackendContract, ifMatch string) (result apimanagement.BackendContract, err error) 237 Delete(ctx context.Context, resourceGroupName string, serviceName string, backendID string, ifMatch string) (result autorest.Response, err error) 238 Get(ctx context.Context, resourceGroupName string, serviceName string, backendID string) (result apimanagement.BackendContract, err error) 239 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, backendID string) (result autorest.Response, err error) 240 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.BackendCollectionPage, err error) 241 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.BackendCollectionIterator, err error) 242 Reconnect(ctx context.Context, resourceGroupName string, serviceName string, backendID string, parameters *apimanagement.BackendReconnectContract) (result autorest.Response, err error) 243 Update(ctx context.Context, resourceGroupName string, serviceName string, backendID string, parameters apimanagement.BackendUpdateParameters, ifMatch string) (result apimanagement.BackendContract, err error) 244} 245 246var _ BackendClientAPI = (*apimanagement.BackendClient)(nil) 247 248// CacheClientAPI contains the set of methods on the CacheClient type. 249type CacheClientAPI interface { 250 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, cacheID string, parameters apimanagement.CacheContract, ifMatch string) (result apimanagement.CacheContract, err error) 251 Delete(ctx context.Context, resourceGroupName string, serviceName string, cacheID string, ifMatch string) (result autorest.Response, err error) 252 Get(ctx context.Context, resourceGroupName string, serviceName string, cacheID string) (result apimanagement.CacheContract, err error) 253 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, cacheID string) (result autorest.Response, err error) 254 ListByService(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.CacheCollectionPage, err error) 255 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.CacheCollectionIterator, err error) 256 Update(ctx context.Context, resourceGroupName string, serviceName string, cacheID string, parameters apimanagement.CacheUpdateParameters, ifMatch string) (result apimanagement.CacheContract, err error) 257} 258 259var _ CacheClientAPI = (*apimanagement.CacheClient)(nil) 260 261// CertificateClientAPI contains the set of methods on the CertificateClient type. 262type CertificateClientAPI interface { 263 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, certificateID string, parameters apimanagement.CertificateCreateOrUpdateParameters, ifMatch string) (result apimanagement.CertificateContract, err error) 264 Delete(ctx context.Context, resourceGroupName string, serviceName string, certificateID string, ifMatch string) (result autorest.Response, err error) 265 Get(ctx context.Context, resourceGroupName string, serviceName string, certificateID string) (result apimanagement.CertificateContract, err error) 266 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, certificateID string) (result autorest.Response, err error) 267 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, isKeyVaultRefreshFailed *bool) (result apimanagement.CertificateCollectionPage, err error) 268 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, isKeyVaultRefreshFailed *bool) (result apimanagement.CertificateCollectionIterator, err error) 269 RefreshSecret(ctx context.Context, resourceGroupName string, serviceName string, certificateID string) (result apimanagement.CertificateContract, err error) 270} 271 272var _ CertificateClientAPI = (*apimanagement.CertificateClient)(nil) 273 274// ContentTypeClientAPI contains the set of methods on the ContentTypeClient type. 275type ContentTypeClientAPI interface { 276 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string, ifMatch string) (result apimanagement.ContentTypeContract, err error) 277 Delete(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string, ifMatch string) (result autorest.Response, err error) 278 Get(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string) (result apimanagement.ContentTypeContract, err error) 279 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ContentTypeCollectionPage, err error) 280 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ContentTypeCollectionIterator, err error) 281} 282 283var _ ContentTypeClientAPI = (*apimanagement.ContentTypeClient)(nil) 284 285// ContentItemClientAPI contains the set of methods on the ContentItemClient type. 286type ContentItemClientAPI interface { 287 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string, contentItemID string, ifMatch string) (result apimanagement.ContentItemContract, err error) 288 Delete(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string, contentItemID string, ifMatch string) (result autorest.Response, err error) 289 Get(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string, contentItemID string) (result apimanagement.ContentItemContract, err error) 290 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string, contentItemID string) (result autorest.Response, err error) 291 ListByService(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string) (result apimanagement.ContentItemCollectionPage, err error) 292 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, contentTypeID string) (result apimanagement.ContentItemCollectionIterator, err error) 293} 294 295var _ ContentItemClientAPI = (*apimanagement.ContentItemClient)(nil) 296 297// DeletedServicesClientAPI contains the set of methods on the DeletedServicesClient type. 298type DeletedServicesClientAPI interface { 299 GetByName(ctx context.Context, serviceName string, location string) (result apimanagement.DeletedServiceContract, err error) 300 ListBySubscription(ctx context.Context) (result apimanagement.DeletedServicesCollectionPage, err error) 301 ListBySubscriptionComplete(ctx context.Context) (result apimanagement.DeletedServicesCollectionIterator, err error) 302 Purge(ctx context.Context, serviceName string, location string) (result apimanagement.DeletedServicesPurgeFuture, err error) 303} 304 305var _ DeletedServicesClientAPI = (*apimanagement.DeletedServicesClient)(nil) 306 307// OperationsClientAPI contains the set of methods on the OperationsClient type. 308type OperationsClientAPI interface { 309 List(ctx context.Context) (result apimanagement.OperationListResultPage, err error) 310 ListComplete(ctx context.Context) (result apimanagement.OperationListResultIterator, err error) 311} 312 313var _ OperationsClientAPI = (*apimanagement.OperationsClient)(nil) 314 315// ServiceSkusClientAPI contains the set of methods on the ServiceSkusClient type. 316type ServiceSkusClientAPI interface { 317 ListAvailableServiceSkus(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ResourceSkuResultsPage, err error) 318 ListAvailableServiceSkusComplete(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ResourceSkuResultsIterator, err error) 319} 320 321var _ ServiceSkusClientAPI = (*apimanagement.ServiceSkusClient)(nil) 322 323// ServiceClientAPI contains the set of methods on the ServiceClient type. 324type ServiceClientAPI interface { 325 ApplyNetworkConfigurationUpdates(ctx context.Context, resourceGroupName string, serviceName string, parameters *apimanagement.ServiceApplyNetworkConfigurationParameters) (result apimanagement.ServiceApplyNetworkConfigurationUpdatesFuture, err error) 326 Backup(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceBackupRestoreParameters) (result apimanagement.ServiceBackupFuture, err error) 327 CheckNameAvailability(ctx context.Context, parameters apimanagement.ServiceCheckNameAvailabilityParameters) (result apimanagement.ServiceNameAvailabilityResult, err error) 328 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceResource) (result apimanagement.ServiceCreateOrUpdateFuture, err error) 329 Delete(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceDeleteFuture, err error) 330 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceResource, err error) 331 GetDomainOwnershipIdentifier(ctx context.Context) (result apimanagement.ServiceGetDomainOwnershipIdentifierResult, err error) 332 GetSsoToken(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ServiceGetSsoTokenResult, err error) 333 List(ctx context.Context) (result apimanagement.ServiceListResultPage, err error) 334 ListComplete(ctx context.Context) (result apimanagement.ServiceListResultIterator, err error) 335 ListByResourceGroup(ctx context.Context, resourceGroupName string) (result apimanagement.ServiceListResultPage, err error) 336 ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result apimanagement.ServiceListResultIterator, err error) 337 Restore(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceBackupRestoreParameters) (result apimanagement.ServiceRestoreFuture, err error) 338 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.ServiceUpdateParameters) (result apimanagement.ServiceUpdateFuture, err error) 339} 340 341var _ ServiceClientAPI = (*apimanagement.ServiceClient)(nil) 342 343// DiagnosticClientAPI contains the set of methods on the DiagnosticClient type. 344type DiagnosticClientAPI interface { 345 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result apimanagement.DiagnosticContract, err error) 346 Delete(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, ifMatch string) (result autorest.Response, err error) 347 Get(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string) (result apimanagement.DiagnosticContract, err error) 348 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string) (result autorest.Response, err error) 349 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionPage, err error) 350 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.DiagnosticCollectionIterator, err error) 351 Update(ctx context.Context, resourceGroupName string, serviceName string, diagnosticID string, parameters apimanagement.DiagnosticContract, ifMatch string) (result apimanagement.DiagnosticContract, err error) 352} 353 354var _ DiagnosticClientAPI = (*apimanagement.DiagnosticClient)(nil) 355 356// EmailTemplateClientAPI contains the set of methods on the EmailTemplateClient type. 357type EmailTemplateClientAPI interface { 358 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName, parameters apimanagement.EmailTemplateUpdateParameters, ifMatch string) (result apimanagement.EmailTemplateContract, err error) 359 Delete(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName, ifMatch string) (result autorest.Response, err error) 360 Get(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName) (result apimanagement.EmailTemplateContract, err error) 361 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName) (result autorest.Response, err error) 362 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.EmailTemplateCollectionPage, err error) 363 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.EmailTemplateCollectionIterator, err error) 364 Update(ctx context.Context, resourceGroupName string, serviceName string, templateName apimanagement.TemplateName, ifMatch string, parameters apimanagement.EmailTemplateUpdateParameters) (result apimanagement.EmailTemplateContract, err error) 365} 366 367var _ EmailTemplateClientAPI = (*apimanagement.EmailTemplateClient)(nil) 368 369// GatewayClientAPI contains the set of methods on the GatewayClient type. 370type GatewayClientAPI interface { 371 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, parameters apimanagement.GatewayContract, ifMatch string) (result apimanagement.GatewayContract, err error) 372 Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, ifMatch string) (result autorest.Response, err error) 373 GenerateToken(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, parameters apimanagement.GatewayTokenRequestContract) (result apimanagement.GatewayTokenContract, err error) 374 Get(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string) (result apimanagement.GatewayContract, err error) 375 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string) (result autorest.Response, err error) 376 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GatewayCollectionPage, err error) 377 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GatewayCollectionIterator, err error) 378 ListKeys(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string) (result apimanagement.GatewayKeysContract, err error) 379 RegenerateKey(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, parameters apimanagement.GatewayKeyRegenerationRequestContract) (result autorest.Response, err error) 380 Update(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, parameters apimanagement.GatewayContract, ifMatch string) (result apimanagement.GatewayContract, err error) 381} 382 383var _ GatewayClientAPI = (*apimanagement.GatewayClient)(nil) 384 385// GatewayHostnameConfigurationClientAPI contains the set of methods on the GatewayHostnameConfigurationClient type. 386type GatewayHostnameConfigurationClientAPI interface { 387 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, hcID string, parameters apimanagement.GatewayHostnameConfigurationContract, ifMatch string) (result apimanagement.GatewayHostnameConfigurationContract, err error) 388 Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, hcID string, ifMatch string) (result autorest.Response, err error) 389 Get(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, hcID string) (result apimanagement.GatewayHostnameConfigurationContract, err error) 390 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, hcID string) (result autorest.Response, err error) 391 ListByService(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, filter string, top *int32, skip *int32) (result apimanagement.GatewayHostnameConfigurationCollectionPage, err error) 392 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, filter string, top *int32, skip *int32) (result apimanagement.GatewayHostnameConfigurationCollectionIterator, err error) 393} 394 395var _ GatewayHostnameConfigurationClientAPI = (*apimanagement.GatewayHostnameConfigurationClient)(nil) 396 397// GatewayAPIClientAPI contains the set of methods on the GatewayAPIClient type. 398type GatewayAPIClientAPI interface { 399 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, apiid string, parameters *apimanagement.AssociationContract) (result apimanagement.APIContract, err error) 400 Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, apiid string) (result autorest.Response, err error) 401 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, apiid string) (result autorest.Response, err error) 402 ListByService(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionPage, err error) 403 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionIterator, err error) 404} 405 406var _ GatewayAPIClientAPI = (*apimanagement.GatewayAPIClient)(nil) 407 408// GatewayCertificateAuthorityClientAPI contains the set of methods on the GatewayCertificateAuthorityClient type. 409type GatewayCertificateAuthorityClientAPI interface { 410 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, certificateID string, parameters apimanagement.GatewayCertificateAuthorityContract, ifMatch string) (result apimanagement.GatewayCertificateAuthorityContract, err error) 411 Delete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, certificateID string, ifMatch string) (result autorest.Response, err error) 412 Get(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, certificateID string) (result apimanagement.GatewayCertificateAuthorityContract, err error) 413 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, certificateID string) (result autorest.Response, err error) 414 ListByService(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, filter string, top *int32, skip *int32) (result apimanagement.GatewayCertificateAuthorityCollectionPage, err error) 415 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, gatewayID string, filter string, top *int32, skip *int32) (result apimanagement.GatewayCertificateAuthorityCollectionIterator, err error) 416} 417 418var _ GatewayCertificateAuthorityClientAPI = (*apimanagement.GatewayCertificateAuthorityClient)(nil) 419 420// GroupClientAPI contains the set of methods on the GroupClient type. 421type GroupClientAPI interface { 422 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, groupID string, parameters apimanagement.GroupCreateParameters, ifMatch string) (result apimanagement.GroupContract, err error) 423 Delete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, ifMatch string) (result autorest.Response, err error) 424 Get(ctx context.Context, resourceGroupName string, serviceName string, groupID string) (result apimanagement.GroupContract, err error) 425 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, groupID string) (result autorest.Response, err error) 426 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error) 427 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionIterator, err error) 428 Update(ctx context.Context, resourceGroupName string, serviceName string, groupID string, parameters apimanagement.GroupUpdateParameters, ifMatch string) (result apimanagement.GroupContract, err error) 429} 430 431var _ GroupClientAPI = (*apimanagement.GroupClient)(nil) 432 433// GroupUserClientAPI contains the set of methods on the GroupUserClient type. 434type GroupUserClientAPI interface { 435 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, groupID string, userID string) (result autorest.Response, err error) 436 Create(ctx context.Context, resourceGroupName string, serviceName string, groupID string, userID string) (result apimanagement.UserContract, err error) 437 Delete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, userID string) (result autorest.Response, err error) 438 List(ctx context.Context, resourceGroupName string, serviceName string, groupID string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionPage, err error) 439 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, groupID string, filter string, top *int32, skip *int32) (result apimanagement.UserCollectionIterator, err error) 440} 441 442var _ GroupUserClientAPI = (*apimanagement.GroupUserClient)(nil) 443 444// IdentityProviderClientAPI contains the set of methods on the IdentityProviderClient type. 445type IdentityProviderClientAPI interface { 446 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType, parameters apimanagement.IdentityProviderCreateContract, ifMatch string) (result apimanagement.IdentityProviderContract, err error) 447 Delete(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType, ifMatch string) (result autorest.Response, err error) 448 Get(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType) (result apimanagement.IdentityProviderContract, err error) 449 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType) (result autorest.Response, err error) 450 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.IdentityProviderListPage, err error) 451 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.IdentityProviderListIterator, err error) 452 ListSecrets(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType) (result apimanagement.ClientSecretContract, err error) 453 Update(ctx context.Context, resourceGroupName string, serviceName string, identityProviderName apimanagement.IdentityProviderType, parameters apimanagement.IdentityProviderUpdateParameters, ifMatch string) (result apimanagement.IdentityProviderContract, err error) 454} 455 456var _ IdentityProviderClientAPI = (*apimanagement.IdentityProviderClient)(nil) 457 458// IssueClientAPI contains the set of methods on the IssueClient type. 459type IssueClientAPI interface { 460 Get(ctx context.Context, resourceGroupName string, serviceName string, issueID string) (result apimanagement.IssueContract, err error) 461 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.IssueCollectionPage, err error) 462 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.IssueCollectionIterator, err error) 463} 464 465var _ IssueClientAPI = (*apimanagement.IssueClient)(nil) 466 467// LoggerClientAPI contains the set of methods on the LoggerClient type. 468type LoggerClientAPI interface { 469 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, loggerID string, parameters apimanagement.LoggerContract, ifMatch string) (result apimanagement.LoggerContract, err error) 470 Delete(ctx context.Context, resourceGroupName string, serviceName string, loggerID string, ifMatch string) (result autorest.Response, err error) 471 Get(ctx context.Context, resourceGroupName string, serviceName string, loggerID string) (result apimanagement.LoggerContract, err error) 472 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, loggerID string) (result autorest.Response, err error) 473 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionPage, err error) 474 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.LoggerCollectionIterator, err error) 475 Update(ctx context.Context, resourceGroupName string, serviceName string, loggerID string, parameters apimanagement.LoggerUpdateContract, ifMatch string) (result apimanagement.LoggerContract, err error) 476} 477 478var _ LoggerClientAPI = (*apimanagement.LoggerClient)(nil) 479 480// NamedValueClientAPI contains the set of methods on the NamedValueClient type. 481type NamedValueClientAPI interface { 482 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string, parameters apimanagement.NamedValueCreateContract, ifMatch string) (result apimanagement.NamedValueCreateOrUpdateFuture, err error) 483 Delete(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string, ifMatch string) (result autorest.Response, err error) 484 Get(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string) (result apimanagement.NamedValueContract, err error) 485 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string) (result autorest.Response, err error) 486 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, isKeyVaultRefreshFailed *bool) (result apimanagement.NamedValueCollectionPage, err error) 487 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, isKeyVaultRefreshFailed *bool) (result apimanagement.NamedValueCollectionIterator, err error) 488 ListValue(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string) (result apimanagement.NamedValueSecretContract, err error) 489 RefreshSecret(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string) (result apimanagement.NamedValueRefreshSecretFuture, err error) 490 Update(ctx context.Context, resourceGroupName string, serviceName string, namedValueID string, parameters apimanagement.NamedValueUpdateParameters, ifMatch string) (result apimanagement.NamedValueUpdateFuture, err error) 491} 492 493var _ NamedValueClientAPI = (*apimanagement.NamedValueClient)(nil) 494 495// NetworkStatusClientAPI contains the set of methods on the NetworkStatusClient type. 496type NetworkStatusClientAPI interface { 497 ListByLocation(ctx context.Context, resourceGroupName string, serviceName string, locationName string) (result apimanagement.NetworkStatusContract, err error) 498 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.ListNetworkStatusContractByLocation, err error) 499} 500 501var _ NetworkStatusClientAPI = (*apimanagement.NetworkStatusClient)(nil) 502 503// NotificationClientAPI contains the set of methods on the NotificationClient type. 504type NotificationClientAPI interface { 505 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, ifMatch string) (result apimanagement.NotificationContract, err error) 506 Get(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.NotificationContract, err error) 507 ListByService(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.NotificationCollectionPage, err error) 508 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, top *int32, skip *int32) (result apimanagement.NotificationCollectionIterator, err error) 509} 510 511var _ NotificationClientAPI = (*apimanagement.NotificationClient)(nil) 512 513// NotificationRecipientUserClientAPI contains the set of methods on the NotificationRecipientUserClient type. 514type NotificationRecipientUserClientAPI interface { 515 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, userID string) (result autorest.Response, err error) 516 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, userID string) (result apimanagement.RecipientUserContract, err error) 517 Delete(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, userID string) (result autorest.Response, err error) 518 ListByNotification(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.RecipientUserCollection, err error) 519} 520 521var _ NotificationRecipientUserClientAPI = (*apimanagement.NotificationRecipientUserClient)(nil) 522 523// NotificationRecipientEmailClientAPI contains the set of methods on the NotificationRecipientEmailClient type. 524type NotificationRecipientEmailClientAPI interface { 525 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, email string) (result autorest.Response, err error) 526 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, email string) (result apimanagement.RecipientEmailContract, err error) 527 Delete(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName, email string) (result autorest.Response, err error) 528 ListByNotification(ctx context.Context, resourceGroupName string, serviceName string, notificationName apimanagement.NotificationName) (result apimanagement.RecipientEmailCollection, err error) 529} 530 531var _ NotificationRecipientEmailClientAPI = (*apimanagement.NotificationRecipientEmailClient)(nil) 532 533// OpenIDConnectProviderClientAPI contains the set of methods on the OpenIDConnectProviderClient type. 534type OpenIDConnectProviderClientAPI interface { 535 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, opid string, parameters apimanagement.OpenidConnectProviderContract, ifMatch string) (result apimanagement.OpenidConnectProviderContract, err error) 536 Delete(ctx context.Context, resourceGroupName string, serviceName string, opid string, ifMatch string) (result autorest.Response, err error) 537 Get(ctx context.Context, resourceGroupName string, serviceName string, opid string) (result apimanagement.OpenidConnectProviderContract, err error) 538 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, opid string) (result autorest.Response, err error) 539 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.OpenIDConnectProviderCollectionPage, err error) 540 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.OpenIDConnectProviderCollectionIterator, err error) 541 ListSecrets(ctx context.Context, resourceGroupName string, serviceName string, opid string) (result apimanagement.ClientSecretContract, err error) 542 Update(ctx context.Context, resourceGroupName string, serviceName string, opid string, parameters apimanagement.OpenidConnectProviderUpdateContract, ifMatch string) (result apimanagement.OpenidConnectProviderContract, err error) 543} 544 545var _ OpenIDConnectProviderClientAPI = (*apimanagement.OpenIDConnectProviderClient)(nil) 546 547// PolicyClientAPI contains the set of methods on the PolicyClient type. 548type PolicyClientAPI interface { 549 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PolicyContract, ifMatch string) (result apimanagement.PolicyContract, err error) 550 Delete(ctx context.Context, resourceGroupName string, serviceName string, ifMatch string) (result autorest.Response, err error) 551 Get(ctx context.Context, resourceGroupName string, serviceName string, formatParameter apimanagement.PolicyExportFormat) (result apimanagement.PolicyContract, err error) 552 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 553 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PolicyCollection, err error) 554} 555 556var _ PolicyClientAPI = (*apimanagement.PolicyClient)(nil) 557 558// PolicyDescriptionClientAPI contains the set of methods on the PolicyDescriptionClient type. 559type PolicyDescriptionClientAPI interface { 560 ListByService(ctx context.Context, resourceGroupName string, serviceName string, scope apimanagement.PolicyScopeContract) (result apimanagement.PolicyDescriptionCollection, err error) 561} 562 563var _ PolicyDescriptionClientAPI = (*apimanagement.PolicyDescriptionClient)(nil) 564 565// PortalRevisionClientAPI contains the set of methods on the PortalRevisionClient type. 566type PortalRevisionClientAPI interface { 567 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, portalRevisionID string, parameters apimanagement.PortalRevisionContract) (result apimanagement.PortalRevisionCreateOrUpdateFuture, err error) 568 Get(ctx context.Context, resourceGroupName string, serviceName string, portalRevisionID string) (result apimanagement.PortalRevisionContract, err error) 569 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, portalRevisionID string) (result autorest.Response, err error) 570 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.PortalRevisionCollectionPage, err error) 571 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.PortalRevisionCollectionIterator, err error) 572 Update(ctx context.Context, resourceGroupName string, serviceName string, portalRevisionID string, parameters apimanagement.PortalRevisionContract, ifMatch string) (result apimanagement.PortalRevisionUpdateFuture, err error) 573} 574 575var _ PortalRevisionClientAPI = (*apimanagement.PortalRevisionClient)(nil) 576 577// PortalSettingsClientAPI contains the set of methods on the PortalSettingsClient type. 578type PortalSettingsClientAPI interface { 579 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalSettingsCollection, err error) 580} 581 582var _ PortalSettingsClientAPI = (*apimanagement.PortalSettingsClient)(nil) 583 584// SignInSettingsClientAPI contains the set of methods on the SignInSettingsClient type. 585type SignInSettingsClientAPI interface { 586 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSigninSettings, ifMatch string) (result apimanagement.PortalSigninSettings, err error) 587 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalSigninSettings, err error) 588 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 589 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSigninSettings, ifMatch string) (result autorest.Response, err error) 590} 591 592var _ SignInSettingsClientAPI = (*apimanagement.SignInSettingsClient)(nil) 593 594// SignUpSettingsClientAPI contains the set of methods on the SignUpSettingsClient type. 595type SignUpSettingsClientAPI interface { 596 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSignupSettings, ifMatch string) (result apimanagement.PortalSignupSettings, err error) 597 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalSignupSettings, err error) 598 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 599 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalSignupSettings, ifMatch string) (result autorest.Response, err error) 600} 601 602var _ SignUpSettingsClientAPI = (*apimanagement.SignUpSettingsClient)(nil) 603 604// DelegationSettingsClientAPI contains the set of methods on the DelegationSettingsClient type. 605type DelegationSettingsClientAPI interface { 606 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalDelegationSettings, ifMatch string) (result apimanagement.PortalDelegationSettings, err error) 607 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalDelegationSettings, err error) 608 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string) (result autorest.Response, err error) 609 ListSecrets(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.PortalSettingValidationKeyContract, err error) 610 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.PortalDelegationSettings, ifMatch string) (result autorest.Response, err error) 611} 612 613var _ DelegationSettingsClientAPI = (*apimanagement.DelegationSettingsClient)(nil) 614 615// ProductClientAPI contains the set of methods on the ProductClient type. 616type ProductClientAPI interface { 617 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.ProductContract, ifMatch string) (result apimanagement.ProductContract, err error) 618 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, ifMatch string, deleteSubscriptions *bool) (result autorest.Response, err error) 619 Get(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.ProductContract, err error) 620 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result autorest.Response, err error) 621 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool, tags string) (result apimanagement.ProductCollectionPage, err error) 622 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool, tags string) (result apimanagement.ProductCollectionIterator, err error) 623 ListByTags(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, includeNotTaggedProducts *bool) (result apimanagement.TagResourceCollectionPage, err error) 624 ListByTagsComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, includeNotTaggedProducts *bool) (result apimanagement.TagResourceCollectionIterator, err error) 625 Update(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.ProductUpdateParameters, ifMatch string) (result apimanagement.ProductContract, err error) 626} 627 628var _ ProductClientAPI = (*apimanagement.ProductClient)(nil) 629 630// ProductAPIClientAPI contains the set of methods on the ProductAPIClient type. 631type ProductAPIClientAPI interface { 632 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result autorest.Response, err error) 633 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result apimanagement.APIContract, err error) 634 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, apiid string) (result autorest.Response, err error) 635 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionPage, err error) 636 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.APICollectionIterator, err error) 637} 638 639var _ ProductAPIClientAPI = (*apimanagement.ProductAPIClient)(nil) 640 641// ProductGroupClientAPI contains the set of methods on the ProductGroupClient type. 642type ProductGroupClientAPI interface { 643 CheckEntityExists(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result autorest.Response, err error) 644 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result apimanagement.GroupContract, err error) 645 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, groupID string) (result autorest.Response, err error) 646 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error) 647 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionIterator, err error) 648} 649 650var _ ProductGroupClientAPI = (*apimanagement.ProductGroupClient)(nil) 651 652// ProductSubscriptionsClientAPI contains the set of methods on the ProductSubscriptionsClient type. 653type ProductSubscriptionsClientAPI interface { 654 List(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error) 655 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, productID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionIterator, err error) 656} 657 658var _ ProductSubscriptionsClientAPI = (*apimanagement.ProductSubscriptionsClient)(nil) 659 660// ProductPolicyClientAPI contains the set of methods on the ProductPolicyClient type. 661type ProductPolicyClientAPI interface { 662 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, productID string, parameters apimanagement.PolicyContract, ifMatch string) (result apimanagement.PolicyContract, err error) 663 Delete(ctx context.Context, resourceGroupName string, serviceName string, productID string, ifMatch string) (result autorest.Response, err error) 664 Get(ctx context.Context, resourceGroupName string, serviceName string, productID string, formatParameter apimanagement.PolicyExportFormat) (result apimanagement.PolicyContract, err error) 665 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result autorest.Response, err error) 666 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, productID string) (result apimanagement.PolicyCollection, err error) 667} 668 669var _ ProductPolicyClientAPI = (*apimanagement.ProductPolicyClient)(nil) 670 671// QuotaByCounterKeysClientAPI contains the set of methods on the QuotaByCounterKeysClient type. 672type QuotaByCounterKeysClientAPI interface { 673 ListByService(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string) (result apimanagement.QuotaCounterCollection, err error) 674 Update(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, parameters apimanagement.QuotaCounterValueUpdateContract) (result apimanagement.QuotaCounterCollection, err error) 675} 676 677var _ QuotaByCounterKeysClientAPI = (*apimanagement.QuotaByCounterKeysClient)(nil) 678 679// QuotaByPeriodKeysClientAPI contains the set of methods on the QuotaByPeriodKeysClient type. 680type QuotaByPeriodKeysClientAPI interface { 681 Get(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, quotaPeriodKey string) (result apimanagement.QuotaCounterContract, err error) 682 Update(ctx context.Context, resourceGroupName string, serviceName string, quotaCounterKey string, quotaPeriodKey string, parameters apimanagement.QuotaCounterValueUpdateContract) (result apimanagement.QuotaCounterContract, err error) 683} 684 685var _ QuotaByPeriodKeysClientAPI = (*apimanagement.QuotaByPeriodKeysClient)(nil) 686 687// RegionClientAPI contains the set of methods on the RegionClient type. 688type RegionClientAPI interface { 689 ListByService(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.RegionListResultPage, err error) 690 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.RegionListResultIterator, err error) 691} 692 693var _ RegionClientAPI = (*apimanagement.RegionClient)(nil) 694 695// ReportsClientAPI contains the set of methods on the ReportsClient type. 696type ReportsClientAPI interface { 697 ListByAPI(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionPage, err error) 698 ListByAPIComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionIterator, err error) 699 ListByGeo(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionPage, err error) 700 ListByGeoComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.ReportCollectionIterator, err error) 701 ListByOperation(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionPage, err error) 702 ListByOperationComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionIterator, err error) 703 ListByProduct(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionPage, err error) 704 ListByProductComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionIterator, err error) 705 ListByRequest(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.RequestReportCollection, err error) 706 ListBySubscription(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionPage, err error) 707 ListBySubscriptionComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionIterator, err error) 708 ListByTime(ctx context.Context, resourceGroupName string, serviceName string, filter string, interval string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionPage, err error) 709 ListByTimeComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, interval string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionIterator, err error) 710 ListByUser(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionPage, err error) 711 ListByUserComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, orderby string) (result apimanagement.ReportCollectionIterator, err error) 712} 713 714var _ ReportsClientAPI = (*apimanagement.ReportsClient)(nil) 715 716// TenantSettingsClientAPI contains the set of methods on the TenantSettingsClient type. 717type TenantSettingsClientAPI interface { 718 Get(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.TenantSettingsContract, err error) 719 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string) (result apimanagement.TenantSettingsCollectionPage, err error) 720 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string) (result apimanagement.TenantSettingsCollectionIterator, err error) 721} 722 723var _ TenantSettingsClientAPI = (*apimanagement.TenantSettingsClient)(nil) 724 725// SkusClientAPI contains the set of methods on the SkusClient type. 726type SkusClientAPI interface { 727 List(ctx context.Context) (result apimanagement.SkusResultPage, err error) 728 ListComplete(ctx context.Context) (result apimanagement.SkusResultIterator, err error) 729} 730 731var _ SkusClientAPI = (*apimanagement.SkusClient)(nil) 732 733// SubscriptionClientAPI contains the set of methods on the SubscriptionClient type. 734type SubscriptionClientAPI interface { 735 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, sid string, parameters apimanagement.SubscriptionCreateParameters, notify *bool, ifMatch string, appType apimanagement.AppType) (result apimanagement.SubscriptionContract, err error) 736 Delete(ctx context.Context, resourceGroupName string, serviceName string, sid string, ifMatch string) (result autorest.Response, err error) 737 Get(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result apimanagement.SubscriptionContract, err error) 738 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error) 739 List(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error) 740 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionIterator, err error) 741 ListSecrets(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result apimanagement.SubscriptionKeysContract, err error) 742 RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error) 743 RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string, sid string) (result autorest.Response, err error) 744 Update(ctx context.Context, resourceGroupName string, serviceName string, sid string, parameters apimanagement.SubscriptionUpdateParameters, ifMatch string, notify *bool, appType apimanagement.AppType) (result apimanagement.SubscriptionContract, err error) 745} 746 747var _ SubscriptionClientAPI = (*apimanagement.SubscriptionClient)(nil) 748 749// TagResourceClientAPI contains the set of methods on the TagResourceClient type. 750type TagResourceClientAPI interface { 751 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionPage, err error) 752 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32) (result apimanagement.TagResourceCollectionIterator, err error) 753} 754 755var _ TagResourceClientAPI = (*apimanagement.TagResourceClient)(nil) 756 757// TenantAccessClientAPI contains the set of methods on the TenantAccessClient type. 758type TenantAccessClientAPI interface { 759 Create(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.AccessInformationCreateParameters, accessName apimanagement.AccessIDName, ifMatch string) (result apimanagement.AccessInformationContract, err error) 760 Get(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result apimanagement.AccessInformationContract, err error) 761 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result autorest.Response, err error) 762 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string) (result apimanagement.AccessInformationCollectionPage, err error) 763 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string) (result apimanagement.AccessInformationCollectionIterator, err error) 764 ListSecrets(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result apimanagement.AccessInformationSecretsContract, err error) 765 RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result autorest.Response, err error) 766 RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result autorest.Response, err error) 767 Update(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.AccessInformationUpdateParameters, accessName apimanagement.AccessIDName, ifMatch string) (result apimanagement.AccessInformationContract, err error) 768} 769 770var _ TenantAccessClientAPI = (*apimanagement.TenantAccessClient)(nil) 771 772// TenantAccessGitClientAPI contains the set of methods on the TenantAccessGitClient type. 773type TenantAccessGitClientAPI interface { 774 RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result autorest.Response, err error) 775 RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, serviceName string, accessName apimanagement.AccessIDName) (result autorest.Response, err error) 776} 777 778var _ TenantAccessGitClientAPI = (*apimanagement.TenantAccessGitClient)(nil) 779 780// TenantConfigurationClientAPI contains the set of methods on the TenantConfigurationClient type. 781type TenantConfigurationClientAPI interface { 782 Deploy(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.DeployConfigurationParameters) (result apimanagement.TenantConfigurationDeployFuture, err error) 783 GetSyncState(ctx context.Context, resourceGroupName string, serviceName string) (result apimanagement.TenantConfigurationSyncStateContract, err error) 784 Save(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.SaveConfigurationParameter) (result apimanagement.TenantConfigurationSaveFuture, err error) 785 Validate(ctx context.Context, resourceGroupName string, serviceName string, parameters apimanagement.DeployConfigurationParameters) (result apimanagement.TenantConfigurationValidateFuture, err error) 786} 787 788var _ TenantConfigurationClientAPI = (*apimanagement.TenantConfigurationClient)(nil) 789 790// UserClientAPI contains the set of methods on the UserClient type. 791type UserClientAPI interface { 792 CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, userID string, parameters apimanagement.UserCreateParameters, notify *bool, ifMatch string) (result apimanagement.UserContract, err error) 793 Delete(ctx context.Context, resourceGroupName string, serviceName string, userID string, ifMatch string, deleteSubscriptions *bool, notify *bool, appType apimanagement.AppType) (result autorest.Response, err error) 794 GenerateSsoURL(ctx context.Context, resourceGroupName string, serviceName string, userID string) (result apimanagement.GenerateSsoURLResult, err error) 795 Get(ctx context.Context, resourceGroupName string, serviceName string, userID string) (result apimanagement.UserContract, err error) 796 GetEntityTag(ctx context.Context, resourceGroupName string, serviceName string, userID string) (result autorest.Response, err error) 797 GetSharedAccessToken(ctx context.Context, resourceGroupName string, serviceName string, userID string, parameters apimanagement.UserTokenParameters) (result apimanagement.UserTokenResult, err error) 798 ListByService(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool) (result apimanagement.UserCollectionPage, err error) 799 ListByServiceComplete(ctx context.Context, resourceGroupName string, serviceName string, filter string, top *int32, skip *int32, expandGroups *bool) (result apimanagement.UserCollectionIterator, err error) 800 Update(ctx context.Context, resourceGroupName string, serviceName string, userID string, parameters apimanagement.UserUpdateParameters, ifMatch string) (result apimanagement.UserContract, err error) 801} 802 803var _ UserClientAPI = (*apimanagement.UserClient)(nil) 804 805// UserGroupClientAPI contains the set of methods on the UserGroupClient type. 806type UserGroupClientAPI interface { 807 List(ctx context.Context, resourceGroupName string, serviceName string, userID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionPage, err error) 808 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, userID string, filter string, top *int32, skip *int32) (result apimanagement.GroupCollectionIterator, err error) 809} 810 811var _ UserGroupClientAPI = (*apimanagement.UserGroupClient)(nil) 812 813// UserSubscriptionClientAPI contains the set of methods on the UserSubscriptionClient type. 814type UserSubscriptionClientAPI interface { 815 Get(ctx context.Context, resourceGroupName string, serviceName string, userID string, sid string) (result apimanagement.SubscriptionContract, err error) 816 List(ctx context.Context, resourceGroupName string, serviceName string, userID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionPage, err error) 817 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, userID string, filter string, top *int32, skip *int32) (result apimanagement.SubscriptionCollectionIterator, err error) 818} 819 820var _ UserSubscriptionClientAPI = (*apimanagement.UserSubscriptionClient)(nil) 821 822// UserIdentitiesClientAPI contains the set of methods on the UserIdentitiesClient type. 823type UserIdentitiesClientAPI interface { 824 List(ctx context.Context, resourceGroupName string, serviceName string, userID string) (result apimanagement.UserIdentityCollectionPage, err error) 825 ListComplete(ctx context.Context, resourceGroupName string, serviceName string, userID string) (result apimanagement.UserIdentityCollectionIterator, err error) 826} 827 828var _ UserIdentitiesClientAPI = (*apimanagement.UserIdentitiesClient)(nil) 829 830// UserConfirmationPasswordClientAPI contains the set of methods on the UserConfirmationPasswordClient type. 831type UserConfirmationPasswordClientAPI interface { 832 SendMethod(ctx context.Context, resourceGroupName string, serviceName string, userID string, appType apimanagement.AppType) (result autorest.Response, err error) 833} 834 835var _ UserConfirmationPasswordClientAPI = (*apimanagement.UserConfirmationPasswordClient)(nil) 836 837// APIExportClientAPI contains the set of methods on the APIExportClient type. 838type APIExportClientAPI interface { 839 Get(ctx context.Context, resourceGroupName string, serviceName string, apiid string, formatParameter apimanagement.ExportFormat) (result apimanagement.APIExportResult, err error) 840} 841 842var _ APIExportClientAPI = (*apimanagement.APIExportClient)(nil) 843