diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md index 5e1af20aa892..c72b1eb0a91b 100644 --- a/sdk/apimanagement/arm-apimanagement/README.md +++ b/sdk/apimanagement/arm-apimanagement/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-apimanagement ### How to use -#### nodejs - Authentication, client creation and listByService api as an example written in TypeScript. +#### nodejs - client creation and listByService api as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ApiManagementClient, ApiManagementModels, ApiManagementMappers } from "@azure/arm-apimanagement"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { ApiManagementClient } = require("@azure/arm-apimanagement"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/apimanagement/arm-apimanagement/rollup.config.js b/sdk/apimanagement/arm-apimanagement/rollup.config.js index 25f5d95d9aa9..ecb26e9b3218 100644 --- a/sdk/apimanagement/arm-apimanagement/rollup.config.js +++ b/sdk/apimanagement/arm-apimanagement/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts index 3a8572c21030..be0184378489 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -37,6 +36,9 @@ class ApiManagementClient extends ApiManagementClientContext { backend: operations.Backend; cache: operations.Cache; certificate: operations.Certificate; + contentType: operations.ContentType; + contentItem: operations.ContentItem; + deletedServices: operations.DeletedServices; apiManagementOperations: operations.ApiManagementOperations; apiManagementServiceSkus: operations.ApiManagementServiceSkus; apiManagementService: operations.ApiManagementService; @@ -58,6 +60,7 @@ class ApiManagementClient extends ApiManagementClientContext { openIdConnectProvider: operations.OpenIdConnectProvider; policy: operations.Policy; policyDescription: operations.PolicyDescription; + portalRevision: operations.PortalRevision; signInSettings: operations.SignInSettings; signUpSettings: operations.SignUpSettings; delegationSettings: operations.DelegationSettings; @@ -70,6 +73,7 @@ class ApiManagementClient extends ApiManagementClientContext { quotaByPeriodKeys: operations.QuotaByPeriodKeys; region: operations.Region; reports: operations.Reports; + tenantSettings: operations.TenantSettings; subscription: operations.Subscription; tagResource: operations.TagResource; tenantAccess: operations.TenantAccess; @@ -111,6 +115,9 @@ class ApiManagementClient extends ApiManagementClientContext { this.backend = new operations.Backend(this); this.cache = new operations.Cache(this); this.certificate = new operations.Certificate(this); + this.contentType = new operations.ContentType(this); + this.contentItem = new operations.ContentItem(this); + this.deletedServices = new operations.DeletedServices(this); this.apiManagementOperations = new operations.ApiManagementOperations(this); this.apiManagementServiceSkus = new operations.ApiManagementServiceSkus(this); this.apiManagementService = new operations.ApiManagementService(this); @@ -132,6 +139,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.openIdConnectProvider = new operations.OpenIdConnectProvider(this); this.policy = new operations.Policy(this); this.policyDescription = new operations.PolicyDescription(this); + this.portalRevision = new operations.PortalRevision(this); this.signInSettings = new operations.SignInSettings(this); this.signUpSettings = new operations.SignUpSettings(this); this.delegationSettings = new operations.DelegationSettings(this); @@ -144,6 +152,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.quotaByPeriodKeys = new operations.QuotaByPeriodKeys(this); this.region = new operations.Region(this); this.reports = new operations.Reports(this); + this.tenantSettings = new operations.TenantSettings(this); this.subscription = new operations.Subscription(this); this.tagResource = new operations.TagResource(this); this.tenantAccess = new operations.TenantAccess(this); diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index a0b30c5faf24..4948e2e7c1bd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -45,7 +44,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2019-12-01'; + this.apiVersion = '2020-06-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts index 10326b642115..0283b26f9f09 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -1,17 +1,19 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, + ApiDiagnosticUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -39,6 +41,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticCollection, DiagnosticContract, EmailTemplateContract, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts index f5dd91f778ee..3ae0a06daf3c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index bcf025c555ad..9ae88bcfd3d3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiIssueAttachmentCreateOrUpdateHeaders, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 94550c31a779..6ccf2e28161c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiIssueCommentCreateOrUpdateHeaders, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +62,9 @@ export { IssueCommentCollection, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index f7f41cb57c0b..61b264dd83d1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -1,17 +1,19 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, + ApiIssueUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -39,6 +41,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueCommentContract, IssueContract, IssueUpdateContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts index 689688180be7..938d3e665a23 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 6a3825a39a8b..a0394b5d9112 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceApplyNetworkConfigurationParameters, @@ -43,6 +44,11 @@ export { CertificateContract, CertificateInformation, CloudError, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -59,6 +65,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -72,6 +81,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -91,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts index ca99c5f93a41..62ae55d06017 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 55e0a2e7f17c..625c49ac950c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiCollection, ApiContract, @@ -25,6 +26,7 @@ export { ApiReleaseContract, ApiTagResourceContractProperties, ApiUpdateContract, + ApiUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, @@ -46,6 +48,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -62,6 +69,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -76,6 +86,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -100,6 +111,7 @@ export { TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index 9fea7c297f13..130f40a69c7f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -17,6 +18,7 @@ export { ApiOperationCreateOrUpdateHeaders, ApiOperationGetEntityTagHeaders, ApiOperationGetHeaders, + ApiOperationUpdateHeaders, ApiReleaseContract, ApiVersionConstraint, ApiVersionSetContract, @@ -39,6 +41,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index d839005cf4d1..f8b814714d8b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index bd3f2e158024..4f2f0703a49b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index 04e121e71a4e..111cba96208a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductCollection, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 3e5875867ed8..a2bec7a1bc88 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -19,6 +20,7 @@ export { ApiReleaseCreateOrUpdateHeaders, ApiReleaseGetEntityTagHeaders, ApiReleaseGetHeaders, + ApiReleaseUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, @@ -40,6 +42,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts index 932d21942ac2..dca170878926 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index 97c1c14738d4..e4e0d9284802 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -68,6 +77,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 95bcfc931452..59c378b80859 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -68,6 +77,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +99,7 @@ export { TagDescriptionCollection, TagDescriptionContract, TagDescriptionCreateParameters, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index 1b1849674045..7dca66351efd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -22,6 +23,7 @@ export { ApiVersionSetCreateOrUpdateHeaders, ApiVersionSetGetEntityTagHeaders, ApiVersionSetGetHeaders, + ApiVersionSetUpdateHeaders, ApiVersionSetUpdateParameters, AssociationContract, AuthenticationSettingsContract, @@ -41,6 +43,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index ff6bb419d095..40ff12ec8f88 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -25,7 +26,10 @@ export { AuthorizationServerCreateOrUpdateHeaders, AuthorizationServerGetEntityTagHeaders, AuthorizationServerGetHeaders, + AuthorizationServerListSecretsHeaders, + AuthorizationServerSecretsContract, AuthorizationServerUpdateContract, + AuthorizationServerUpdateHeaders, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -40,7 +44,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, - ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +65,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +81,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 96dc17f4f00d..48a482d78e85 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -34,6 +35,7 @@ export { BackendReconnectContract, BackendServiceFabricClusterProperties, BackendTlsProperties, + BackendUpdateHeaders, BackendUpdateParameters, BaseResource, BodyDiagnosticSettings, @@ -41,6 +43,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index 925c1c8e995b..04c2beebea5c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -37,10 +38,16 @@ export { CacheCreateOrUpdateHeaders, CacheGetEntityTagHeaders, CacheGetHeaders, + CacheUpdateHeaders, CacheUpdateParameters, CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index dc1c4422c33d..df239b72fbb9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -41,6 +42,11 @@ export { CertificateGetEntityTagHeaders, CertificateGetHeaders, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +79,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts new file mode 100644 index 000000000000..f8e093ca4cc8 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -0,0 +1,109 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemCollection, + ContentItemContract, + ContentItemCreateOrUpdateHeaders, + ContentItemGetEntityTagHeaders, + ContentItemGetHeaders, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts new file mode 100644 index 000000000000..afd5929a3368 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeCollection, + ContentTypeContract, + ContentTypeCreateOrUpdateHeaders, + ContentTypeGetHeaders, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index fec1853e62b2..c5e36c1ac1aa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,8 +37,13 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, DelegationSettingsGetEntityTagHeaders, DelegationSettingsGetHeaders, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -67,6 +76,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSettingValidationKeyContract, PortalSigninSettings, PortalSignupSettings, @@ -87,6 +97,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts new file mode 100644 index 000000000000..406e8f83ccc4 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -0,0 +1,106 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DeletedServicesCollection, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 1001dfb6804e..7b9d2d890502 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,11 +37,17 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticCollection, DiagnosticContract, DiagnosticCreateOrUpdateHeaders, DiagnosticGetEntityTagHeaders, DiagnosticGetHeaders, + DiagnosticUpdateHeaders, EmailTemplateContract, EmailTemplateParametersContractProperties, ErrorFieldContract, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index e95c43143839..88cac739a869 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,12 +37,18 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateCollection, EmailTemplateContract, EmailTemplateGetEntityTagHeaders, EmailTemplateGetHeaders, EmailTemplateParametersContractProperties, + EmailTemplateUpdateHeaders, EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index 3923b13a0f3c..4c3f1a422e8f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiCollection, ApiContract, @@ -37,6 +38,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -67,6 +76,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index 8a77fa12242c..e90ad97c55af 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index c1c140d0632a..d144b0cc0e7e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,7 @@ export { GatewayListKeysHeaders, GatewayTokenContract, GatewayTokenRequestContract, + GatewayUpdateHeaders, GroupContract, GroupContractProperties, HostnameConfiguration, @@ -61,6 +68,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -74,6 +84,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -93,6 +104,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index cc5873a72832..a391d6ebb42e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -50,6 +56,7 @@ export { GroupCreateParameters, GroupGetEntityTagHeaders, GroupGetHeaders, + GroupUpdateHeaders, GroupUpdateParameters, HostnameConfiguration, HttpMessageDiagnostic, @@ -58,6 +65,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -71,6 +81,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -90,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 2eeab6b3baf7..fd6c2aff12ed 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -84,6 +94,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 674b64208ffa..94c66ec1eb41 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -37,6 +38,11 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,10 +60,15 @@ export { IdentityProviderGetEntityTagHeaders, IdentityProviderGetHeaders, IdentityProviderList, + IdentityProviderListSecretsHeaders, + IdentityProviderUpdateHeaders, IdentityProviderUpdateParameters, IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -71,6 +82,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -90,6 +102,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 00a9ffa0200a..41e4bc14b9c5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -606,9 +606,9 @@ export interface IssueContractBaseProperties { } /** - * Issue update Parameters. + * Issue Contract details. */ -export interface IssueUpdateContract { +export interface IssueContract extends Resource { /** * Date and time when the issue was created. */ @@ -625,21 +625,21 @@ export interface IssueUpdateContract { /** * The issue title. */ - title?: string; + title: string; /** * Text describing the issue. */ - description?: string; + description: string; /** * A resource identifier for the user created the issue. */ - userId?: string; + userId: string; } /** - * Issue Contract details. + * Issue update Parameters. */ -export interface IssueContract extends Resource { +export interface IssueUpdateContract { /** * Date and time when the issue was created. */ @@ -656,15 +656,43 @@ export interface IssueContract extends Resource { /** * The issue title. */ - title: string; + title?: string; /** * Text describing the issue. */ - description: string; + description?: string; /** * A resource identifier for the user created the issue. */ - userId: string; + userId?: string; +} + +/** + * An interface representing DataMaskingEntity. + */ +export interface DataMaskingEntity { + /** + * The name of an entity to mask (e.g. a name of a header or a query parameter). + */ + value?: string; + /** + * Data masking mode. Possible values include: 'Mask', 'Hide' + */ + mode?: DataMaskingMode; +} + +/** + * An interface representing DataMasking. + */ +export interface DataMasking { + /** + * Masking settings for Url query parameters + */ + queryParams?: DataMaskingEntity[]; + /** + * Masking settings for headers + */ + headers?: DataMaskingEntity[]; } /** @@ -689,6 +717,10 @@ export interface HttpMessageDiagnostic { * Body logging settings. */ body?: BodyDiagnosticSettings; + /** + * Data masking settings. + */ + dataMasking?: DataMasking; } /** @@ -758,6 +790,11 @@ export interface DiagnosticContract extends Resource { * 'verbose', 'information', 'error' */ verbosity?: Verbosity; + /** + * The format of the Operation Name for Application Insights telemetries. Default is Name. + * Possible values include: 'Name', 'Url' + */ + operationNameFormat?: OperationNameFormat; } /** @@ -990,9 +1027,9 @@ export interface OperationEntityBaseContract { } /** - * Api Operation Update Contract details. + * Api Operation details. */ -export interface OperationUpdateContract { +export interface OperationContract extends Resource { /** * Collection of URL template parameters. */ @@ -1016,23 +1053,23 @@ export interface OperationUpdateContract { /** * Operation Name. */ - displayName?: string; + displayName: string; /** * A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by * only them. */ - method?: string; + method: string; /** * Relative URL template identifying the target resource for this operation. May include * parameters. Example: /customers/{cid}/orders/{oid}/?date={date} */ - urlTemplate?: string; + urlTemplate: string; } /** - * Api Operation details. + * Api Operation Update Contract details. */ -export interface OperationContract extends Resource { +export interface OperationUpdateContract { /** * Collection of URL template parameters. */ @@ -1056,17 +1093,17 @@ export interface OperationContract extends Resource { /** * Operation Name. */ - displayName: string; + displayName?: string; /** * A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by * only them. */ - method: string; + method?: string; /** * Relative URL template identifying the target resource for this operation. May include * parameters. Example: /customers/{cid}/orders/{oid}/?date={date} */ - urlTemplate: string; + urlTemplate?: string; } /** @@ -1143,9 +1180,9 @@ export interface ApiRevisionContract { } /** - * API update contract details. + * Api details. */ -export interface ApiUpdateContract { +export interface ApiContract extends Resource { /** * Description of the API. May include HTML formatting tags. */ @@ -1196,11 +1233,16 @@ export interface ApiUpdateContract { */ subscriptionRequired?: boolean; /** - * API name. + * API identifier of the source API. + */ + sourceApiId?: string; + /** + * API name. Must be 1 to 300 characters long. */ displayName?: string; /** - * Absolute URL of the backend service implementing this API. + * Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters + * long. */ serviceUrl?: string; /** @@ -1208,17 +1250,21 @@ export interface ApiUpdateContract { * Management service instance. It is appended to the API endpoint base URL specified during the * service instance creation to form a public URL for this API. */ - path?: string; + path: string; /** * Describes on which protocols the operations in this API can be invoked. */ protocols?: Protocol[]; + /** + * Version set details + */ + apiVersionSet?: ApiVersionSetContractDetails; } /** - * Api details. + * API update contract details. */ -export interface ApiContract extends Resource { +export interface ApiUpdateContract { /** * Description of the API. May include HTML formatting tags. */ @@ -1269,16 +1315,11 @@ export interface ApiContract extends Resource { */ subscriptionRequired?: boolean; /** - * API identifier of the source API. - */ - sourceApiId?: string; - /** - * API name. Must be 1 to 300 characters long. + * API name. */ displayName?: string; /** - * Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters - * long. + * Absolute URL of the backend service implementing this API. */ serviceUrl?: string; /** @@ -1286,15 +1327,11 @@ export interface ApiContract extends Resource { * Management service instance. It is appended to the API endpoint base URL specified during the * service instance creation to form a public URL for this API. */ - path: string; + path?: string; /** * Describes on which protocols the operations in this API can be invoked. */ protocols?: Protocol[]; - /** - * Version set details - */ - apiVersionSet?: ApiVersionSetContractDetails; } /** @@ -1420,9 +1457,9 @@ export interface ApiVersionSetEntityBase { } /** - * Parameters to update or create an Api Version Set Contract. + * Api Version Set Contract details. */ -export interface ApiVersionSetUpdateParameters { +export interface ApiVersionSetContract extends Resource { /** * Description of API Version Set. */ @@ -1439,18 +1476,18 @@ export interface ApiVersionSetUpdateParameters { /** * Name of API Version Set */ - displayName?: string; + displayName: string; /** * An value that determines where the API Version identifer will be located in a HTTP request. * Possible values include: 'Segment', 'Query', 'Header' */ - versioningScheme?: VersioningScheme; + versioningScheme: VersioningScheme; } /** - * Api Version Set Contract details. + * Parameters to update or create an Api Version Set Contract. */ -export interface ApiVersionSetContract extends Resource { +export interface ApiVersionSetUpdateParameters { /** * Description of API Version Set. */ @@ -1467,22 +1504,32 @@ export interface ApiVersionSetContract extends Resource { /** * Name of API Version Set */ - displayName: string; + displayName?: string; /** * An value that determines where the API Version identifer will be located in a HTTP request. * Possible values include: 'Segment', 'Query', 'Header' */ - versioningScheme: VersioningScheme; + versioningScheme?: VersioningScheme; } /** - * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. + * OAuth Server Secrets Contract. */ -export interface ClientSecretContract { +export interface AuthorizationServerSecretsContract { /** - * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. + * oAuth Authorization Server Secrets. */ clientSecret?: string; + /** + * Can be optionally specified when resource owner password grant type is supported by this + * authorization server. Default resource owner username. + */ + resourceOwnerUsername?: string; + /** + * Can be optionally specified when resource owner password grant type is supported by this + * authorization server. Default resource owner password. + */ + resourceOwnerPassword?: string; } /** @@ -1557,7 +1604,7 @@ export interface AuthorizationServerContractBaseProperties { /** * External OAuth authorization server settings. */ -export interface AuthorizationServerUpdateContract extends Resource { +export interface AuthorizationServerContract extends Resource { /** * Description of the authorization server. Can contain HTML formatting tags. */ @@ -1610,24 +1657,24 @@ export interface AuthorizationServerUpdateContract extends Resource { /** * User-friendly authorization server name. */ - displayName?: string; + displayName: string; /** * Optional reference to a page where client or app registration for this authorization server is * performed. Contains absolute URL to entity being referenced. */ - clientRegistrationEndpoint?: string; + clientRegistrationEndpoint: string; /** * OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2. */ - authorizationEndpoint?: string; + authorizationEndpoint: string; /** * Form of an authorization grant, which the client uses to request the access token. */ - grantTypes?: GrantType[]; + grantTypes: GrantType[]; /** * Client or app id registered with this authorization server. */ - clientId?: string; + clientId: string; /** * Client or app secret registered with this authorization server. This property will not be * filled on 'GET' operations! Use '/listSecrets' POST request to get the value. @@ -1638,7 +1685,7 @@ export interface AuthorizationServerUpdateContract extends Resource { /** * External OAuth authorization server settings. */ -export interface AuthorizationServerContract extends Resource { +export interface AuthorizationServerUpdateContract extends Resource { /** * Description of the authorization server. Can contain HTML formatting tags. */ @@ -1691,24 +1738,24 @@ export interface AuthorizationServerContract extends Resource { /** * User-friendly authorization server name. */ - displayName: string; + displayName?: string; /** * Optional reference to a page where client or app registration for this authorization server is * performed. Contains absolute URL to entity being referenced. */ - clientRegistrationEndpoint: string; + clientRegistrationEndpoint?: string; /** * OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2. */ - authorizationEndpoint: string; + authorizationEndpoint?: string; /** * Form of an authorization grant, which the client uses to request the access token. */ - grantTypes: GrantType[]; + grantTypes?: GrantType[]; /** * Client or app id registered with this authorization server. */ - clientId: string; + clientId?: string; /** * Client or app secret registered with this authorization server. This property will not be * filled on 'GET' operations! Use '/listSecrets' POST request to get the value. @@ -1884,9 +1931,9 @@ export interface BackendBaseParameters { } /** - * Backend update parameters. + * Backend details. */ -export interface BackendUpdateParameters { +export interface BackendContract extends Resource { /** * Backend Title. */ @@ -1919,17 +1966,17 @@ export interface BackendUpdateParameters { /** * Runtime Url of the Backend. */ - url?: string; + url: string; /** * Backend communication protocol. Possible values include: 'http', 'soap' */ - protocol?: BackendProtocol; + protocol: BackendProtocol; } /** - * Backend details. + * Backend update parameters. */ -export interface BackendContract extends Resource { +export interface BackendUpdateParameters { /** * Backend Title. */ @@ -1962,17 +2009,17 @@ export interface BackendContract extends Resource { /** * Runtime Url of the Backend. */ - url: string; + url?: string; /** * Backend communication protocol. Possible values include: 'http', 'soap' */ - protocol: BackendProtocol; + protocol?: BackendProtocol; } /** - * Cache update details. + * Cache details. */ -export interface CacheUpdateParameters { +export interface CacheContract extends Resource { /** * Cache description */ @@ -1980,7 +2027,12 @@ export interface CacheUpdateParameters { /** * Runtime connection string to cache */ - connectionString?: string; + connectionString: string; + /** + * Location identifier to use cache from (should be either 'default' or valid Azure region + * identifier) + */ + useFromLocation: string; /** * Original uri of entity in external system cache points to */ @@ -1988,9 +2040,9 @@ export interface CacheUpdateParameters { } /** - * Cache details. + * Cache update details. */ -export interface CacheContract extends Resource { +export interface CacheUpdateParameters { /** * Cache description */ @@ -1998,13 +2050,63 @@ export interface CacheContract extends Resource { /** * Runtime connection string to cache */ - connectionString: string; + connectionString?: string; + /** + * Location identifier to use cache from (should be either 'default' or valid Azure region + * identifier) + */ + useFromLocation?: string; /** * Original uri of entity in external system cache points to */ resourceId?: string; } +/** + * Create keyVault contract details. + */ +export interface KeyVaultContractCreateProperties { + /** + * Key vault secret identifier for fetching secret. Providing a versioned secret will prevent + * auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi + */ + secretIdentifier?: string; + /** + * SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key + * vault secret. + */ + identityClientId?: string; +} + +/** + * Issue contract Update Properties. + */ +export interface KeyVaultLastAccessStatusContractProperties { + /** + * Last status code for sync and refresh of secret from key vault. + */ + code?: string; + /** + * Details of the error else empty. + */ + message?: string; + /** + * Last time secret was accessed. The date conforms to the following format: + * `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. + */ + timeStampUtc?: Date; +} + +/** + * KeyVault contract details. + */ +export interface KeyVaultContractProperties extends KeyVaultContractCreateProperties { + /** + * Last time sync and refresh status of secret from key vault. + */ + lastStatus?: KeyVaultLastAccessStatusContractProperties; +} + /** * Certificate details. */ @@ -2022,6 +2124,10 @@ export interface CertificateContract extends Resource { * `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. */ expirationDate: Date; + /** + * KeyVault location details of the certificate. + */ + keyVault?: KeyVaultContractProperties; } /** @@ -2031,11 +2137,76 @@ export interface CertificateCreateOrUpdateParameters { /** * Base 64 encoded certificate using the application/x-pkcs12 representation. */ - data: string; + data?: string; /** * Password for the Certificate */ - password: string; + password?: string; + /** + * KeyVault location details of the certificate. + */ + keyVault?: KeyVaultContractCreateProperties; +} + +/** + * Content type contract details. + */ +export interface ContentItemContract extends Resource { + /** + * Properties of the content item. + */ + properties?: { [propertyName: string]: any }; +} + +/** + * Content type contract details. + */ +export interface ContentTypeContract extends Resource { + /** + * Content type identifier + */ + contentTypeContractId?: string; + /** + * Content type name. Must be 1 to 250 characters long. + */ + contentTypeContractName?: string; + /** + * Content type description. + */ + description?: string; + /** + * Content type schema. + */ + schema?: any; + /** + * Content type version. + */ + version?: string; +} + +/** + * Deleted Api Management Service information. + */ +export interface DeletedServiceContract extends Resource { + /** + * Fully-qualified API Management Service Resource ID + */ + serviceId?: string; + /** + * UTC Date and Time when the service will be automatically purged. The date conforms to the + * following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. + */ + scheduledPurgeDate?: Date; + /** + * UTC Timestamp when the service was soft-deleted. The date conforms to the following format: + * yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. + */ + deletionDate?: Date; + /** + * Api Management Service Master Location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; } /** @@ -2044,7 +2215,7 @@ export interface CertificateCreateOrUpdateParameters { export interface ResourceSku { /** * Name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', - * 'Consumption' + * 'Consumption', 'Isolated' */ name?: SkuType; } @@ -2155,9 +2326,15 @@ export interface HostnameConfiguration { /** * Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version * is provided, auto-update of ssl certificate will not work. This requires Api Management - * service to be configured with MSI. The secret should be of type *application/x-pkcs12* + * service to be configured with aka.ms/apimmsi. The secret should be of type + * *application/x-pkcs12* */ keyVaultId?: string; + /** + * System or User Assigned Managed identity clientId as generated by Azure AD, which has GET + * access to the keyVault containing the SSL certificate. + */ + identityClientId?: string; /** * Base64 Encoded certificate. */ @@ -2211,7 +2388,7 @@ export interface VirtualNetworkConfiguration { export interface ApiManagementServiceSkuProperties { /** * Name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', - * 'Consumption' + * 'Consumption', 'Isolated' */ name: SkuType; /** @@ -2233,16 +2410,20 @@ export interface AdditionalLocation { * SKU properties of the API Management service. */ sku: ApiManagementServiceSkuProperties; + /** + * A list of availability zones denoting where the resource needs to come from. + */ + zones?: string[]; /** * Public Static Load Balanced IP addresses of the API Management service in the additional - * location. Available only for Basic, Standard and Premium SKU. + * location. Available only for Basic, Standard, Premium and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly publicIPAddresses?: string[]; /** * Private Static Load Balanced IP addresses of the API Management service which is deployed in * an Internal Virtual Network in a particular additional location. Available only for Basic, - * Standard and Premium SKU. + * Standard, Premium and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; @@ -2358,14 +2539,14 @@ export interface ApiManagementServiceBaseProperties { hostnameConfigurations?: HostnameConfiguration[]; /** * Public Static Load Balanced IP addresses of the API Management service in Primary region. - * Available only for Basic, Standard and Premium SKU. + * Available only for Basic, Standard, Premium and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly publicIPAddresses?: string[]; /** * Private Static Load Balanced IP addresses of the API Management service in Primary region - * which is deployed in an Internal Virtual Network. Available only for Basic, Standard and - * Premium SKU. + * which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium + * and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; @@ -2436,7 +2617,12 @@ export interface ApiManagementServiceBaseProperties { * Control Plane Apis version constraint for the API Management service. */ apiVersionConstraint?: ApiVersionConstraint; -} + /** + * Undelete Api Management Service if it was previously soft-deleted. If this flag is specified + * and set to True all other properties will be ignored. Default value: false. + */ + restore?: boolean; +} /** * An interface representing UserIdentityProperties. @@ -2570,14 +2756,14 @@ export interface ApiManagementServiceResource extends ApimResource { hostnameConfigurations?: HostnameConfiguration[]; /** * Public Static Load Balanced IP addresses of the API Management service in Primary region. - * Available only for Basic, Standard and Premium SKU. + * Available only for Basic, Standard, Premium and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly publicIPAddresses?: string[]; /** * Private Static Load Balanced IP addresses of the API Management service in Primary region - * which is deployed in an Internal Virtual Network. Available only for Basic, Standard and - * Premium SKU. + * which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium + * and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; @@ -2648,6 +2834,11 @@ export interface ApiManagementServiceResource extends ApimResource { * Control Plane Apis version constraint for the API Management service. */ apiVersionConstraint?: ApiVersionConstraint; + /** + * Undelete Api Management Service if it was previously soft-deleted. If this flag is specified + * and set to True all other properties will be ignored. Default value: false. + */ + restore?: boolean; /** * Publisher email. */ @@ -2673,6 +2864,10 @@ export interface ApiManagementServiceResource extends ApimResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly etag?: string; + /** + * A list of availability zones denoting where the resource needs to come from. + */ + zones?: string[]; } /** @@ -2738,14 +2933,14 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { hostnameConfigurations?: HostnameConfiguration[]; /** * Public Static Load Balanced IP addresses of the API Management service in Primary region. - * Available only for Basic, Standard and Premium SKU. + * Available only for Basic, Standard, Premium and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly publicIPAddresses?: string[]; /** * Private Static Load Balanced IP addresses of the API Management service in Primary region - * which is deployed in an Internal Virtual Network. Available only for Basic, Standard and - * Premium SKU. + * which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium + * and Isolated SKU. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; @@ -2816,6 +3011,11 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { * Control Plane Apis version constraint for the API Management service. */ apiVersionConstraint?: ApiVersionConstraint; + /** + * Undelete Api Management Service if it was previously soft-deleted. If this flag is specified + * and set to True all other properties will be ignored. Default value: false. + */ + restore?: boolean; /** * Publisher email. */ @@ -2960,13 +3160,17 @@ export interface EmailTemplateParametersContractProperties { } /** - * Email Template update Parameters. + * Email Template details. */ -export interface EmailTemplateUpdateParameters { +export interface EmailTemplateContract extends Resource { /** * Subject of the Template. */ - subject?: string; + subject: string; + /** + * Email Template Body. This should be a valid XDocument + */ + body: string; /** * Title of the Template. */ @@ -2976,9 +3180,10 @@ export interface EmailTemplateUpdateParameters { */ description?: string; /** - * Email Template Body. This should be a valid XDocument + * Whether the template is the default template provided by Api Management or has been edited. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - body?: string; + readonly isDefault?: boolean; /** * Email Template Parameter values. */ @@ -2986,17 +3191,13 @@ export interface EmailTemplateUpdateParameters { } /** - * Email Template details. + * Email Template update Parameters. */ -export interface EmailTemplateContract extends Resource { +export interface EmailTemplateUpdateParameters { /** * Subject of the Template. */ - subject: string; - /** - * Email Template Body. This should be a valid XDocument - */ - body: string; + subject?: string; /** * Title of the Template. */ @@ -3006,10 +3207,9 @@ export interface EmailTemplateContract extends Resource { */ description?: string; /** - * Whether the template is the default template provided by Api Management or has been edited. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Email Template Body. This should be a valid XDocument */ - readonly isDefault?: boolean; + body?: string; /** * Email Template Parameter values. */ @@ -3042,6 +3242,18 @@ export interface GatewayHostnameConfigurationContract extends Resource { * Determines whether gateway requests client certificate */ negotiateClientCertificate?: boolean; + /** + * Specifies if TLS 1.0 is supported + */ + tls10Enabled?: boolean; + /** + * Specifies if TLS 1.1 is supported + */ + tls11Enabled?: boolean; + /** + * Specifies if HTTP/2.0 is supported + */ + http2Enabled?: boolean; } /** @@ -3237,55 +3449,55 @@ export interface UserContract extends Resource { } /** - * Parameters supplied to the Update Group operation. + * Contract details. */ -export interface GroupUpdateParameters { +export interface GroupContract extends Resource { /** * Group name. */ - displayName?: string; + displayName: string; /** - * Group description. + * Group description. Can contain HTML formatting tags. */ description?: string; + /** + * true if the group is one of the three system groups (Administrators, Developers, or Guests); + * otherwise false. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly builtIn?: boolean; /** * Group type. Possible values include: 'custom', 'system', 'external' */ - type?: GroupType; + groupContractType?: GroupType; /** - * Identifier of the external groups, this property contains the id of the group from the - * external identity provider, e.g. for Azure Active Directory - * `aad://.onmicrosoft.com/groups/`; otherwise the value is null. + * For external groups, this property contains the id of the group from the external identity + * provider, e.g. for Azure Active Directory `aad://.onmicrosoft.com/groups/`; otherwise the value is null. */ externalId?: string; } /** - * Contract details. + * Parameters supplied to the Update Group operation. */ -export interface GroupContract extends Resource { +export interface GroupUpdateParameters { /** * Group name. */ - displayName: string; + displayName?: string; /** - * Group description. Can contain HTML formatting tags. + * Group description. */ description?: string; - /** - * true if the group is one of the three system groups (Administrators, Developers, or Guests); - * otherwise false. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly builtIn?: boolean; /** * Group type. Possible values include: 'custom', 'system', 'external' */ - groupContractType?: GroupType; + type?: GroupType; /** - * For external groups, this property contains the id of the group from the external identity - * provider, e.g. for Azure Active Directory `aad://.onmicrosoft.com/groups/`; otherwise the value is null. + * Identifier of the external groups, this property contains the id of the group from the + * external identity provider, e.g. for Azure Active Directory + * `aad://.onmicrosoft.com/groups/`; otherwise the value is null. */ externalId?: string; } @@ -3314,6 +3526,16 @@ export interface GroupCreateParameters { externalId?: string; } +/** + * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. + */ +export interface ClientSecretContract { + /** + * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. + */ + clientSecret?: string; +} + /** * Identity Provider Base Parameter Properties. */ @@ -3354,14 +3576,14 @@ export interface IdentityProviderBaseParameters { } /** - * Parameters supplied to update Identity Provider + * Identity Provider details. */ -export interface IdentityProviderUpdateParameters { +export interface IdentityProviderContract extends Resource { /** * Identity Provider Type identifier. Possible values include: 'facebook', 'google', 'microsoft', * 'twitter', 'aad', 'aadB2C' */ - type?: IdentityProviderType; + identityProviderContractType?: IdentityProviderType; /** * The TenantId to use instead of Common when logging into Active Directory */ @@ -3394,24 +3616,25 @@ export interface IdentityProviderUpdateParameters { * Client Id of the Application in the external Identity Provider. It is App ID for Facebook * login, Client ID for Google login, App ID for Microsoft. */ - clientId?: string; + clientId: string; /** * Client secret of the Application in external Identity Provider, used to authenticate login * request. For example, it is App Secret for Facebook login, API Key for Google login, Public - * Key for Microsoft. + * Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' + * POST request to get the value. */ clientSecret?: string; } /** - * Identity Provider details. + * Parameters supplied to update Identity Provider */ -export interface IdentityProviderContract extends Resource { +export interface IdentityProviderUpdateParameters { /** * Identity Provider Type identifier. Possible values include: 'facebook', 'google', 'microsoft', * 'twitter', 'aad', 'aadB2C' */ - identityProviderContractType?: IdentityProviderType; + type?: IdentityProviderType; /** * The TenantId to use instead of Common when logging into Active Directory */ @@ -3444,12 +3667,11 @@ export interface IdentityProviderContract extends Resource { * Client Id of the Application in the external Identity Provider. It is App ID for Facebook * login, Client ID for Google login, App ID for Microsoft. */ - clientId: string; + clientId?: string; /** * Client secret of the Application in external Identity Provider, used to authenticate login * request. For example, it is App Secret for Facebook login, API Key for Google login, Public - * Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' - * POST request to get the value. + * Key for Microsoft. */ clientSecret?: string; } @@ -3506,59 +3728,59 @@ export interface IdentityProviderCreateContract extends Resource { } /** - * Logger update contract. + * Logger details. */ -export interface LoggerUpdateContract { +export interface LoggerContract extends Resource { /** - * Logger type. Possible values include: 'azureEventHub', 'applicationInsights' + * Logger type. Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' */ - loggerType?: LoggerType; + loggerType: LoggerType; /** * Logger description. */ description?: string; /** - * Logger credentials. + * The name and SendRule connection string of the event hub for azureEventHub logger. + * Instrumentation key for applicationInsights logger. */ credentials?: { [propertyName: string]: string }; /** * Whether records are buffered in the logger before publishing. Default is assumed to be true. */ isBuffered?: boolean; + /** + * Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application + * Insights resource). + */ + resourceId?: string; } /** - * Logger details. + * Logger update contract. */ -export interface LoggerContract extends Resource { +export interface LoggerUpdateContract { /** - * Logger type. Possible values include: 'azureEventHub', 'applicationInsights' + * Logger type. Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' */ - loggerType: LoggerType; + loggerType?: LoggerType; /** * Logger description. */ description?: string; /** - * The name and SendRule connection string of the event hub for azureEventHub logger. - * Instrumentation key for applicationInsights logger. + * Logger credentials. */ - credentials: { [propertyName: string]: string }; + credentials?: { [propertyName: string]: string }; /** * Whether records are buffered in the logger before publishing. Default is assumed to be true. */ isBuffered?: boolean; - /** - * Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application - * Insights resource). - */ - resourceId?: string; } /** * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. */ -export interface PropertyValueContract { +export interface NamedValueSecretContract { /** * This is secret value of the NamedValue entity. */ @@ -3604,6 +3826,10 @@ export interface NamedValueContract extends Resource { * request to get the value. */ value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractProperties; } /** @@ -3629,6 +3855,10 @@ export interface NamedValueUpdateParameters { * of whitespace. */ value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractCreateProperties; } /** @@ -3654,7 +3884,11 @@ export interface NamedValueCreateContract extends Resource { * of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST * request to get the value. */ - value: string; + value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractCreateProperties; } /** @@ -3688,6 +3922,14 @@ export interface ConnectivityStatusContract { * the ISO 8601 standard. */ lastStatusChange: Date; + /** + * Resource Type. + */ + resourceType: string; + /** + * Whether this is optional. + */ + isOptional: boolean; } /** @@ -3799,13 +4041,13 @@ export interface NotificationContract extends Resource { } /** - * Parameters supplied to the Update OpenID Connect Provider operation. + * OpenId Connect Provider details. */ -export interface OpenidConnectProviderUpdateContract { +export interface OpenidConnectProviderContract extends Resource { /** * User-friendly OpenID Connect Provider name. */ - displayName?: string; + displayName: string; /** * User-friendly description of OpenID Connect Provider. */ @@ -3813,11 +4055,11 @@ export interface OpenidConnectProviderUpdateContract { /** * Metadata endpoint URI. */ - metadataEndpoint?: string; + metadataEndpoint: string; /** * Client ID of developer console which is the client application. */ - clientId?: string; + clientId: string; /** * Client Secret of developer console which is the client application. */ @@ -3825,13 +4067,13 @@ export interface OpenidConnectProviderUpdateContract { } /** - * OpenId Connect Provider details. + * Parameters supplied to the Update OpenID Connect Provider operation. */ -export interface OpenidConnectProviderContract extends Resource { +export interface OpenidConnectProviderUpdateContract { /** * User-friendly OpenID Connect Provider name. */ - displayName: string; + displayName?: string; /** * User-friendly description of OpenID Connect Provider. */ @@ -3839,11 +4081,11 @@ export interface OpenidConnectProviderContract extends Resource { /** * Metadata endpoint URI. */ - metadataEndpoint: string; + metadataEndpoint?: string; /** * Client ID of developer console which is the client application. */ - clientId: string; + clientId?: string; /** * Client Secret of developer console which is the client application. */ @@ -3880,6 +4122,41 @@ export interface PolicyDescriptionCollection { count?: number; } +/** + * Portal revisions contract details. + */ +export interface PortalRevisionContract extends Resource { + /** + * Portal revision description. + */ + description?: string; + /** + * Portal revision publishing status details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly statusDetails?: string; + /** + * Portal revision publishing status. Possible values include: 'pending', 'publishing', + * 'completed', 'failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: PortalRevisionStatus; + /** + * Indicates if the Portal Revision is public. + */ + isCurrent?: boolean; + /** + * Portal revision creation date and time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly createdDateTime?: Date; + /** + * Last updated date and time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly updatedDateTime?: Date; +} + /** * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. */ @@ -4047,7 +4324,8 @@ export interface SubscriptionContract extends Resource { */ secondaryKey?: string; /** - * Optional subscription comment added by an administrator. + * Optional subscription comment added by an administrator when the state is changed to the + * 'rejected'. */ stateComment?: string; /** @@ -4145,6 +4423,20 @@ export interface QuotaCounterContract { value?: QuotaCounterValueContractProperties; } +/** + * Quota counter value details. + */ +export interface QuotaCounterValueUpdateContract { + /** + * Number of times Counter was called. + */ + callsCount?: number; + /** + * Data Transferred in KiloBytes. + */ + kbTransferred?: number; +} + /** * Paged Quota Counter list representation. */ @@ -4364,6 +4656,16 @@ export interface ReportRecordContract { serviceTimeMax?: number; } +/** + * Tenant Settings. + */ +export interface TenantSettingsContract extends Resource { + /** + * Tenant settings + */ + settings?: { [propertyName: string]: string }; +} + /** * Subscription keys. */ @@ -4421,7 +4723,8 @@ export interface SubscriptionUpdateParameters { */ state?: SubscriptionState; /** - * Comments describing subscription state change by the administrator. + * Comments describing subscription state change by the administrator when the state is changed + * to the 'rejected'. */ stateComment?: string; /** @@ -4609,11 +4912,15 @@ export interface SaveConfigurationParameter { /** * Tenant access information contract of the API Management service. */ -export interface AccessInformationContract { +export interface AccessInformationSecretsContract { /** - * Identifier. + * Access Information type ('access' or 'gitAccess') */ id?: string; + /** + * Principal (User) Identifier. + */ + principalId?: string; /** * Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' * POST request to get the value. @@ -4631,9 +4938,17 @@ export interface AccessInformationContract { } /** - * Tenant access information update parameters. + * Tenant Settings. */ -export interface AccessInformationUpdateParameters { +export interface AccessInformationContract extends Resource { + /** + * Access Information type ('access' or 'gitAccess') + */ + accessInformationContractId?: string; + /** + * Principal (User) Identifier. + */ + principalId?: string; /** * Determines whether direct access is enabled. */ @@ -4641,30 +4956,64 @@ export interface AccessInformationUpdateParameters { } /** - * Get User Token response details. + * Tenant access information update parameters. */ -export interface UserTokenResult { +export interface AccessInformationUpdateParameters { /** - * Shared Access Authorization token for the User. + * Determines whether direct access is enabled. */ - value?: string; + enabled?: boolean; } /** - * Get User Token parameters. + * Tenant access information update parameters. */ -export interface UserTokenParameters { +export interface AccessInformationCreateParameters { /** - * The Key to be used to generate token for user. Possible values include: 'primary', - * 'secondary'. Default value: 'primary'. + * Principal (User) Identifier. */ - keyType: KeyType; + principalId?: string; /** - * The Expiry time of the Token. Maximum token expiry time is set to 30 days. The date conforms - * to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. + * Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' + * POST request to get the value. */ - expiry: Date; -} + primaryKey?: string; + /** + * Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' + * POST request to get the value. + */ + secondaryKey?: string; + /** + * Determines whether direct access is enabled. + */ + enabled?: boolean; +} + +/** + * Get User Token response details. + */ +export interface UserTokenResult { + /** + * Shared Access Authorization token for the User. + */ + value?: string; +} + +/** + * Get User Token parameters. + */ +export interface UserTokenParameters { + /** + * The Key to be used to generate token for user. Possible values include: 'primary', + * 'secondary'. Default value: 'primary'. + */ + keyType: KeyType; + /** + * The Expiry time of the Token. Maximum token expiry time is set to 30 days. The date conforms + * to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. + */ + expiry: Date; +} /** * Generate SSO Url operations response details. @@ -4747,8 +5096,8 @@ export interface UserCreateParameters { */ password?: string; /** - * Determines the type of application which send the create user request. Default is old - * publisher portal. Possible values include: 'developerPortal' + * Determines the type of application which send the create user request. Default is legacy + * portal. Possible values include: 'portal', 'developerPortal' */ appType?: AppType; /** @@ -4799,14 +5148,14 @@ export interface QuotaCounterValueContract { */ export interface ApiListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| isCurrent | filter | eq, ne | |
*/ filter?: string; /** @@ -4853,16 +5202,15 @@ export interface ApiDeleteMethodOptionalParams extends msRest.RequestOptionsBase */ export interface ApiListByTagsOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Supported operators | Supported functions | - * |-------------|------------------------|-----------------------------------| - * - * |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |isCurrent | eq | | + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| isCurrent | filter | eq | |
*/ filter?: string; /** @@ -4890,14 +5238,97 @@ export interface ApiBeginCreateOrUpdateOptionalParams extends msRest.RequestOpti ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| isCurrent | filter | eq, ne | |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include tags in the response. + */ + tags?: string; + /** + * Include full ApiVersionSet resource in response + */ + expandApiVersionSet?: boolean; +} + +/** + * Optional Parameters. + */ +export interface ApiListByTagsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| isCurrent | filter | eq | |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include not tagged APIs. + */ + includeNotTaggedApis?: boolean; +} + /** * Optional Parameters. */ export interface ApiRevisionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| apiRevision | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ApiRevisionListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| apiRevision | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -4915,9 +5346,9 @@ export interface ApiRevisionListByServiceOptionalParams extends msRest.RequestOp */ export interface ApiReleaseListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| notes | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -4941,19 +5372,39 @@ export interface ApiReleaseCreateOrUpdateOptionalParams extends msRest.RequestOp ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiReleaseListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| notes | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + /** * Optional Parameters. */ export interface ApiOperationListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
*/ filter?: string; /** @@ -4981,6 +5432,35 @@ export interface ApiOperationCreateOrUpdateOptionalParams extends msRest.Request ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiOperationListByApiNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include tags in the response. + */ + tags?: string; +} + /** * Optional Parameters. */ @@ -5007,10 +5487,10 @@ export interface ApiOperationPolicyCreateOrUpdateOptionalParams extends msRest.R */ export interface TagListByOperationOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5028,10 +5508,10 @@ export interface TagListByOperationOptionalParams extends msRest.RequestOptionsB */ export interface TagListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5049,10 +5529,10 @@ export interface TagListByApiOptionalParams extends msRest.RequestOptionsBase { */ export interface TagListByProductOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5070,10 +5550,10 @@ export interface TagListByProductOptionalParams extends msRest.RequestOptionsBas */ export interface TagListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5104,11 +5584,12 @@ export interface TagCreateOrUpdateOptionalParams extends msRest.RequestOptionsBa /** * Optional Parameters. */ -export interface ApiProductListByApisOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByOperationNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5124,32 +5605,33 @@ export interface ApiProductListByApisOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface ApiPolicyGetOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByApiNextOptionalParams extends msRest.RequestOptionsBase { /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - format?: PolicyExportFormat; -} - -/** - * Optional Parameters. - */ -export interface ApiPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to return. */ - ifMatch?: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByProductNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| contentType | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5165,43 +5647,36 @@ export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface ApiSchemaCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface ApiSchemaDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * If true removes all references to the schema before deleting it. + * Number of records to return. */ - force?: boolean; -} - -/** - * Optional Parameters. - */ -export interface ApiSchemaBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + top?: number; /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to skip. */ - ifMatch?: string; + skip?: number; + /** + * Scope like 'apis', 'products' or 'apis/{apiId} + */ + scope?: string; } /** * Optional Parameters. */ -export interface ApiDiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiProductListByApisOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5217,30 +5692,13 @@ export interface ApiDiagnosticListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ApiDiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiProductListByApisNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq - * | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; - /** - * Expand the comment attachments. - */ - expandCommentsAttachments?: boolean; /** * Number of records to return. */ @@ -5254,17 +5712,17 @@ export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface ApiIssueGetOptionalParams extends msRest.RequestOptionsBase { +export interface ApiPolicyGetOptionalParams extends msRest.RequestOptionsBase { /** - * Expand the comment attachments. + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - expandCommentsAttachments?: boolean; + format?: PolicyExportFormat; } /** * Optional Parameters. */ -export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5275,12 +5733,11 @@ export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOpti /** * Optional Parameters. */ -export interface ApiIssueCommentListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| contentType | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5296,7 +5753,7 @@ export interface ApiIssueCommentListByServiceOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5307,28 +5764,17 @@ export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.Requ /** * Optional Parameters. */ -export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.RequestOptionsBase { - /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
- */ - filter?: string; - /** - * Number of records to return. - */ - top?: number; +export interface ApiSchemaDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Number of records to skip. + * If true removes all references to the schema before deleting it. */ - skip?: number; + force?: boolean; } /** * Optional Parameters. */ -export interface ApiIssueAttachmentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5339,12 +5785,11 @@ export interface ApiIssueAttachmentCreateOrUpdateOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaListByApiNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| contentType | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5360,7 +5805,27 @@ export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiDiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ApiDiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5371,17 +5836,11 @@ export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.Re /** * Optional Parameters. */ -export interface OperationListByTagsOptionalParams extends msRest.RequestOptionsBase { +export interface ApiDiagnosticListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5392,21 +5851,24 @@ export interface OperationListByTagsOptionalParams extends msRest.RequestOptions * Number of records to skip. */ skip?: number; - /** - * Include not tagged Operations. - */ - includeNotTaggedOperations?: boolean; } /** * Optional Parameters. */ -export interface ApiVersionSetListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq | + * |
*/ filter?: string; + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; /** * Number of records to return. */ @@ -5420,7 +5882,17 @@ export interface ApiVersionSetListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueGetOptionalParams extends msRest.RequestOptionsBase { + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; +} + +/** + * Optional Parameters. + */ +export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5431,14 +5903,19 @@ export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface AuthorizationServerListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq | + * |
*/ filter?: string; + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; /** * Number of records to return. */ @@ -5452,24 +5929,12 @@ export interface AuthorizationServerListByServiceOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface AuthorizationServerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface BackendListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| url | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5485,7 +5950,7 @@ export interface BackendListByServiceOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface BackendCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5496,17 +5961,14 @@ export interface BackendCreateOrUpdateOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface BackendReconnectOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Reconnect request parameters. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - parameters?: BackendReconnectContract; -} - -/** - * Optional Parameters. - */ -export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** * Number of records to return. */ @@ -5520,25 +5982,12 @@ export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface CacheCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface CertificateListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| subject | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| thumbprint | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| expirationDate - * | filter | ge, le, eq, ne, gt, lt | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5554,7 +6003,7 @@ export interface CertificateListByServiceOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueAttachmentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5565,35 +6014,33 @@ export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestO /** * Optional Parameters. */ -export interface ApiManagementServiceApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueAttachmentListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, - * all the regions in which the Api Management service is deployed will be updated sequentially - * without incurring downtime in the region. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; -} - -/** - * Optional Parameters. - */ -export interface ApiManagementServiceBeginApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, - * all the regions in which the Api Management service is deployed will be updated sequentially - * without incurring downtime in the region. + * Number of records to return. */ - parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface DiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5609,7 +6056,7 @@ export interface DiagnosticListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface DiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5620,11 +6067,12 @@ export interface DiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface EmailTemplateListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiTagDescriptionListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5640,18 +6088,19 @@ export interface EmailTemplateListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface EmailTemplateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface OperationListByTagsOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter + * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface GatewayListByServiceOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** * Number of records to return. */ @@ -5660,23 +6109,28 @@ export interface GatewayListByServiceOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; -} - -/** - * Optional Parameters. - */ -export interface GatewayCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Include not tagged Operations. */ - ifMatch?: string; + includeNotTaggedOperations?: boolean; } /** * Optional Parameters. */ -export interface GatewayHostnameConfigurationListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface OperationListByTagsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter + * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
+ */ + filter?: string; /** * Number of records to return. */ @@ -5685,12 +6139,21 @@ export interface GatewayHostnameConfigurationListByServiceOptionalParams extends * Number of records to skip. */ skip?: number; + /** + * Include not tagged Operations. + */ + includeNotTaggedOperations?: boolean; } /** * Optional Parameters. */ -export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiVersionSetListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
+ */ + filter?: string; /** * Number of records to return. */ @@ -5704,21 +6167,21 @@ export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - parameters?: AssociationContract; +export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; } /** * Optional Parameters. */ -export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiVersionSetListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * aadObjectId | filter | eq | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
*/ filter?: string; /** @@ -5734,27 +6197,12 @@ export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface GroupCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface GroupUserListOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| registrationDate - * | filter | ge, le, eq, ne, gt, lt | |
| note | filter | ge, le, eq, ne, gt, lt | - * substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5770,7 +6218,7 @@ export interface GroupUserListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5781,16 +6229,12 @@ export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiId | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| authorName | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | - * filter | eq | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5806,14 +6250,13 @@ export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface LoggerListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface BackendListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| loggerType | - * filter | eq | |
| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, - * contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| url | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5829,7 +6272,7 @@ export interface LoggerListByServiceOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface BackendCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5840,22 +6283,23 @@ export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface LoggerDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface BackendReconnectOptionalParams extends msRest.RequestOptionsBase { /** - * Force deletion even if diagnostic is attached. + * Reconnect request parameters. */ - force?: boolean; + parameters?: BackendReconnectContract; } /** * Optional Parameters. */ -export interface NamedValueListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface BackendListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| tags | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all |
| displayName | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| url | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5871,18 +6315,21 @@ export interface NamedValueListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface NamedValueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to return. */ - ifMatch?: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface NamedValueBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface CacheCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5893,7 +6340,7 @@ export interface NamedValueBeginCreateOrUpdateOptionalParams extends msRest.Requ /** * Optional Parameters. */ -export interface NotificationListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface CacheListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -5907,23 +6354,14 @@ export interface NotificationListByServiceOptionalParams extends msRest.RequestO /** * Optional Parameters. */ -export interface NotificationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| subject | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| thumbprint | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| expirationDate | + * filter | ge, le, eq, ne, gt, lt | |
*/ filter?: string; /** @@ -5939,7 +6377,7 @@ export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest /** * Optional Parameters. */ -export interface OpenIdConnectProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5950,38 +6388,30 @@ export interface OpenIdConnectProviderCreateOrUpdateOptionalParams extends msRes /** * Optional Parameters. */ -export interface PolicyGetOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| subject | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| thumbprint | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| expirationDate | + * filter | ge, le, eq, ne, gt, lt | |
*/ - format?: PolicyExportFormat; -} - -/** - * Optional Parameters. - */ -export interface PolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to return. */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface PolicyDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { + top?: number; /** - * Policy scope. Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' + * Number of records to skip. */ - scope?: PolicyScopeContract; + skip?: number; } /** * Optional Parameters. */ -export interface SignInSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ContentTypeCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5992,7 +6422,7 @@ export interface SignInSettingsCreateOrUpdateOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface SignUpSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ContentItemCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6003,26 +6433,35 @@ export interface SignUpSettingsCreateOrUpdateOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiManagementServiceApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, + * all the regions in which the Api Management service is deployed will be updated sequentially + * without incurring downtime in the region. */ - ifMatch?: string; + parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; } /** * Optional Parameters. */ -export interface ProductListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiManagementServiceBeginApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, + * all the regions in which the Api Management service is deployed will be updated sequentially + * without incurring downtime in the region. + */ + parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; +} + +/** + * Optional Parameters. + */ +export interface DiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | - * filter | eq | |
| groups | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6033,21 +6472,12 @@ export interface ProductListByServiceOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; - /** - * When set to true, the response contains an array of groups that have visibility to the - * product. The default is false. - */ - expandGroups?: boolean; - /** - * Products which are part of a specific tag. - */ - tags?: string; } /** * Optional Parameters. */ -export interface ProductCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6058,25 +6488,31 @@ export interface ProductCreateOrUpdateOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Delete existing subscriptions associated with the product or not. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - deleteSubscriptions?: boolean; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBase { +export interface EmailTemplateListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | - * filter | eq | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6087,25 +6523,27 @@ export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; +} + +/** + * Optional Parameters. + */ +export interface EmailTemplateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Include not tagged Products. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - includeNotTaggedProducts?: boolean; + ifMatch?: string; } /** * Optional Parameters. */ -export interface ProductApiListByProductOptionalParams extends msRest.RequestOptionsBase { +export interface EmailTemplateListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6121,12 +6559,13 @@ export interface ProductApiListByProductOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface ProductGroupListByProductOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | |
| displayName | filter | eq, ne | |
| description | - * filter | eq, ne | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| region | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6142,18 +6581,24 @@ export interface ProductGroupListByProductOptionalParams extends msRest.RequestO /** * Optional Parameters. */ -export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface GatewayListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
| state | filter | eq | |
| user | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| region | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6169,17 +6614,28 @@ export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface ProductPolicyGetOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| hostname | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - format?: PolicyExportFormat; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6190,7 +6646,14 @@ export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| hostname | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6199,16 +6662,18 @@ export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBas * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByUserOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6217,16 +6682,25 @@ export interface ReportsListByUserOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByOperationOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + parameters?: AssociationContract; +} + +/** + * Optional Parameters. + */ +export interface GatewayApiListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6235,16 +6709,21 @@ export interface ReportsListByOperationOptionalParams extends msRest.RequestOpti * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByProductOptionalParams extends msRest.RequestOptionsBase { +export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * externalId | filter | eq | |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6253,16 +6732,32 @@ export interface ReportsListByProductOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; +} + +/** + * Optional Parameters. + */ +export interface GroupCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * OData order by query option. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - orderby?: string; + ifMatch?: string; } /** * Optional Parameters. */ -export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBase { +export interface GroupListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * externalId | filter | eq | |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6276,7 +6771,18 @@ export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface GroupUserListOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| registrationDate + * | filter | ge, le, eq, ne, gt, lt | |
| note | filter | ge, le, eq, ne, gt, lt | + * substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6285,16 +6791,23 @@ export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestO * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByTimeOptionalParams extends msRest.RequestOptionsBase { +export interface GroupUserListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| registrationDate + * | filter | ge, le, eq, ne, gt, lt | |
| note | filter | ge, le, eq, ne, gt, lt | + * substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6303,16 +6816,34 @@ export interface ReportsListByTimeOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; +} + +/** + * Optional Parameters. + */ +export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * OData order by query option. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - orderby?: string; + ifMatch?: string; } /** * Optional Parameters. */ -export interface ReportsListByRequestOptionalParams extends msRest.RequestOptionsBase { +export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| authorName | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6326,18 +6857,16 @@ export interface ReportsListByRequestOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBase { +export interface IssueListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
| state | filter | eq | |
| user | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| authorName | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
*/ filter?: string; /** @@ -6353,52 +6882,48 @@ export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Notify change in Subscription State. - * - If false, do not send any email notification for change of state of subscription - * - If true, send email notification of change of state of subscription + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| loggerType | + * filter | eq | |
| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, + * contains, startswith, endswith |
*/ - notify?: boolean; + filter?: string; /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to return. */ - ifMatch?: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Notify change in Subscription State. - * - If false, do not send any email notification for change of state of subscription - * - If true, send email notification of change of state of subscription + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - notify?: boolean; + ifMatch?: string; } /** * Optional Parameters. */ -export interface TagResourceListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| aid | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, - * startswith, endswith |
| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, - * contains, startswith, endswith |
| terms | filter | ge, le, eq, ne, gt, lt | substringof, - * contains, startswith, endswith |
| state | filter | eq | |
| isCurrent | filter - * | eq | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| loggerType | + * filter | eq | |
| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, + * contains, startswith, endswith |
*/ filter?: string; /** @@ -6414,17 +6939,12 @@ export interface TagResourceListByServiceOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface NamedValueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | - * eq | |
| registrationDate | filter | ge, le, eq, ne, gt, lt | |
| note | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| groups - * | expand | | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| tags | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all |
| displayName | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6435,16 +6955,12 @@ export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; - /** - * Detailed Group in response. - */ - expandGroups?: boolean; } /** * Optional Parameters. */ -export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface NamedValueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6455,27 +6971,23 @@ export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBase { - /** - * Whether to delete user's subscription or not. - */ - deleteSubscriptions?: boolean; +export interface NamedValueBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Send an Account Closed Email notification to the User. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - notify?: boolean; + ifMatch?: string; } /** * Optional Parameters. */ -export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { +export interface NamedValueListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| tags | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all |
| displayName | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6491,20 +7003,7 @@ export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface UserSubscriptionListOptionalParams extends msRest.RequestOptionsBase { - /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
- */ - filter?: string; +export interface NotificationListByServiceOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -6516,775 +7015,1178 @@ export interface UserSubscriptionListOptionalParams extends msRest.RequestOption } /** - * An interface representing ApiManagementClientOptions. + * Optional Parameters. */ -export interface ApiManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface NotificationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiGetEntityTagHeaders { +export interface NotificationListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; -} - -/** - * Defines headers for Get operation. - */ -export interface ApiGetHeaders { + top?: number; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to skip. */ - eTag: string; + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiCreateOrUpdateHeaders { +export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - eTag: string; -} - -/** - * Defines headers for GetEntityTag operation. - */ -export interface ApiReleaseGetEntityTagHeaders { + filter?: string; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; -} - -/** - * Defines headers for Get operation. - */ -export interface ApiReleaseGetHeaders { + top?: number; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to skip. */ - eTag: string; + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiReleaseCreateOrUpdateHeaders { +export interface OpenIdConnectProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiOperationGetEntityTagHeaders { +export interface OpenIdConnectProviderListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - eTag: string; -} - -/** - * Defines headers for Get operation. - */ -export interface ApiOperationGetHeaders { + filter?: string; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; -} - -/** - * Defines headers for CreateOrUpdate operation. - */ -export interface ApiOperationCreateOrUpdateHeaders { + top?: number; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to skip. */ - eTag: string; + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiOperationPolicyGetEntityTagHeaders { +export interface PolicyGetOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - eTag: string; + format?: PolicyExportFormat; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiOperationPolicyGetHeaders { +export interface PolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiOperationPolicyCreateOrUpdateHeaders { +export interface PolicyDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Policy scope. Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' */ - eTag: string; + scope?: PolicyScopeContract; } /** - * Defines headers for GetEntityStateByOperation operation. + * Optional Parameters. */ -export interface TagGetEntityStateByOperationHeaders { +export interface PortalRevisionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Supported operators | Supported functions | + * |-------------|------------------------|-----------------------------------| + * + * |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |isCurrent | eq, ne | | */ - eTag: string; -} - -/** - * Defines headers for GetByOperation operation. - */ -export interface TagGetByOperationHeaders { + filter?: string; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiPolicyGetEntityTagHeaders { +export interface PortalRevisionListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Supported operators | Supported functions | + * |-------------|------------------------|-----------------------------------| + * + * |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |isCurrent | eq, ne | | */ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiPolicyGetHeaders { +export interface SignInSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiPolicyCreateOrUpdateHeaders { +export interface SignUpSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiSchemaGetEntityTagHeaders { +export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiSchemaGetHeaders { +export interface ProductListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
| groups | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * When set to true, the response contains an array of groups that have visibility to the + * product. The default is false. + */ + expandGroups?: boolean; + /** + * Products which are part of a specific tag. + */ + tags?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiSchemaCreateOrUpdateHeaders { +export interface ProductCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiDiagnosticGetEntityTagHeaders { +export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Delete existing subscriptions associated with the product or not. */ - eTag: string; + deleteSubscriptions?: boolean; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiDiagnosticGetHeaders { +export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | substringof, contains, startswith, endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include not tagged Products. + */ + includeNotTaggedProducts?: boolean; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiDiagnosticCreateOrUpdateHeaders { +export interface ProductListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
| groups | expand | | |
*/ - eTag: string; -} - -/** - * Defines headers for GetEntityTag operation. - */ -export interface ApiIssueGetEntityTagHeaders { + filter?: string; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * When set to true, the response contains an array of groups that have visibility to the + * product. The default is false. + */ + expandGroups?: boolean; + /** + * Products which are part of a specific tag. + */ + tags?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiIssueGetHeaders { +export interface ProductListByTagsNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | substringof, contains, startswith, endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include not tagged Products. + */ + includeNotTaggedProducts?: boolean; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueCreateOrUpdateHeaders { +export interface ProductApiListByProductOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiIssueCommentGetEntityTagHeaders { +export interface ProductApiListByProductNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiIssueCommentGetHeaders { +export interface ProductGroupListByProductOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | |
| displayName | filter | eq, ne | |
| description | filter + * | eq, ne | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueCommentCreateOrUpdateHeaders { +export interface ProductGroupListByProductNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | |
| displayName | filter | eq, ne | |
| description | filter + * | eq, ne | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentGetEntityTagHeaders { +export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| state | filter | eq | |
| user | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentGetHeaders { +export interface ProductSubscriptionsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| state | filter | eq | |
| user | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentCreateOrUpdateHeaders { +export interface ProductPolicyGetOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - eTag: string; + format?: PolicyExportFormat; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiTagDescriptionGetEntityTagHeaders { +export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiTagDescriptionGetHeaders { +export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiTagDescriptionCreateOrUpdateHeaders { +export interface ReportsListByUserOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for GetEntityStateByApi operation. + * Optional Parameters. */ -export interface TagGetEntityStateByApiHeaders { +export interface ReportsListByOperationOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for GetByApi operation. + * Optional Parameters. */ -export interface TagGetByApiHeaders { +export interface ReportsListByProductOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for AssignToApi operation. + * Optional Parameters. */ -export interface TagAssignToApiHeaders { +export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiVersionSetGetEntityTagHeaders { +export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; -} - -/** - * Defines headers for Get operation. - */ -export interface ApiVersionSetGetHeaders { + top?: number; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to skip. */ - eTag: string; + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiVersionSetCreateOrUpdateHeaders { +export interface ReportsListByTimeOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface AuthorizationServerGetEntityTagHeaders { +export interface ReportsListByRequestOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface AuthorizationServerGetHeaders { +export interface ReportsListByApiNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface AuthorizationServerCreateOrUpdateHeaders { +export interface ReportsListByUserNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface BackendGetEntityTagHeaders { +export interface ReportsListByOperationNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface BackendGetHeaders { +export interface ReportsListByProductNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface BackendCreateOrUpdateHeaders { +export interface ReportsListByGeoNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface CacheGetEntityTagHeaders { +export interface ReportsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface CacheGetHeaders { +export interface ReportsListByTimeNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface CacheCreateOrUpdateHeaders { +export interface TenantSettingsListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface CertificateGetEntityTagHeaders { +export interface TenantSettingsListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface CertificateGetHeaders { +export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| state | filter | eq | |
| user | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface CertificateCreateOrUpdateHeaders { +export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Notify change in Subscription State. + * - If false, do not send any email notification for change of state of subscription + * - If true, send email notification of change of state of subscription */ - eTag: string; + notify?: boolean; + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; + /** + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. + */ + appType?: AppType; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface DiagnosticGetEntityTagHeaders { +export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Notify change in Subscription State. + * - If false, do not send any email notification for change of state of subscription + * - If true, send email notification of change of state of subscription */ - eTag: string; + notify?: boolean; + /** + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. + */ + appType?: AppType; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface DiagnosticGetHeaders { +export interface SubscriptionListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| state | filter | eq | |
| user | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface DiagnosticCreateOrUpdateHeaders { +export interface TagResourceListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| aid | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter + * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| terms | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| state | filter | eq | |
| isCurrent | filter | eq | + * |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface EmailTemplateGetEntityTagHeaders { +export interface TagResourceListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| aid | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter + * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| terms | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| state | filter | eq | |
| isCurrent | filter | eq | + * |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface EmailTemplateGetHeaders { +export interface TenantAccessListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GatewayGetEntityTagHeaders { +export interface TenantAccessListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface GatewayGetHeaders { +export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | + * eq | |
| registrationDate | filter | ge, le, eq, ne, gt, lt | |
| note | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| groups | + * expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Detailed Group in response. + */ + expandGroups?: boolean; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface GatewayCreateOrUpdateHeaders { +export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Send an Email notification to the User. */ - eTag: string; + notify?: boolean; + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; } /** - * Defines headers for ListKeys operation. + * Optional Parameters. */ -export interface GatewayListKeysHeaders { +export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Whether to delete user's subscription or not. */ - eTag: string; + deleteSubscriptions?: boolean; + /** + * Send an Account Closed Email notification to the User. + */ + notify?: boolean; + /** + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. + */ + appType?: AppType; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GatewayHostnameConfigurationGetEntityTagHeaders { +export interface UserListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | + * eq | |
| registrationDate | filter | ge, le, eq, ne, gt, lt | |
| note | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| groups | + * expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Detailed Group in response. + */ + expandGroups?: boolean; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface GatewayHostnameConfigurationGetHeaders { +export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
| name + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { +export interface UserGroupListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
| name + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GatewayApiGetEntityTagHeaders { +export interface UserSubscriptionListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
|name | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
|displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
|stateComment | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|ownerId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|scope | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|productId | filter | ge, le, eq, ne, gt, lt | substringof, + * contains, startswith, endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GroupGetEntityTagHeaders { +export interface UserSubscriptionListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
|name | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
|displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
|stateComment | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|ownerId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|scope | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|productId | filter | ge, le, eq, ne, gt, lt | substringof, + * contains, startswith, endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface GroupGetHeaders { +export interface UserConfirmationPasswordSendOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. */ - eTag: string; + appType?: AppType; } /** - * Defines headers for CreateOrUpdate operation. + * An interface representing ApiManagementClientOptions. */ -export interface GroupCreateOrUpdateHeaders { - /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. - */ - eTag: string; +export interface ApiManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; } /** * Defines headers for GetEntityTag operation. */ -export interface IdentityProviderGetEntityTagHeaders { +export interface ApiGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7295,7 +8197,7 @@ export interface IdentityProviderGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface IdentityProviderGetHeaders { +export interface ApiGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7306,7 +8208,7 @@ export interface IdentityProviderGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface IdentityProviderCreateOrUpdateHeaders { +export interface ApiCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7315,9 +8217,9 @@ export interface IdentityProviderCreateOrUpdateHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface IssueGetHeaders { +export interface ApiUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7328,7 +8230,7 @@ export interface IssueGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface LoggerGetEntityTagHeaders { +export interface ApiReleaseGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7339,7 +8241,7 @@ export interface LoggerGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface LoggerGetHeaders { +export interface ApiReleaseGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7350,7 +8252,7 @@ export interface LoggerGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface LoggerCreateOrUpdateHeaders { +export interface ApiReleaseCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7359,9 +8261,9 @@ export interface LoggerCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface NamedValueGetEntityTagHeaders { +export interface ApiReleaseUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7370,9 +8272,9 @@ export interface NamedValueGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface NamedValueGetHeaders { +export interface ApiOperationGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7381,9 +8283,9 @@ export interface NamedValueGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface NamedValueCreateOrUpdateHeaders { +export interface ApiOperationGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7392,9 +8294,9 @@ export interface NamedValueCreateOrUpdateHeaders { } /** - * Defines headers for Update operation. + * Defines headers for CreateOrUpdate operation. */ -export interface NamedValueUpdateHeaders { +export interface ApiOperationCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7403,9 +8305,9 @@ export interface NamedValueUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface OpenIdConnectProviderGetEntityTagHeaders { +export interface ApiOperationUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7414,9 +8316,9 @@ export interface OpenIdConnectProviderGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface OpenIdConnectProviderGetHeaders { +export interface ApiOperationPolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7425,9 +8327,9 @@ export interface OpenIdConnectProviderGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface OpenIdConnectProviderCreateOrUpdateHeaders { +export interface ApiOperationPolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7436,9 +8338,9 @@ export interface OpenIdConnectProviderCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface PolicyGetEntityTagHeaders { +export interface ApiOperationPolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7447,9 +8349,9 @@ export interface PolicyGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityStateByOperation operation. */ -export interface PolicyGetHeaders { +export interface TagGetEntityStateByOperationHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7458,9 +8360,9 @@ export interface PolicyGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for GetByOperation operation. */ -export interface PolicyCreateOrUpdateHeaders { +export interface TagGetByOperationHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7471,7 +8373,7 @@ export interface PolicyCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SignInSettingsGetEntityTagHeaders { +export interface ApiPolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7482,7 +8384,7 @@ export interface SignInSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SignInSettingsGetHeaders { +export interface ApiPolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7491,9 +8393,9 @@ export interface SignInSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface SignUpSettingsGetEntityTagHeaders { +export interface ApiPolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7502,9 +8404,9 @@ export interface SignUpSettingsGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface SignUpSettingsGetHeaders { +export interface ApiSchemaGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7513,9 +8415,9 @@ export interface SignUpSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface DelegationSettingsGetEntityTagHeaders { +export interface ApiSchemaGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7524,9 +8426,9 @@ export interface DelegationSettingsGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface DelegationSettingsGetHeaders { +export interface ApiSchemaCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7537,7 +8439,7 @@ export interface DelegationSettingsGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface ProductGetEntityTagHeaders { +export interface ApiDiagnosticGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7548,7 +8450,7 @@ export interface ProductGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface ProductGetHeaders { +export interface ApiDiagnosticGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7559,7 +8461,7 @@ export interface ProductGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface ProductCreateOrUpdateHeaders { +export interface ApiDiagnosticCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7568,9 +8470,9 @@ export interface ProductCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface ProductPolicyGetEntityTagHeaders { +export interface ApiDiagnosticUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7579,9 +8481,9 @@ export interface ProductPolicyGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface ProductPolicyGetHeaders { +export interface ApiIssueGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7590,9 +8492,9 @@ export interface ProductPolicyGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface ProductPolicyCreateOrUpdateHeaders { +export interface ApiIssueGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7601,9 +8503,9 @@ export interface ProductPolicyCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityStateByProduct operation. + * Defines headers for CreateOrUpdate operation. */ -export interface TagGetEntityStateByProductHeaders { +export interface ApiIssueCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7612,9 +8514,9 @@ export interface TagGetEntityStateByProductHeaders { } /** - * Defines headers for GetByProduct operation. + * Defines headers for Update operation. */ -export interface TagGetByProductHeaders { +export interface ApiIssueUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7625,7 +8527,7 @@ export interface TagGetByProductHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SubscriptionGetEntityTagHeaders { +export interface ApiIssueCommentGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7636,7 +8538,7 @@ export interface SubscriptionGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SubscriptionGetHeaders { +export interface ApiIssueCommentGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7647,7 +8549,7 @@ export interface SubscriptionGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface SubscriptionCreateOrUpdateHeaders { +export interface ApiIssueCommentCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7656,9 +8558,9 @@ export interface SubscriptionCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityState operation. + * Defines headers for GetEntityTag operation. */ -export interface TagGetEntityStateHeaders { +export interface ApiIssueAttachmentGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7669,7 +8571,7 @@ export interface TagGetEntityStateHeaders { /** * Defines headers for Get operation. */ -export interface TagGetHeaders { +export interface ApiIssueAttachmentGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7680,7 +8582,7 @@ export interface TagGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface TagCreateOrUpdateHeaders { +export interface ApiIssueAttachmentCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7691,7 +8593,7 @@ export interface TagCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface TenantAccessGetEntityTagHeaders { +export interface ApiTagDescriptionGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7702,7 +8604,7 @@ export interface TenantAccessGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface TenantAccessGetHeaders { +export interface ApiTagDescriptionGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7711,9 +8613,9 @@ export interface TenantAccessGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for CreateOrUpdate operation. */ -export interface TenantAccessListSecretsHeaders { +export interface ApiTagDescriptionCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7722,9 +8624,9 @@ export interface TenantAccessListSecretsHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityStateByApi operation. */ -export interface TenantAccessGitGetHeaders { +export interface TagGetEntityStateByApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7733,9 +8635,20 @@ export interface TenantAccessGitGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for GetByApi operation. + */ +export interface TagGetByApiHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for AssignToApi operation. */ -export interface TenantAccessGitListSecretsHeaders { +export interface TagAssignToApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7746,7 +8659,7 @@ export interface TenantAccessGitListSecretsHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface UserGetEntityTagHeaders { +export interface ApiVersionSetGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7757,7 +8670,7 @@ export interface UserGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface UserGetHeaders { +export interface ApiVersionSetGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7768,7 +8681,7 @@ export interface UserGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface UserCreateOrUpdateHeaders { +export interface ApiVersionSetCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7777,829 +8690,2542 @@ export interface UserCreateOrUpdateHeaders { } /** - * @interface - * Paged Api list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface ApiCollection extends Array { +export interface ApiVersionSetUpdateHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Tag list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface TagResourceCollection extends Array { +export interface AuthorizationServerGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Api Revision list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface ApiRevisionCollection extends Array { +export interface AuthorizationServerGetHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged ApiRelease list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface ApiReleaseCollection extends Array { +export interface AuthorizationServerCreateOrUpdateHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Operation list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface OperationCollection extends Array { +export interface AuthorizationServerUpdateHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Tag list representation. - * @extends Array + * Defines headers for ListSecrets operation. */ -export interface TagCollection extends Array { +export interface AuthorizationServerListSecretsHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Products list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface ProductCollection extends Array { +export interface BackendGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * The response of the list schema operation. - * @extends Array + * Defines headers for Get operation. */ -export interface SchemaCollection extends Array { +export interface BackendGetHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Diagnostic list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface DiagnosticCollection extends Array { +export interface BackendCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Issue list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface IssueCollection extends Array { +export interface BackendUpdateHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Issue Comment list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface IssueCommentCollection extends Array { +export interface CacheGetEntityTagHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Issue Attachment list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface IssueAttachmentCollection extends Array { +export interface CacheGetHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged TagDescription list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface TagDescriptionCollection extends Array { +export interface CacheCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Api Version Set list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface ApiVersionSetCollection extends Array { +export interface CacheUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged OAuth2 Authorization Servers list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface AuthorizationServerCollection extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface CertificateGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Backend list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface BackendCollection extends Array { +export interface CertificateGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Caches list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface CacheCollection extends Array { +export interface CertificateCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Certificates list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface CertificateCollection extends Array { +export interface ContentTypeGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Result of the request to list REST API operations. It contains a list of operations and a URL - * nextLink to get the next set of results. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface OperationListResult extends Array { +export interface ContentTypeCreateOrUpdateHeaders { /** - * URL to get the next set of operation list results if there are any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * The API Management service SKUs operation response. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface ResourceSkuResults extends Array { +export interface ContentItemGetEntityTagHeaders { /** - * The uri to fetch the next page of API Management service Skus. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * The response of the List API Management services operation. - * @extends Array + * Defines headers for Get operation. */ -export interface ApiManagementServiceListResult extends Array { +export interface ContentItemGetHeaders { /** - * Link to the next set of results. Not empty if Value contains incomplete list of API Management - * services. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged email template list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface EmailTemplateCollection extends Array { +export interface ContentItemCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Gateway list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface GatewayCollection extends Array { +export interface DiagnosticGetEntityTagHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Gateway hostname configuration list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface GatewayHostnameConfigurationCollection extends Array { +export interface DiagnosticGetHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Group list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface GroupCollection extends Array { +export interface DiagnosticCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Users list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface UserCollection extends Array { +export interface DiagnosticUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * List of all the Identity Providers configured on the service instance. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface IdentityProviderList extends Array { +export interface EmailTemplateGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Logger list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface LoggerCollection extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface EmailTemplateGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged NamedValue list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface NamedValueCollection extends Array { +export interface EmailTemplateUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Notification list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface NotificationCollection extends Array { +export interface GatewayGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged OpenIdProviders list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface OpenIdConnectProviderCollection extends Array { +export interface GatewayGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Subscriptions list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface SubscriptionCollection extends Array { +export interface GatewayCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Lists Regions operation response details. - * @extends Array + * Defines headers for Update operation. */ -export interface RegionListResult extends Array { +export interface GatewayUpdateHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; +} + +/** + * Defines headers for ListKeys operation. + */ +export interface GatewayListKeysHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Report records list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface ReportCollection extends Array { +export interface GatewayHostnameConfigurationGetEntityTagHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface GatewayHostnameConfigurationGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Report records list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface RequestReportCollection extends Array { +export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; } /** - * @interface - * List of Users Identity list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface UserIdentityCollection extends Array { +export interface GatewayApiGetEntityTagHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface GroupGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * Defines values for ExportResultFormat. - * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type ExportResultFormat = 'swagger-link-json' | 'wsdl-link+xml' | 'wadl-link-json' | 'openapi-link'; +export interface GroupGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ProductState. - * Possible values include: 'notPublished', 'published' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type ProductState = 'notPublished' | 'published'; +export interface GroupCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for BearerTokenSendingMethods. - * Possible values include: 'authorizationHeader', 'query' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; +export interface GroupUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for Protocol. - * Possible values include: 'http', 'https' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type Protocol = 'http' | 'https'; +export interface IdentityProviderGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ContentFormat. - * Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', - * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link'; +export interface IdentityProviderGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for SoapApiType. - * Possible values include: 'SoapToRest', 'SoapPassThrough' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type SoapApiType = 'http' | 'soap'; +export interface IdentityProviderCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ApiType. - * Possible values include: 'http', 'soap' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type ApiType = 'http' | 'soap'; +export interface IdentityProviderUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for State. - * Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed' - * @readonly - * @enum {string} + * Defines headers for ListSecrets operation. */ -export type State = 'proposed' | 'open' | 'removed' | 'resolved' | 'closed'; +export interface IdentityProviderListSecretsHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for SamplingType. - * Possible values include: 'fixed' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type SamplingType = 'fixed'; +export interface IssueGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for AlwaysLog. - * Possible values include: 'allErrors' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type AlwaysLog = 'allErrors'; +export interface LoggerGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for HttpCorrelationProtocol. - * Possible values include: 'None', 'Legacy', 'W3C' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type HttpCorrelationProtocol = 'None' | 'Legacy' | 'W3C'; +export interface LoggerGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for Verbosity. - * Possible values include: 'verbose', 'information', 'error' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type Verbosity = 'verbose' | 'information' | 'error'; +export interface LoggerCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for PolicyContentFormat. - * Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type PolicyContentFormat = 'xml' | 'xml-link' | 'rawxml' | 'rawxml-link'; +export interface LoggerUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for VersioningScheme. - * Possible values include: 'Segment', 'Query', 'Header' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type VersioningScheme = 'Segment' | 'Query' | 'Header'; +export interface NamedValueGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for GrantType. - * Possible values include: 'authorizationCode', 'implicit', 'resourceOwnerPassword', - * 'clientCredentials' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type GrantType = 'authorizationCode' | 'implicit' | 'resourceOwnerPassword' | 'clientCredentials'; +export interface NamedValueGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for AuthorizationMethod. - * Possible values include: 'HEAD', 'OPTIONS', 'TRACE', 'GET', 'POST', 'PUT', 'PATCH', 'DELETE' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type AuthorizationMethod = 'HEAD' | 'OPTIONS' | 'TRACE' | 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; +export interface NamedValueCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ClientAuthenticationMethod. - * Possible values include: 'Basic', 'Body' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type ClientAuthenticationMethod = 'Basic' | 'Body'; +export interface NamedValueUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for BearerTokenSendingMethod. - * Possible values include: 'authorizationHeader', 'query' - * @readonly - * @enum {string} + * Defines headers for ListValue operation. */ -export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; +export interface NamedValueListValueHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for BackendProtocol. - * Possible values include: 'http', 'soap' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type BackendProtocol = 'http' | 'soap'; +export interface OpenIdConnectProviderGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for SkuType. - * Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', 'Consumption' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type SkuType = 'Developer' | 'Standard' | 'Premium' | 'Basic' | 'Consumption'; +export interface OpenIdConnectProviderGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ResourceSkuCapacityScaleType. - * Possible values include: 'automatic', 'manual', 'none' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type ResourceSkuCapacityScaleType = 'automatic' | 'manual' | 'none'; +export interface OpenIdConnectProviderCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for HostnameType. - * Possible values include: 'Proxy', 'Portal', 'Management', 'Scm', 'DeveloperPortal' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'DeveloperPortal'; +export interface OpenIdConnectProviderUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for VirtualNetworkType. - * Possible values include: 'None', 'External', 'Internal' - * @readonly - * @enum {string} + * Defines headers for ListSecrets operation. */ -export type VirtualNetworkType = 'None' | 'External' | 'Internal'; +export interface OpenIdConnectProviderListSecretsHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ApimIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type ApimIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export interface PolicyGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for NameAvailabilityReason. - * Possible values include: 'Valid', 'Invalid', 'AlreadyExists' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type NameAvailabilityReason = 'Valid' | 'Invalid' | 'AlreadyExists'; +export interface PolicyGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ProvisioningState. - * Possible values include: 'created' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type ProvisioningState = 'created'; +export interface PolicyCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for KeyType. - * Possible values include: 'primary', 'secondary' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type KeyType = 'primary' | 'secondary'; +export interface PortalRevisionGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for AppType. - * Possible values include: 'developerPortal' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type AppType = 'developerPortal'; +export interface PortalRevisionGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for Confirmation. - * Possible values include: 'signup', 'invite' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type Confirmation = 'signup' | 'invite'; +export interface PortalRevisionCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for UserState. - * Possible values include: 'active', 'blocked', 'pending', 'deleted' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type UserState = 'active' | 'blocked' | 'pending' | 'deleted'; +export interface PortalRevisionUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for GroupType. - * Possible values include: 'custom', 'system', 'external' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type GroupType = 'custom' | 'system' | 'external'; +export interface SignInSettingsGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for IdentityProviderType. - * Possible values include: 'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type IdentityProviderType = 'facebook' | 'google' | 'microsoft' | 'twitter' | 'aad' | 'aadB2C'; +export interface SignInSettingsGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for LoggerType. - * Possible values include: 'azureEventHub', 'applicationInsights' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type LoggerType = 'azureEventHub' | 'applicationInsights'; +export interface SignUpSettingsGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ConnectivityStatusType. - * Possible values include: 'initializing', 'success', 'failure' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type ConnectivityStatusType = 'initializing' | 'success' | 'failure'; +export interface SignUpSettingsGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for SubscriptionState. - * Possible values include: 'suspended', 'active', 'expired', 'submitted', 'rejected', 'cancelled' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type SubscriptionState = 'suspended' | 'active' | 'expired' | 'submitted' | 'rejected' | 'cancelled'; +export interface DelegationSettingsGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for AsyncOperationStatus. - * Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; +export interface DelegationSettingsGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for NotificationName. - * Possible values include: 'RequestPublisherNotificationMessage', - * 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', - * 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', - * 'QuotaLimitApproachingPublisherNotificationMessage' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type NotificationName = 'RequestPublisherNotificationMessage' | 'PurchasePublisherNotificationMessage' | 'NewApplicationNotificationMessage' | 'BCC' | 'NewIssuePublisherNotificationMessage' | 'AccountClosedPublisher' | 'QuotaLimitApproachingPublisherNotificationMessage'; +export interface ProductGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for PolicyExportFormat. - * Possible values include: 'xml', 'rawxml' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type PolicyExportFormat = 'xml' | 'rawxml'; +export interface ProductGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for TemplateName. - * Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', - * 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', - * 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', - * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', - * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', - * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', - * 'requestDeveloperNotificationMessage' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type TemplateName = 'applicationApprovedNotificationMessage' | 'accountClosedDeveloper' | 'quotaLimitApproachingDeveloperNotificationMessage' | 'newDeveloperNotificationMessage' | 'emailChangeIdentityDefault' | 'inviteUserNotificationMessage' | 'newCommentNotificationMessage' | 'confirmSignUpIdentityDefault' | 'newIssueNotificationMessage' | 'purchaseDeveloperNotificationMessage' | 'passwordResetIdentityDefault' | 'passwordResetByAdminNotificationMessage' | 'rejectDeveloperNotificationMessage' | 'requestDeveloperNotificationMessage'; +export interface ProductCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for PolicyScopeContract. - * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type PolicyScopeContract = 'Tenant' | 'Product' | 'Api' | 'Operation' | 'All'; +export interface ProductUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface ProductPolicyGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface ProductPolicyGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface ProductPolicyCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityStateByProduct operation. + */ +export interface TagGetEntityStateByProductHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetByProduct operation. + */ +export interface TagGetByProductHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface TenantSettingsGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface SubscriptionGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface SubscriptionGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface SubscriptionCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface SubscriptionUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for ListSecrets operation. + */ +export interface SubscriptionListSecretsHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityState operation. + */ +export interface TagGetEntityStateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface TagGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface TagCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface TagUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface TenantAccessGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface TenantAccessGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Create operation. + */ +export interface TenantAccessCreateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface TenantAccessUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for ListSecrets operation. + */ +export interface TenantAccessListSecretsHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface UserGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface UserGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface UserCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface UserUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * @interface + * Paged Api list representation. + * @extends Array + */ +export interface ApiCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Tag list representation. + * @extends Array + */ +export interface TagResourceCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Api Revision list representation. + * @extends Array + */ +export interface ApiRevisionCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged ApiRelease list representation. + * @extends Array + */ +export interface ApiReleaseCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Operation list representation. + * @extends Array + */ +export interface OperationCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Tag list representation. + * @extends Array + */ +export interface TagCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Products list representation. + * @extends Array + */ +export interface ProductCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * The response of the list schema operation. + * @extends Array + */ +export interface SchemaCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Diagnostic list representation. + * @extends Array + */ +export interface DiagnosticCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Issue list representation. + * @extends Array + */ +export interface IssueCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Issue Comment list representation. + * @extends Array + */ +export interface IssueCommentCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Issue Attachment list representation. + * @extends Array + */ +export interface IssueAttachmentCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged TagDescription list representation. + * @extends Array + */ +export interface TagDescriptionCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Api Version Set list representation. + * @extends Array + */ +export interface ApiVersionSetCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged OAuth2 Authorization Servers list representation. + * @extends Array + */ +export interface AuthorizationServerCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Backend list representation. + * @extends Array + */ +export interface BackendCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Caches list representation. + * @extends Array + */ +export interface CacheCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Certificates list representation. + * @extends Array + */ +export interface CertificateCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged list of content types. + * @extends Array + */ +export interface ContentTypeCollection extends Array { + /** + * Next page link, if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged list of content items. + * @extends Array + */ +export interface ContentItemCollection extends Array { + /** + * Next page link, if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged deleted Api Management Services List Representation. + * @extends Array + */ +export interface DeletedServicesCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Result of the request to list REST API operations. It contains a list of operations and a URL + * nextLink to get the next set of results. + * @extends Array + */ +export interface OperationListResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + +/** + * @interface + * The API Management service SKUs operation response. + * @extends Array + */ +export interface ResourceSkuResults extends Array { + /** + * The uri to fetch the next page of API Management service Skus. + */ + nextLink?: string; +} + +/** + * @interface + * The response of the List API Management services operation. + * @extends Array + */ +export interface ApiManagementServiceListResult extends Array { + /** + * Link to the next set of results. Not empty if Value contains incomplete list of API Management + * services. + */ + nextLink?: string; +} + +/** + * @interface + * Paged email template list representation. + * @extends Array + */ +export interface EmailTemplateCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Gateway list representation. + * @extends Array + */ +export interface GatewayCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Gateway hostname configuration list representation. + * @extends Array + */ +export interface GatewayHostnameConfigurationCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Group list representation. + * @extends Array + */ +export interface GroupCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Users list representation. + * @extends Array + */ +export interface UserCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * List of all the Identity Providers configured on the service instance. + * @extends Array + */ +export interface IdentityProviderList extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Logger list representation. + * @extends Array + */ +export interface LoggerCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged NamedValue list representation. + * @extends Array + */ +export interface NamedValueCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Notification list representation. + * @extends Array + */ +export interface NotificationCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged OpenIdProviders list representation. + * @extends Array + */ +export interface OpenIdConnectProviderCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged list of portal revisions. + * @extends Array + */ +export interface PortalRevisionCollection extends Array { + /** + * Next page link, if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Subscriptions list representation. + * @extends Array + */ +export interface SubscriptionCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Lists Regions operation response details. + * @extends Array + */ +export interface RegionListResult extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Report records list representation. + * @extends Array + */ +export interface ReportCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Report records list representation. + * @extends Array + */ +export interface RequestReportCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; +} + +/** + * @interface + * Paged AccessInformation list representation. + * @extends Array + */ +export interface TenantSettingsCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged AccessInformation list representation. + * @extends Array + */ +export interface AccessInformationCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of Users Identity list representation. + * @extends Array + */ +export interface UserIdentityCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * Defines values for ExportResultFormat. + * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' + * @readonly + * @enum {string} + */ +export type ExportResultFormat = 'swagger-link-json' | 'wsdl-link+xml' | 'wadl-link-json' | 'openapi-link'; + +/** + * Defines values for ProductState. + * Possible values include: 'notPublished', 'published' + * @readonly + * @enum {string} + */ +export type ProductState = 'notPublished' | 'published'; + +/** + * Defines values for BearerTokenSendingMethods. + * Possible values include: 'authorizationHeader', 'query' + * @readonly + * @enum {string} + */ +export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; + +/** + * Defines values for Protocol. + * Possible values include: 'http', 'https' + * @readonly + * @enum {string} + */ +export type Protocol = 'http' | 'https'; + +/** + * Defines values for ContentFormat. + * Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', + * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link' + * @readonly + * @enum {string} + */ +export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link'; + +/** + * Defines values for SoapApiType. + * Possible values include: 'SoapToRest', 'SoapPassThrough' + * @readonly + * @enum {string} + */ +export type SoapApiType = 'http' | 'soap'; + +/** + * Defines values for ApiType. + * Possible values include: 'http', 'soap' + * @readonly + * @enum {string} + */ +export type ApiType = 'http' | 'soap'; + +/** + * Defines values for State. + * Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed' + * @readonly + * @enum {string} + */ +export type State = 'proposed' | 'open' | 'removed' | 'resolved' | 'closed'; + +/** + * Defines values for DataMaskingMode. + * Possible values include: 'Mask', 'Hide' + * @readonly + * @enum {string} + */ +export type DataMaskingMode = 'Mask' | 'Hide'; + +/** + * Defines values for SamplingType. + * Possible values include: 'fixed' + * @readonly + * @enum {string} + */ +export type SamplingType = 'fixed'; + +/** + * Defines values for AlwaysLog. + * Possible values include: 'allErrors' + * @readonly + * @enum {string} + */ +export type AlwaysLog = 'allErrors'; + +/** + * Defines values for HttpCorrelationProtocol. + * Possible values include: 'None', 'Legacy', 'W3C' + * @readonly + * @enum {string} + */ +export type HttpCorrelationProtocol = 'None' | 'Legacy' | 'W3C'; + +/** + * Defines values for Verbosity. + * Possible values include: 'verbose', 'information', 'error' + * @readonly + * @enum {string} + */ +export type Verbosity = 'verbose' | 'information' | 'error'; + +/** + * Defines values for OperationNameFormat. + * Possible values include: 'Name', 'Url' + * @readonly + * @enum {string} + */ +export type OperationNameFormat = 'Name' | 'Url'; + +/** + * Defines values for PolicyContentFormat. + * Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link' + * @readonly + * @enum {string} + */ +export type PolicyContentFormat = 'xml' | 'xml-link' | 'rawxml' | 'rawxml-link'; + +/** + * Defines values for VersioningScheme. + * Possible values include: 'Segment', 'Query', 'Header' + * @readonly + * @enum {string} + */ +export type VersioningScheme = 'Segment' | 'Query' | 'Header'; + +/** + * Defines values for GrantType. + * Possible values include: 'authorizationCode', 'implicit', 'resourceOwnerPassword', + * 'clientCredentials' + * @readonly + * @enum {string} + */ +export type GrantType = 'authorizationCode' | 'implicit' | 'resourceOwnerPassword' | 'clientCredentials'; + +/** + * Defines values for AuthorizationMethod. + * Possible values include: 'HEAD', 'OPTIONS', 'TRACE', 'GET', 'POST', 'PUT', 'PATCH', 'DELETE' + * @readonly + * @enum {string} + */ +export type AuthorizationMethod = 'HEAD' | 'OPTIONS' | 'TRACE' | 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; + +/** + * Defines values for ClientAuthenticationMethod. + * Possible values include: 'Basic', 'Body' + * @readonly + * @enum {string} + */ +export type ClientAuthenticationMethod = 'Basic' | 'Body'; + +/** + * Defines values for BearerTokenSendingMethod. + * Possible values include: 'authorizationHeader', 'query' + * @readonly + * @enum {string} + */ +export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; + +/** + * Defines values for BackendProtocol. + * Possible values include: 'http', 'soap' + * @readonly + * @enum {string} + */ +export type BackendProtocol = 'http' | 'soap'; + +/** + * Defines values for SkuType. + * Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', 'Consumption', 'Isolated' + * @readonly + * @enum {string} + */ +export type SkuType = 'Developer' | 'Standard' | 'Premium' | 'Basic' | 'Consumption' | 'Isolated'; + +/** + * Defines values for ResourceSkuCapacityScaleType. + * Possible values include: 'automatic', 'manual', 'none' + * @readonly + * @enum {string} + */ +export type ResourceSkuCapacityScaleType = 'automatic' | 'manual' | 'none'; + +/** + * Defines values for HostnameType. + * Possible values include: 'Proxy', 'Portal', 'Management', 'Scm', 'DeveloperPortal' + * @readonly + * @enum {string} + */ +export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'DeveloperPortal'; + +/** + * Defines values for VirtualNetworkType. + * Possible values include: 'None', 'External', 'Internal' + * @readonly + * @enum {string} + */ +export type VirtualNetworkType = 'None' | 'External' | 'Internal'; + +/** + * Defines values for ApimIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' + * @readonly + * @enum {string} + */ +export type ApimIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; + +/** + * Defines values for NameAvailabilityReason. + * Possible values include: 'Valid', 'Invalid', 'AlreadyExists' + * @readonly + * @enum {string} + */ +export type NameAvailabilityReason = 'Valid' | 'Invalid' | 'AlreadyExists'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'created' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'created'; + +/** + * Defines values for KeyType. + * Possible values include: 'primary', 'secondary' + * @readonly + * @enum {string} + */ +export type KeyType = 'primary' | 'secondary'; + +/** + * Defines values for AppType. + * Possible values include: 'portal', 'developerPortal' + * @readonly + * @enum {string} + */ +export type AppType = 'portal' | 'developerPortal'; + +/** + * Defines values for Confirmation. + * Possible values include: 'signup', 'invite' + * @readonly + * @enum {string} + */ +export type Confirmation = 'signup' | 'invite'; + +/** + * Defines values for UserState. + * Possible values include: 'active', 'blocked', 'pending', 'deleted' + * @readonly + * @enum {string} + */ +export type UserState = 'active' | 'blocked' | 'pending' | 'deleted'; + +/** + * Defines values for GroupType. + * Possible values include: 'custom', 'system', 'external' + * @readonly + * @enum {string} + */ +export type GroupType = 'custom' | 'system' | 'external'; + +/** + * Defines values for IdentityProviderType. + * Possible values include: 'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' + * @readonly + * @enum {string} + */ +export type IdentityProviderType = 'facebook' | 'google' | 'microsoft' | 'twitter' | 'aad' | 'aadB2C'; + +/** + * Defines values for LoggerType. + * Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' + * @readonly + * @enum {string} + */ +export type LoggerType = 'azureEventHub' | 'applicationInsights' | 'azureMonitor'; + +/** + * Defines values for ConnectivityStatusType. + * Possible values include: 'initializing', 'success', 'failure' + * @readonly + * @enum {string} + */ +export type ConnectivityStatusType = 'initializing' | 'success' | 'failure'; + +/** + * Defines values for PortalRevisionStatus. + * Possible values include: 'pending', 'publishing', 'completed', 'failed' + * @readonly + * @enum {string} + */ +export type PortalRevisionStatus = 'pending' | 'publishing' | 'completed' | 'failed'; + +/** + * Defines values for SubscriptionState. + * Possible values include: 'suspended', 'active', 'expired', 'submitted', 'rejected', 'cancelled' + * @readonly + * @enum {string} + */ +export type SubscriptionState = 'suspended' | 'active' | 'expired' | 'submitted' | 'rejected' | 'cancelled'; + +/** + * Defines values for AsyncOperationStatus. + * Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' + * @readonly + * @enum {string} + */ +export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; + +/** + * Defines values for AccessIdName. + * Possible values include: 'access', 'getAccess' + * @readonly + * @enum {string} + */ +export type AccessIdName = 'access' | 'getAccess'; + +/** + * Defines values for NotificationName. + * Possible values include: 'RequestPublisherNotificationMessage', + * 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', + * 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + * 'QuotaLimitApproachingPublisherNotificationMessage' + * @readonly + * @enum {string} + */ +export type NotificationName = 'RequestPublisherNotificationMessage' | 'PurchasePublisherNotificationMessage' | 'NewApplicationNotificationMessage' | 'BCC' | 'NewIssuePublisherNotificationMessage' | 'AccountClosedPublisher' | 'QuotaLimitApproachingPublisherNotificationMessage'; + +/** + * Defines values for PolicyExportFormat. + * Possible values include: 'xml', 'rawxml' + * @readonly + * @enum {string} + */ +export type PolicyExportFormat = 'xml' | 'rawxml'; + +/** + * Defines values for TemplateName. + * Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', + * 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', + * 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', + * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', + * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', + * 'requestDeveloperNotificationMessage' + * @readonly + * @enum {string} + */ +export type TemplateName = 'applicationApprovedNotificationMessage' | 'accountClosedDeveloper' | 'quotaLimitApproachingDeveloperNotificationMessage' | 'newDeveloperNotificationMessage' | 'emailChangeIdentityDefault' | 'inviteUserNotificationMessage' | 'newCommentNotificationMessage' | 'confirmSignUpIdentityDefault' | 'newIssueNotificationMessage' | 'purchaseDeveloperNotificationMessage' | 'passwordResetIdentityDefault' | 'passwordResetByAdminNotificationMessage' | 'rejectDeveloperNotificationMessage' | 'requestDeveloperNotificationMessage'; + +/** + * Defines values for PolicyScopeContract. + * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' + * @readonly + * @enum {string} + */ +export type PolicyScopeContract = 'Tenant' | 'Product' | 'Api' | 'Operation' | 'All'; + +/** + * Defines values for ExportFormat. + * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson' + * @readonly + * @enum {string} + */ +export type ExportFormat = 'swagger-link' | 'wsdl-link' | 'wadl-link' | 'openapi-link' | 'openapi+json-link'; + +/** + * Defines values for VersioningScheme1. + * Possible values include: 'Segment', 'Query', 'Header' + * @readonly + * @enum {string} + */ +export type VersioningScheme1 = 'Segment' | 'Query' | 'Header'; + +/** + * Defines values for StoreName. + * Possible values include: 'CertificateAuthority', 'Root' + * @readonly + * @enum {string} + */ +export type StoreName = 'CertificateAuthority' | 'Root'; + +/** + * Contains response data for the listByService operation. + */ +export type ApiListByServiceResponse = ApiCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiGetResponse = ApiContract & ApiGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ApiUpdateResponse = ApiContract & ApiUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiContract; + }; +}; + +/** + * Contains response data for the listByTags operation. + */ +export type ApiListByTagsResponse = TagResourceCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagResourceCollection; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type ApiListByServiceNextResponse = ApiCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiCollection; + }; +}; + +/** + * Contains response data for the listByTagsNext operation. + */ +export type ApiListByTagsNextResponse = TagResourceCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagResourceCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiRevisionCollection; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiRevisionCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type ApiReleaseListByServiceResponse = ApiReleaseCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ApiReleaseUpdateResponse = ApiReleaseContract & ApiReleaseUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseCollection; + }; +}; + +/** + * Contains response data for the listByApi operation. + */ +export type ApiOperationListByApiResponse = OperationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationContract; + }; +}; /** - * Defines values for ExportFormat. - * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ExportFormat = 'swagger-link' | 'wsdl-link' | 'wadl-link' | 'openapi-link' | 'openapi+json-link'; +export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationContract; + }; +}; /** - * Defines values for VersioningScheme1. - * Possible values include: 'Segment', 'Query', 'Header' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type VersioningScheme1 = 'Segment' | 'Query' | 'Header'; +export type ApiOperationUpdateResponse = OperationContract & ApiOperationUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationContract; + }; +}; /** - * Defines values for StoreName. - * Possible values include: 'CertificateAuthority', 'Root' - * @readonly - * @enum {string} + * Contains response data for the listByApiNext operation. */ -export type StoreName = 'CertificateAuthority' | 'Root'; +export type ApiOperationListByApiNextResponse = OperationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationCollection; + }; +}; /** - * Contains response data for the listByService operation. + * Contains response data for the listByOperation operation. */ -export type ApiListByServiceResponse = ApiCollection & { +export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { /** * The underlying HTTP response. */ @@ -8612,14 +11238,14 @@ export type ApiListByServiceResponse = ApiCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiCollection; + parsedBody: PolicyCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { +export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -8627,14 +11253,14 @@ export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiGetEntityTagHeaders; + parsedHeaders: ApiOperationPolicyGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiGetResponse = ApiContract & ApiGetHeaders & { +export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyGetHeaders & { /** * The underlying HTTP response. */ @@ -8642,7 +11268,7 @@ export type ApiGetResponse = ApiContract & ApiGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiGetHeaders; + parsedHeaders: ApiOperationPolicyGetHeaders; /** * The response body as text (string format) @@ -8652,14 +11278,14 @@ export type ApiGetResponse = ApiContract & ApiGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiContract; + parsedBody: PolicyContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & { +export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOperationPolicyCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -8667,7 +11293,7 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiCreateOrUpdateHeaders; + parsedHeaders: ApiOperationPolicyCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -8677,14 +11303,14 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: ApiContract; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByTags operation. + * Contains response data for the listByOperation operation. */ -export type ApiListByTagsResponse = TagResourceCollection & { +export type TagListByOperationResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8697,14 +11323,54 @@ export type ApiListByTagsResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the getEntityStateByOperation operation. */ -export type ApiListByServiceNextResponse = ApiCollection & { +export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetEntityStateByOperationHeaders; + }; +}; + +/** + * Contains response data for the getByOperation operation. + */ +export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetByOperationHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; + }; +}; + +/** + * Contains response data for the assignToOperation operation. + */ +export type TagAssignToOperationResponse = TagContract & { /** * The underlying HTTP response. */ @@ -8717,14 +11383,14 @@ export type ApiListByServiceNextResponse = ApiCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByTagsNext operation. + * Contains response data for the listByApi operation. */ -export type ApiListByTagsNextResponse = TagResourceCollection & { +export type TagListByApiResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8737,18 +11403,38 @@ export type ApiListByTagsNextResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the getEntityStateByApi operation. */ -export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { +export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetEntityStateByApiHeaders; + }; +}; + +/** + * Contains response data for the getByApi operation. + */ +export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetByApiHeaders; + /** * The response body as text (string format) */ @@ -8757,18 +11443,23 @@ export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiRevisionCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the assignToApi operation. */ -export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { +export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagAssignToApiHeaders; + /** * The response body as text (string format) */ @@ -8777,14 +11468,14 @@ export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiRevisionCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByProduct operation. */ -export type ApiReleaseListByServiceResponse = ApiReleaseCollection & { +export type TagListByProductResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8797,14 +11488,14 @@ export type ApiReleaseListByServiceResponse = ApiReleaseCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the getEntityStateByProduct operation. */ -export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { +export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeaders & { /** * The underlying HTTP response. */ @@ -8812,14 +11503,14 @@ export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseGetEntityTagHeaders; + parsedHeaders: TagGetEntityStateByProductHeaders; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByProduct operation. */ -export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & { +export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The underlying HTTP response. */ @@ -8827,7 +11518,7 @@ export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseGetHeaders; + parsedHeaders: TagGetByProductHeaders; /** * The response body as text (string format) @@ -8837,23 +11528,18 @@ export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the assignToProduct operation. */ -export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCreateOrUpdateHeaders & { +export type TagAssignToProductResponse = TagContract & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiReleaseCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -8862,14 +11548,14 @@ export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCr /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listByService operation. */ -export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { +export type TagListByServiceResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8882,18 +11568,38 @@ export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the getEntityState operation. */ -export type ApiOperationListByApiResponse = OperationCollection & { +export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetEntityStateHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type TagGetResponse = TagContract & TagGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetHeaders; + /** * The response body as text (string format) */ @@ -8902,14 +11608,14 @@ export type ApiOperationListByApiResponse = OperationCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { +export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -8917,14 +11623,24 @@ export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetEntityTagHeaders; + parsedHeaders: TagCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { +export type TagUpdateResponse = TagContract & TagUpdateHeaders & { /** * The underlying HTTP response. */ @@ -8932,7 +11648,7 @@ export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetHeaders; + parsedHeaders: TagUpdateHeaders; /** * The response body as text (string format) @@ -8942,23 +11658,18 @@ export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders /** * The response body as parsed JSON or XML */ - parsedBody: OperationContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByOperationNext operation. */ -export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { +export type TagListByOperationNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -8967,14 +11678,14 @@ export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperatio /** * The response body as parsed JSON or XML */ - parsedBody: OperationContract; + parsedBody: TagCollection; }; }; /** * Contains response data for the listByApiNext operation. */ -export type ApiOperationListByApiNextResponse = OperationCollection & { +export type TagListByApiNextResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8987,14 +11698,14 @@ export type ApiOperationListByApiNextResponse = OperationCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByOperation operation. + * Contains response data for the listByProductNext operation. */ -export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { +export type TagListByProductNextResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -9007,38 +11718,38 @@ export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { +export type TagListByServiceNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: ApiOperationPolicyGetEntityTagHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByApis operation. */ -export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyGetHeaders & { +export type ApiProductListByApisResponse = ProductCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyGetHeaders; - /** * The response body as text (string format) */ @@ -9047,23 +11758,18 @@ export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyG /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: ProductCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByApisNext operation. */ -export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOperationPolicyCreateOrUpdateHeaders & { +export type ApiProductListByApisNextResponse = ProductCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -9072,14 +11778,14 @@ export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOpera /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: ProductCollection; }; }; /** - * Contains response data for the listByOperation operation. + * Contains response data for the listByApi operation. */ -export type TagListByOperationResponse = TagCollection & { +export type ApiPolicyListByApiResponse = PolicyCollection & { /** * The underlying HTTP response. */ @@ -9092,14 +11798,14 @@ export type TagListByOperationResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: PolicyCollection; }; }; /** - * Contains response data for the getEntityStateByOperation operation. + * Contains response data for the getEntityTag operation. */ -export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { +export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9107,14 +11813,14 @@ export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationH /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetEntityStateByOperationHeaders; + parsedHeaders: ApiPolicyGetEntityTagHeaders; }; }; /** - * Contains response data for the getByOperation operation. + * Contains response data for the get operation. */ -export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { +export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The underlying HTTP response. */ @@ -9122,7 +11828,7 @@ export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByOperationHeaders; + parsedHeaders: ApiPolicyGetHeaders; /** * The response body as text (string format) @@ -9132,18 +11838,23 @@ export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the assignToOperation operation. + * Contains response data for the createOrUpdate operation. */ -export type TagAssignToOperationResponse = TagContract & { +export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiPolicyCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -9152,14 +11863,14 @@ export type TagAssignToOperationResponse = TagContract & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: PolicyContract; }; }; /** * Contains response data for the listByApi operation. */ -export type TagListByApiResponse = TagCollection & { +export type ApiSchemaListByApiResponse = SchemaCollection & { /** * The underlying HTTP response. */ @@ -9172,14 +11883,14 @@ export type TagListByApiResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: SchemaCollection; }; }; /** - * Contains response data for the getEntityStateByApi operation. + * Contains response data for the getEntityTag operation. */ -export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { +export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9187,14 +11898,14 @@ export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetEntityStateByApiHeaders; + parsedHeaders: ApiSchemaGetEntityTagHeaders; }; }; /** - * Contains response data for the getByApi operation. + * Contains response data for the get operation. */ -export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { +export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The underlying HTTP response. */ @@ -9202,7 +11913,7 @@ export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByApiHeaders; + parsedHeaders: ApiSchemaGetHeaders; /** * The response body as text (string format) @@ -9212,14 +11923,14 @@ export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: SchemaContract; }; }; /** - * Contains response data for the assignToApi operation. + * Contains response data for the createOrUpdate operation. */ -export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { +export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9227,7 +11938,7 @@ export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagAssignToApiHeaders; + parsedHeaders: ApiSchemaCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9237,14 +11948,14 @@ export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: SchemaContract; }; }; /** - * Contains response data for the listByProduct operation. + * Contains response data for the listByApiNext operation. */ -export type TagListByProductResponse = TagCollection & { +export type ApiSchemaListByApiNextResponse = SchemaCollection & { /** * The underlying HTTP response. */ @@ -9257,38 +11968,18 @@ export type TagListByProductResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; - }; -}; - -/** - * Contains response data for the getEntityStateByProduct operation. - */ -export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagGetEntityStateByProductHeaders; + parsedBody: SchemaCollection; }; }; /** - * Contains response data for the getByProduct operation. + * Contains response data for the listByService operation. */ -export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { +export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagGetByProductHeaders; - /** * The response body as text (string format) */ @@ -9297,38 +11988,38 @@ export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: DiagnosticCollection; }; }; /** - * Contains response data for the assignToProduct operation. + * Contains response data for the getEntityTag operation. */ -export type TagAssignToProductResponse = TagContract & { +export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML + * The parsed HTTP response headers. */ - parsedBody: TagContract; + parsedHeaders: ApiDiagnosticGetEntityTagHeaders; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the get operation. */ -export type TagListByServiceResponse = TagCollection & { +export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiDiagnosticGetHeaders; + /** * The response body as text (string format) */ @@ -9337,14 +12028,14 @@ export type TagListByServiceResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: DiagnosticContract; }; }; /** - * Contains response data for the getEntityState operation. + * Contains response data for the createOrUpdate operation. */ -export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { +export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagnosticCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9352,14 +12043,24 @@ export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetEntityStateHeaders; + parsedHeaders: ApiDiagnosticCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DiagnosticContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type TagGetResponse = TagContract & TagGetHeaders & { +export type ApiDiagnosticUpdateResponse = DiagnosticContract & ApiDiagnosticUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9367,7 +12068,7 @@ export type TagGetResponse = TagContract & TagGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetHeaders; + parsedHeaders: ApiDiagnosticUpdateHeaders; /** * The response body as text (string format) @@ -9377,23 +12078,18 @@ export type TagGetResponse = TagContract & TagGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: DiagnosticContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServiceNext operation. */ -export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & { +export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -9402,14 +12098,14 @@ export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: DiagnosticCollection; }; }; /** - * Contains response data for the listByOperationNext operation. + * Contains response data for the listByService operation. */ -export type TagListByOperationNextResponse = TagCollection & { +export type ApiIssueListByServiceResponse = IssueCollection & { /** * The underlying HTTP response. */ @@ -9422,38 +12118,38 @@ export type TagListByOperationNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: IssueCollection; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the getEntityTag operation. */ -export type TagListByApiNextResponse = TagCollection & { +export type ApiIssueGetEntityTagResponse = ApiIssueGetEntityTagHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML + * The parsed HTTP response headers. */ - parsedBody: TagCollection; + parsedHeaders: ApiIssueGetEntityTagHeaders; }; }; /** - * Contains response data for the listByProductNext operation. + * Contains response data for the get operation. */ -export type TagListByProductNextResponse = TagCollection & { +export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiIssueGetHeaders; + /** * The response body as text (string format) */ @@ -9462,18 +12158,23 @@ export type TagListByProductNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: IssueContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type TagListByServiceNextResponse = TagCollection & { +export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiIssueCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -9482,18 +12183,23 @@ export type TagListByServiceNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: IssueContract; }; }; /** - * Contains response data for the listByApis operation. + * Contains response data for the update operation. */ -export type ApiProductListByApisResponse = ProductCollection & { +export type ApiIssueUpdateResponse = IssueContract & ApiIssueUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiIssueUpdateHeaders; + /** * The response body as text (string format) */ @@ -9502,14 +12208,14 @@ export type ApiProductListByApisResponse = ProductCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ProductCollection; + parsedBody: IssueContract; }; }; /** - * Contains response data for the listByApisNext operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiProductListByApisNextResponse = ProductCollection & { +export type ApiIssueListByServiceNextResponse = IssueCollection & { /** * The underlying HTTP response. */ @@ -9522,14 +12228,14 @@ export type ApiProductListByApisNextResponse = ProductCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ProductCollection; + parsedBody: IssueCollection; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the listByService operation. */ -export type ApiPolicyListByApiResponse = PolicyCollection & { +export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { /** * The underlying HTTP response. */ @@ -9542,14 +12248,14 @@ export type ApiPolicyListByApiResponse = PolicyCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyCollection; + parsedBody: IssueCommentCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { +export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9557,14 +12263,14 @@ export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyGetEntityTagHeaders; + parsedHeaders: ApiIssueCommentGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { +export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentGetHeaders & { /** * The underlying HTTP response. */ @@ -9572,7 +12278,7 @@ export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyGetHeaders; + parsedHeaders: ApiIssueCommentGetHeaders; /** * The response body as text (string format) @@ -9582,14 +12288,14 @@ export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: IssueCommentContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOrUpdateHeaders & { +export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIssueCommentCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9597,7 +12303,7 @@ export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyCreateOrUpdateHeaders; + parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9607,14 +12313,14 @@ export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOr /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: IssueCommentContract; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiSchemaListByApiResponse = SchemaCollection & { +export type ApiIssueCommentListByServiceNextResponse = IssueCommentCollection & { /** * The underlying HTTP response. */ @@ -9627,14 +12333,34 @@ export type ApiSchemaListByApiResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: IssueCommentCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IssueAttachmentCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { +export type ApiIssueAttachmentGetEntityTagResponse = ApiIssueAttachmentGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9642,14 +12368,14 @@ export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaGetEntityTagHeaders; + parsedHeaders: ApiIssueAttachmentGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { +export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAttachmentGetHeaders & { /** * The underlying HTTP response. */ @@ -9657,7 +12383,7 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaGetHeaders; + parsedHeaders: ApiIssueAttachmentGetHeaders; /** * The response body as text (string format) @@ -9667,14 +12393,14 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: IssueAttachmentContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOrUpdateHeaders & { +export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & ApiIssueAttachmentCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9682,7 +12408,7 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaCreateOrUpdateHeaders; + parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9692,14 +12418,14 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: IssueAttachmentContract; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiSchemaListByApiNextResponse = SchemaCollection & { +export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollection & { /** * The underlying HTTP response. */ @@ -9712,14 +12438,14 @@ export type ApiSchemaListByApiNextResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: IssueAttachmentCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { +export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & { /** * The underlying HTTP response. */ @@ -9732,14 +12458,14 @@ export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticCollection; + parsedBody: TagDescriptionCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders & { +export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9747,14 +12473,14 @@ export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticGetEntityTagHeaders; + parsedHeaders: ApiTagDescriptionGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHeaders & { +export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescriptionGetHeaders & { /** * The underlying HTTP response. */ @@ -9762,7 +12488,7 @@ export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHead /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticGetHeaders; + parsedHeaders: ApiTagDescriptionGetHeaders; /** * The response body as text (string format) @@ -9772,14 +12498,14 @@ export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHead /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticContract; + parsedBody: TagDescriptionContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagnosticCreateOrUpdateHeaders & { +export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & ApiTagDescriptionCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9787,7 +12513,7 @@ export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagno /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticCreateOrUpdateHeaders; + parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9797,14 +12523,14 @@ export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagno /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticContract; + parsedBody: TagDescriptionContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { +export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollection & { /** * The underlying HTTP response. */ @@ -9817,14 +12543,14 @@ export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticCollection; + parsedBody: TagDescriptionCollection; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByTags operation. */ -export type ApiIssueListByServiceResponse = IssueCollection & { +export type OperationListByTagsResponse = TagResourceCollection & { /** * The underlying HTTP response. */ @@ -9837,38 +12563,38 @@ export type ApiIssueListByServiceResponse = IssueCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCollection; + parsedBody: TagResourceCollection; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the listByTagsNext operation. */ -export type ApiIssueGetEntityTagResponse = ApiIssueGetEntityTagHeaders & { +export type OperationListByTagsNextResponse = TagResourceCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: ApiIssueGetEntityTagHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagResourceCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByService operation. */ -export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { +export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiIssueGetHeaders; - /** * The response body as text (string format) */ @@ -9877,14 +12603,14 @@ export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueContract; + parsedBody: ApiVersionSetCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getEntityTag operation. */ -export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpdateHeaders & { +export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9892,28 +12618,23 @@ export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCreateOrUpdateHeaders; - - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IssueContract; + parsedHeaders: ApiVersionSetGetEntityTagHeaders; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the get operation. */ -export type ApiIssueListByServiceNextResponse = IssueCollection & { +export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiVersionSetGetHeaders; + /** * The response body as text (string format) */ @@ -9922,18 +12643,23 @@ export type ApiIssueListByServiceNextResponse = IssueCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCollection; + parsedBody: ApiVersionSetContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { +export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVersionSetCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -9942,14 +12668,14 @@ export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentCollection; + parsedBody: ApiVersionSetContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the update operation. */ -export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHeaders & { +export type ApiVersionSetUpdateResponse = ApiVersionSetContract & ApiVersionSetUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9957,23 +12683,28 @@ export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHea /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCommentGetEntityTagHeaders; + parsedHeaders: ApiVersionSetUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiVersionSetContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentGetHeaders & { +export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiIssueCommentGetHeaders; - /** * The response body as text (string format) */ @@ -9982,23 +12713,18 @@ export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentG /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentContract; + parsedBody: ApiVersionSetCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByService operation. */ -export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIssueCommentCreateOrUpdateHeaders & { +export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -10007,38 +12733,38 @@ export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIs /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentContract; + parsedBody: AuthorizationServerCollection; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the getEntityTag operation. */ -export type ApiIssueCommentListByServiceNextResponse = IssueCommentCollection & { +export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML + * The parsed HTTP response headers. */ - parsedBody: IssueCommentCollection; + parsedHeaders: AuthorizationServerGetEntityTagHeaders; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the get operation. */ -export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection & { +export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: AuthorizationServerGetHeaders; + /** * The response body as text (string format) */ @@ -10047,29 +12773,39 @@ export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentCollection; + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiIssueAttachmentGetEntityTagResponse = ApiIssueAttachmentGetEntityTagHeaders & { +export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The parsed HTTP response headers. + */ + parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; + + /** + * The response body as text (string format) */ - parsedHeaders: ApiIssueAttachmentGetEntityTagHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAttachmentGetHeaders & { +export type AuthorizationServerUpdateResponse = AuthorizationServerContract & AuthorizationServerUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10077,7 +12813,7 @@ export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAt /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentGetHeaders; + parsedHeaders: AuthorizationServerUpdateHeaders; /** * The response body as text (string format) @@ -10087,14 +12823,14 @@ export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAt /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentContract; + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listSecrets operation. */ -export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & ApiIssueAttachmentCreateOrUpdateHeaders & { +export type AuthorizationServerListSecretsResponse = AuthorizationServerSecretsContract & AuthorizationServerListSecretsHeaders & { /** * The underlying HTTP response. */ @@ -10102,7 +12838,7 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; + parsedHeaders: AuthorizationServerListSecretsHeaders; /** * The response body as text (string format) @@ -10112,14 +12848,14 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentContract; + parsedBody: AuthorizationServerSecretsContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollection & { +export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCollection & { /** * The underlying HTTP response. */ @@ -10132,14 +12868,14 @@ export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollect /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentCollection; + parsedBody: AuthorizationServerCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & { +export type BackendListByServiceResponse = BackendCollection & { /** * The underlying HTTP response. */ @@ -10152,14 +12888,14 @@ export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionCollection; + parsedBody: BackendCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTagHeaders & { +export type BackendGetEntityTagResponse = BackendGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10167,14 +12903,14 @@ export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTa /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionGetEntityTagHeaders; + parsedHeaders: BackendGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescriptionGetHeaders & { +export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The underlying HTTP response. */ @@ -10182,7 +12918,7 @@ export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescri /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionGetHeaders; + parsedHeaders: BackendGetHeaders; /** * The response body as text (string format) @@ -10192,14 +12928,14 @@ export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescri /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionContract; + parsedBody: BackendContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & ApiTagDescriptionCreateOrUpdateHeaders & { +export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10207,7 +12943,7 @@ export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & A /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; + parsedHeaders: BackendCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10217,18 +12953,23 @@ export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & A /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionContract; + parsedBody: BackendContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the update operation. */ -export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollection & { +export type BackendUpdateResponse = BackendContract & BackendUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: BackendUpdateHeaders; + /** * The response body as text (string format) */ @@ -10237,14 +12978,14 @@ export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollectio /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionCollection; + parsedBody: BackendContract; }; }; /** - * Contains response data for the listByTags operation. + * Contains response data for the listByServiceNext operation. */ -export type OperationListByTagsResponse = TagResourceCollection & { +export type BackendListByServiceNextResponse = BackendCollection & { /** * The underlying HTTP response. */ @@ -10257,14 +12998,14 @@ export type OperationListByTagsResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: BackendCollection; }; }; /** - * Contains response data for the listByTagsNext operation. + * Contains response data for the listByService operation. */ -export type OperationListByTagsNextResponse = TagResourceCollection & { +export type CacheListByServiceResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10277,34 +13018,29 @@ export type OperationListByTagsNextResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: CacheCollection; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the getEntityTag operation. */ -export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { +export type CacheGetEntityTagResponse = CacheGetEntityTagHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML + * The parsed HTTP response headers. */ - parsedBody: ApiVersionSetCollection; + parsedHeaders: CacheGetEntityTagHeaders; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the get operation. */ -export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders & { +export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The underlying HTTP response. */ @@ -10312,14 +13048,24 @@ export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetEntityTagHeaders; + parsedHeaders: CacheGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: CacheContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetHeaders & { +export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10327,7 +13073,7 @@ export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetH /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetHeaders; + parsedHeaders: CacheCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10337,14 +13083,14 @@ export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetH /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetContract; + parsedBody: CacheContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVersionSetCreateOrUpdateHeaders & { +export type CacheUpdateResponse = CacheContract & CacheUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10352,7 +13098,7 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; + parsedHeaders: CacheUpdateHeaders; /** * The response body as text (string format) @@ -10362,14 +13108,14 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetContract; + parsedBody: CacheContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { +export type CacheListByServiceNextResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10382,14 +13128,14 @@ export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetCollection; + parsedBody: CacheCollection; }; }; /** * Contains response data for the listByService operation. */ -export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { +export type CertificateListByServiceResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -10402,14 +13148,14 @@ export type AuthorizationServerListByServiceResponse = AuthorizationServerCollec /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerCollection; + parsedBody: CertificateCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { +export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10417,14 +13163,14 @@ export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEnti /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetEntityTagHeaders; + parsedHeaders: CertificateGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { +export type CertificateGetResponse = CertificateContract & CertificateGetHeaders & { /** * The underlying HTTP response. */ @@ -10432,7 +13178,7 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetHeaders; + parsedHeaders: CertificateGetHeaders; /** * The response body as text (string format) @@ -10442,14 +13188,14 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerContract; + parsedBody: CertificateContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { +export type CertificateCreateOrUpdateResponse = CertificateContract & CertificateCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10457,28 +13203,8 @@ export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContr /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; - - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: AuthorizationServerContract; - }; -}; + parsedHeaders: CertificateCreateOrUpdateHeaders; -/** - * Contains response data for the listSecrets operation. - */ -export type AuthorizationServerListSecretsResponse = ClientSecretContract & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { /** * The response body as text (string format) */ @@ -10487,14 +13213,14 @@ export type AuthorizationServerListSecretsResponse = ClientSecretContract & { /** * The response body as parsed JSON or XML */ - parsedBody: ClientSecretContract; + parsedBody: CertificateContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCollection & { +export type CertificateListByServiceNextResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -10507,14 +13233,14 @@ export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCo /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerCollection; + parsedBody: CertificateCollection; }; }; /** * Contains response data for the listByService operation. */ -export type BackendListByServiceResponse = BackendCollection & { +export type ContentTypeListByServiceResponse = ContentTypeCollection & { /** * The underlying HTTP response. */ @@ -10527,29 +13253,14 @@ export type BackendListByServiceResponse = BackendCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: BackendCollection; - }; -}; - -/** - * Contains response data for the getEntityTag operation. - */ -export type BackendGetEntityTagResponse = BackendGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: BackendGetEntityTagHeaders; + parsedBody: ContentTypeCollection; }; }; /** * Contains response data for the get operation. */ -export type BackendGetResponse = BackendContract & BackendGetHeaders & { +export type ContentTypeGetResponse = ContentTypeContract & ContentTypeGetHeaders & { /** * The underlying HTTP response. */ @@ -10557,7 +13268,7 @@ export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: BackendGetHeaders; + parsedHeaders: ContentTypeGetHeaders; /** * The response body as text (string format) @@ -10567,14 +13278,14 @@ export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: BackendContract; + parsedBody: ContentTypeContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpdateHeaders & { +export type ContentTypeCreateOrUpdateResponse = ContentTypeContract & ContentTypeCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10582,7 +13293,7 @@ export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: BackendCreateOrUpdateHeaders; + parsedHeaders: ContentTypeCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10592,14 +13303,14 @@ export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpd /** * The response body as parsed JSON or XML */ - parsedBody: BackendContract; + parsedBody: ContentTypeContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type BackendListByServiceNextResponse = BackendCollection & { +export type ContentTypeListByServiceNextResponse = ContentTypeCollection & { /** * The underlying HTTP response. */ @@ -10612,14 +13323,14 @@ export type BackendListByServiceNextResponse = BackendCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: BackendCollection; + parsedBody: ContentTypeCollection; }; }; /** * Contains response data for the listByService operation. */ -export type CacheListByServiceResponse = CacheCollection & { +export type ContentItemListByServiceResponse = ContentItemCollection & { /** * The underlying HTTP response. */ @@ -10632,14 +13343,14 @@ export type CacheListByServiceResponse = CacheCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CacheCollection; + parsedBody: ContentItemCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type CacheGetEntityTagResponse = CacheGetEntityTagHeaders & { +export type ContentItemGetEntityTagResponse = ContentItemGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10647,14 +13358,14 @@ export type CacheGetEntityTagResponse = CacheGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: CacheGetEntityTagHeaders; + parsedHeaders: ContentItemGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type CacheGetResponse = CacheContract & CacheGetHeaders & { +export type ContentItemGetResponse = ContentItemContract & ContentItemGetHeaders & { /** * The underlying HTTP response. */ @@ -10662,7 +13373,7 @@ export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: CacheGetHeaders; + parsedHeaders: ContentItemGetHeaders; /** * The response body as text (string format) @@ -10672,14 +13383,14 @@ export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: CacheContract; + parsedBody: ContentItemContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHeaders & { +export type ContentItemCreateOrUpdateResponse = ContentItemContract & ContentItemCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10687,7 +13398,7 @@ export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHea /** * The parsed HTTP response headers. */ - parsedHeaders: CacheCreateOrUpdateHeaders; + parsedHeaders: ContentItemCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10697,14 +13408,14 @@ export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHea /** * The response body as parsed JSON or XML */ - parsedBody: CacheContract; + parsedBody: ContentItemContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type CacheListByServiceNextResponse = CacheCollection & { +export type ContentItemListByServiceNextResponse = ContentItemCollection & { /** * The underlying HTTP response. */ @@ -10717,14 +13428,14 @@ export type CacheListByServiceNextResponse = CacheCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CacheCollection; + parsedBody: ContentItemCollection; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listBySubscription operation. */ -export type CertificateListByServiceResponse = CertificateCollection & { +export type DeletedServicesListBySubscriptionResponse = DeletedServicesCollection & { /** * The underlying HTTP response. */ @@ -10737,38 +13448,18 @@ export type CertificateListByServiceResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; - }; -}; - -/** - * Contains response data for the getEntityTag operation. - */ -export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: CertificateGetEntityTagHeaders; + parsedBody: DeletedServicesCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByName operation. */ -export type CertificateGetResponse = CertificateContract & CertificateGetHeaders & { +export type DeletedServicesGetByNameResponse = DeletedServiceContract & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: CertificateGetHeaders; - /** * The response body as text (string format) */ @@ -10777,23 +13468,18 @@ export type CertificateGetResponse = CertificateContract & CertificateGetHeaders /** * The response body as parsed JSON or XML */ - parsedBody: CertificateContract; + parsedBody: DeletedServiceContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the purge operation. */ -export type CertificateCreateOrUpdateResponse = CertificateContract & CertificateCreateOrUpdateHeaders & { +export type DeletedServicesPurgeResponse = DeletedServiceContract & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: CertificateCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -10802,14 +13488,14 @@ export type CertificateCreateOrUpdateResponse = CertificateContract & Certificat /** * The response body as parsed JSON or XML */ - parsedBody: CertificateContract; + parsedBody: DeletedServiceContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type CertificateListByServiceNextResponse = CertificateCollection & { +export type DeletedServicesListBySubscriptionNextResponse = DeletedServicesCollection & { /** * The underlying HTTP response. */ @@ -10822,7 +13508,7 @@ export type CertificateListByServiceNextResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: DeletedServicesCollection; }; }; @@ -11357,7 +14043,32 @@ export type DiagnosticCreateOrUpdateResponse = DiagnosticContract & DiagnosticCr /** * The parsed HTTP response headers. */ - parsedHeaders: DiagnosticCreateOrUpdateHeaders; + parsedHeaders: DiagnosticCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DiagnosticContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type DiagnosticUpdateResponse = DiagnosticContract & DiagnosticUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: DiagnosticUpdateHeaders; /** * The response body as text (string format) @@ -11471,6 +14182,31 @@ export type EmailTemplateCreateOrUpdateResponse = EmailTemplateContract & { }; }; +/** + * Contains response data for the update operation. + */ +export type EmailTemplateUpdateResponse = EmailTemplateContract & EmailTemplateUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: EmailTemplateUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: EmailTemplateContract; + }; +}; + /** * Contains response data for the listByServiceNext operation. */ @@ -11576,6 +14312,31 @@ export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpd }; }; +/** + * Contains response data for the update operation. + */ +export type GatewayUpdateResponse = GatewayContract & GatewayUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GatewayUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GatewayContract; + }; +}; + /** * Contains response data for the listKeys operation. */ @@ -11906,6 +14667,31 @@ export type GroupCreateOrUpdateResponse = GroupContract & GroupCreateOrUpdateHea }; }; +/** + * Contains response data for the update operation. + */ +export type GroupUpdateResponse = GroupContract & GroupUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GroupUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GroupContract; + }; +}; + /** * Contains response data for the listByServiceNext operation. */ @@ -12096,14 +14882,44 @@ export type IdentityProviderCreateOrUpdateResponse = IdentityProviderContract & }; }; +/** + * Contains response data for the update operation. + */ +export type IdentityProviderUpdateResponse = IdentityProviderContract & IdentityProviderUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: IdentityProviderUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IdentityProviderContract; + }; +}; + /** * Contains response data for the listSecrets operation. */ -export type IdentityProviderListSecretsResponse = ClientSecretContract & { +export type IdentityProviderListSecretsResponse = ClientSecretContract & IdentityProviderListSecretsHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: IdentityProviderListSecretsHeaders; + /** * The response body as text (string format) */ @@ -12286,6 +15102,31 @@ export type LoggerCreateOrUpdateResponse = LoggerContract & LoggerCreateOrUpdate }; }; +/** + * Contains response data for the update operation. + */ +export type LoggerUpdateResponse = LoggerContract & LoggerUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: LoggerUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: LoggerContract; + }; +}; + /** * Contains response data for the listByServiceNext operation. */ @@ -12419,11 +15260,16 @@ export type NamedValueUpdateResponse = NamedValueContract & NamedValueUpdateHead /** * Contains response data for the listValue operation. */ -export type NamedValueListValueResponse = PropertyValueContract & { +export type NamedValueListValueResponse = NamedValueSecretContract & NamedValueListValueHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: NamedValueListValueHeaders; + /** * The response body as text (string format) */ @@ -12432,7 +15278,7 @@ export type NamedValueListValueResponse = PropertyValueContract & { /** * The response body as parsed JSON or XML */ - parsedBody: PropertyValueContract; + parsedBody: NamedValueSecretContract; }; }; @@ -12791,14 +15637,149 @@ export type OpenIdConnectProviderCreateOrUpdateResponse = OpenidConnectProviderC }; }; +/** + * Contains response data for the update operation. + */ +export type OpenIdConnectProviderUpdateResponse = OpenidConnectProviderContract & OpenIdConnectProviderUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: OpenIdConnectProviderUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OpenidConnectProviderContract; + }; +}; + /** * Contains response data for the listSecrets operation. */ -export type OpenIdConnectProviderListSecretsResponse = ClientSecretContract & { +export type OpenIdConnectProviderListSecretsResponse = ClientSecretContract & OpenIdConnectProviderListSecretsHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: OpenIdConnectProviderListSecretsHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ClientSecretContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type OpenIdConnectProviderListByServiceNextResponse = OpenIdConnectProviderCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OpenIdConnectProviderCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type PolicyListByServiceResponse = PolicyCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type PolicyGetEntityTagResponse = PolicyGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PolicyGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PolicyGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PolicyCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -12807,14 +15788,14 @@ export type OpenIdConnectProviderListSecretsResponse = ClientSecretContract & { /** * The response body as parsed JSON or XML */ - parsedBody: ClientSecretContract; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listByService operation. */ -export type OpenIdConnectProviderListByServiceNextResponse = OpenIdConnectProviderCollection & { +export type PolicyDescriptionListByServiceResponse = PolicyDescriptionCollection & { /** * The underlying HTTP response. */ @@ -12827,14 +15808,14 @@ export type OpenIdConnectProviderListByServiceNextResponse = OpenIdConnectProvid /** * The response body as parsed JSON or XML */ - parsedBody: OpenIdConnectProviderCollection; + parsedBody: PolicyDescriptionCollection; }; }; /** * Contains response data for the listByService operation. */ -export type PolicyListByServiceResponse = PolicyCollection & { +export type PortalRevisionListByServiceResponse = PortalRevisionCollection & { /** * The underlying HTTP response. */ @@ -12847,14 +15828,14 @@ export type PolicyListByServiceResponse = PolicyCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyCollection; + parsedBody: PortalRevisionCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type PolicyGetEntityTagResponse = PolicyGetEntityTagHeaders & { +export type PortalRevisionGetEntityTagResponse = PortalRevisionGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -12862,14 +15843,14 @@ export type PolicyGetEntityTagResponse = PolicyGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: PolicyGetEntityTagHeaders; + parsedHeaders: PortalRevisionGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { +export type PortalRevisionGetResponse = PortalRevisionContract & PortalRevisionGetHeaders & { /** * The underlying HTTP response. */ @@ -12877,7 +15858,7 @@ export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: PolicyGetHeaders; + parsedHeaders: PortalRevisionGetHeaders; /** * The response body as text (string format) @@ -12887,14 +15868,14 @@ export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: PortalRevisionContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdateHeaders & { +export type PortalRevisionCreateOrUpdateResponse = PortalRevisionContract & PortalRevisionCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -12902,7 +15883,7 @@ export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdate /** * The parsed HTTP response headers. */ - parsedHeaders: PolicyCreateOrUpdateHeaders; + parsedHeaders: PortalRevisionCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -12912,18 +15893,23 @@ export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdate /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: PortalRevisionContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the update operation. */ -export type PolicyDescriptionListByServiceResponse = PolicyDescriptionCollection & { +export type PortalRevisionUpdateResponse = PortalRevisionContract & PortalRevisionUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PortalRevisionUpdateHeaders; + /** * The response body as text (string format) */ @@ -12932,7 +15918,27 @@ export type PolicyDescriptionListByServiceResponse = PolicyDescriptionCollection /** * The response body as parsed JSON or XML */ - parsedBody: PolicyDescriptionCollection; + parsedBody: PortalRevisionContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type PortalRevisionListByServiceNextResponse = PortalRevisionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PortalRevisionCollection; }; }; @@ -13221,6 +16227,31 @@ export type ProductCreateOrUpdateResponse = ProductContract & ProductCreateOrUpd }; }; +/** + * Contains response data for the update operation. + */ +export type ProductUpdateResponse = ProductContract & ProductUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ProductUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ProductContract; + }; +}; + /** * Contains response data for the listByTags operation. */ @@ -13546,6 +16577,26 @@ export type QuotaByCounterKeysListByServiceResponse = QuotaCounterCollection & { }; }; +/** + * Contains response data for the update operation. + */ +export type QuotaByCounterKeysUpdateResponse = QuotaCounterCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: QuotaCounterCollection; + }; +}; + /** * Contains response data for the get operation. */ @@ -13566,6 +16617,26 @@ export type QuotaByPeriodKeysGetResponse = QuotaCounterContract & { }; }; +/** + * Contains response data for the update operation. + */ +export type QuotaByPeriodKeysUpdateResponse = QuotaCounterContract & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: QuotaCounterContract; + }; +}; + /** * Contains response data for the listByService operation. */ @@ -13906,6 +16977,71 @@ export type ReportsListByTimeNextResponse = ReportCollection & { }; }; +/** + * Contains response data for the listByService operation. + */ +export type TenantSettingsListByServiceResponse = TenantSettingsCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TenantSettingsCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type TenantSettingsGetResponse = TenantSettingsContract & TenantSettingsGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TenantSettingsGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TenantSettingsContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type TenantSettingsListByServiceNextResponse = TenantSettingsCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TenantSettingsCollection; + }; +}; + /** * Contains response data for the list operation. */ @@ -13991,14 +17127,44 @@ export type SubscriptionCreateOrUpdateResponse = SubscriptionContract & Subscrip }; }; +/** + * Contains response data for the update operation. + */ +export type SubscriptionUpdateResponse = SubscriptionContract & SubscriptionUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SubscriptionUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SubscriptionContract; + }; +}; + /** * Contains response data for the listSecrets operation. */ -export type SubscriptionListSecretsResponse = SubscriptionKeysContract & { +export type SubscriptionListSecretsResponse = SubscriptionKeysContract & SubscriptionListSecretsHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SubscriptionListSecretsHeaders; + /** * The response body as text (string format) */ @@ -14071,6 +17237,26 @@ export type TagResourceListByServiceNextResponse = TagResourceCollection & { }; }; +/** + * Contains response data for the listByService operation. + */ +export type TenantAccessListByServiceResponse = AccessInformationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AccessInformationCollection; + }; +}; + /** * Contains response data for the getEntityTag operation. */ @@ -14112,9 +17298,9 @@ export type TenantAccessGetResponse = AccessInformationContract & TenantAccessGe }; /** - * Contains response data for the listSecrets operation. + * Contains response data for the create operation. */ -export type TenantAccessListSecretsResponse = AccessInformationContract & TenantAccessListSecretsHeaders & { +export type TenantAccessCreateResponse = AccessInformationContract & TenantAccessCreateHeaders & { /** * The underlying HTTP response. */ @@ -14122,7 +17308,7 @@ export type TenantAccessListSecretsResponse = AccessInformationContract & Tenant /** * The parsed HTTP response headers. */ - parsedHeaders: TenantAccessListSecretsHeaders; + parsedHeaders: TenantAccessCreateHeaders; /** * The response body as text (string format) @@ -14137,9 +17323,9 @@ export type TenantAccessListSecretsResponse = AccessInformationContract & Tenant }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type TenantAccessGitGetResponse = AccessInformationContract & TenantAccessGitGetHeaders & { +export type TenantAccessUpdateResponse = AccessInformationContract & TenantAccessUpdateHeaders & { /** * The underlying HTTP response. */ @@ -14147,7 +17333,7 @@ export type TenantAccessGitGetResponse = AccessInformationContract & TenantAcces /** * The parsed HTTP response headers. */ - parsedHeaders: TenantAccessGitGetHeaders; + parsedHeaders: TenantAccessUpdateHeaders; /** * The response body as text (string format) @@ -14164,7 +17350,7 @@ export type TenantAccessGitGetResponse = AccessInformationContract & TenantAcces /** * Contains response data for the listSecrets operation. */ -export type TenantAccessGitListSecretsResponse = AccessInformationContract & TenantAccessGitListSecretsHeaders & { +export type TenantAccessListSecretsResponse = AccessInformationSecretsContract & TenantAccessListSecretsHeaders & { /** * The underlying HTTP response. */ @@ -14172,7 +17358,7 @@ export type TenantAccessGitListSecretsResponse = AccessInformationContract & Ten /** * The parsed HTTP response headers. */ - parsedHeaders: TenantAccessGitListSecretsHeaders; + parsedHeaders: TenantAccessListSecretsHeaders; /** * The response body as text (string format) @@ -14182,7 +17368,27 @@ export type TenantAccessGitListSecretsResponse = AccessInformationContract & Ten /** * The response body as parsed JSON or XML */ - parsedBody: AccessInformationContract; + parsedBody: AccessInformationSecretsContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type TenantAccessListByServiceNextResponse = AccessInformationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AccessInformationCollection; }; }; @@ -14411,6 +17617,31 @@ export type UserCreateOrUpdateResponse = UserContract & UserCreateOrUpdateHeader }; }; +/** + * Contains response data for the update operation. + */ +export type UserUpdateResponse = UserContract & UserUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: UserUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: UserContract; + }; +}; + /** * Contains response data for the generateSsoUrl operation. */ diff --git a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts index 997f8c08da60..e95f146a921d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +60,9 @@ export { IssueCommentContract, IssueContract, IssueGetHeaders, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -67,6 +76,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index f6fa57322949..2b344b418685 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,12 +58,16 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerCollection, LoggerContract, LoggerCreateOrUpdateHeaders, LoggerGetEntityTagHeaders, LoggerGetHeaders, LoggerUpdateContract, + LoggerUpdateHeaders, NamedValueContract, NamedValueCreateContract, NotificationContract, @@ -70,6 +80,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index 76d5c775cee6..9a18d5f27eb0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -1010,12 +1010,13 @@ export const IssueContractBaseProperties: msRest.CompositeMapper = { } }; -export const IssueUpdateContract: msRest.CompositeMapper = { - serializedName: "IssueUpdateContract", +export const IssueContract: msRest.CompositeMapper = { + serializedName: "IssueContract", type: { name: "Composite", - className: "IssueUpdateContract", + className: "IssueContract", modelProperties: { + ...Resource.type.modelProperties, createdDate: { serializedName: "properties.createdDate", type: { @@ -1035,18 +1036,21 @@ export const IssueUpdateContract: msRest.CompositeMapper = { } }, title: { + required: true, serializedName: "properties.title", type: { name: "String" } }, description: { + required: true, serializedName: "properties.description", type: { name: "String" } }, userId: { + required: true, serializedName: "properties.userId", type: { name: "String" @@ -1056,13 +1060,12 @@ export const IssueUpdateContract: msRest.CompositeMapper = { } }; -export const IssueContract: msRest.CompositeMapper = { - serializedName: "IssueContract", +export const IssueUpdateContract: msRest.CompositeMapper = { + serializedName: "IssueUpdateContract", type: { name: "Composite", - className: "IssueContract", + className: "IssueUpdateContract", modelProperties: { - ...Resource.type.modelProperties, createdDate: { serializedName: "properties.createdDate", type: { @@ -1082,21 +1085,18 @@ export const IssueContract: msRest.CompositeMapper = { } }, title: { - required: true, serializedName: "properties.title", type: { name: "String" } }, description: { - required: true, serializedName: "properties.description", type: { name: "String" } }, userId: { - required: true, serializedName: "properties.userId", type: { name: "String" @@ -1106,6 +1106,62 @@ export const IssueContract: msRest.CompositeMapper = { } }; +export const DataMaskingEntity: msRest.CompositeMapper = { + serializedName: "DataMaskingEntity", + type: { + name: "Composite", + className: "DataMaskingEntity", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "String" + } + }, + mode: { + serializedName: "mode", + type: { + name: "String" + } + } + } + } +}; + +export const DataMasking: msRest.CompositeMapper = { + serializedName: "DataMasking", + type: { + name: "Composite", + className: "DataMasking", + modelProperties: { + queryParams: { + serializedName: "queryParams", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataMaskingEntity" + } + } + } + }, + headers: { + serializedName: "headers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataMaskingEntity" + } + } + } + } + } + } +}; + export const BodyDiagnosticSettings: msRest.CompositeMapper = { serializedName: "BodyDiagnosticSettings", type: { @@ -1148,6 +1204,13 @@ export const HttpMessageDiagnostic: msRest.CompositeMapper = { name: "Composite", className: "BodyDiagnosticSettings" } + }, + dataMasking: { + serializedName: "dataMasking", + type: { + name: "Composite", + className: "DataMasking" + } } } } @@ -1261,6 +1324,12 @@ export const DiagnosticContract: msRest.CompositeMapper = { type: { name: "String" } + }, + operationNameFormat: { + serializedName: "properties.operationNameFormat", + type: { + name: "String" + } } } } @@ -1670,12 +1739,13 @@ export const OperationEntityBaseContract: msRest.CompositeMapper = { } }; -export const OperationUpdateContract: msRest.CompositeMapper = { - serializedName: "OperationUpdateContract", +export const OperationContract: msRest.CompositeMapper = { + serializedName: "OperationContract", type: { name: "Composite", - className: "OperationUpdateContract", + className: "OperationContract", modelProperties: { + ...Resource.type.modelProperties, templateParameters: { serializedName: "properties.templateParameters", type: { @@ -1723,6 +1793,7 @@ export const OperationUpdateContract: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -1733,12 +1804,14 @@ export const OperationUpdateContract: msRest.CompositeMapper = { } }, method: { + required: true, serializedName: "properties.method", type: { name: "String" } }, urlTemplate: { + required: true, serializedName: "properties.urlTemplate", constraints: { MaxLength: 1000, @@ -1752,13 +1825,12 @@ export const OperationUpdateContract: msRest.CompositeMapper = { } }; -export const OperationContract: msRest.CompositeMapper = { - serializedName: "OperationContract", +export const OperationUpdateContract: msRest.CompositeMapper = { + serializedName: "OperationUpdateContract", type: { name: "Composite", - className: "OperationContract", + className: "OperationUpdateContract", modelProperties: { - ...Resource.type.modelProperties, templateParameters: { serializedName: "properties.templateParameters", type: { @@ -1806,7 +1878,6 @@ export const OperationContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -1817,14 +1888,12 @@ export const OperationContract: msRest.CompositeMapper = { } }, method: { - required: true, serializedName: "properties.method", type: { name: "String" } }, urlTemplate: { - required: true, serializedName: "properties.urlTemplate", constraints: { MaxLength: 1000, @@ -1948,12 +2017,13 @@ export const ApiRevisionContract: msRest.CompositeMapper = { } }; -export const ApiUpdateContract: msRest.CompositeMapper = { - serializedName: "ApiUpdateContract", +export const ApiContract: msRest.CompositeMapper = { + serializedName: "ApiContract", type: { name: "Composite", - className: "ApiUpdateContract", + className: "ApiContract", modelProperties: { + ...Resource.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -2042,6 +2112,12 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Boolean" } }, + sourceApiId: { + serializedName: "properties.sourceApiId", + type: { + name: "String" + } + }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2056,13 +2132,14 @@ export const ApiUpdateContract: msRest.CompositeMapper = { serializedName: "properties.serviceUrl", constraints: { MaxLength: 2000, - MinLength: 1 + MinLength: 0 }, type: { name: "String" } }, path: { + required: true, serializedName: "properties.path", constraints: { MaxLength: 400, @@ -2086,18 +2163,24 @@ export const ApiUpdateContract: msRest.CompositeMapper = { } } } + }, + apiVersionSet: { + serializedName: "properties.apiVersionSet", + type: { + name: "Composite", + className: "ApiVersionSetContractDetails" + } } } } }; -export const ApiContract: msRest.CompositeMapper = { - serializedName: "ApiContract", +export const ApiUpdateContract: msRest.CompositeMapper = { + serializedName: "ApiUpdateContract", type: { name: "Composite", - className: "ApiContract", + className: "ApiUpdateContract", modelProperties: { - ...Resource.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -2186,12 +2269,6 @@ export const ApiContract: msRest.CompositeMapper = { name: "Boolean" } }, - sourceApiId: { - serializedName: "properties.sourceApiId", - type: { - name: "String" - } - }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2206,14 +2283,13 @@ export const ApiContract: msRest.CompositeMapper = { serializedName: "properties.serviceUrl", constraints: { MaxLength: 2000, - MinLength: 0 + MinLength: 1 }, type: { name: "String" } }, path: { - required: true, serializedName: "properties.path", constraints: { MaxLength: 400, @@ -2237,13 +2313,6 @@ export const ApiContract: msRest.CompositeMapper = { } } } - }, - apiVersionSet: { - serializedName: "properties.apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } } } } @@ -2467,12 +2536,13 @@ export const ApiVersionSetEntityBase: msRest.CompositeMapper = { } }; -export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { - serializedName: "ApiVersionSetUpdateParameters", +export const ApiVersionSetContract: msRest.CompositeMapper = { + serializedName: "ApiVersionSetContract", type: { name: "Composite", - className: "ApiVersionSetUpdateParameters", + className: "ApiVersionSetContract", modelProperties: { + ...Resource.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -2500,6 +2570,7 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 100, @@ -2510,6 +2581,7 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }, versioningScheme: { + required: true, serializedName: "properties.versioningScheme", type: { name: "String" @@ -2519,13 +2591,12 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }; -export const ApiVersionSetContract: msRest.CompositeMapper = { - serializedName: "ApiVersionSetContract", +export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { + serializedName: "ApiVersionSetUpdateParameters", type: { name: "Composite", - className: "ApiVersionSetContract", + className: "ApiVersionSetUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -2553,7 +2624,6 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 100, @@ -2564,7 +2634,6 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }, versioningScheme: { - required: true, serializedName: "properties.versioningScheme", type: { name: "String" @@ -2574,17 +2643,29 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }; -export const ClientSecretContract: msRest.CompositeMapper = { - serializedName: "ClientSecretContract", +export const AuthorizationServerSecretsContract: msRest.CompositeMapper = { + serializedName: "AuthorizationServerSecretsContract", type: { name: "Composite", - className: "ClientSecretContract", + className: "AuthorizationServerSecretsContract", modelProperties: { clientSecret: { serializedName: "clientSecret", type: { name: "String" } + }, + resourceOwnerUsername: { + serializedName: "resourceOwnerUsername", + type: { + name: "String" + } + }, + resourceOwnerPassword: { + serializedName: "resourceOwnerPassword", + type: { + name: "String" + } } } } @@ -2715,11 +2796,11 @@ export const AuthorizationServerContractBaseProperties: msRest.CompositeMapper = } }; -export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { - serializedName: "AuthorizationServerUpdateContract", +export const AuthorizationServerContract: msRest.CompositeMapper = { + serializedName: "AuthorizationServerContract", type: { name: "Composite", - className: "AuthorizationServerUpdateContract", + className: "AuthorizationServerContract", modelProperties: { ...Resource.type.modelProperties, description: { @@ -2814,6 +2895,7 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50, @@ -2824,18 +2906,21 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, clientRegistrationEndpoint: { + required: true, serializedName: "properties.clientRegistrationEndpoint", type: { name: "String" } }, authorizationEndpoint: { + required: true, serializedName: "properties.authorizationEndpoint", type: { name: "String" } }, grantTypes: { + required: true, serializedName: "properties.grantTypes", type: { name: "Sequence", @@ -2847,6 +2932,7 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, clientId: { + required: true, serializedName: "properties.clientId", type: { name: "String" @@ -2862,11 +2948,11 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }; -export const AuthorizationServerContract: msRest.CompositeMapper = { - serializedName: "AuthorizationServerContract", +export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { + serializedName: "AuthorizationServerUpdateContract", type: { name: "Composite", - className: "AuthorizationServerContract", + className: "AuthorizationServerUpdateContract", modelProperties: { ...Resource.type.modelProperties, description: { @@ -2961,7 +3047,6 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50, @@ -2972,21 +3057,18 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, clientRegistrationEndpoint: { - required: true, serializedName: "properties.clientRegistrationEndpoint", type: { name: "String" } }, authorizationEndpoint: { - required: true, serializedName: "properties.authorizationEndpoint", type: { name: "String" } }, grantTypes: { - required: true, serializedName: "properties.grantTypes", type: { name: "Sequence", @@ -2998,7 +3080,6 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, clientId: { - required: true, serializedName: "properties.clientId", type: { name: "String" @@ -3348,12 +3429,13 @@ export const BackendBaseParameters: msRest.CompositeMapper = { } }; -export const BackendUpdateParameters: msRest.CompositeMapper = { - serializedName: "BackendUpdateParameters", +export const BackendContract: msRest.CompositeMapper = { + serializedName: "BackendContract", type: { name: "Composite", - className: "BackendUpdateParameters", + className: "BackendContract", modelProperties: { + ...Resource.type.modelProperties, title: { serializedName: "properties.title", constraints: { @@ -3413,6 +3495,7 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }, url: { + required: true, serializedName: "properties.url", constraints: { MaxLength: 2000, @@ -3423,6 +3506,7 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }, protocol: { + required: true, serializedName: "properties.protocol", type: { name: "String" @@ -3432,13 +3516,12 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }; -export const BackendContract: msRest.CompositeMapper = { - serializedName: "BackendContract", +export const BackendUpdateParameters: msRest.CompositeMapper = { + serializedName: "BackendUpdateParameters", type: { name: "Composite", - className: "BackendContract", + className: "BackendUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, title: { serializedName: "properties.title", constraints: { @@ -3498,7 +3581,6 @@ export const BackendContract: msRest.CompositeMapper = { } }, url: { - required: true, serializedName: "properties.url", constraints: { MaxLength: 2000, @@ -3509,7 +3591,6 @@ export const BackendContract: msRest.CompositeMapper = { } }, protocol: { - required: true, serializedName: "properties.protocol", type: { name: "String" @@ -3519,12 +3600,13 @@ export const BackendContract: msRest.CompositeMapper = { } }; -export const CacheUpdateParameters: msRest.CompositeMapper = { - serializedName: "CacheUpdateParameters", +export const CacheContract: msRest.CompositeMapper = { + serializedName: "CacheContract", type: { name: "Composite", - className: "CacheUpdateParameters", + className: "CacheContract", modelProperties: { + ...Resource.type.modelProperties, description: { serializedName: "properties.description", constraints: { @@ -3535,6 +3617,7 @@ export const CacheUpdateParameters: msRest.CompositeMapper = { } }, connectionString: { + required: true, serializedName: "properties.connectionString", constraints: { MaxLength: 300 @@ -3543,6 +3626,16 @@ export const CacheUpdateParameters: msRest.CompositeMapper = { name: "String" } }, + useFromLocation: { + required: true, + serializedName: "properties.useFromLocation", + constraints: { + MaxLength: 256 + }, + type: { + name: "String" + } + }, resourceId: { serializedName: "properties.resourceId", constraints: { @@ -3556,13 +3649,12 @@ export const CacheUpdateParameters: msRest.CompositeMapper = { } }; -export const CacheContract: msRest.CompositeMapper = { - serializedName: "CacheContract", +export const CacheUpdateParameters: msRest.CompositeMapper = { + serializedName: "CacheUpdateParameters", type: { name: "Composite", - className: "CacheContract", + className: "CacheUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, description: { serializedName: "properties.description", constraints: { @@ -3573,7 +3665,6 @@ export const CacheContract: msRest.CompositeMapper = { } }, connectionString: { - required: true, serializedName: "properties.connectionString", constraints: { MaxLength: 300 @@ -3582,6 +3673,15 @@ export const CacheContract: msRest.CompositeMapper = { name: "String" } }, + useFromLocation: { + serializedName: "properties.useFromLocation", + constraints: { + MaxLength: 256 + }, + type: { + name: "String" + } + }, resourceId: { serializedName: "properties.resourceId", constraints: { @@ -3595,33 +3695,108 @@ export const CacheContract: msRest.CompositeMapper = { } }; -export const CertificateContract: msRest.CompositeMapper = { - serializedName: "CertificateContract", +export const KeyVaultContractCreateProperties: msRest.CompositeMapper = { + serializedName: "KeyVaultContractCreateProperties", type: { name: "Composite", - className: "CertificateContract", + className: "KeyVaultContractCreateProperties", modelProperties: { - ...Resource.type.modelProperties, - subject: { - required: true, - serializedName: "properties.subject", + secretIdentifier: { + serializedName: "secretIdentifier", type: { name: "String" } }, - thumbprint: { - required: true, - serializedName: "properties.thumbprint", + identityClientId: { + serializedName: "identityClientId", type: { name: "String" } - }, - expirationDate: { - required: true, - serializedName: "properties.expirationDate", + } + } + } +}; + +export const KeyVaultLastAccessStatusContractProperties: msRest.CompositeMapper = { + serializedName: "KeyVaultLastAccessStatusContractProperties", + type: { + name: "Composite", + className: "KeyVaultLastAccessStatusContractProperties", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + timeStampUtc: { + serializedName: "timeStampUtc", + type: { + name: "DateTime" + } + } + } + } +}; + +export const KeyVaultContractProperties: msRest.CompositeMapper = { + serializedName: "KeyVaultContractProperties", + type: { + name: "Composite", + className: "KeyVaultContractProperties", + modelProperties: { + ...KeyVaultContractCreateProperties.type.modelProperties, + lastStatus: { + serializedName: "lastStatus", + type: { + name: "Composite", + className: "KeyVaultLastAccessStatusContractProperties" + } + } + } + } +}; + +export const CertificateContract: msRest.CompositeMapper = { + serializedName: "CertificateContract", + type: { + name: "Composite", + className: "CertificateContract", + modelProperties: { + ...Resource.type.modelProperties, + subject: { + required: true, + serializedName: "properties.subject", + type: { + name: "String" + } + }, + thumbprint: { + required: true, + serializedName: "properties.thumbprint", + type: { + name: "String" + } + }, + expirationDate: { + required: true, + serializedName: "properties.expirationDate", type: { name: "DateTime" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractProperties" + } } } } @@ -3634,18 +3809,122 @@ export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { className: "CertificateCreateOrUpdateParameters", modelProperties: { data: { - required: true, serializedName: "properties.data", type: { name: "String" } }, password: { - required: true, serializedName: "properties.password", type: { name: "String" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractCreateProperties" + } + } + } + } +}; + +export const ContentItemContract: msRest.CompositeMapper = { + serializedName: "ContentItemContract", + type: { + name: "Composite", + className: "ContentItemContract", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const ContentTypeContract: msRest.CompositeMapper = { + serializedName: "ContentTypeContract", + type: { + name: "Composite", + className: "ContentTypeContract", + modelProperties: { + ...Resource.type.modelProperties, + contentTypeContractId: { + serializedName: "properties.id", + type: { + name: "String" + } + }, + contentTypeContractName: { + serializedName: "properties.name", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + schema: { + serializedName: "properties.schema", + type: { + name: "Object" + } + }, + version: { + serializedName: "properties.version", + type: { + name: "String" + } + } + } + } +}; + +export const DeletedServiceContract: msRest.CompositeMapper = { + serializedName: "DeletedServiceContract", + type: { + name: "Composite", + className: "DeletedServiceContract", + modelProperties: { + ...Resource.type.modelProperties, + serviceId: { + serializedName: "properties.serviceId", + type: { + name: "String" + } + }, + scheduledPurgeDate: { + serializedName: "properties.scheduledPurgeDate", + type: { + name: "DateTime" + } + }, + deletionDate: { + serializedName: "properties.deletionDate", + type: { + name: "DateTime" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } } } } @@ -3831,6 +4110,12 @@ export const HostnameConfiguration: msRest.CompositeMapper = { name: "String" } }, + identityClientId: { + serializedName: "identityClientId", + type: { + name: "String" + } + }, encodedCertificate: { serializedName: "encodedCertificate", type: { @@ -3946,6 +4231,17 @@ export const AdditionalLocation: msRest.CompositeMapper = { className: "ApiManagementServiceSkuProperties" } }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, publicIPAddresses: { readOnly: true, serializedName: "publicIPAddresses", @@ -4232,6 +4528,13 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { name: "Composite", className: "ApiVersionConstraint" } + }, + restore: { + serializedName: "restore", + defaultValue: false, + type: { + name: "Boolean" + } } } } @@ -4529,6 +4832,13 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { className: "ApiVersionConstraint" } }, + restore: { + serializedName: "properties.restore", + defaultValue: false, + type: { + name: "Boolean" + } + }, publisherEmail: { required: true, serializedName: "properties.publisherEmail", @@ -4577,6 +4887,17 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { type: { name: "String" } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -4767,6 +5088,13 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { className: "ApiVersionConstraint" } }, + restore: { + serializedName: "properties.restore", + defaultValue: false, + type: { + name: "Boolean" + } + }, publisherEmail: { serializedName: "properties.publisherEmail", constraints: { @@ -5005,13 +5333,15 @@ export const EmailTemplateParametersContractProperties: msRest.CompositeMapper = } }; -export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { - serializedName: "EmailTemplateUpdateParameters", +export const EmailTemplateContract: msRest.CompositeMapper = { + serializedName: "EmailTemplateContract", type: { name: "Composite", - className: "EmailTemplateUpdateParameters", + className: "EmailTemplateContract", modelProperties: { + ...Resource.type.modelProperties, subject: { + required: true, serializedName: "properties.subject", constraints: { MaxLength: 1000, @@ -5021,6 +5351,16 @@ export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { name: "String" } }, + body: { + required: true, + serializedName: "properties.body", + constraints: { + MinLength: 1 + }, + type: { + name: "String" + } + }, title: { serializedName: "properties.title", type: { @@ -5033,13 +5373,11 @@ export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { name: "String" } }, - body: { - serializedName: "properties.body", - constraints: { - MinLength: 1 - }, + isDefault: { + readOnly: true, + serializedName: "properties.isDefault", type: { - name: "String" + name: "Boolean" } }, parameters: { @@ -5058,15 +5396,13 @@ export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { } }; -export const EmailTemplateContract: msRest.CompositeMapper = { - serializedName: "EmailTemplateContract", +export const EmailTemplateUpdateParameters: msRest.CompositeMapper = { + serializedName: "EmailTemplateUpdateParameters", type: { name: "Composite", - className: "EmailTemplateContract", + className: "EmailTemplateUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, subject: { - required: true, serializedName: "properties.subject", constraints: { MaxLength: 1000, @@ -5076,16 +5412,6 @@ export const EmailTemplateContract: msRest.CompositeMapper = { name: "String" } }, - body: { - required: true, - serializedName: "properties.body", - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - }, title: { serializedName: "properties.title", type: { @@ -5098,11 +5424,13 @@ export const EmailTemplateContract: msRest.CompositeMapper = { name: "String" } }, - isDefault: { - readOnly: true, - serializedName: "properties.isDefault", + body: { + serializedName: "properties.body", + constraints: { + MinLength: 1 + }, type: { - name: "Boolean" + name: "String" } }, parameters: { @@ -5165,6 +5493,24 @@ export const GatewayHostnameConfigurationContract: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + tls10Enabled: { + serializedName: "properties.tls10Enabled", + type: { + name: "Boolean" + } + }, + tls11Enabled: { + serializedName: "properties.tls11Enabled", + type: { + name: "Boolean" + } + }, + http2Enabled: { + serializedName: "properties.http2Enabled", + type: { + name: "Boolean" + } } } } @@ -5516,13 +5862,15 @@ export const UserContract: msRest.CompositeMapper = { } }; -export const GroupUpdateParameters: msRest.CompositeMapper = { - serializedName: "GroupUpdateParameters", - type: { +export const GroupContract: msRest.CompositeMapper = { + serializedName: "GroupContract", + type: { name: "Composite", - className: "GroupUpdateParameters", + className: "GroupContract", modelProperties: { + ...Resource.type.modelProperties, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -5534,11 +5882,21 @@ export const GroupUpdateParameters: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", + constraints: { + MaxLength: 1000 + }, type: { name: "String" } }, - type: { + builtIn: { + readOnly: true, + serializedName: "properties.builtIn", + type: { + name: "Boolean" + } + }, + groupContractType: { serializedName: "properties.type", type: { name: "Enum", @@ -5559,15 +5917,13 @@ export const GroupUpdateParameters: msRest.CompositeMapper = { } }; -export const GroupContract: msRest.CompositeMapper = { - serializedName: "GroupContract", +export const GroupUpdateParameters: msRest.CompositeMapper = { + serializedName: "GroupUpdateParameters", type: { name: "Composite", - className: "GroupContract", + className: "GroupUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -5579,21 +5935,11 @@ export const GroupContract: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", - constraints: { - MaxLength: 1000 - }, type: { name: "String" } }, - builtIn: { - readOnly: true, - serializedName: "properties.builtIn", - type: { - name: "Boolean" - } - }, - groupContractType: { + type: { serializedName: "properties.type", type: { name: "Enum", @@ -5658,6 +6004,22 @@ export const GroupCreateParameters: msRest.CompositeMapper = { } }; +export const ClientSecretContract: msRest.CompositeMapper = { + serializedName: "ClientSecretContract", + type: { + name: "Composite", + className: "ClientSecretContract", + modelProperties: { + clientSecret: { + serializedName: "clientSecret", + type: { + name: "String" + } + } + } + } +}; + export const IdentityProviderBaseParameters: msRest.CompositeMapper = { serializedName: "IdentityProviderBaseParameters", type: { @@ -5736,13 +6098,14 @@ export const IdentityProviderBaseParameters: msRest.CompositeMapper = { } }; -export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { - serializedName: "IdentityProviderUpdateParameters", +export const IdentityProviderContract: msRest.CompositeMapper = { + serializedName: "IdentityProviderContract", type: { name: "Composite", - className: "IdentityProviderUpdateParameters", + className: "IdentityProviderContract", modelProperties: { - type: { + ...Resource.type.modelProperties, + identityProviderContractType: { serializedName: "properties.type", type: { name: "String" @@ -5811,6 +6174,7 @@ export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { } }, clientId: { + required: true, serializedName: "properties.clientId", constraints: { MinLength: 1 @@ -5832,14 +6196,13 @@ export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { } }; -export const IdentityProviderContract: msRest.CompositeMapper = { - serializedName: "IdentityProviderContract", +export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { + serializedName: "IdentityProviderUpdateParameters", type: { name: "Composite", - className: "IdentityProviderContract", + className: "IdentityProviderUpdateParameters", modelProperties: { - ...Resource.type.modelProperties, - identityProviderContractType: { + type: { serializedName: "properties.type", type: { name: "String" @@ -5908,7 +6271,6 @@ export const IdentityProviderContract: msRest.CompositeMapper = { } }, clientId: { - required: true, serializedName: "properties.clientId", constraints: { MinLength: 1 @@ -6029,13 +6391,15 @@ export const IdentityProviderCreateContract: msRest.CompositeMapper = { } }; -export const LoggerUpdateContract: msRest.CompositeMapper = { - serializedName: "LoggerUpdateContract", +export const LoggerContract: msRest.CompositeMapper = { + serializedName: "LoggerContract", type: { name: "Composite", - className: "LoggerUpdateContract", + className: "LoggerContract", modelProperties: { + ...Resource.type.modelProperties, loggerType: { + required: true, serializedName: "properties.loggerType", type: { name: "String" @@ -6043,6 +6407,9 @@ export const LoggerUpdateContract: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", + constraints: { + MaxLength: 256 + }, type: { name: "String" } @@ -6063,20 +6430,24 @@ export const LoggerUpdateContract: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + resourceId: { + serializedName: "properties.resourceId", + type: { + name: "String" + } } } } }; -export const LoggerContract: msRest.CompositeMapper = { - serializedName: "LoggerContract", +export const LoggerUpdateContract: msRest.CompositeMapper = { + serializedName: "LoggerUpdateContract", type: { name: "Composite", - className: "LoggerContract", + className: "LoggerUpdateContract", modelProperties: { - ...Resource.type.modelProperties, loggerType: { - required: true, serializedName: "properties.loggerType", type: { name: "String" @@ -6084,15 +6455,11 @@ export const LoggerContract: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", - constraints: { - MaxLength: 256 - }, type: { name: "String" } }, credentials: { - required: true, serializedName: "properties.credentials", type: { name: "Dictionary", @@ -6108,22 +6475,16 @@ export const LoggerContract: msRest.CompositeMapper = { type: { name: "Boolean" } - }, - resourceId: { - serializedName: "properties.resourceId", - type: { - name: "String" - } } } } }; -export const PropertyValueContract: msRest.CompositeMapper = { - serializedName: "PropertyValueContract", +export const NamedValueSecretContract: msRest.CompositeMapper = { + serializedName: "NamedValueSecretContract", type: { name: "Composite", - className: "PropertyValueContract", + className: "NamedValueSecretContract", modelProperties: { value: { serializedName: "value", @@ -6207,12 +6568,18 @@ export const NamedValueContract: msRest.CompositeMapper = { value: { serializedName: "properties.value", constraints: { - MaxLength: 4096, - MinLength: 1 + MaxLength: 4096 }, type: { name: "String" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractProperties" + } } } } @@ -6264,6 +6631,13 @@ export const NamedValueUpdateParameters: msRest.CompositeMapper = { type: { name: "String" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractCreateProperties" + } } } } @@ -6309,15 +6683,20 @@ export const NamedValueCreateContract: msRest.CompositeMapper = { } }, value: { - required: true, serializedName: "properties.value", constraints: { - MaxLength: 4096, - MinLength: 1 + MaxLength: 4096 }, type: { name: "String" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractCreateProperties" + } } } } @@ -6365,6 +6744,20 @@ export const ConnectivityStatusContract: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + resourceType: { + required: true, + serializedName: "resourceType", + type: { + name: "String" + } + }, + isOptional: { + required: true, + serializedName: "isOptional", + type: { + name: "Boolean" + } } } } @@ -6588,13 +6981,15 @@ export const NotificationContract: msRest.CompositeMapper = { } }; -export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { - serializedName: "OpenidConnectProviderUpdateContract", +export const OpenidConnectProviderContract: msRest.CompositeMapper = { + serializedName: "OpenidConnectProviderContract", type: { name: "Composite", - className: "OpenidConnectProviderUpdateContract", + className: "OpenidConnectProviderContract", modelProperties: { + ...Resource.type.modelProperties, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50 @@ -6610,12 +7005,14 @@ export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { } }, metadataEndpoint: { + required: true, serializedName: "properties.metadataEndpoint", type: { name: "String" } }, clientId: { + required: true, serializedName: "properties.clientId", type: { name: "String" @@ -6631,15 +7028,13 @@ export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { } }; -export const OpenidConnectProviderContract: msRest.CompositeMapper = { - serializedName: "OpenidConnectProviderContract", +export const OpenidConnectProviderUpdateContract: msRest.CompositeMapper = { + serializedName: "OpenidConnectProviderUpdateContract", type: { name: "Composite", - className: "OpenidConnectProviderContract", + className: "OpenidConnectProviderUpdateContract", modelProperties: { - ...Resource.type.modelProperties, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50 @@ -6655,14 +7050,12 @@ export const OpenidConnectProviderContract: msRest.CompositeMapper = { } }, metadataEndpoint: { - required: true, serializedName: "properties.metadataEndpoint", type: { name: "String" } }, clientId: { - required: true, serializedName: "properties.clientId", type: { name: "String" @@ -6731,6 +7124,63 @@ export const PolicyDescriptionCollection: msRest.CompositeMapper = { } }; +export const PortalRevisionContract: msRest.CompositeMapper = { + serializedName: "PortalRevisionContract", + type: { + name: "Composite", + className: "PortalRevisionContract", + modelProperties: { + ...Resource.type.modelProperties, + description: { + serializedName: "properties.description", + constraints: { + MaxLength: 2000 + }, + type: { + name: "String" + } + }, + statusDetails: { + readOnly: true, + serializedName: "properties.statusDetails", + constraints: { + MaxLength: 2000 + }, + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + isCurrent: { + serializedName: "properties.isCurrent", + type: { + name: "Boolean" + } + }, + createdDateTime: { + readOnly: true, + serializedName: "properties.createdDateTime", + type: { + name: "DateTime" + } + }, + updatedDateTime: { + readOnly: true, + serializedName: "properties.updatedDateTime", + type: { + name: "DateTime" + } + } + } + } +}; + export const PortalSettingValidationKeyContract: msRest.CompositeMapper = { serializedName: "PortalSettingValidationKeyContract", type: { @@ -7134,6 +7584,28 @@ export const QuotaCounterContract: msRest.CompositeMapper = { } }; +export const QuotaCounterValueUpdateContract: msRest.CompositeMapper = { + serializedName: "QuotaCounterValueUpdateContract", + type: { + name: "Composite", + className: "QuotaCounterValueUpdateContract", + modelProperties: { + callsCount: { + serializedName: "properties.callsCount", + type: { + name: "Number" + } + }, + kbTransferred: { + serializedName: "properties.kbTransferred", + type: { + name: "Number" + } + } + } + } +}; + export const QuotaCounterCollection: msRest.CompositeMapper = { serializedName: "QuotaCounterCollection", type: { @@ -7456,6 +7928,28 @@ export const ReportRecordContract: msRest.CompositeMapper = { } }; +export const TenantSettingsContract: msRest.CompositeMapper = { + serializedName: "TenantSettingsContract", + type: { + name: "Composite", + className: "TenantSettingsContract", + modelProperties: { + ...Resource.type.modelProperties, + settings: { + serializedName: "properties.settings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const SubscriptionKeysContract: msRest.CompositeMapper = { serializedName: "SubscriptionKeysContract", type: { @@ -7853,11 +8347,11 @@ export const SaveConfigurationParameter: msRest.CompositeMapper = { } }; -export const AccessInformationContract: msRest.CompositeMapper = { - serializedName: "AccessInformationContract", +export const AccessInformationSecretsContract: msRest.CompositeMapper = { + serializedName: "AccessInformationSecretsContract", type: { name: "Composite", - className: "AccessInformationContract", + className: "AccessInformationSecretsContract", modelProperties: { id: { serializedName: "id", @@ -7865,6 +8359,12 @@ export const AccessInformationContract: msRest.CompositeMapper = { name: "String" } }, + principalId: { + serializedName: "principalId", + type: { + name: "String" + } + }, primaryKey: { serializedName: "primaryKey", type: { @@ -7887,9 +8387,38 @@ export const AccessInformationContract: msRest.CompositeMapper = { } }; -export const AccessInformationUpdateParameters: msRest.CompositeMapper = { - serializedName: "AccessInformationUpdateParameters", - type: { +export const AccessInformationContract: msRest.CompositeMapper = { + serializedName: "AccessInformationContract", + type: { + name: "Composite", + className: "AccessInformationContract", + modelProperties: { + ...Resource.type.modelProperties, + accessInformationContractId: { + serializedName: "properties.id", + type: { + name: "String" + } + }, + principalId: { + serializedName: "properties.principalId", + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AccessInformationUpdateParameters: msRest.CompositeMapper = { + serializedName: "AccessInformationUpdateParameters", + type: { name: "Composite", className: "AccessInformationUpdateParameters", modelProperties: { @@ -7903,6 +8432,40 @@ export const AccessInformationUpdateParameters: msRest.CompositeMapper = { } }; +export const AccessInformationCreateParameters: msRest.CompositeMapper = { + serializedName: "AccessInformationCreateParameters", + type: { + name: "Composite", + className: "AccessInformationCreateParameters", + modelProperties: { + principalId: { + serializedName: "properties.principalId", + type: { + name: "String" + } + }, + primaryKey: { + serializedName: "properties.primaryKey", + type: { + name: "String" + } + }, + secondaryKey: { + serializedName: "properties.secondaryKey", + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + export const UserTokenResult: msRest.CompositeMapper = { serializedName: "UserTokenResult", type: { @@ -8232,6 +8795,22 @@ export const ApiCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiUpdateHeaders: msRest.CompositeMapper = { + serializedName: "api-update-headers", + type: { + name: "Composite", + className: "ApiUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiReleaseGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "apirelease-getentitytag-headers", type: { @@ -8280,6 +8859,22 @@ export const ApiReleaseCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiReleaseUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apirelease-update-headers", + type: { + name: "Composite", + className: "ApiReleaseUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiOperationGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "apioperation-getentitytag-headers", type: { @@ -8328,6 +8923,22 @@ export const ApiOperationCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiOperationUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apioperation-update-headers", + type: { + name: "Composite", + className: "ApiOperationUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiOperationPolicyGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "apioperationpolicy-getentitytag-headers", type: { @@ -8552,6 +9163,22 @@ export const ApiDiagnosticCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiDiagnosticUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apidiagnostic-update-headers", + type: { + name: "Composite", + className: "ApiDiagnosticUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiIssueGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "apiissue-getentitytag-headers", type: { @@ -8600,6 +9227,22 @@ export const ApiIssueCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiIssueUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apiissue-update-headers", + type: { + name: "Composite", + className: "ApiIssueUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiIssueCommentGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "apiissuecomment-getentitytag-headers", type: { @@ -8840,6 +9483,22 @@ export const ApiVersionSetCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiVersionSetUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apiversionset-update-headers", + type: { + name: "Composite", + className: "ApiVersionSetUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const AuthorizationServerGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "authorizationserver-getentitytag-headers", type: { @@ -8888,6 +9547,38 @@ export const AuthorizationServerCreateOrUpdateHeaders: msRest.CompositeMapper = } }; +export const AuthorizationServerUpdateHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-update-headers", + type: { + name: "Composite", + className: "AuthorizationServerUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const AuthorizationServerListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-listsecrets-headers", + type: { + name: "Composite", + className: "AuthorizationServerListSecretsHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const BackendGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "backend-getentitytag-headers", type: { @@ -8936,6 +9627,22 @@ export const BackendCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const BackendUpdateHeaders: msRest.CompositeMapper = { + serializedName: "backend-update-headers", + type: { + name: "Composite", + className: "BackendUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const CacheGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "cache-getentitytag-headers", type: { @@ -8984,6 +9691,22 @@ export const CacheCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const CacheUpdateHeaders: msRest.CompositeMapper = { + serializedName: "cache-update-headers", + type: { + name: "Composite", + className: "CacheUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const CertificateGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "certificate-getentitytag-headers", type: { @@ -9032,6 +9755,86 @@ export const CertificateCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ContentTypeGetHeaders: msRest.CompositeMapper = { + serializedName: "contenttype-get-headers", + type: { + name: "Composite", + className: "ContentTypeGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentTypeCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "contenttype-createorupdate-headers", + type: { + name: "Composite", + className: "ContentTypeCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentItemGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "contentitem-getentitytag-headers", + type: { + name: "Composite", + className: "ContentItemGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentItemGetHeaders: msRest.CompositeMapper = { + serializedName: "contentitem-get-headers", + type: { + name: "Composite", + className: "ContentItemGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentItemCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "contentitem-createorupdate-headers", + type: { + name: "Composite", + className: "ContentItemCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const DiagnosticGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "diagnostic-getentitytag-headers", type: { @@ -9080,6 +9883,22 @@ export const DiagnosticCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const DiagnosticUpdateHeaders: msRest.CompositeMapper = { + serializedName: "diagnostic-update-headers", + type: { + name: "Composite", + className: "DiagnosticUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const EmailTemplateGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "emailtemplate-getentitytag-headers", type: { @@ -9112,6 +9931,22 @@ export const EmailTemplateGetHeaders: msRest.CompositeMapper = { } }; +export const EmailTemplateUpdateHeaders: msRest.CompositeMapper = { + serializedName: "emailtemplate-update-headers", + type: { + name: "Composite", + className: "EmailTemplateUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const GatewayGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "gateway-getentitytag-headers", type: { @@ -9160,6 +9995,22 @@ export const GatewayCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const GatewayUpdateHeaders: msRest.CompositeMapper = { + serializedName: "gateway-update-headers", + type: { + name: "Composite", + className: "GatewayUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const GatewayListKeysHeaders: msRest.CompositeMapper = { serializedName: "gateway-listkeys-headers", type: { @@ -9288,6 +10139,22 @@ export const GroupCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const GroupUpdateHeaders: msRest.CompositeMapper = { + serializedName: "group-update-headers", + type: { + name: "Composite", + className: "GroupUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const IdentityProviderGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "identityprovider-getentitytag-headers", type: { @@ -9336,6 +10203,38 @@ export const IdentityProviderCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const IdentityProviderUpdateHeaders: msRest.CompositeMapper = { + serializedName: "identityprovider-update-headers", + type: { + name: "Composite", + className: "IdentityProviderUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const IdentityProviderListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "identityprovider-listsecrets-headers", + type: { + name: "Composite", + className: "IdentityProviderListSecretsHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const IssueGetHeaders: msRest.CompositeMapper = { serializedName: "issue-get-headers", type: { @@ -9400,6 +10299,22 @@ export const LoggerCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const LoggerUpdateHeaders: msRest.CompositeMapper = { + serializedName: "logger-update-headers", + type: { + name: "Composite", + className: "LoggerUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const NamedValueGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "namedvalue-getentitytag-headers", type: { @@ -9464,6 +10379,22 @@ export const NamedValueUpdateHeaders: msRest.CompositeMapper = { } }; +export const NamedValueListValueHeaders: msRest.CompositeMapper = { + serializedName: "namedvalue-listvalue-headers", + type: { + name: "Composite", + className: "NamedValueListValueHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const OpenIdConnectProviderGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "openidconnectprovider-getentitytag-headers", type: { @@ -9484,7 +10415,103 @@ export const OpenIdConnectProviderGetHeaders: msRest.CompositeMapper = { serializedName: "openidconnectprovider-get-headers", type: { name: "Composite", - className: "OpenIdConnectProviderGetHeaders", + className: "OpenIdConnectProviderGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const OpenIdConnectProviderCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "openidconnectprovider-createorupdate-headers", + type: { + name: "Composite", + className: "OpenIdConnectProviderCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const OpenIdConnectProviderUpdateHeaders: msRest.CompositeMapper = { + serializedName: "openidconnectprovider-update-headers", + type: { + name: "Composite", + className: "OpenIdConnectProviderUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const OpenIdConnectProviderListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "openidconnectprovider-listsecrets-headers", + type: { + name: "Composite", + className: "OpenIdConnectProviderListSecretsHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const PolicyGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "policy-getentitytag-headers", + type: { + name: "Composite", + className: "PolicyGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const PolicyGetHeaders: msRest.CompositeMapper = { + serializedName: "policy-get-headers", + type: { + name: "Composite", + className: "PolicyGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const PolicyCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "policy-createorupdate-headers", + type: { + name: "Composite", + className: "PolicyCreateOrUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9496,11 +10523,11 @@ export const OpenIdConnectProviderGetHeaders: msRest.CompositeMapper = { } }; -export const OpenIdConnectProviderCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "openidconnectprovider-createorupdate-headers", +export const PortalRevisionGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-getentitytag-headers", type: { name: "Composite", - className: "OpenIdConnectProviderCreateOrUpdateHeaders", + className: "PortalRevisionGetEntityTagHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9512,11 +10539,11 @@ export const OpenIdConnectProviderCreateOrUpdateHeaders: msRest.CompositeMapper } }; -export const PolicyGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "policy-getentitytag-headers", +export const PortalRevisionGetHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-get-headers", type: { name: "Composite", - className: "PolicyGetEntityTagHeaders", + className: "PortalRevisionGetHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9528,11 +10555,11 @@ export const PolicyGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const PolicyGetHeaders: msRest.CompositeMapper = { - serializedName: "policy-get-headers", +export const PortalRevisionCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-createorupdate-headers", type: { name: "Composite", - className: "PolicyGetHeaders", + className: "PortalRevisionCreateOrUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9544,11 +10571,11 @@ export const PolicyGetHeaders: msRest.CompositeMapper = { } }; -export const PolicyCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "policy-createorupdate-headers", +export const PortalRevisionUpdateHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-update-headers", type: { name: "Composite", - className: "PolicyCreateOrUpdateHeaders", + className: "PortalRevisionUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9704,6 +10731,22 @@ export const ProductCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ProductUpdateHeaders: msRest.CompositeMapper = { + serializedName: "product-update-headers", + type: { + name: "Composite", + className: "ProductUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ProductPolicyGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "productpolicy-getentitytag-headers", type: { @@ -9784,6 +10827,22 @@ export const TagGetByProductHeaders: msRest.CompositeMapper = { } }; +export const TenantSettingsGetHeaders: msRest.CompositeMapper = { + serializedName: "tenantsettings-get-headers", + type: { + name: "Composite", + className: "TenantSettingsGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const SubscriptionGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "subscription-getentitytag-headers", type: { @@ -9832,6 +10891,38 @@ export const SubscriptionCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const SubscriptionUpdateHeaders: msRest.CompositeMapper = { + serializedName: "subscription-update-headers", + type: { + name: "Composite", + className: "SubscriptionUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const SubscriptionListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "subscription-listsecrets-headers", + type: { + name: "Composite", + className: "SubscriptionListSecretsHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TagGetEntityStateHeaders: msRest.CompositeMapper = { serializedName: "tag-getentitystate-headers", type: { @@ -9880,6 +10971,22 @@ export const TagCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const TagUpdateHeaders: msRest.CompositeMapper = { + serializedName: "tag-update-headers", + type: { + name: "Composite", + className: "TagUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TenantAccessGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "tenantaccess-getentitytag-headers", type: { @@ -9912,11 +11019,11 @@ export const TenantAccessGetHeaders: msRest.CompositeMapper = { } }; -export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { - serializedName: "tenantaccess-listsecrets-headers", +export const TenantAccessCreateHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-create-headers", type: { name: "Composite", - className: "TenantAccessListSecretsHeaders", + className: "TenantAccessCreateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9928,11 +11035,11 @@ export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { } }; -export const TenantAccessGitGetHeaders: msRest.CompositeMapper = { - serializedName: "tenantaccessgit-get-headers", +export const TenantAccessUpdateHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-update-headers", type: { name: "Composite", - className: "TenantAccessGitGetHeaders", + className: "TenantAccessUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9944,11 +11051,11 @@ export const TenantAccessGitGetHeaders: msRest.CompositeMapper = { } }; -export const TenantAccessGitListSecretsHeaders: msRest.CompositeMapper = { - serializedName: "tenantaccessgit-listsecrets-headers", +export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-listsecrets-headers", type: { name: "Composite", - className: "TenantAccessGitListSecretsHeaders", + className: "TenantAccessListSecretsHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -10008,6 +11115,22 @@ export const UserCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const UserUpdateHeaders: msRest.CompositeMapper = { + serializedName: "user-update-headers", + type: { + name: "Composite", + className: "UserUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiCollection: msRest.CompositeMapper = { serializedName: "ApiCollection", type: { @@ -10534,6 +11657,96 @@ export const CertificateCollection: msRest.CompositeMapper = { } }; +export const ContentTypeCollection: msRest.CompositeMapper = { + serializedName: "ContentTypeCollection", + type: { + name: "Composite", + className: "ContentTypeCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContentTypeContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ContentItemCollection: msRest.CompositeMapper = { + serializedName: "ContentItemCollection", + type: { + name: "Composite", + className: "ContentItemCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContentItemContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DeletedServicesCollection: msRest.CompositeMapper = { + serializedName: "DeletedServicesCollection", + type: { + name: "Composite", + className: "DeletedServicesCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeletedServiceContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const OperationListResult: msRest.CompositeMapper = { serializedName: "OperationListResult", type: { @@ -10910,6 +12123,36 @@ export const OpenIdConnectProviderCollection: msRest.CompositeMapper = { } }; +export const PortalRevisionCollection: msRest.CompositeMapper = { + serializedName: "PortalRevisionCollection", + type: { + name: "Composite", + className: "PortalRevisionCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PortalRevisionContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const SubscriptionCollection: msRest.CompositeMapper = { serializedName: "SubscriptionCollection", type: { @@ -11034,6 +12277,66 @@ export const RequestReportCollection: msRest.CompositeMapper = { } }; +export const TenantSettingsCollection: msRest.CompositeMapper = { + serializedName: "TenantSettingsCollection", + type: { + name: "Composite", + className: "TenantSettingsCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TenantSettingsContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AccessInformationCollection: msRest.CompositeMapper = { + serializedName: "AccessInformationCollection", + type: { + name: "Composite", + className: "AccessInformationCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AccessInformationContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const UserIdentityCollection: msRest.CompositeMapper = { serializedName: "UserIdentityCollection", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index ff5563e54053..44c2f9aca439 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueCollection, NamedValueContract, @@ -59,6 +68,8 @@ export { NamedValueCreateOrUpdateHeaders, NamedValueGetEntityTagHeaders, NamedValueGetHeaders, + NamedValueListValueHeaders, + NamedValueSecretContract, NamedValueUpdateHeaders, NamedValueUpdateParameters, NotificationContract, @@ -71,10 +82,10 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, - PropertyValueContract, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, @@ -91,6 +102,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts index b1de67e5b4e8..94df94b2062e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index b82a3ea1eab4..3fc1504bbe29 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index 16c005715b18..6d64fbe9cb5f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index a1fb53d824c6..2f152fe0a997 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 4ffb64cf0376..107e32c4457d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -37,6 +38,11 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -64,13 +73,16 @@ export { OpenIdConnectProviderCreateOrUpdateHeaders, OpenIdConnectProviderGetEntityTagHeaders, OpenIdConnectProviderGetHeaders, + OpenIdConnectProviderListSecretsHeaders, OpenidConnectProviderUpdateContract, + OpenIdConnectProviderUpdateHeaders, OperationContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -90,6 +102,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts index 808608c1b7b3..12004e77fcca 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index 40b557d6bd63..33dbb3cf4bcc 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -24,9 +23,7 @@ export const accessName: msRest.OperationURLParameter = { parameterPath: "accessName", mapper: { required: true, - isConstant: true, serializedName: "accessName", - defaultValue: 'access', type: { name: "String" } @@ -71,6 +68,19 @@ export const apiVersion: msRest.OperationQueryParameter = { } } }; +export const appType: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "appType" + ], + mapper: { + serializedName: "appType", + defaultValue: 'portal', + type: { + name: "String" + } + } +}; export const attachmentId: msRest.OperationURLParameter = { parameterPath: "attachmentId", mapper: { @@ -172,6 +182,34 @@ export const configurationName: msRest.OperationURLParameter = { } } }; +export const contentItemId: msRest.OperationURLParameter = { + parameterPath: "contentItemId", + mapper: { + required: true, + serializedName: "contentItemId", + constraints: { + MaxLength: 80, + MinLength: 1 + }, + type: { + name: "String" + } + } +}; +export const contentTypeId: msRest.OperationURLParameter = { + parameterPath: "contentTypeId", + mapper: { + required: true, + serializedName: "contentTypeId", + constraints: { + MaxLength: 80, + MinLength: 1 + }, + type: { + name: "String" + } + } +}; export const deleteRevisions: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -461,6 +499,16 @@ export const issueId: msRest.OperationURLParameter = { } } }; +export const location: msRest.OperationURLParameter = { + parameterPath: "location", + mapper: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } +}; export const locationName: msRest.OperationURLParameter = { parameterPath: "locationName", mapper: { @@ -587,6 +635,20 @@ export const policyId: msRest.OperationURLParameter = { } } }; +export const portalRevisionId: msRest.OperationURLParameter = { + parameterPath: "portalRevisionId", + mapper: { + required: true, + serializedName: "portalRevisionId", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + } +}; export const productId: msRest.OperationURLParameter = { parameterPath: "productId", mapper: { @@ -707,6 +769,18 @@ export const serviceName: msRest.OperationURLParameter = { } } }; +export const settingsType: msRest.OperationURLParameter = { + parameterPath: "settingsType", + mapper: { + required: true, + isConstant: true, + serializedName: "settingsType", + defaultValue: 'public', + type: { + name: "String" + } + } +}; export const sid: msRest.OperationURLParameter = { parameterPath: "sid", mapper: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index b0eb43eb71d2..891cfe0d872a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyDescriptionCollection, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 9caf6ee9ab57..c74ed86f6729 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyGetEntityTagHeaders, PolicyGetHeaders, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts new file mode 100644 index 000000000000..dd2ae9aa0673 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -0,0 +1,110 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionCollection, + PortalRevisionContract, + PortalRevisionCreateOrUpdateHeaders, + PortalRevisionGetEntityTagHeaders, + PortalRevisionGetHeaders, + PortalRevisionUpdateHeaders, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 76b1488cc812..e26a5701e590 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiCollection, ApiContract, @@ -37,6 +38,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index f48788d98b20..96031d62b319 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 87092fa3ab06..cb177c5c7e20 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiContractProperties, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductCollection, @@ -78,6 +88,7 @@ export { ProductGetEntityTagHeaders, ProductGetHeaders, ProductTagResourceContractProperties, + ProductUpdateHeaders, ProductUpdateParameters, RecipientEmailContract, RecipientsContractProperties, @@ -98,6 +109,7 @@ export { TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 64ac202f796a..5056c2b82b9b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index e21019e9e856..ffb952da43f7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts index b01b41bfabba..e89d403808a9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,5 +11,6 @@ export { ErrorResponse, QuotaCounterCollection, QuotaCounterContract, - QuotaCounterValueContractProperties + QuotaCounterValueContractProperties, + QuotaCounterValueUpdateContract } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts index e7c6180e44ed..006e59214f16 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,5 +10,6 @@ export { ErrorFieldContract, ErrorResponse, QuotaCounterContract, - QuotaCounterValueContractProperties + QuotaCounterValueContractProperties, + QuotaCounterValueUpdateContract } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts index 7065ac20a2df..5ba25022b947 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts index 21a48b61cdc9..bdf4ddb70bbe 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index 25a28d6ee8ef..43364ef078ae 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 050a808f4053..f496db4b1bfb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index eda090037b74..26a39ae8e65e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -87,10 +97,13 @@ export { SubscriptionGetHeaders, SubscriptionKeyParameterNamesContract, SubscriptionKeysContract, + SubscriptionListSecretsHeaders, SubscriptionsDelegationSettingsProperties, + SubscriptionUpdateHeaders, SubscriptionUpdateParameters, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 887095666625..14ebbc6c635e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -96,6 +106,8 @@ export { TagGetEntityStateByProductHeaders, TagGetEntityStateHeaders, TagGetHeaders, + TagUpdateHeaders, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts index 8ae164a56ca3..f75cb5d3f102 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts index 0ca93979ab37..07d5f5f7ef60 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts @@ -1,15 +1,12 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AccessInformationContract, ErrorFieldContract, - ErrorResponse, - TenantAccessGitGetHeaders, - TenantAccessGitListSecretsHeaders + ErrorResponse } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 3605444a18b5..aa2ed92f6e9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -1,17 +1,114 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationCollection, AccessInformationContract, + AccessInformationCreateParameters, + AccessInformationSecretsContract, AccessInformationUpdateParameters, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantAccessCreateHeaders, TenantAccessGetEntityTagHeaders, TenantAccessGetHeaders, - TenantAccessListSecretsHeaders + TenantAccessListSecretsHeaders, + TenantAccessUpdateHeaders, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts index 23aeac0c0ce3..0e0c65f2b324 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts new file mode 100644 index 000000000000..8a2b3b49f698 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -0,0 +1,107 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsCollection, + TenantSettingsContract, + TenantSettingsGetHeaders, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts index 55502467da25..07d5f5f7ef60 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index f48788d98b20..96031d62b319 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts index c33ef2ae30d4..e63bf706010f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index d2d15d6016db..8253bdf63378 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserCollection, @@ -97,6 +108,7 @@ export { UserIdentityProperties, UserTokenParameters, UserTokenResult, + UserUpdateHeaders, UserUpdateParameters, VirtualNetworkConfiguration, X509CertificateName diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts index e21019e9e856..ffb952da43f7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,7 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/api.ts b/sdk/apimanagement/arm-apimanagement/src/operations/api.ts index 7dc3aea4f799..3641409ad3cb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/api.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/api.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -162,9 +161,9 @@ export class Api { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -175,7 +174,7 @@ export class Api { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -187,8 +186,8 @@ export class Api { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, parameters: Models.ApiUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -199,7 +198,7 @@ export class Api { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -309,7 +308,7 @@ export class Api { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -320,8 +319,8 @@ export class Api { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -337,7 +336,7 @@ export class Api { * @param [options] The optional parameters * @returns Promise */ - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTagsNext(nextPageLink: string, options?: Models.ApiListByTagsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -348,8 +347,8 @@ export class Api { * @param options The optional parameters * @param callback The callback */ - listByTagsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTagsNext(nextPageLink: string, options: Models.ApiListByTagsNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTagsNext(nextPageLink: string, options?: Models.ApiListByTagsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -412,7 +411,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiGetEntityTagHeaders } }, serializer @@ -439,7 +439,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiGetHeaders } }, serializer @@ -469,9 +470,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.ApiContract, + headersMapper: Mappers.ApiUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiUpdateHeaders } }, serializer @@ -569,7 +574,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiCreateOrUpdateHeaders } }, serializer @@ -582,6 +588,14 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.tags, + Parameters.expandApiVersionSet, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -603,6 +617,13 @@ const listByTagsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.includeNotTaggedApis, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts index aac5ab05ff5e..d12721dc75d9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -206,9 +205,9 @@ export class ApiDiagnostic { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -220,7 +219,7 @@ export class ApiDiagnostic { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -233,8 +232,8 @@ export class ApiDiagnostic { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -246,7 +245,7 @@ export class ApiDiagnostic { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -305,7 +304,7 @@ export class ApiDiagnostic { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiDiagnosticListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -316,8 +315,8 @@ export class ApiDiagnostic { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiDiagnosticListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiDiagnosticListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -380,7 +379,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiDiagnosticGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticGetEntityTagHeaders } }, serializer @@ -408,7 +408,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiDiagnosticGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticGetHeaders } }, serializer @@ -448,7 +449,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiDiagnosticCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticCreateOrUpdateHeaders } }, serializer @@ -479,9 +481,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.DiagnosticContract, + headersMapper: Mappers.ApiDiagnosticUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticUpdateHeaders } }, serializer @@ -521,6 +527,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiExport.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiExport.ts index df074d370348..9d1f953b5910 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiExport.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiExport.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts index e6bc0634c75f..4b88d43ea002 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -196,9 +195,9 @@ export class ApiIssue { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -209,7 +208,7 @@ export class ApiIssue { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -221,8 +220,8 @@ export class ApiIssue { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: Models.IssueUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -234,7 +233,7 @@ export class ApiIssue { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -290,7 +289,7 @@ export class ApiIssue { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiIssueListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -301,8 +300,8 @@ export class ApiIssue { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiIssueListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiIssueListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -366,7 +365,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueGetEntityTagHeaders } }, serializer @@ -395,7 +395,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueGetHeaders } }, serializer @@ -435,7 +436,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCreateOrUpdateHeaders } }, serializer @@ -466,9 +468,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.IssueContract, + headersMapper: Mappers.ApiIssueUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueUpdateHeaders } }, serializer @@ -508,6 +514,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.expandCommentsAttachments, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts index 9392f644c44d..1d19d8a7f865 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -260,7 +259,7 @@ export class ApiIssueAttachment { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiIssueAttachmentListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -271,8 +270,8 @@ export class ApiIssueAttachment { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiIssueAttachmentListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiIssueAttachmentListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -337,7 +336,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueAttachmentGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueAttachmentGetEntityTagHeaders } }, serializer @@ -366,7 +366,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueAttachmentGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueAttachmentGetHeaders } }, serializer @@ -407,7 +408,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueAttachmentCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueAttachmentCreateOrUpdateHeaders } }, serializer @@ -448,6 +450,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts index 8f4584a711ee..9976e8dad8aa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -260,7 +259,7 @@ export class ApiIssueComment { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiIssueCommentListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -271,8 +270,8 @@ export class ApiIssueComment { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiIssueCommentListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiIssueCommentListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -337,7 +336,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCommentGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCommentGetEntityTagHeaders } }, serializer @@ -366,7 +366,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCommentGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCommentGetHeaders } }, serializer @@ -407,7 +408,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCommentCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCommentCreateOrUpdateHeaders } }, serializer @@ -448,6 +450,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementOperations.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementOperations.ts index 043449470e76..ed9cdeda206a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementOperations.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts index b2239b624ec4..3070a800b3c2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -763,6 +762,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -784,6 +786,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementServiceSkus.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementServiceSkus.ts index 1ab8969c599a..4ef1cab82581 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementServiceSkus.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementServiceSkus.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -123,6 +122,9 @@ const listAvailableServiceSkusNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts index 02d3a4495eeb..b14ceba94002 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -219,9 +218,9 @@ export class ApiOperation { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -234,7 +233,7 @@ export class ApiOperation { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -248,8 +247,8 @@ export class ApiOperation { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, operationId: string, parameters: Models.OperationUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -261,7 +260,7 @@ export class ApiOperation { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -323,7 +322,7 @@ export class ApiOperation { * @param [options] The optional parameters * @returns Promise */ - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByApiNext(nextPageLink: string, options?: Models.ApiOperationListByApiNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -334,8 +333,8 @@ export class ApiOperation { * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, options: Models.ApiOperationListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, options?: Models.ApiOperationListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -399,7 +398,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationGetEntityTagHeaders } }, serializer @@ -427,7 +427,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationGetHeaders } }, serializer @@ -467,7 +468,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationCreateOrUpdateHeaders } }, serializer @@ -498,9 +500,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.OperationContract, + headersMapper: Mappers.ApiOperationUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationUpdateHeaders } }, serializer @@ -540,6 +546,13 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.tags, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts index 7e7f6bd110f5..a7652583fb2a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -319,7 +318,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationPolicyGetEntityTagHeaders } }, serializer @@ -349,7 +349,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationPolicyGetHeaders } }, serializer @@ -390,7 +391,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationPolicyCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationPolicyCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiPolicy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiPolicy.ts index 4d5ddbc68485..a04a47ae0fb1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiPolicy.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -282,7 +281,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiPolicyGetEntityTagHeaders } }, serializer @@ -311,7 +311,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiPolicyGetHeaders } }, serializer @@ -351,7 +352,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiPolicyCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiPolicyCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiProduct.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiProduct.ts index 10e07fb486f2..82f81570c6a5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiProduct.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiProduct.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -68,7 +67,7 @@ export class ApiProduct { * @param [options] The optional parameters * @returns Promise */ - listByApisNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByApisNext(nextPageLink: string, options?: Models.ApiProductListByApisNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -79,8 +78,8 @@ export class ApiProduct { * @param options The optional parameters * @param callback The callback */ - listByApisNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApisNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApisNext(nextPageLink: string, options: Models.ApiProductListByApisNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApisNext(nextPageLink: string, options?: Models.ApiProductListByApisNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -129,6 +128,12 @@ const listByApisNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts index f0d3cedeb6d3..de37ec62bf3c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -208,9 +207,9 @@ export class ApiRelease { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -222,7 +221,7 @@ export class ApiRelease { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -235,8 +234,8 @@ export class ApiRelease { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, apiId: string, releaseId: string, parameters: Models.ApiReleaseContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -248,7 +247,7 @@ export class ApiRelease { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -309,7 +308,7 @@ export class ApiRelease { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiReleaseListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -320,8 +319,8 @@ export class ApiRelease { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiReleaseListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiReleaseListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -384,7 +383,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiReleaseGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseGetEntityTagHeaders } }, serializer @@ -412,7 +412,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiReleaseGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseGetHeaders } }, serializer @@ -452,7 +453,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiReleaseCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseCreateOrUpdateHeaders } }, serializer @@ -483,9 +485,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.ApiReleaseContract, + headersMapper: Mappers.ApiReleaseUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseUpdateHeaders } }, serializer @@ -525,6 +531,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiRevision.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiRevision.ts index 837ccbc609f9..b80ccc2b8cc2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiRevision.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiRevision.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -68,7 +67,7 @@ export class ApiRevision { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiRevisionListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -79,8 +78,8 @@ export class ApiRevision { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiRevisionListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiRevisionListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -129,6 +128,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts index 0dd8f3e7d781..0deae807efcb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -260,7 +259,7 @@ export class ApiSchema { * @param [options] The optional parameters * @returns Promise */ - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByApiNext(nextPageLink: string, options?: Models.ApiSchemaListByApiNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -271,8 +270,8 @@ export class ApiSchema { * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, options: Models.ApiSchemaListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, options?: Models.ApiSchemaListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -335,7 +334,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiSchemaGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiSchemaGetEntityTagHeaders } }, serializer @@ -363,7 +363,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiSchemaGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiSchemaGetHeaders } }, serializer @@ -434,7 +435,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders } }, serializer @@ -447,6 +449,12 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts index 3b9dbd9265ca..d799bbef0946 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -268,7 +267,7 @@ export class ApiTagDescription { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiTagDescriptionListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -279,8 +278,8 @@ export class ApiTagDescription { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiTagDescriptionListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiTagDescriptionListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -343,7 +342,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiTagDescriptionGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiTagDescriptionGetEntityTagHeaders } }, serializer @@ -371,7 +371,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiTagDescriptionGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiTagDescriptionGetHeaders } }, serializer @@ -411,7 +412,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiTagDescriptionCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiTagDescriptionCreateOrUpdateHeaders } }, serializer @@ -451,6 +453,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts index 5f6861172541..9873eee02b9f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class ApiVersionSet { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class ApiVersionSet { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class ApiVersionSet { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: Models.ApiVersionSetUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class ApiVersionSet { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -281,7 +280,7 @@ export class ApiVersionSet { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ApiVersionSetListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -292,8 +291,8 @@ export class ApiVersionSet { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ApiVersionSetListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ApiVersionSetListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -354,7 +353,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiVersionSetGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetGetEntityTagHeaders } }, serializer @@ -381,7 +381,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiVersionSetGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetGetHeaders } }, serializer @@ -420,7 +421,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiVersionSetCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetCreateOrUpdateHeaders } }, serializer @@ -450,9 +452,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.ApiVersionSetContract, + headersMapper: Mappers.ApiVersionSetUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetUpdateHeaders } }, serializer @@ -491,6 +497,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts b/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts index 6ec8faf37b10..fa39341e1b08 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -179,9 +178,9 @@ export class AuthorizationServer { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class AuthorizationServer { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class AuthorizationServer { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, authsid: string, parameters: Models.AuthorizationServerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class AuthorizationServer { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -275,7 +274,7 @@ export class AuthorizationServer { * @param authsid Identifier of the authorization server. * @param callback The callback */ - listSecrets(resourceGroupName: string, serviceName: string, authsid: string, callback: msRest.ServiceCallback): void; + listSecrets(resourceGroupName: string, serviceName: string, authsid: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -283,8 +282,8 @@ export class AuthorizationServer { * @param options The optional parameters * @param callback The callback */ - listSecrets(resourceGroupName: string, serviceName: string, authsid: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSecrets(resourceGroupName: string, serviceName: string, authsid: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSecrets(resourceGroupName: string, serviceName: string, authsid: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSecrets(resourceGroupName: string, serviceName: string, authsid: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -302,7 +301,7 @@ export class AuthorizationServer { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.AuthorizationServerListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -313,8 +312,8 @@ export class AuthorizationServer { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.AuthorizationServerListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.AuthorizationServerListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -375,7 +374,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.AuthorizationServerGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerGetEntityTagHeaders } }, serializer @@ -402,7 +402,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.AuthorizationServerGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerGetHeaders } }, serializer @@ -441,7 +442,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.AuthorizationServerCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerCreateOrUpdateHeaders } }, serializer @@ -471,9 +473,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.AuthorizationServerContract, + headersMapper: Mappers.AuthorizationServerUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerUpdateHeaders } }, serializer @@ -522,10 +528,12 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ClientSecretContract + bodyMapper: Mappers.AuthorizationServerSecretsContract, + headersMapper: Mappers.AuthorizationServerListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerListSecretsHeaders } }, serializer @@ -538,6 +546,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts b/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts index 660d0124c797..be3730998fcc 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class Backend { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class Backend { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class Backend { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, backendId: string, parameters: Models.BackendUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class Backend { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -321,7 +320,7 @@ export class Backend { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.BackendListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -332,8 +331,8 @@ export class Backend { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.BackendListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.BackendListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -394,7 +393,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.BackendGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendGetEntityTagHeaders } }, serializer @@ -421,7 +421,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.BackendGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendGetHeaders } }, serializer @@ -460,7 +461,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.BackendCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendCreateOrUpdateHeaders } }, serializer @@ -490,9 +492,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.BackendContract, + headersMapper: Mappers.BackendUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendUpdateHeaders } }, serializer @@ -562,6 +568,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts b/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts index 3cb264df2e6a..272d412a0db0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class Cache { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class Cache { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class Cache { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, cacheId: string, parameters: Models.CacheUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class Cache { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -281,7 +280,7 @@ export class Cache { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.CacheListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -292,8 +291,8 @@ export class Cache { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.CacheListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.CacheListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -353,7 +352,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CacheGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheGetEntityTagHeaders } }, serializer @@ -380,7 +380,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CacheGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheGetHeaders } }, serializer @@ -419,7 +420,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CacheCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheCreateOrUpdateHeaders } }, serializer @@ -449,9 +451,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.CacheContract, + headersMapper: Mappers.CacheUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheUpdateHeaders } }, serializer @@ -490,6 +496,11 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts b/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts index f47a28ce34f4..cc239ec56bfe 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -231,7 +230,7 @@ export class Certificate { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.CertificateListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -242,8 +241,8 @@ export class Certificate { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.CertificateListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.CertificateListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -304,7 +303,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateGetEntityTagHeaders } }, serializer @@ -331,7 +331,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateGetHeaders } }, serializer @@ -370,7 +371,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateCreateOrUpdateHeaders } }, serializer @@ -409,6 +411,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts new file mode 100644 index 000000000000..75666e4b95ab --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts @@ -0,0 +1,428 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/contentItemMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a ContentItem. */ +export class ContentItem { + private readonly client: ApiManagementClientContext; + + /** + * Create a ContentItem. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Returns list of content items + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, contentTypeId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, contentTypeId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, contentTypeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, contentTypeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Returns content item metadata + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param [options] The optional parameters + * @returns Promise + */ + getEntityTag(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param options The optional parameters + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + contentItemId, + options + }, + getEntityTagOperationSpec, + callback) as Promise; + } + + /** + * Returns content item details + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + contentItemId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates new content item + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: Models.ContentItemCreateOrUpdateOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options: Models.ContentItemCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: Models.ContentItemCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + contentItemId, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Removes specified content item. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, ifMatch: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param contentItemId Content item identifier. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + contentItemId, + ifMatch, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Returns list of content items + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}/contentItems", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentItemCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getEntityTagOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}/contentItems/{contentItemId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.contentItemId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.ContentItemGetEntityTagHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentItemGetEntityTagHeaders + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}/contentItems/{contentItemId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.contentItemId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentItemContract, + headersMapper: Mappers.ContentItemGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentItemGetHeaders + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}/contentItems/{contentItemId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.contentItemId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch0, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentItemContract, + headersMapper: Mappers.ContentItemCreateOrUpdateHeaders + }, + 201: { + bodyMapper: Mappers.ContentItemContract, + headersMapper: Mappers.ContentItemCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentItemCreateOrUpdateHeaders + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}/contentItems/{contentItemId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.contentItemId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentItemCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts new file mode 100644 index 000000000000..4459b47eb782 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts @@ -0,0 +1,340 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/contentTypeMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a ContentType. */ +export class ContentType { + private readonly client: ApiManagementClientContext; + + /** + * Create a ContentType. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Returns list of content types + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Gets API Management content type details. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, contentTypeId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, contentTypeId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, contentTypeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, contentTypeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an Content Type. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, options?: Models.ContentTypeCreateOrUpdateOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, options: Models.ContentTypeCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, options?: Models.ContentTypeCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Removes specified content type. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, ifMatch: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param contentTypeId Content type identifier. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, contentTypeId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + contentTypeId, + ifMatch, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Returns list of content types + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentTypeCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentTypeContract, + headersMapper: Mappers.ContentTypeGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentTypeGetHeaders + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch0, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentTypeContract, + headersMapper: Mappers.ContentTypeCreateOrUpdateHeaders + }, + 201: { + bodyMapper: Mappers.ContentTypeContract, + headersMapper: Mappers.ContentTypeCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentTypeCreateOrUpdateHeaders + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/contentTypes/{contentTypeId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.contentTypeId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentTypeCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts index 28179a2c2dd6..130e991c3d66 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -223,7 +222,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DelegationSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DelegationSettingsGetEntityTagHeaders } }, serializer @@ -249,7 +249,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DelegationSettingsGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DelegationSettingsGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/deletedServices.ts b/sdk/apimanagement/arm-apimanagement/src/operations/deletedServices.ts new file mode 100644 index 000000000000..aad8746052c3 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/deletedServices.ts @@ -0,0 +1,244 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/deletedServicesMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a DeletedServices. */ +export class DeletedServices { + private readonly client: ApiManagementClientContext; + + /** + * Create a DeletedServices. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists all soft-deleted services available for undelete for the given subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Get soft-deleted Api Management Service by name. + * @param serviceName The name of the API Management service. + * @param location The location of the deleted API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + getByName(serviceName: string, location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param serviceName The name of the API Management service. + * @param location The location of the deleted API Management service. + * @param callback The callback + */ + getByName(serviceName: string, location: string, callback: msRest.ServiceCallback): void; + /** + * @param serviceName The name of the API Management service. + * @param location The location of the deleted API Management service. + * @param options The optional parameters + * @param callback The callback + */ + getByName(serviceName: string, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByName(serviceName: string, location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + serviceName, + location, + options + }, + getByNameOperationSpec, + callback) as Promise; + } + + /** + * Purges Api Management Service (deletes it with no option to undelete). + * @param serviceName The name of the API Management service. + * @param location The location of the deleted API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + purge(serviceName: string, location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param serviceName The name of the API Management service. + * @param location The location of the deleted API Management service. + * @param callback The callback + */ + purge(serviceName: string, location: string, callback: msRest.ServiceCallback): void; + /** + * @param serviceName The name of the API Management service. + * @param location The location of the deleted API Management service. + * @param options The optional parameters + * @param callback The callback + */ + purge(serviceName: string, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + purge(serviceName: string, location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + serviceName, + location, + options + }, + purgeOperationSpec, + callback) as Promise; + } + + /** + * Lists all soft-deleted services available for undelete for the given subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/deletedservices", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeletedServicesCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getByNameOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{location}/deletedservices/{serviceName}", + urlParameters: [ + Parameters.serviceName, + Parameters.subscriptionId, + Parameters.location + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeletedServiceContract + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const purgeOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{location}/deletedservices/{serviceName}", + urlParameters: [ + Parameters.serviceName, + Parameters.subscriptionId, + Parameters.location + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: { + bodyMapper: Mappers.DeletedServiceContract + }, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeletedServicesCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts b/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts index e4b86f89bc26..51202775f7e1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class Diagnostic { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class Diagnostic { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class Diagnostic { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, diagnosticId: string, parameters: Models.DiagnosticContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class Diagnostic { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -281,7 +280,7 @@ export class Diagnostic { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.DiagnosticListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -292,8 +291,8 @@ export class Diagnostic { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.DiagnosticListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.DiagnosticListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -354,7 +353,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DiagnosticGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticGetEntityTagHeaders } }, serializer @@ -381,7 +381,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DiagnosticGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticGetHeaders } }, serializer @@ -420,7 +421,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DiagnosticCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticCreateOrUpdateHeaders } }, serializer @@ -450,9 +452,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.DiagnosticContract, + headersMapper: Mappers.DiagnosticUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticUpdateHeaders } }, serializer @@ -491,6 +497,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts b/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts index fb6ba47d4b55..949008154b74 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,7 +26,7 @@ export class EmailTemplate { } /** - * Lists a collection of properties defined within a service instance. + * Gets all email templates * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param [options] The optional parameters @@ -234,7 +233,7 @@ export class EmailTemplate { } /** - * Updates the specific Email Template. + * Updates API Management email template * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param templateName Email Template Name Identifier. Possible values include: @@ -245,13 +244,13 @@ export class EmailTemplate { * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', * 'requestDeveloperNotificationMessage' - * @param parameters Update parameters. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. + * @param parameters Update parameters. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, parameters: Models.EmailTemplateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, ifMatch: string, parameters: Models.EmailTemplateUpdateParameters, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -263,12 +262,12 @@ export class EmailTemplate { * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', * 'requestDeveloperNotificationMessage' - * @param parameters Update parameters. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. + * @param parameters Update parameters. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, parameters: Models.EmailTemplateUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, ifMatch: string, parameters: Models.EmailTemplateUpdateParameters, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -280,25 +279,25 @@ export class EmailTemplate { * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', * 'requestDeveloperNotificationMessage' - * @param parameters Update parameters. * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. + * @param parameters Update parameters. * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, parameters: Models.EmailTemplateUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, parameters: Models.EmailTemplateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, ifMatch: string, parameters: Models.EmailTemplateUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, templateName: Models.TemplateName, ifMatch: string, parameters: Models.EmailTemplateUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, templateName, - parameters, ifMatch, + parameters, options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -366,12 +365,12 @@ export class EmailTemplate { } /** - * Lists a collection of properties defined within a service instance. + * Gets all email templates * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.EmailTemplateListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -382,8 +381,8 @@ export class EmailTemplate { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.EmailTemplateListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.EmailTemplateListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -444,7 +443,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.EmailTemplateGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.EmailTemplateGetEntityTagHeaders } }, serializer @@ -471,7 +471,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.EmailTemplateGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.EmailTemplateGetHeaders } }, serializer @@ -538,9 +539,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.EmailTemplateContract, + headersMapper: Mappers.EmailTemplateUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.EmailTemplateUpdateHeaders } }, serializer @@ -579,6 +584,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts index e2e9bc6fe6a3..acbc474aff25 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class Gateway { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class Gateway { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class Gateway { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, gatewayId: string, parameters: Models.GatewayContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class Gateway { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -406,7 +405,7 @@ export class Gateway { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.GatewayListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -417,8 +416,8 @@ export class Gateway { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.GatewayListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.GatewayListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -440,6 +439,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.filter0, Parameters.top, Parameters.skip, Parameters.apiVersion @@ -478,7 +478,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayGetEntityTagHeaders } }, serializer @@ -505,7 +506,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayGetHeaders } }, serializer @@ -544,7 +546,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayCreateOrUpdateHeaders } }, serializer @@ -574,9 +577,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.GatewayContract, + headersMapper: Mappers.GatewayUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayUpdateHeaders } }, serializer @@ -629,7 +636,8 @@ const listKeysOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayListKeysHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayListKeysHeaders } }, serializer @@ -706,6 +714,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts index 1037389d498b..edcff6950519 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -200,7 +199,7 @@ export class GatewayApi { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.GatewayApiListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -211,8 +210,8 @@ export class GatewayApi { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.GatewayApiListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.GatewayApiListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -235,6 +234,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.filter0, Parameters.top, Parameters.skip, Parameters.apiVersion @@ -274,7 +274,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayApiGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayApiGetEntityTagHeaders } }, serializer @@ -350,6 +351,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts index a7aa24ccfb2a..14c52f18a695 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -113,7 +112,7 @@ export class GatewayHostnameConfiguration { } /** - * Gets the details of the Gateway hostname configuration specified by its identifier. + * Get details of a hostname configuration * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param gatewayId Gateway entity identifier. Must be unique in the current API Management service @@ -170,7 +169,7 @@ export class GatewayHostnameConfiguration { * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: Models.GatewayHostnameConfigurationContract, options?: msRest.RequestOptionsBase): Promise; + createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: Models.GatewayHostnameConfigurationContract, options?: Models.GatewayHostnameConfigurationCreateOrUpdateOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -193,8 +192,8 @@ export class GatewayHostnameConfiguration { * @param options The optional parameters * @param callback The callback */ - createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: Models.GatewayHostnameConfigurationContract, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: Models.GatewayHostnameConfigurationContract, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: Models.GatewayHostnameConfigurationContract, options: Models.GatewayHostnameConfigurationCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, parameters: Models.GatewayHostnameConfigurationContract, options?: Models.GatewayHostnameConfigurationCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -216,10 +215,12 @@ export class GatewayHostnameConfiguration { * instance. Must not have value 'managed' * @param hcId Gateway hostname configuration identifier. Must be unique in the scope of parent * Gateway entity. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -227,9 +228,11 @@ export class GatewayHostnameConfiguration { * instance. Must not have value 'managed' * @param hcId Gateway hostname configuration identifier. Must be unique in the scope of parent * Gateway entity. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -237,17 +240,20 @@ export class GatewayHostnameConfiguration { * instance. Must not have value 'managed' * @param hcId Gateway hostname configuration identifier. Must be unique in the scope of parent * Gateway entity. + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, gatewayId: string, hcId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, gatewayId, hcId, + ifMatch, options }, deleteMethodOperationSpec, @@ -260,7 +266,7 @@ export class GatewayHostnameConfiguration { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.GatewayHostnameConfigurationListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -271,8 +277,8 @@ export class GatewayHostnameConfiguration { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.GatewayHostnameConfigurationListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.GatewayHostnameConfigurationListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -295,6 +301,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.filter0, Parameters.top, Parameters.skip, Parameters.apiVersion @@ -334,7 +341,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayHostnameConfigurationGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayHostnameConfigurationGetEntityTagHeaders } }, serializer @@ -362,7 +370,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayHostnameConfigurationGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayHostnameConfigurationGetHeaders } }, serializer @@ -382,6 +391,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.apiVersion ], headerParameters: [ + Parameters.ifMatch0, Parameters.acceptLanguage ], requestBody: { @@ -401,7 +411,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayHostnameConfigurationCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayHostnameConfigurationCreateOrUpdateHeaders } }, serializer @@ -421,6 +432,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.apiVersion ], headerParameters: [ + Parameters.ifMatch1, Parameters.acceptLanguage ], responses: { @@ -440,6 +452,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/group.ts b/sdk/apimanagement/arm-apimanagement/src/operations/group.ts index 13b9fec30dbe..48c1c1113b4a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/group.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/group.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -179,9 +178,9 @@ export class Group { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class Group { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class Group { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, groupId: string, parameters: Models.GroupUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class Group { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -266,7 +265,7 @@ export class Group { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.GroupListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -277,8 +276,8 @@ export class Group { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.GroupListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.GroupListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -339,7 +338,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GroupGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupGetEntityTagHeaders } }, serializer @@ -366,7 +366,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GroupGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupGetHeaders } }, serializer @@ -405,7 +406,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GroupCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupCreateOrUpdateHeaders } }, serializer @@ -435,9 +437,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.GroupContract, + headersMapper: Mappers.GroupUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupUpdateHeaders } }, serializer @@ -476,6 +482,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/groupUser.ts b/sdk/apimanagement/arm-apimanagement/src/operations/groupUser.ts index 819dff540d27..b74207581f9d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/groupUser.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/groupUser.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -188,7 +187,7 @@ export class GroupUser { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.GroupUserListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -199,8 +198,8 @@ export class GroupUser { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.GroupUserListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.GroupUserListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -331,6 +330,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts b/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts index b1d63a641d45..8ef6d7e78fc1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -190,9 +189,9 @@ export class IdentityProvider { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -203,7 +202,7 @@ export class IdentityProvider { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -215,8 +214,8 @@ export class IdentityProvider { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, identityProviderName: Models.IdentityProviderType, parameters: Models.IdentityProviderUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -227,7 +226,7 @@ export class IdentityProvider { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -391,7 +390,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IdentityProviderGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderGetEntityTagHeaders } }, serializer @@ -418,7 +418,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IdentityProviderGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderGetHeaders } }, serializer @@ -457,7 +458,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IdentityProviderCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderCreateOrUpdateHeaders } }, serializer @@ -487,9 +489,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.IdentityProviderContract, + headersMapper: Mappers.IdentityProviderUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderUpdateHeaders } }, serializer @@ -538,10 +544,12 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ClientSecretContract + bodyMapper: Mappers.ClientSecretContract, + headersMapper: Mappers.IdentityProviderListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderListSecretsHeaders } }, serializer @@ -554,6 +562,9 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts index c17f4b2b9cf3..0d112d55b342 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -28,6 +27,9 @@ export * from "./authorizationServer"; export * from "./backend"; export * from "./cache"; export * from "./certificate"; +export * from "./contentType"; +export * from "./contentItem"; +export * from "./deletedServices"; export * from "./apiManagementOperations"; export * from "./apiManagementServiceSkus"; export * from "./apiManagementService"; @@ -49,6 +51,7 @@ export * from "./notificationRecipientEmail"; export * from "./openIdConnectProvider"; export * from "./policy"; export * from "./policyDescription"; +export * from "./portalRevision"; export * from "./signInSettings"; export * from "./signUpSettings"; export * from "./delegationSettings"; @@ -61,6 +64,7 @@ export * from "./quotaByCounterKeys"; export * from "./quotaByPeriodKeys"; export * from "./region"; export * from "./reports"; +export * from "./tenantSettings"; export * from "./subscription"; export * from "./tagResource"; export * from "./tenantAccess"; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts index 74263bc8328b..c2211c08df38 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -100,7 +99,7 @@ export class Issue { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.IssueListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -111,8 +110,8 @@ export class Issue { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.IssueListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.IssueListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -174,7 +173,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IssueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IssueGetHeaders } }, serializer @@ -187,6 +187,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts index ceea06065217..7999eb36502c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -179,9 +178,9 @@ export class Logger { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class Logger { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class Logger { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class Logger { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -227,7 +226,7 @@ export class Logger { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: Models.LoggerDeleteMethodOptionalParams): Promise; + deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -246,8 +245,8 @@ export class Logger { * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options: Models.LoggerDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: Models.LoggerDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -266,7 +265,7 @@ export class Logger { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.LoggerListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -277,8 +276,8 @@ export class Logger { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.LoggerListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.LoggerListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -339,7 +338,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerGetEntityTagHeaders } }, serializer @@ -366,7 +366,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerGetHeaders } }, serializer @@ -405,7 +406,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerCreateOrUpdateHeaders } }, serializer @@ -435,9 +437,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.LoggerContract, + headersMapper: Mappers.LoggerUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerUpdateHeaders } }, serializer @@ -453,7 +459,6 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.force, Parameters.apiVersion ], headerParameters: [ @@ -477,6 +482,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts index 741f6c25bc54..e488b19a6f65 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -28,7 +27,7 @@ export class NamedValue { } /** - * Lists a collection of NamedValues defined within a service instance. + * Lists a collection of named values defined within a service instance. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param [options] The optional parameters @@ -60,7 +59,7 @@ export class NamedValue { } /** - * Gets the entity state (Etag) version of the NamedValue specified by its identifier. + * Gets the entity state (Etag) version of the named value specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -96,7 +95,7 @@ export class NamedValue { } /** - * Gets the details of the NamedValue specified by its identifier. + * Gets the details of the named value specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -132,7 +131,7 @@ export class NamedValue { } /** - * Creates or updates a NamedValue. + * Creates or updates named value. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -146,7 +145,7 @@ export class NamedValue { } /** - * Updates the specific NamedValue. + * Updates the specific named value. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -162,7 +161,7 @@ export class NamedValue { } /** - * Deletes specific NamedValue from the API Management service instance. + * Deletes specific named value from the API Management service instance. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -205,7 +204,7 @@ export class NamedValue { } /** - * Gets the secret value of the NamedValue. + * Gets the secret of the named value specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -219,7 +218,7 @@ export class NamedValue { * @param namedValueId Identifier of the NamedValue. * @param callback The callback */ - listValue(resourceGroupName: string, serviceName: string, namedValueId: string, callback: msRest.ServiceCallback): void; + listValue(resourceGroupName: string, serviceName: string, namedValueId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -227,8 +226,8 @@ export class NamedValue { * @param options The optional parameters * @param callback The callback */ - listValue(resourceGroupName: string, serviceName: string, namedValueId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listValue(resourceGroupName: string, serviceName: string, namedValueId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listValue(resourceGroupName: string, serviceName: string, namedValueId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listValue(resourceGroupName: string, serviceName: string, namedValueId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -241,7 +240,7 @@ export class NamedValue { } /** - * Creates or updates a NamedValue. + * Creates or updates named value. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -263,7 +262,7 @@ export class NamedValue { } /** - * Updates the specific NamedValue. + * Updates the specific named value. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -288,12 +287,12 @@ export class NamedValue { } /** - * Lists a collection of NamedValues defined within a service instance. + * Lists a collection of named values defined within a service instance. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.NamedValueListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -304,8 +303,8 @@ export class NamedValue { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.NamedValueListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.NamedValueListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -366,7 +365,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueGetEntityTagHeaders } }, serializer @@ -393,7 +393,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueGetHeaders } }, serializer @@ -442,10 +443,12 @@ const listValueOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.PropertyValueContract + bodyMapper: Mappers.NamedValueSecretContract, + headersMapper: Mappers.NamedValueListValueHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueListValueHeaders } }, serializer @@ -487,7 +490,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueCreateOrUpdateHeaders } }, serializer @@ -524,11 +528,9 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { 202: { headersMapper: Mappers.NamedValueUpdateHeaders }, - 204: { - headersMapper: Mappers.NamedValueUpdateHeaders - }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueUpdateHeaders } }, serializer @@ -541,6 +543,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/networkStatus.ts b/sdk/apimanagement/arm-apimanagement/src/operations/networkStatus.ts index 4a2e2f094b53..62935badd52a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/networkStatus.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/networkStatus.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/notification.ts b/sdk/apimanagement/arm-apimanagement/src/operations/notification.ts index ee40ffce7f34..d6d61d945f22 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/notification.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/notification.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -154,7 +153,7 @@ export class Notification { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.NotificationListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -165,8 +164,8 @@ export class Notification { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.NotificationListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.NotificationListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -266,6 +265,11 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientEmail.ts b/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientEmail.ts index 33904e45df9c..065caac07928 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientEmail.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientEmail.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientUser.ts b/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientUser.ts index 0f5df0fb3ac3..e941a163d0b3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientUser.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/notificationRecipientUser.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts b/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts index 61367e1b6b9a..5abd35593970 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -95,7 +94,7 @@ export class OpenIdConnectProvider { } /** - * Gets specific OpenID Connect Provider. + * Gets specific OpenID Connect Provider without secrets. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param opid Identifier of the OpenID Connect Provider. @@ -179,9 +178,9 @@ export class OpenIdConnectProvider { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class OpenIdConnectProvider { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class OpenIdConnectProvider { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, opid: string, parameters: Models.OpenidConnectProviderUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class OpenIdConnectProvider { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -302,7 +301,7 @@ export class OpenIdConnectProvider { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.OpenIdConnectProviderListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -313,8 +312,8 @@ export class OpenIdConnectProvider { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.OpenIdConnectProviderListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.OpenIdConnectProviderListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -375,7 +374,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OpenIdConnectProviderGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderGetEntityTagHeaders } }, serializer @@ -402,7 +402,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OpenIdConnectProviderGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderGetHeaders } }, serializer @@ -441,7 +442,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OpenIdConnectProviderCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderCreateOrUpdateHeaders } }, serializer @@ -471,9 +473,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.OpenidConnectProviderContract, + headersMapper: Mappers.OpenIdConnectProviderUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderUpdateHeaders } }, serializer @@ -522,10 +528,12 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ClientSecretContract + bodyMapper: Mappers.ClientSecretContract, + headersMapper: Mappers.OpenIdConnectProviderListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderListSecretsHeaders } }, serializer @@ -538,6 +546,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/operationOperations.ts b/sdk/apimanagement/arm-apimanagement/src/operations/operationOperations.ts index 770b86b58870..e3addd7bf36b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/operationOperations.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/operationOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -71,7 +70,7 @@ export class OperationOperations { * @param [options] The optional parameters * @returns Promise */ - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTagsNext(nextPageLink: string, options?: Models.OperationListByTagsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -82,8 +81,8 @@ export class OperationOperations { * @param options The optional parameters * @param callback The callback */ - listByTagsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTagsNext(nextPageLink: string, options: Models.OperationListByTagsNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTagsNext(nextPageLink: string, options?: Models.OperationListByTagsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -133,6 +132,13 @@ const listByTagsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.includeNotTaggedOperations, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts index f9736328e80a..f4597a91bb9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -246,7 +245,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyGetEntityTagHeaders } }, serializer @@ -274,7 +274,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyGetHeaders } }, serializer @@ -313,7 +314,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts index 2e190512dfc7..bdcc65951422 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts new file mode 100644 index 000000000000..e03ba7ef0dce --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts @@ -0,0 +1,436 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/portalRevisionMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a PortalRevision. */ +export class PortalRevision { + private readonly client: ApiManagementClientContext; + + /** + * Create a PortalRevision. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists a collection of developer portal revision entities. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.PortalRevisionListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.PortalRevisionListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.PortalRevisionListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Gets developer portal revision specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param [options] The optional parameters + * @returns Promise + */ + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param options The optional parameters + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + options + }, + getEntityTagOperationSpec, + callback) as Promise; + } + + /** + * Gets developer portal revision specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a new developer portal revision. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serviceName,portalRevisionId,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Updates the description of specified portal revision or makes it current. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,serviceName,portalRevisionId,parameters,ifMatch,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Creates a new developer portal revision. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Updates the description of specified portal revision or makes it current. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + parameters, + ifMatch, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Lists a collection of developer portal revision entities. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.PortalRevisionListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.PortalRevisionListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.PortalRevisionListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getEntityTagOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.PortalRevisionGetEntityTagHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionGetEntityTagHeaders + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionContract, + headersMapper: Mappers.PortalRevisionGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionGetHeaders + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PortalRevisionContract, + required: true + } + }, + responses: { + 201: { + bodyMapper: Mappers.PortalRevisionContract, + headersMapper: Mappers.PortalRevisionCreateOrUpdateHeaders + }, + 202: { + headersMapper: Mappers.PortalRevisionCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionCreateOrUpdateHeaders + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PortalRevisionContract, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionContract, + headersMapper: Mappers.PortalRevisionUpdateHeaders + }, + 202: { + headersMapper: Mappers.PortalRevisionUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionUpdateHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts index 31904c098334..d0a166a48a4c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class Product { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class Product { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class Product { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class Product { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -313,7 +312,7 @@ export class Product { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ProductListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -324,8 +323,8 @@ export class Product { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ProductListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ProductListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -341,7 +340,7 @@ export class Product { * @param [options] The optional parameters * @returns Promise */ - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTagsNext(nextPageLink: string, options?: Models.ProductListByTagsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -352,8 +351,8 @@ export class Product { * @param options The optional parameters * @param callback The callback */ - listByTagsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTagsNext(nextPageLink: string, options: Models.ProductListByTagsNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTagsNext(nextPageLink: string, options?: Models.ProductListByTagsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -416,7 +415,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductGetEntityTagHeaders } }, serializer @@ -443,7 +443,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductGetHeaders } }, serializer @@ -482,7 +483,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductCreateOrUpdateHeaders } }, serializer @@ -512,9 +514,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.ProductContract, + headersMapper: Mappers.ProductUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductUpdateHeaders } }, serializer @@ -583,6 +589,14 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.expandGroups, + Parameters.tags, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -604,6 +618,13 @@ const listByTagsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.includeNotTaggedProducts, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts index c3bad7380501..9d12993a9b3c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -209,7 +208,7 @@ export class ProductApi { * @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, options?: Models.ProductApiListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -220,8 +219,8 @@ export class ProductApi { * @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, options: Models.ProductApiListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, options?: Models.ProductApiListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -351,6 +350,12 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts index d40911e555c8..d036fba5ba67 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -200,7 +199,7 @@ export class ProductGroup { * @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, options?: Models.ProductGroupListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -211,8 +210,8 @@ export class ProductGroup { * @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, options: Models.ProductGroupListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, options?: Models.ProductGroupListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -342,6 +341,12 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts index bd7e68b41ad9..2a871533896d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -282,7 +281,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyGetEntityTagHeaders } }, serializer @@ -311,7 +311,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyGetHeaders } }, serializer @@ -351,7 +352,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts index df3e0fbae8f6..dd0b5c9fdbd1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -71,7 +70,7 @@ export class ProductSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ProductSubscriptionsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -82,8 +81,8 @@ export class ProductSubscriptions { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ProductSubscriptionsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ProductSubscriptionsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -132,6 +131,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts index e4976fa216f6..93fcbac18938 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -83,9 +82,9 @@ export class QuotaByCounterKeys { * counter-key="@("b"+"a")" then it will be accessible by "ba" key * @param parameters The value of the quota counter to be applied to all quota counter periods. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -96,7 +95,7 @@ export class QuotaByCounterKeys { * @param parameters The value of the quota counter to be applied to all quota counter periods. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -108,8 +107,8 @@ export class QuotaByCounterKeys { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +118,7 @@ export class QuotaByCounterKeys { options }, updateOperationSpec, - callback); + callback) as Promise; } } @@ -169,12 +168,14 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.QuotaCounterValueContractProperties, + ...Mappers.QuotaCounterValueUpdateContract, required: true } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.QuotaCounterCollection + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts index c7bf3dfa545a..c24c33c9d089 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -87,9 +86,9 @@ export class QuotaByPeriodKeys { * @param quotaPeriodKey Quota period key identifier. * @param parameters The value of the Quota counter to be applied on the specified period. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -101,7 +100,7 @@ export class QuotaByPeriodKeys { * @param parameters The value of the Quota counter to be applied on the specified period. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -114,8 +113,8 @@ export class QuotaByPeriodKeys { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +125,7 @@ export class QuotaByPeriodKeys { options }, updateOperationSpec, - callback); + callback) as Promise; } } @@ -178,12 +177,14 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.QuotaCounterValueContractProperties, + ...Mappers.QuotaCounterValueUpdateContract, required: true } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.QuotaCounterContract + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/region.ts b/sdk/apimanagement/arm-apimanagement/src/operations/region.ts index a563773df876..faaa028c2784 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/region.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/region.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -121,6 +120,9 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/reports.ts b/sdk/apimanagement/arm-apimanagement/src/operations/reports.ts index 328d1f592dab..92f26cdb8489 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/reports.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/reports.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -549,25 +548,29 @@ export class Reports { /** * Lists report records by API. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter The filter to apply on the operation. * @param [options] The optional parameters * @returns Promise */ - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByApiNext(nextPageLink: string, filter: string, options?: Models.ReportsListByApiNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter The filter to apply on the operation. * @param callback The callback */ - listByApiNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, filter: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter The filter to apply on the operation. * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, filter: string, options: Models.ReportsListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, filter: string, options?: Models.ReportsListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, options }, listByApiNextOperationSpec, @@ -577,25 +580,65 @@ export class Reports { /** * Lists report records by User. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| userId | + * select, filter | eq | |
| apiRegion | filter | eq | |
| productId | filter | + * eq | |
| subscriptionId | filter | eq | |
| apiId | filter | eq | |
| + * operationId | filter | eq | |
| callCountSuccess | select, orderBy | | |
| + * callCountBlocked | select, orderBy | | |
| callCountFailed | select, orderBy | + * | |
| callCountOther | select, orderBy | | |
| callCountTotal | select, + * orderBy | | |
| bandwidth | select, orderBy | | |
| cacheHitsCount | + * select | | |
| cacheMissCount | select | | |
| apiTimeAvg | select, + * orderBy | | |
| apiTimeMin | select | | |
| apiTimeMax | select | + * | |
| serviceTimeAvg | select | | |
| serviceTimeMin | select | | + * |
| serviceTimeMax | select | | |
* @param [options] The optional parameters * @returns Promise */ - listByUserNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByUserNext(nextPageLink: string, filter: string, options?: Models.ReportsListByUserNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| userId | + * select, filter | eq | |
| apiRegion | filter | eq | |
| productId | filter | + * eq | |
| subscriptionId | filter | eq | |
| apiId | filter | eq | |
| + * operationId | filter | eq | |
| callCountSuccess | select, orderBy | | |
| + * callCountBlocked | select, orderBy | | |
| callCountFailed | select, orderBy | + * | |
| callCountOther | select, orderBy | | |
| callCountTotal | select, + * orderBy | | |
| bandwidth | select, orderBy | | |
| cacheHitsCount | + * select | | |
| cacheMissCount | select | | |
| apiTimeAvg | select, + * orderBy | | |
| apiTimeMin | select | | |
| apiTimeMax | select | + * | |
| serviceTimeAvg | select | | |
| serviceTimeMin | select | | + * |
| serviceTimeMax | select | | |
* @param callback The callback */ - listByUserNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByUserNext(nextPageLink: string, filter: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| userId | + * select, filter | eq | |
| apiRegion | filter | eq | |
| productId | filter | + * eq | |
| subscriptionId | filter | eq | |
| apiId | filter | eq | |
| + * operationId | filter | eq | |
| callCountSuccess | select, orderBy | | |
| + * callCountBlocked | select, orderBy | | |
| callCountFailed | select, orderBy | + * | |
| callCountOther | select, orderBy | | |
| callCountTotal | select, + * orderBy | | |
| bandwidth | select, orderBy | | |
| cacheHitsCount | + * select | | |
| cacheMissCount | select | | |
| apiTimeAvg | select, + * orderBy | | |
| apiTimeMin | select | | |
| apiTimeMax | select | + * | |
| serviceTimeAvg | select | | |
| serviceTimeMin | select | | + * |
| serviceTimeMax | select | | |
* @param options The optional parameters * @param callback The callback */ - listByUserNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByUserNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByUserNext(nextPageLink: string, filter: string, options: Models.ReportsListByUserNextOptionalParams, callback: msRest.ServiceCallback): void; + listByUserNext(nextPageLink: string, filter: string, options?: Models.ReportsListByUserNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, options }, listByUserNextOperationSpec, @@ -605,25 +648,65 @@ export class Reports { /** * Lists report records by API Operations. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | filter | eq | |
| productId | filter | eq | | + *
| subscriptionId | filter | eq | |
| apiId | filter | eq | |
| + * operationId | select, filter | eq | |
| callCountSuccess | select, orderBy | | + * |
| callCountBlocked | select, orderBy | | |
| callCountFailed | select, + * orderBy | | |
| callCountOther | select, orderBy | | |
| + * callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | | | + *
| cacheHitsCount | select | | |
| cacheMissCount | select | | |
| + * apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | |
| + * apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param [options] The optional parameters * @returns Promise */ - listByOperationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByOperationNext(nextPageLink: string, filter: string, options?: Models.ReportsListByOperationNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | filter | eq | |
| productId | filter | eq | | + *
| subscriptionId | filter | eq | |
| apiId | filter | eq | |
| + * operationId | select, filter | eq | |
| callCountSuccess | select, orderBy | | + * |
| callCountBlocked | select, orderBy | | |
| callCountFailed | select, + * orderBy | | |
| callCountOther | select, orderBy | | |
| + * callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | | | + *
| cacheHitsCount | select | | |
| cacheMissCount | select | | |
| + * apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | |
| + * apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param callback The callback */ - listByOperationNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByOperationNext(nextPageLink: string, filter: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | filter | eq | |
| productId | filter | eq | | + *
| subscriptionId | filter | eq | |
| apiId | filter | eq | |
| + * operationId | select, filter | eq | |
| callCountSuccess | select, orderBy | | + * |
| callCountBlocked | select, orderBy | | |
| callCountFailed | select, + * orderBy | | |
| callCountOther | select, orderBy | | |
| + * callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | | | + *
| cacheHitsCount | select | | |
| cacheMissCount | select | | |
| + * apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | |
| + * apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param options The optional parameters * @param callback The callback */ - listByOperationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByOperationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByOperationNext(nextPageLink: string, filter: string, options: Models.ReportsListByOperationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByOperationNext(nextPageLink: string, filter: string, options?: Models.ReportsListByOperationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, options }, listByOperationNextOperationSpec, @@ -633,25 +716,62 @@ export class Reports { /** * Lists report records by Product. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | filter | eq | |
| productId | select, filter | eq | + * |
| subscriptionId | filter | eq | |
| callCountSuccess | select, orderBy | | + * |
| callCountBlocked | select, orderBy | | |
| callCountFailed | select, + * orderBy | | |
| callCountOther | select, orderBy | | |
| + * callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | | | + *
| cacheHitsCount | select | | |
| cacheMissCount | select | | |
| + * apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | |
| + * apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, filter: string, options?: Models.ReportsListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | filter | eq | |
| productId | select, filter | eq | + * |
| subscriptionId | filter | eq | |
| callCountSuccess | select, orderBy | | + * |
| callCountBlocked | select, orderBy | | |
| callCountFailed | select, + * orderBy | | |
| callCountOther | select, orderBy | | |
| + * callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | | | + *
| cacheHitsCount | select | | |
| cacheMissCount | select | | |
| + * apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | |
| + * apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param callback The callback */ - listByProductNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, filter: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | filter | eq | |
| productId | select, filter | eq | + * |
| subscriptionId | filter | eq | |
| callCountSuccess | select, orderBy | | + * |
| callCountBlocked | select, orderBy | | |
| callCountFailed | select, + * orderBy | | |
| callCountOther | select, orderBy | | |
| + * callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | | | + *
| cacheHitsCount | select | | |
| cacheMissCount | select | | |
| + * apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | |
| + * apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, filter: string, options: Models.ReportsListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, filter: string, options?: Models.ReportsListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, options }, listByProductNextOperationSpec, @@ -661,25 +781,65 @@ export class Reports { /** * Lists report records by geography. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| country | select | | |
| region | select | | + * |
| zip | select | | |
| apiRegion | filter | eq | |
| userId | + * filter | eq | |
| productId | filter | eq | |
| subscriptionId | filter | eq | + * |
| apiId | filter | eq | |
| operationId | filter | eq | |
| + * callCountSuccess | select | | |
| callCountBlocked | select | | |
| + * callCountFailed | select | | |
| callCountOther | select | | |
| + * bandwidth | select, orderBy | | |
| cacheHitsCount | select | | |
| + * cacheMissCount | select | | |
| apiTimeAvg | select | | |
| apiTimeMin + * | select | | |
| apiTimeMax | select | | |
| serviceTimeAvg | select | + * | |
| serviceTimeMin | select | | |
| serviceTimeMax | select | | + * |
* @param [options] The optional parameters * @returns Promise */ - listByGeoNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByGeoNext(nextPageLink: string, filter: string, options?: Models.ReportsListByGeoNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| country | select | | |
| region | select | | + * |
| zip | select | | |
| apiRegion | filter | eq | |
| userId | + * filter | eq | |
| productId | filter | eq | |
| subscriptionId | filter | eq | + * |
| apiId | filter | eq | |
| operationId | filter | eq | |
| + * callCountSuccess | select | | |
| callCountBlocked | select | | |
| + * callCountFailed | select | | |
| callCountOther | select | | |
| + * bandwidth | select, orderBy | | |
| cacheHitsCount | select | | |
| + * cacheMissCount | select | | |
| apiTimeAvg | select | | |
| apiTimeMin + * | select | | |
| apiTimeMax | select | | |
| serviceTimeAvg | select | + * | |
| serviceTimeMin | select | | |
| serviceTimeMax | select | | + * |
* @param callback The callback */ - listByGeoNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByGeoNext(nextPageLink: string, filter: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| country | select | | |
| region | select | | + * |
| zip | select | | |
| apiRegion | filter | eq | |
| userId | + * filter | eq | |
| productId | filter | eq | |
| subscriptionId | filter | eq | + * |
| apiId | filter | eq | |
| operationId | filter | eq | |
| + * callCountSuccess | select | | |
| callCountBlocked | select | | |
| + * callCountFailed | select | | |
| callCountOther | select | | |
| + * bandwidth | select, orderBy | | |
| cacheHitsCount | select | | |
| + * cacheMissCount | select | | |
| apiTimeAvg | select | | |
| apiTimeMin + * | select | | |
| apiTimeMax | select | | |
| serviceTimeAvg | select | + * | |
| serviceTimeMin | select | | |
| serviceTimeMax | select | | + * |
* @param options The optional parameters * @param callback The callback */ - listByGeoNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByGeoNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByGeoNext(nextPageLink: string, filter: string, options: Models.ReportsListByGeoNextOptionalParams, callback: msRest.ServiceCallback): void; + listByGeoNext(nextPageLink: string, filter: string, options?: Models.ReportsListByGeoNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, options }, listByGeoNextOperationSpec, @@ -689,25 +849,62 @@ export class Reports { /** * Lists report records by subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | select, filter | eq | |
| productId | select, + * filter | eq | |
| subscriptionId | select, filter | eq | |
| callCountSuccess + * | select, orderBy | | |
| callCountBlocked | select, orderBy | | |
| + * callCountFailed | select, orderBy | | |
| callCountOther | select, orderBy | | + * |
| callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | + * | |
| cacheHitsCount | select | | |
| cacheMissCount | select | | + * |
| apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | | + *
| apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, filter: string, options?: Models.ReportsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | select, filter | eq | |
| productId | select, + * filter | eq | |
| subscriptionId | select, filter | eq | |
| callCountSuccess + * | select, orderBy | | |
| callCountBlocked | select, orderBy | | |
| + * callCountFailed | select, orderBy | | |
| callCountOther | select, orderBy | | + * |
| callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | + * | |
| cacheHitsCount | select | | |
| cacheMissCount | select | | + * |
| apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | | + *
| apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, filter: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter | ge, le | |
| displayName | select, orderBy | | |
| apiRegion | + * filter | eq | |
| userId | select, filter | eq | |
| productId | select, + * filter | eq | |
| subscriptionId | select, filter | eq | |
| callCountSuccess + * | select, orderBy | | |
| callCountBlocked | select, orderBy | | |
| + * callCountFailed | select, orderBy | | |
| callCountOther | select, orderBy | | + * |
| callCountTotal | select, orderBy | | |
| bandwidth | select, orderBy | + * | |
| cacheHitsCount | select | | |
| cacheMissCount | select | | + * |
| apiTimeAvg | select, orderBy | | |
| apiTimeMin | select | | | + *
| apiTimeMax | select | | |
| serviceTimeAvg | select | | |
| + * serviceTimeMin | select | | |
| serviceTimeMax | select | | |
* @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, filter: string, options: Models.ReportsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, filter: string, options?: Models.ReportsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, options }, listBySubscriptionNextOperationSpec, @@ -717,25 +914,75 @@ export class Reports { /** * Lists report records by Time. * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter, select | ge, le | |
| interval | select | | |
| apiRegion | filter + * | eq | |
| userId | filter | eq | |
| productId | filter | eq | |
| + * subscriptionId | filter | eq | |
| apiId | filter | eq | |
| operationId | + * filter | eq | |
| callCountSuccess | select | | |
| callCountBlocked | + * select | | |
| callCountFailed | select | | |
| callCountOther | + * select | | |
| bandwidth | select, orderBy | | |
| cacheHitsCount | + * select | | |
| cacheMissCount | select | | |
| apiTimeAvg | select | + * | |
| apiTimeMin | select | | |
| apiTimeMax | select | | |
| + * serviceTimeAvg | select | | |
| serviceTimeMin | select | | |
| + * serviceTimeMax | select | | |
+ * @param interval By time interval. Interval must be multiple of 15 minutes and may not be zero. + * The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This + * code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new + * TimeSpan(hours, minutes, seconds)). * @param [options] The optional parameters * @returns Promise */ - listByTimeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTimeNext(nextPageLink: string, filter: string, interval: string, options?: Models.ReportsListByTimeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter, select | ge, le | |
| interval | select | | |
| apiRegion | filter + * | eq | |
| userId | filter | eq | |
| productId | filter | eq | |
| + * subscriptionId | filter | eq | |
| apiId | filter | eq | |
| operationId | + * filter | eq | |
| callCountSuccess | select | | |
| callCountBlocked | + * select | | |
| callCountFailed | select | | |
| callCountOther | + * select | | |
| bandwidth | select, orderBy | | |
| cacheHitsCount | + * select | | |
| cacheMissCount | select | | |
| apiTimeAvg | select | + * | |
| apiTimeMin | select | | |
| apiTimeMax | select | | |
| + * serviceTimeAvg | select | | |
| serviceTimeMin | select | | |
| + * serviceTimeMax | select | | |
+ * @param interval By time interval. Interval must be multiple of 15 minutes and may not be zero. + * The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This + * code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new + * TimeSpan(hours, minutes, seconds)). * @param callback The callback */ - listByTimeNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listByTimeNext(nextPageLink: string, filter: string, interval: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param filter | Field | Usage | Supported operators | Supported + * functions |
|-------------|-------------|-------------|-------------|
| timestamp | + * filter, select | ge, le | |
| interval | select | | |
| apiRegion | filter + * | eq | |
| userId | filter | eq | |
| productId | filter | eq | |
| + * subscriptionId | filter | eq | |
| apiId | filter | eq | |
| operationId | + * filter | eq | |
| callCountSuccess | select | | |
| callCountBlocked | + * select | | |
| callCountFailed | select | | |
| callCountOther | + * select | | |
| bandwidth | select, orderBy | | |
| cacheHitsCount | + * select | | |
| cacheMissCount | select | | |
| apiTimeAvg | select | + * | |
| apiTimeMin | select | | |
| apiTimeMax | select | | |
| + * serviceTimeAvg | select | | |
| serviceTimeMin | select | | |
| + * serviceTimeMax | select | | |
+ * @param interval By time interval. Interval must be multiple of 15 minutes and may not be zero. + * The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This + * code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new + * TimeSpan(hours, minutes, seconds)). * @param options The optional parameters * @param callback The callback */ - listByTimeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTimeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTimeNext(nextPageLink: string, filter: string, interval: string, options: Models.ReportsListByTimeNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTimeNext(nextPageLink: string, filter: string, interval: string, options?: Models.ReportsListByTimeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, + filter, + interval, options }, listByTimeNextOperationSpec, @@ -983,6 +1230,13 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1004,6 +1258,13 @@ const listByUserNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1025,6 +1286,13 @@ const listByOperationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1046,6 +1314,13 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1067,6 +1342,12 @@ const listByGeoNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1088,6 +1369,13 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1109,6 +1397,14 @@ const listByTimeNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.orderby, + Parameters.interval, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts index dd971ea317b3..47495bd57b92 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -191,7 +190,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignInSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignInSettingsGetEntityTagHeaders } }, serializer @@ -217,7 +217,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignInSettingsGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignInSettingsGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts index bd3214a4dffd..5edc08698de8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -191,7 +190,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders } }, serializer @@ -217,7 +217,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignUpSettingsGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignUpSettingsGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts index 6d68505b8bc1..001bde7253a2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -190,9 +189,9 @@ export class Subscription { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams): Promise; + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -203,7 +202,7 @@ export class Subscription { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -215,8 +214,8 @@ export class Subscription { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options: Models.SubscriptionUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options: Models.SubscriptionUpdateOptionalParams, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -227,7 +226,7 @@ export class Subscription { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -355,7 +354,7 @@ export class Subscription { } /** - * Gets the subscription keys. + * Gets the specified Subscription keys. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param sid Subscription entity Identifier. The entity represents the association between a user @@ -399,7 +398,7 @@ export class Subscription { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SubscriptionListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -410,8 +409,8 @@ export class Subscription { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SubscriptionListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SubscriptionListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -472,7 +471,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionGetEntityTagHeaders } }, serializer @@ -499,7 +499,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionGetHeaders } }, serializer @@ -516,7 +517,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch0, @@ -539,7 +541,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionCreateOrUpdateHeaders } }, serializer @@ -556,7 +559,8 @@ const updateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch1, @@ -570,9 +574,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.SubscriptionContract, + headersMapper: Mappers.SubscriptionUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionUpdateHeaders } }, serializer @@ -669,10 +677,12 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SubscriptionKeysContract + bodyMapper: Mappers.SubscriptionKeysContract, + headersMapper: Mappers.SubscriptionListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionListSecretsHeaders } }, serializer @@ -685,6 +695,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts index 78a9e2742d66..cff6a11de337 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -847,9 +846,9 @@ export class Tag { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -859,7 +858,7 @@ export class Tag { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -870,8 +869,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -882,7 +881,7 @@ export class Tag { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -934,7 +933,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByOperationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByOperationNext(nextPageLink: string, options?: Models.TagListByOperationNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -945,8 +944,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByOperationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByOperationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByOperationNext(nextPageLink: string, options: Models.TagListByOperationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByOperationNext(nextPageLink: string, options?: Models.TagListByOperationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -962,7 +961,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByApiNext(nextPageLink: string, options?: Models.TagListByApiNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -973,8 +972,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, options: Models.TagListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, options?: Models.TagListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -990,7 +989,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, options?: Models.TagListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1001,8 +1000,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, options: Models.TagListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, options?: Models.TagListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1018,7 +1017,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.TagListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1029,8 +1028,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.TagListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TagListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1095,7 +1094,8 @@ const getEntityStateByOperationOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByOperationHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByOperationHeaders } }, serializer @@ -1124,7 +1124,8 @@ const getByOperationOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByOperationHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByOperationHeaders } }, serializer @@ -1238,7 +1239,8 @@ const getEntityStateByApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByApiHeaders } }, serializer @@ -1266,7 +1268,8 @@ const getByApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByApiHeaders } }, serializer @@ -1298,7 +1301,8 @@ const assignToApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagAssignToApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagAssignToApiHeaders } }, serializer @@ -1380,7 +1384,8 @@ const getEntityStateByProductOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByProductHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByProductHeaders } }, serializer @@ -1408,7 +1413,8 @@ const getByProductOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByProductHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByProductHeaders } }, serializer @@ -1519,7 +1525,8 @@ const getEntityStateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateHeaders } }, serializer @@ -1546,7 +1553,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetHeaders } }, serializer @@ -1585,7 +1593,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagCreateOrUpdateHeaders } }, serializer @@ -1615,9 +1624,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.TagContract, + headersMapper: Mappers.TagUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagUpdateHeaders } }, serializer @@ -1656,6 +1669,12 @@ const listByOperationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1677,6 +1696,12 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1698,6 +1723,12 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1719,6 +1750,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.scope0, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts index b662081c7fcb..346b4211436c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -64,7 +63,7 @@ export class TagResource { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.TagResourceListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -75,8 +74,8 @@ export class TagResource { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.TagResourceListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TagResourceListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -124,6 +123,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts index c18facbb8662..6d221d24763f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,32 +25,71 @@ export class TenantAccess { this.client = client; } + /** + * Returns list of access infos - for Git and Management endpoints. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantAccessListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.TenantAccessListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantAccessListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + /** * Tenant access metadata * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - getEntityTag(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - getEntityTag(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - getEntityTag(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEntityTag(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, getEntityTagOperationSpec, @@ -62,28 +100,35 @@ export class TenantAccess { * Get tenant access information details without secrets. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, getOperationSpec, @@ -95,70 +140,134 @@ export class TenantAccess { * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise + */ + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param callback The callback + */ + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + parameters, + accessName, + ifMatch, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Update tenant access information details. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, parameters, + accessName, ifMatch, options }, updateOperationSpec, - callback); + callback) as Promise; } /** * Regenerate primary access key * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regeneratePrimaryKeyOperationSpec, @@ -169,28 +278,35 @@ export class TenantAccess { * Regenerate secondary access key * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regenerateSecondaryKeyOperationSpec, @@ -201,37 +317,98 @@ export class TenantAccess { * Get tenant access information details. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - listSecrets(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - listSecrets(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, listSecretsOperationSpec, callback) as Promise; } + + /** + * Returns list of access infos - for Git and Management endpoints. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.TenantAccessListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.TenantAccessListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TenantAccessListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AccessInformationCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + const getEntityTagOperationSpec: msRest.OperationSpec = { httpMethod: "HEAD", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}", @@ -252,7 +429,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetEntityTagHeaders } }, serializer @@ -279,7 +457,44 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetHeaders + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.accessName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.AccessInformationCreateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AccessInformationContract, + headersMapper: Mappers.TenantAccessCreateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessCreateHeaders } }, serializer @@ -309,9 +524,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.AccessInformationContract, + headersMapper: Mappers.TenantAccessUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessUpdateHeaders } }, serializer @@ -382,9 +601,35 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.AccessInformationContract, + bodyMapper: Mappers.AccessInformationSecretsContract, headersMapper: Mappers.TenantAccessListSecretsHeaders }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessListSecretsHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AccessInformationCollection + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts index 3a031c37eb46..4c7f80c760ca 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,64 +25,39 @@ export class TenantAccessGit { this.client = client; } - /** - * Gets the Git access configuration for the tenant. Without secrets. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param callback The callback - */ - get(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - serviceName, - options - }, - getOperationSpec, - callback) as Promise; - } - /** * Regenerate primary access key for GIT. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regeneratePrimaryKeyOperationSpec, @@ -94,96 +68,44 @@ export class TenantAccessGit { * Regenerate secondary access key for GIT. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regenerateSecondaryKeyOperationSpec, callback); } - - /** - * Gets the Git access configuration for the tenant. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param [options] The optional parameters - * @returns Promise - */ - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param callback The callback - */ - listSecrets(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param options The optional parameters - * @param callback The callback - */ - listSecrets(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - serviceName, - options - }, - listSecretsOperationSpec, - callback) as Promise; - } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.subscriptionId, - Parameters.accessName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.AccessInformationContract, - headersMapper: Mappers.TenantAccessGitGetHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - const regeneratePrimaryKeyOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regeneratePrimaryKey", @@ -231,30 +153,3 @@ const regenerateSecondaryKeyOperationSpec: msRest.OperationSpec = { }, serializer }; - -const listSecretsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/listSecrets", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.subscriptionId, - Parameters.accessName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.AccessInformationContract, - headersMapper: Mappers.TenantAccessGitListSecretsHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantConfiguration.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantConfiguration.ts index be1e84173988..1523c2214ac6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantConfiguration.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantConfiguration.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantSettings.ts new file mode 100644 index 000000000000..8fbc9fb49e7f --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantSettings.ts @@ -0,0 +1,200 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/tenantSettingsMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a TenantSettings. */ +export class TenantSettings { + private readonly client: ApiManagementClientContext; + + /** + * Create a TenantSettings. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Public settings. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantSettingsListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.TenantSettingsListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantSettingsListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Get tenant settings. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Public settings. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.TenantSettingsListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.TenantSettingsListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TenantSettingsListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TenantSettingsCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings/{settingsType}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId, + Parameters.settingsType + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TenantSettingsContract, + headersMapper: Mappers.TenantSettingsGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantSettingsGetHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TenantSettingsCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts index 43a8c279ccc7..dd1043e53973 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -179,9 +178,9 @@ export class User { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class User { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class User { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class User { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -343,7 +342,7 @@ export class User { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.UserListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -354,8 +353,8 @@ export class User { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.UserListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.UserListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -417,7 +416,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserGetEntityTagHeaders } }, serializer @@ -444,7 +444,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserGetHeaders } }, serializer @@ -460,6 +461,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.notify, Parameters.apiVersion ], headerParameters: [ @@ -483,7 +485,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserCreateOrUpdateHeaders } }, serializer @@ -513,9 +516,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.UserContract, + headersMapper: Mappers.UserUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserUpdateHeaders } }, serializer @@ -533,7 +540,8 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteSubscriptions, Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch1, @@ -615,6 +623,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.expandGroups, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts index d9e3dbdaf146..ee5bff0198a9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; import * as Mappers from "../models/userConfirmationPasswordMappers"; import * as Parameters from "../models/parameters"; import { ApiManagementClientContext } from "../apiManagementClientContext"; @@ -33,7 +33,7 @@ export class UserConfirmationPassword { * @param [options] The optional parameters * @returns Promise */ - send(resourceGroupName: string, serviceName: string, userId: string, options?: msRest.RequestOptionsBase): Promise; + send(resourceGroupName: string, serviceName: string, userId: string, options?: Models.UserConfirmationPasswordSendOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -48,8 +48,8 @@ export class UserConfirmationPassword { * @param options The optional parameters * @param callback The callback */ - send(resourceGroupName: string, serviceName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - send(resourceGroupName: string, serviceName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + send(resourceGroupName: string, serviceName: string, userId: string, options: Models.UserConfirmationPasswordSendOptionalParams, callback: msRest.ServiceCallback): void; + send(resourceGroupName: string, serviceName: string, userId: string, options?: Models.UserConfirmationPasswordSendOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -74,7 +74,8 @@ const sendOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts index 0387dbc52c58..32f8ce73a71f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -68,7 +67,7 @@ export class UserGroup { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.UserGroupListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -79,8 +78,8 @@ export class UserGroup { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.UserGroupListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.UserGroupListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -129,6 +128,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts index e84a1e21f620..0c1c0eef6324 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -126,6 +125,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userSubscription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userSubscription.ts index bf8816577ff9..899c518a5971 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userSubscription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userSubscription.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -68,7 +67,7 @@ export class UserSubscription { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.UserSubscriptionListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -79,8 +78,8 @@ export class UserSubscription { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.UserSubscriptionListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.UserSubscriptionListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -129,6 +128,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ],