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..b64a3c054dcf 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; @@ -111,6 +113,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); 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..9543387b5c61 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.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. @@ -12,6 +12,7 @@ export { ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, + ApiDiagnosticUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticCollection, DiagnosticContract, EmailTemplateContract, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..d46a57d2af41 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 94550c31a779..070382c650a0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +61,9 @@ export { IssueCommentCollection, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index f7f41cb57c0b..19cb1fab9d1f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.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. @@ -12,6 +12,7 @@ export { ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, + ApiIssueUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +63,9 @@ export { IssueCommentContract, IssueContract, IssueUpdateContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..362c9f7fa269 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.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. @@ -43,6 +43,11 @@ export { CertificateContract, CertificateInformation, CloudError, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -59,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..2778b0409ba3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.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. @@ -25,6 +25,7 @@ export { ApiReleaseContract, ApiTagResourceContractProperties, ApiUpdateContract, + ApiUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, @@ -46,6 +47,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -62,6 +68,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index 9fea7c297f13..4c67c9a9b460 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.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. @@ -17,6 +17,7 @@ export { ApiOperationCreateOrUpdateHeaders, ApiOperationGetEntityTagHeaders, ApiOperationGetHeaders, + ApiOperationUpdateHeaders, ApiReleaseContract, ApiVersionConstraint, ApiVersionSetContract, @@ -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, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index d839005cf4d1..8ee8285413c7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index bd3f2e158024..7253fbfbfc62 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index 04e121e71a4e..01bca482f46d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 3e5875867ed8..37cf7c4f58d5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.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. @@ -19,6 +19,7 @@ export { ApiReleaseCreateOrUpdateHeaders, ApiReleaseGetEntityTagHeaders, ApiReleaseGetHeaders, + ApiReleaseUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, @@ -40,6 +41,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, 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..8c8dcb7660c5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 95bcfc931452..c2b7e1c52d63 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index 1b1849674045..b6f8faba08ec 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.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. @@ -22,6 +22,7 @@ export { ApiVersionSetCreateOrUpdateHeaders, ApiVersionSetGetEntityTagHeaders, ApiVersionSetGetHeaders, + ApiVersionSetUpdateHeaders, ApiVersionSetUpdateParameters, AssociationContract, AuthenticationSettingsContract, @@ -41,6 +42,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index ff6bb419d095..ee9b5bc7ab92 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.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. @@ -25,7 +25,10 @@ export { AuthorizationServerCreateOrUpdateHeaders, AuthorizationServerGetEntityTagHeaders, AuthorizationServerGetHeaders, + AuthorizationServerListSecretsHeaders, + AuthorizationServerSecretsContract, AuthorizationServerUpdateContract, + AuthorizationServerUpdateHeaders, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -40,7 +43,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, - ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 96dc17f4f00d..79a8963ec6b3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.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. @@ -34,6 +34,7 @@ export { BackendReconnectContract, BackendServiceFabricClusterProperties, BackendTlsProperties, + BackendUpdateHeaders, BackendUpdateParameters, BaseResource, BodyDiagnosticSettings, @@ -41,6 +42,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index 925c1c8e995b..ae97f8d07caa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.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. @@ -37,10 +37,16 @@ export { CacheCreateOrUpdateHeaders, CacheGetEntityTagHeaders, CacheGetHeaders, + CacheUpdateHeaders, CacheUpdateParameters, CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index dc1c4422c33d..827eade46b26 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.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. @@ -41,6 +41,11 @@ export { CertificateGetEntityTagHeaders, CertificateGetHeaders, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..a8194573afc7 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.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 { + 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, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + 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..63b45d4b131f --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -0,0 +1,105 @@ +/* + * 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 { + 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, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + 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..2e3996e920b2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.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. @@ -36,8 +36,13 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, DelegationSettingsGetEntityTagHeaders, DelegationSettingsGetHeaders, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..85441f503939 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -0,0 +1,103 @@ +/* + * 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 { + 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, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + 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..c3d2935b06ea 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.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. @@ -36,11 +36,17 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticCollection, DiagnosticContract, DiagnosticCreateOrUpdateHeaders, DiagnosticGetEntityTagHeaders, DiagnosticGetHeaders, + DiagnosticUpdateHeaders, EmailTemplateContract, EmailTemplateParametersContractProperties, ErrorFieldContract, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index e95c43143839..865fd029588f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.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. @@ -36,12 +36,18 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateCollection, EmailTemplateContract, EmailTemplateGetEntityTagHeaders, EmailTemplateGetHeaders, EmailTemplateParametersContractProperties, + EmailTemplateUpdateHeaders, EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index 3923b13a0f3c..571f4c5cbbd8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.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. @@ -37,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index 8a77fa12242c..410b7d21e9fc 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index c1c140d0632a..29d3ef95c925 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,7 @@ export { GatewayListKeysHeaders, GatewayTokenContract, GatewayTokenRequestContract, + GatewayUpdateHeaders, GroupContract, GroupContractProperties, HostnameConfiguration, @@ -61,6 +67,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index cc5873a72832..607c08cbe3f6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -50,6 +55,7 @@ export { GroupCreateParameters, GroupGetEntityTagHeaders, GroupGetHeaders, + GroupUpdateHeaders, GroupUpdateParameters, HostnameConfiguration, HttpMessageDiagnostic, @@ -58,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 2eeab6b3baf7..66de742c53f2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 674b64208ffa..0d1a0416d786 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.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. @@ -37,6 +37,11 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,10 +59,15 @@ export { IdentityProviderGetEntityTagHeaders, IdentityProviderGetHeaders, IdentityProviderList, + IdentityProviderListSecretsHeaders, + IdentityProviderUpdateHeaders, IdentityProviderUpdateParameters, IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 00a9ffa0200a..4362a5f9942a 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,62 @@ 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. + */ + 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 +2123,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 +2136,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 +2214,7 @@ export interface CertificateCreateOrUpdateParameters { export interface ResourceSku { /** * Name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', - * 'Consumption' + * 'Consumption', 'Isolated' */ name?: SkuType; } @@ -2158,6 +2328,11 @@ export interface HostnameConfiguration { * service to be configured with MSI. 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 +2386,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 +2408,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 +2537,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 +2615,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 +2754,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 +2832,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 +2862,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 +2931,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 +3009,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 +3158,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 +3178,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 +3189,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 +3205,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 +3240,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 +3447,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 +3524,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 +3574,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 +3614,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 +3665,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 +3726,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 +3824,10 @@ export interface NamedValueContract extends Resource { * request to get the value. */ value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractProperties; } /** @@ -3629,6 +3853,10 @@ export interface NamedValueUpdateParameters { * of whitespace. */ value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractCreateProperties; } /** @@ -3654,7 +3882,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 +3920,14 @@ export interface ConnectivityStatusContract { * the ISO 8601 standard. */ lastStatusChange: Date; + /** + * Resource Type. + */ + resourceType: string; + /** + * Whether this is optional. + */ + isOptional: boolean; } /** @@ -3799,13 +4039,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 +4053,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 +4065,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 +4079,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. */ @@ -4047,7 +4287,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 +4386,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. */ @@ -4421,7 +4676,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; /** @@ -4747,8 +5003,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 +5055,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 +5109,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; /** @@ -4893,11 +5148,16 @@ export interface ApiBeginCreateOrUpdateOptionalParams extends msRest.RequestOpti /** * Optional Parameters. */ -export interface ApiRevisionListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| apiRevision | 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 |
| 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; /** @@ -4908,16 +5168,30 @@ export interface ApiRevisionListByServiceOptionalParams extends msRest.RequestOp * 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 ApiReleaseListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiListByTagsNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| notes | 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 |
| 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; /** @@ -4928,32 +5202,40 @@ export interface ApiReleaseListByServiceOptionalParams extends msRest.RequestOpt * Number of records to skip. */ skip?: number; + /** + * Include not tagged APIs. + */ + includeNotTaggedApis?: boolean; } /** * Optional Parameters. */ -export interface ApiReleaseCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiRevisionListByServiceOptionalParams 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 + * |
|-------------|-------------|-------------|-------------|
| apiRevision | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - ifMatch?: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ApiOperationListByApiOptionalParams extends msRest.RequestOptionsBase { +export interface ApiRevisionListByServiceNextOptionalParams 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 | - *
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| apiRevision | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -4964,16 +5246,32 @@ export interface ApiOperationListByApiOptionalParams extends msRest.RequestOptio * Number of records to skip. */ skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ApiReleaseListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Include tags in the response. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| notes | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - tags?: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ApiOperationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiReleaseCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -4984,9 +5282,98 @@ export interface ApiOperationCreateOrUpdateOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ApiOperationPolicyGetOptionalParams extends msRest.RequestOptionsBase { +export interface ApiReleaseListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. + * | 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 + * |
|-------------|-------------|-------------|-------------|
| 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. + */ +export interface ApiOperationCreateOrUpdateOptionalParams 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 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. + */ +export interface ApiOperationPolicyGetOptionalParams extends msRest.RequestOptionsBase { + /** + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ format?: PolicyExportFormat; } @@ -5007,10 +5394,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 +5415,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 +5436,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 +5457,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; /** @@ -5101,14 +5488,122 @@ export interface TagCreateOrUpdateOptionalParams extends msRest.RequestOptionsBa ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface TagListByOperationNextOptionalParams 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 |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface TagListByApiNextOptionalParams 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 |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface TagListByProductNextOptionalParams 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 |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface TagListByServiceNextOptionalParams 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 |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Scope like 'apis', 'products' or 'apis/{apiId} + */ + scope?: string; +} + /** * Optional Parameters. */ export interface ApiProductListByApisOptionalParams 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 |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ApiProductListByApisNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | 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 |
*/ filter?: string; /** @@ -5147,9 +5642,9 @@ export interface ApiPolicyCreateOrUpdateOptionalParams extends msRest.RequestOpt */ export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| contentType | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5194,14 +5689,34 @@ export interface ApiSchemaBeginCreateOrUpdateOptionalParams extends msRest.Reque ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiSchemaListByApiNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| contentType | 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 ApiDiagnosticListByServiceOptionalParams 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 |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5225,16 +5740,36 @@ export interface ApiDiagnosticCreateOrUpdateOptionalParams extends msRest.Reques ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiDiagnosticListByServiceNextOptionalParams 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 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 - * | |
+ * 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; /** @@ -5272,15 +5807,41 @@ export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOpti ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiIssueListByServiceNextOptionalParams 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 | + * |
+ */ + filter?: string; + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + /** * Optional Parameters. */ 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 |
| userId | 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; /** @@ -5307,12 +5868,12 @@ export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.Requ /** * Optional Parameters. */ -export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentListByServiceNextOptionalParams 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 |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5328,23 +5889,12 @@ export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.Re /** * Optional Parameters. */ -export interface ApiIssueAttachmentCreateOrUpdateOptionalParams 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 ApiTagDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueAttachmentListByServiceOptionalParams 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 + * |
|-------------|-------------|-------------|-------------|
| 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; /** @@ -5360,7 +5910,7 @@ export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface ApiTagDescriptionCreateOrUpdateOptionalParams 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. @@ -5371,17 +5921,12 @@ export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.Re /** * Optional Parameters. */ -export interface OperationListByTagsOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueAttachmentListByServiceNextOptionalParams 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 |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5392,19 +5937,17 @@ 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 ApiTagDescriptionListByServiceOptionalParams 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 |
*/ filter?: string; /** @@ -5420,7 +5963,7 @@ export interface ApiVersionSetListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ApiVersionSetCreateOrUpdateOptionalParams 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. @@ -5431,12 +5974,12 @@ export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface AuthorizationServerListByServiceOptionalParams 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 |
| displayName | 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; /** @@ -5452,24 +5995,47 @@ export interface AuthorizationServerListByServiceOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface AuthorizationServerCreateOrUpdateOptionalParams 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; -} - + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include not tagged Operations. + */ + includeNotTaggedOperations?: boolean; +} + /** * Optional Parameters. */ -export interface BackendListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface OperationListByTagsNextOptionalParams 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 |
| 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; /** @@ -5480,33 +6046,21 @@ export interface BackendListByServiceOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; -} - -/** - * Optional Parameters. - */ -export interface BackendCreateOrUpdateOptionalParams 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 BackendReconnectOptionalParams extends msRest.RequestOptionsBase { +export interface ApiVersionSetListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Reconnect request parameters. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
*/ - parameters?: BackendReconnectContract; -} - -/** - * Optional Parameters. - */ -export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** * Number of records to return. */ @@ -5520,7 +6074,7 @@ export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface CacheCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5531,14 +6085,10 @@ export interface CacheCreateOrUpdateOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface CertificateListByServiceOptionalParams 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 |
| 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 | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
*/ filter?: string; /** @@ -5554,46 +6104,66 @@ export interface CertificateListByServiceOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerListByServiceOptionalParams 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; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ApiManagementServiceApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerCreateOrUpdateOptionalParams 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. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; + ifMatch?: string; } /** * Optional Parameters. */ -export interface ApiManagementServiceBeginApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerListByServiceNextOptionalParams 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 |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface DiagnosticListByServiceOptionalParams 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 |
+ * 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; /** @@ -5609,7 +6179,7 @@ export interface DiagnosticListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface DiagnosticCreateOrUpdateOptionalParams 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. @@ -5620,11 +6190,23 @@ export interface DiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface EmailTemplateListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface BackendReconnectOptionalParams extends msRest.RequestOptionsBase { + /** + * Reconnect request parameters. + */ + parameters?: BackendReconnectContract; +} + +/** + * Optional Parameters. + */ +export interface BackendListByServiceNextOptionalParams 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 |
+ * 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; /** @@ -5640,18 +6222,7 @@ export interface EmailTemplateListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface EmailTemplateCreateOrUpdateOptionalParams 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 GatewayListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -5665,7 +6236,7 @@ export interface GatewayListByServiceOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface GatewayCreateOrUpdateOptionalParams 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. @@ -5676,7 +6247,7 @@ export interface GatewayCreateOrUpdateOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface GatewayHostnameConfigurationListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface CacheListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -5690,7 +6261,16 @@ export interface GatewayHostnameConfigurationListByServiceOptionalParams extends /** * Optional Parameters. */ -export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | 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 | |
+ */ + filter?: string; /** * Number of records to return. */ @@ -5704,21 +6284,25 @@ export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - parameters?: AssociationContract; +export interface CertificateCreateOrUpdateOptionalParams 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 CertificateListByServiceNextOptionalParams 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 |
| - * aadObjectId | filter | eq | |
+ * 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; /** @@ -5734,7 +6318,7 @@ export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface GroupCreateOrUpdateOptionalParams 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. @@ -5745,16 +6329,46 @@ export interface GroupCreateOrUpdateOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface GroupUserListOptionalParams 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. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface ApiManagementServiceApplyNetworkConfigurationUpdatesOptionalParams 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 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 |
| 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 |
*/ filter?: string; /** @@ -5770,7 +6384,7 @@ export interface GroupUserListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface IdentityProviderCreateOrUpdateOptionalParams 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. @@ -5781,16 +6395,11 @@ export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticListByServiceNextOptionalParams 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 |
*/ filter?: string; /** @@ -5806,14 +6415,11 @@ export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface LoggerListByServiceOptionalParams 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 |
| 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 |
*/ filter?: string; /** @@ -5829,7 +6435,7 @@ export interface LoggerListByServiceOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface EmailTemplateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5840,22 +6446,33 @@ export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface LoggerDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface EmailTemplateListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Force deletion even if diagnostic is attached. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - force?: boolean; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface NamedValueListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayListByServiceOptionalParams 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 |
| 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; /** @@ -5871,7 +6488,7 @@ export interface NamedValueListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface NamedValueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5882,18 +6499,36 @@ export interface NamedValueCreateOrUpdateOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface NamedValueBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayListByServiceNextOptionalParams 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 |
| region | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - ifMatch?: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface NotificationListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationListByServiceOptionalParams 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. */ @@ -5907,7 +6542,7 @@ export interface NotificationListByServiceOptionalParams extends msRest.RequestO /** * Optional Parameters. */ -export interface NotificationCreateOrUpdateOptionalParams 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. @@ -5918,12 +6553,12 @@ export interface NotificationCreateOrUpdateOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationListByServiceNextOptionalParams 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 |
| hostname | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5939,71 +6574,77 @@ export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest /** * Optional Parameters. */ -export interface OpenIdConnectProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayApiListByServiceOptionalParams 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 |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface PolicyGetOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. + * Number of records to return. */ - format?: PolicyExportFormat; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface PolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; +export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + parameters?: AssociationContract; } /** * Optional Parameters. */ -export interface PolicyDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayApiListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Policy scope. Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - scope?: PolicyScopeContract; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface SignInSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GroupListByServiceOptionalParams 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 |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * externalId | filter | eq | |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface SignUpSettingsCreateOrUpdateOptionalParams 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 DelegationSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GroupCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6014,15 +6655,14 @@ export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface ProductListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface GroupListByServiceNextOptionalParams 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 |
| 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; /** @@ -6033,50 +6673,46 @@ 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 GroupUserListOptionalParams 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 |
| 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 |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * Delete existing subscriptions associated with the product or not. + * Number of records to return. */ - deleteSubscriptions?: boolean; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBase { +export interface GroupUserListNextOptionalParams 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 |
| 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; /** @@ -6087,25 +6723,32 @@ export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; +} + +/** + * Optional Parameters. + */ +export interface IdentityProviderCreateOrUpdateOptionalParams 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 IssueListByServiceOptionalParams 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 |
| 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; /** @@ -6121,12 +6764,16 @@ export interface ProductApiListByProductOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface ProductGroupListByProductOptionalParams 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 | |
| displayName | filter | eq, ne | |
| description | - * filter | eq, ne | |
+ * 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; /** @@ -6142,18 +6789,14 @@ export interface ProductGroupListByProductOptionalParams extends msRest.RequestO /** * Optional Parameters. */ -export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerListByServiceOptionalParams 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 |
| 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; /** @@ -6169,17 +6812,7 @@ export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface ProductPolicyGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. - */ - format?: PolicyExportFormat; -} - -/** - * Optional Parameters. - */ -export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6190,7 +6823,16 @@ export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | 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; /** * Number of records to return. */ @@ -6199,16 +6841,19 @@ 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 NamedValueListByServiceOptionalParams 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 |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6217,52 +6862,41 @@ 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 { - /** - * Number of records to return. - */ - top?: number; - /** - * Number of records to skip. - */ - skip?: number; +export interface NamedValueCreateOrUpdateOptionalParams 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 ReportsListByProductOptionalParams extends msRest.RequestOptionsBase { - /** - * Number of records to return. - */ - top?: number; - /** - * Number of records to skip. - */ - skip?: number; +export interface NamedValueBeginCreateOrUpdateOptionalParams 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 NamedValueListByServiceNextOptionalParams 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 |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6276,7 +6910,7 @@ export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface NotificationListByServiceOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -6285,16 +6919,23 @@ export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestO * Number of records to skip. */ skip?: number; +} + +/** + * Optional Parameters. + */ +export interface NotificationCreateOrUpdateOptionalParams 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 ReportsListByTimeOptionalParams extends msRest.RequestOptionsBase { +export interface NotificationListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -6303,16 +6944,19 @@ export interface ReportsListByTimeOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByRequestOptionalParams extends msRest.RequestOptionsBase { +export interface OpenIdConnectProviderListByServiceOptionalParams 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 |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6326,18 +6970,23 @@ export interface ReportsListByRequestOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBase { +export interface OpenIdConnectProviderCreateOrUpdateOptionalParams 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 OpenIdConnectProviderListByServiceNextOptionalParams 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 |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6353,13 +7002,17 @@ export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface PolicyGetOptionalParams 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 + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - notify?: boolean; + format?: PolicyExportFormat; +} + +/** + * Optional Parameters. + */ +export interface PolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6370,61 +7023,58 @@ export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface PolicyDescriptionListByServiceOptionalParams 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 + * Policy scope. Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' */ - notify?: boolean; + scope?: PolicyScopeContract; } /** * Optional Parameters. */ -export interface TagResourceListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface SignInSettingsCreateOrUpdateOptionalParams 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 | |
+ * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - filter?: string; + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface SignUpSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Number of records to return. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - top?: number; + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Number of records to skip. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - skip?: number; + ifMatch?: string; } /** * Optional Parameters. */ -export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ProductListByServiceOptionalParams 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 |
| 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 | | |
+ * 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 | | |
*/ filter?: string; /** @@ -6436,15 +7086,20 @@ export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBa */ skip?: number; /** - * Detailed Group in response. + * 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 UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ProductCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6455,27 +7110,25 @@ export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Whether to delete user's subscription or not. + * Delete existing subscriptions associated with the product or not. */ deleteSubscriptions?: boolean; - /** - * Send an Account Closed Email notification to the User. - */ - notify?: boolean; } /** * Optional Parameters. */ -export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { +export interface ProductListByTagsOptionalParams 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 |
+ * 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 |
*/ filter?: string; /** @@ -6486,23 +7139,24 @@ export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { * Number of records to skip. */ skip?: number; + /** + * Include not tagged Products. + */ + includeNotTaggedProducts?: boolean; } /** * Optional Parameters. */ -export interface UserSubscriptionListOptionalParams extends msRest.RequestOptionsBase { +export interface ProductListByServiceNextOptionalParams 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 |
+ * 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 | | |
*/ filter?: string; /** @@ -6513,492 +7167,847 @@ export interface UserSubscriptionListOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; -} - -/** - * An interface representing ApiManagementClientOptions. - */ -export interface ApiManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; -} - -/** - * Defines headers for GetEntityTag operation. - */ -export interface ApiGetEntityTagHeaders { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * When set to true, the response contains an array of groups that have visibility to the + * product. The default is false. */ - eTag: string; + expandGroups?: boolean; + /** + * Products which are part of a specific tag. + */ + tags?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiGetHeaders { +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 ApiCreateOrUpdateHeaders { +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 ApiReleaseGetEntityTagHeaders { +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 ApiReleaseGetHeaders { +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 ApiReleaseCreateOrUpdateHeaders { +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 ApiOperationGetEntityTagHeaders { +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 ApiOperationGetHeaders { +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 ApiOperationCreateOrUpdateHeaders { +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 ApiOperationPolicyGetEntityTagHeaders { +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 ApiOperationPolicyGetHeaders { +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 ApiOperationPolicyCreateOrUpdateHeaders { +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 GetEntityStateByOperation operation. + * Optional Parameters. */ -export interface TagGetEntityStateByOperationHeaders { +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 GetByOperation operation. + * Optional Parameters. */ -export interface TagGetByOperationHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface ApiPolicyGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface ApiPolicyGetHeaders { +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; + 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 ApiPolicyCreateOrUpdateHeaders { +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; -} - -/** - * Defines headers for GetEntityTag operation. - */ -export interface ApiSchemaGetEntityTagHeaders { + 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; -} - -/** - * Defines headers for Get operation. - */ -export interface ApiSchemaGetHeaders { + skip?: number; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * OData order by query option. */ - eTag: string; + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiSchemaCreateOrUpdateHeaders { +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; -} - -/** - * Defines headers for GetEntityTag operation. - */ -export interface ApiDiagnosticGetEntityTagHeaders { + 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 Get operation. + * Optional Parameters. */ -export interface ApiDiagnosticGetHeaders { +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 ApiDiagnosticCreateOrUpdateHeaders { +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 ApiIssueGetEntityTagHeaders { +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 ApiIssueGetHeaders { +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 ApiIssueCreateOrUpdateHeaders { +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 ApiIssueCommentGetEntityTagHeaders { +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 ApiIssueCommentGetHeaders { +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 ApiIssueCommentCreateOrUpdateHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentCreateOrUpdateHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface ApiTagDescriptionGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface ApiTagDescriptionGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiTagDescriptionCreateOrUpdateHeaders { +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 GetEntityStateByApi operation. + * Optional Parameters. */ -export interface TagGetEntityStateByApiHeaders { +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 GetByApi operation. + * Optional Parameters. */ -export interface TagGetByApiHeaders { +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 AssignToApi operation. + * Optional Parameters. */ -export interface TagAssignToApiHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface ApiVersionSetGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface ApiVersionSetGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiVersionSetCreateOrUpdateHeaders { +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 AuthorizationServerGetEntityTagHeaders { +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 AuthorizationServerGetHeaders { +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 AuthorizationServerCreateOrUpdateHeaders { +export interface ApiManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface ApiGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7007,9 +8016,9 @@ export interface AuthorizationServerCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface BackendGetEntityTagHeaders { +export interface ApiGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7018,9 +8027,9 @@ export interface BackendGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface BackendGetHeaders { +export interface ApiCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7029,9 +8038,9 @@ export interface BackendGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Update operation. */ -export interface BackendCreateOrUpdateHeaders { +export interface ApiUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7042,7 +8051,7 @@ export interface BackendCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface CacheGetEntityTagHeaders { +export interface ApiReleaseGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7053,7 +8062,7 @@ export interface CacheGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface CacheGetHeaders { +export interface ApiReleaseGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7064,7 +8073,18 @@ export interface CacheGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface CacheCreateOrUpdateHeaders { +export interface ApiReleaseCreateOrUpdateHeaders { + /** + * 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 ApiReleaseUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7075,7 +8095,7 @@ export interface CacheCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface CertificateGetEntityTagHeaders { +export interface ApiOperationGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7086,7 +8106,7 @@ export interface CertificateGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface CertificateGetHeaders { +export interface ApiOperationGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7097,7 +8117,7 @@ export interface CertificateGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface CertificateCreateOrUpdateHeaders { +export interface ApiOperationCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7106,9 +8126,9 @@ export interface CertificateCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface DiagnosticGetEntityTagHeaders { +export interface ApiOperationUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7117,9 +8137,9 @@ export interface DiagnosticGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface DiagnosticGetHeaders { +export interface ApiOperationPolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7128,9 +8148,9 @@ export interface DiagnosticGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface DiagnosticCreateOrUpdateHeaders { +export interface ApiOperationPolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7139,9 +8159,9 @@ export interface DiagnosticCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface EmailTemplateGetEntityTagHeaders { +export interface ApiOperationPolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7150,9 +8170,9 @@ export interface EmailTemplateGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityStateByOperation operation. */ -export interface EmailTemplateGetHeaders { +export interface TagGetEntityStateByOperationHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7161,9 +8181,9 @@ export interface EmailTemplateGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for GetByOperation operation. */ -export interface GatewayGetEntityTagHeaders { +export interface TagGetByOperationHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7172,9 +8192,9 @@ export interface GatewayGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface GatewayGetHeaders { +export interface ApiPolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7183,9 +8203,9 @@ export interface GatewayGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface GatewayCreateOrUpdateHeaders { +export interface ApiPolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7194,9 +8214,9 @@ export interface GatewayCreateOrUpdateHeaders { } /** - * Defines headers for ListKeys operation. + * Defines headers for CreateOrUpdate operation. */ -export interface GatewayListKeysHeaders { +export interface ApiPolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7207,7 +8227,7 @@ export interface GatewayListKeysHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface GatewayHostnameConfigurationGetEntityTagHeaders { +export interface ApiSchemaGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7218,7 +8238,7 @@ export interface GatewayHostnameConfigurationGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface GatewayHostnameConfigurationGetHeaders { +export interface ApiSchemaGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7229,7 +8249,7 @@ export interface GatewayHostnameConfigurationGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { +export interface ApiSchemaCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7240,7 +8260,7 @@ export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface GatewayApiGetEntityTagHeaders { +export interface ApiDiagnosticGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7249,9 +8269,9 @@ export interface GatewayApiGetEntityTagHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface GroupGetEntityTagHeaders { +export interface ApiDiagnosticGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7260,9 +8280,9 @@ export interface GroupGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface GroupGetHeaders { +export interface ApiDiagnosticCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7271,9 +8291,9 @@ export interface GroupGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Update operation. */ -export interface GroupCreateOrUpdateHeaders { +export interface ApiDiagnosticUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7284,7 +8304,7 @@ export interface GroupCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface IdentityProviderGetEntityTagHeaders { +export interface ApiIssueGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7295,7 +8315,7 @@ export interface IdentityProviderGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface IdentityProviderGetHeaders { +export interface ApiIssueGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7306,7 +8326,7 @@ export interface IdentityProviderGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface IdentityProviderCreateOrUpdateHeaders { +export interface ApiIssueCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7315,9 +8335,9 @@ export interface IdentityProviderCreateOrUpdateHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface IssueGetHeaders { +export interface ApiIssueUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7328,7 +8348,7 @@ export interface IssueGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface LoggerGetEntityTagHeaders { +export interface ApiIssueCommentGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7339,7 +8359,7 @@ export interface LoggerGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface LoggerGetHeaders { +export interface ApiIssueCommentGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7350,7 +8370,7 @@ export interface LoggerGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface LoggerCreateOrUpdateHeaders { +export interface ApiIssueCommentCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7361,7 +8381,7 @@ export interface LoggerCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface NamedValueGetEntityTagHeaders { +export interface ApiIssueAttachmentGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7372,7 +8392,7 @@ export interface NamedValueGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface NamedValueGetHeaders { +export interface ApiIssueAttachmentGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7383,18 +8403,7 @@ export interface NamedValueGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface NamedValueCreateOrUpdateHeaders { - /** - * 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 NamedValueUpdateHeaders { +export interface ApiIssueAttachmentCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7405,7 +8414,7 @@ export interface NamedValueUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface OpenIdConnectProviderGetEntityTagHeaders { +export interface ApiTagDescriptionGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7416,7 +8425,7 @@ export interface OpenIdConnectProviderGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface OpenIdConnectProviderGetHeaders { +export interface ApiTagDescriptionGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7427,7 +8436,7 @@ export interface OpenIdConnectProviderGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface OpenIdConnectProviderCreateOrUpdateHeaders { +export interface ApiTagDescriptionCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7436,9 +8445,9 @@ export interface OpenIdConnectProviderCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for GetEntityStateByApi operation. */ -export interface PolicyGetEntityTagHeaders { +export interface TagGetEntityStateByApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7447,9 +8456,9 @@ export interface PolicyGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetByApi operation. */ -export interface PolicyGetHeaders { +export interface TagGetByApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7458,9 +8467,9 @@ export interface PolicyGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for AssignToApi operation. */ -export interface PolicyCreateOrUpdateHeaders { +export interface TagAssignToApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7471,7 +8480,7 @@ export interface PolicyCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SignInSettingsGetEntityTagHeaders { +export interface ApiVersionSetGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7482,7 +8491,7 @@ export interface SignInSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SignInSettingsGetHeaders { +export interface ApiVersionSetGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7491,9 +8500,9 @@ export interface SignInSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface SignUpSettingsGetEntityTagHeaders { +export interface ApiVersionSetCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7502,9 +8511,9 @@ export interface SignUpSettingsGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface SignUpSettingsGetHeaders { +export interface ApiVersionSetUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7515,7 +8524,7 @@ export interface SignUpSettingsGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface DelegationSettingsGetEntityTagHeaders { +export interface AuthorizationServerGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7526,7 +8535,7 @@ export interface DelegationSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface DelegationSettingsGetHeaders { +export interface AuthorizationServerGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7535,9 +8544,9 @@ export interface DelegationSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface ProductGetEntityTagHeaders { +export interface AuthorizationServerCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7546,9 +8555,9 @@ export interface ProductGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface ProductGetHeaders { +export interface AuthorizationServerUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7557,9 +8566,9 @@ export interface ProductGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for ListSecrets operation. */ -export interface ProductCreateOrUpdateHeaders { +export interface AuthorizationServerListSecretsHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7570,7 +8579,7 @@ export interface ProductCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface ProductPolicyGetEntityTagHeaders { +export interface BackendGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7581,7 +8590,7 @@ export interface ProductPolicyGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface ProductPolicyGetHeaders { +export interface BackendGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7592,7 +8601,7 @@ export interface ProductPolicyGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface ProductPolicyCreateOrUpdateHeaders { +export interface BackendCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7601,9 +8610,9 @@ export interface ProductPolicyCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityStateByProduct operation. + * Defines headers for Update operation. */ -export interface TagGetEntityStateByProductHeaders { +export interface BackendUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7612,9 +8621,9 @@ export interface TagGetEntityStateByProductHeaders { } /** - * Defines headers for GetByProduct operation. + * Defines headers for GetEntityTag operation. */ -export interface TagGetByProductHeaders { +export interface CacheGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7623,9 +8632,9 @@ export interface TagGetByProductHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface SubscriptionGetEntityTagHeaders { +export interface CacheGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7634,9 +8643,9 @@ export interface SubscriptionGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface SubscriptionGetHeaders { +export interface CacheCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7645,9 +8654,9 @@ export interface SubscriptionGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Update operation. */ -export interface SubscriptionCreateOrUpdateHeaders { +export interface CacheUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7656,9 +8665,9 @@ export interface SubscriptionCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityState operation. + * Defines headers for GetEntityTag operation. */ -export interface TagGetEntityStateHeaders { +export interface CertificateGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7669,7 +8678,7 @@ export interface TagGetEntityStateHeaders { /** * Defines headers for Get operation. */ -export interface TagGetHeaders { +export interface CertificateGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7680,7 +8689,7 @@ export interface TagGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface TagCreateOrUpdateHeaders { +export interface CertificateCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7689,9 +8698,9 @@ export interface TagCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface TenantAccessGetEntityTagHeaders { +export interface ContentTypeGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7700,9 +8709,9 @@ export interface TenantAccessGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface TenantAccessGetHeaders { +export interface ContentTypeCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7711,9 +8720,9 @@ export interface TenantAccessGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for GetEntityTag operation. */ -export interface TenantAccessListSecretsHeaders { +export interface ContentItemGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7724,7 +8733,7 @@ export interface TenantAccessListSecretsHeaders { /** * Defines headers for Get operation. */ -export interface TenantAccessGitGetHeaders { +export interface ContentItemGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7733,9 +8742,9 @@ export interface TenantAccessGitGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for CreateOrUpdate operation. */ -export interface TenantAccessGitListSecretsHeaders { +export interface ContentItemCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7746,7 +8755,7 @@ export interface TenantAccessGitListSecretsHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface UserGetEntityTagHeaders { +export interface DiagnosticGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7757,7 +8766,7 @@ export interface UserGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface UserGetHeaders { +export interface DiagnosticGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7768,7 +8777,7 @@ export interface UserGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface UserCreateOrUpdateHeaders { +export interface DiagnosticCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7777,829 +8786,2038 @@ export interface UserCreateOrUpdateHeaders { } /** - * @interface - * Paged Api list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface ApiCollection extends Array { +export interface DiagnosticUpdateHeaders { /** - * 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 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 Api Revision list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface ApiRevisionCollection extends Array { +export interface EmailTemplateGetHeaders { /** - * 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 Update operation. */ -export interface ApiReleaseCollection extends Array { +export interface EmailTemplateUpdateHeaders { /** - * 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 GetEntityTag operation. */ -export interface OperationCollection extends Array { +export interface GatewayGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface TagCollection 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 Products list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface ProductCollection 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 - * The response of the list schema operation. - * @extends Array + * Defines headers for Update operation. */ -export interface SchemaCollection extends Array { +export interface GatewayUpdateHeaders { /** - * 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 ListKeys operation. */ -export interface DiagnosticCollection extends Array { +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 Issue list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface IssueCollection extends Array { +export interface GatewayHostnameConfigurationGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface IssueCommentCollection extends Array { +export interface GatewayHostnameConfigurationGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface IssueAttachmentCollection extends Array { +export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { /** - * 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 GetEntityTag operation. */ -export interface TagDescriptionCollection extends Array { +export interface GatewayApiGetEntityTagHeaders { /** - * 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 GetEntityTag operation. */ -export interface ApiVersionSetCollection extends Array { +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; } /** - * @interface - * Paged OAuth2 Authorization Servers list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface AuthorizationServerCollection extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface GroupGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface BackendCollection extends Array { +export interface GroupCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface CacheCollection extends Array { +export interface GroupUpdateHeaders { /** - * 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 GetEntityTag operation. */ -export interface CertificateCollection extends Array { +export interface IdentityProviderGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface OperationListResult extends Array { +export interface IdentityProviderGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface ResourceSkuResults extends Array { +export interface IdentityProviderCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface ApiManagementServiceListResult extends Array { +export interface IdentityProviderUpdateHeaders { /** - * 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 ListSecrets operation. */ -export interface EmailTemplateCollection extends Array { +export interface IdentityProviderListSecretsHeaders { /** - * 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 Get operation. */ -export interface GatewayCollection extends Array { +export interface IssueGetHeaders { /** - * 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 GetEntityTag operation. */ -export interface GatewayHostnameConfigurationCollection extends Array { +export interface LoggerGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface GroupCollection extends Array { +export interface LoggerGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface UserCollection extends Array { +export interface LoggerCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface IdentityProviderList extends Array { +export interface LoggerUpdateHeaders { /** - * 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 GetEntityTag operation. */ -export interface LoggerCollection extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface NamedValueGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface NamedValueCollection extends Array { +export interface NamedValueGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface NotificationCollection extends Array { +export interface NamedValueCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface OpenIdConnectProviderCollection extends Array { +export interface NamedValueUpdateHeaders { /** - * 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 ListValue operation. */ -export interface SubscriptionCollection extends Array { +export interface NamedValueListValueHeaders { /** - * 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 GetEntityTag operation. */ -export interface RegionListResult extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface OpenIdConnectProviderGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface ReportCollection extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface OpenIdConnectProviderGetHeaders { /** - * 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 OpenIdConnectProviderCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface UserIdentityCollection extends Array { +export interface OpenIdConnectProviderUpdateHeaders { /** - * 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 ListSecrets operation. + */ +export interface OpenIdConnectProviderListSecretsHeaders { /** - * 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 GetEntityTag operation. */ -export type ExportResultFormat = 'swagger-link-json' | 'wsdl-link+xml' | 'wadl-link-json' | 'openapi-link'; +export interface PolicyGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type ProductState = 'notPublished' | 'published'; +export interface PolicyGetHeaders { + /** + * 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 CreateOrUpdate operation. */ -export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; +export interface PolicyCreateOrUpdateHeaders { + /** + * 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 SignInSettingsGetEntityTagHeaders { + /** + * 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 SignInSettingsGetHeaders { + /** + * 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 GetEntityTag operation. */ -export type SoapApiType = 'http' | 'soap'; +export interface SignUpSettingsGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type ApiType = 'http' | 'soap'; +export interface SignUpSettingsGetHeaders { + /** + * 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 GetEntityTag operation. */ -export type State = 'proposed' | 'open' | 'removed' | 'resolved' | 'closed'; +export interface DelegationSettingsGetEntityTagHeaders { + /** + * 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 DelegationSettingsGetHeaders { + /** + * 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 ProductGetEntityTagHeaders { + /** + * 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 ProductGetHeaders { + /** + * 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 ProductCreateOrUpdateHeaders { + /** + * 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 ProductUpdateHeaders { + /** + * 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 ProductPolicyGetEntityTagHeaders { + /** + * 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 ProductPolicyGetHeaders { + /** + * 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 ProductPolicyCreateOrUpdateHeaders { + /** + * 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 GetEntityStateByProduct operation. */ -export type ClientAuthenticationMethod = 'Basic' | 'Body'; +export interface TagGetEntityStateByProductHeaders { + /** + * 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 GetByProduct operation. */ -export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; +export interface TagGetByProductHeaders { + /** + * 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 SubscriptionGetEntityTagHeaders { + /** + * 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 SubscriptionGetHeaders { + /** + * 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 SubscriptionCreateOrUpdateHeaders { + /** + * 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 SubscriptionUpdateHeaders { + /** + * 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 SubscriptionListSecretsHeaders { + /** + * 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 GetEntityState operation. */ -export type ApimIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export interface TagGetEntityStateHeaders { + /** + * 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 TagGetHeaders { + /** + * 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 TagCreateOrUpdateHeaders { + /** + * 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 Update operation. */ -export type KeyType = 'primary' | 'secondary'; +export interface TagUpdateHeaders { + /** + * 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 GetEntityTag operation. */ -export type AppType = 'developerPortal'; +export interface TenantAccessGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type Confirmation = 'signup' | 'invite'; +export interface TenantAccessGetHeaders { + /** + * 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 TenantAccessUpdateHeaders { + /** + * 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 ListSecrets operation. */ -export type GroupType = 'custom' | 'system' | 'external'; +export interface TenantAccessListSecretsHeaders { + /** + * 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 TenantAccessGitGetHeaders { + /** + * 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 ListSecrets operation. */ -export type LoggerType = 'azureEventHub' | 'applicationInsights'; +export interface TenantAccessGitListSecretsHeaders { + /** + * 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 GetEntityTag operation. */ -export type ConnectivityStatusType = 'initializing' | 'success' | 'failure'; +export interface UserGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type SubscriptionState = 'suspended' | 'active' | 'expired' | 'submitted' | 'rejected' | 'cancelled'; +export interface UserGetHeaders { + /** + * 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 CreateOrUpdate operation. */ -export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; +export interface UserCreateOrUpdateHeaders { + /** + * 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 Update operation. */ -export type NotificationName = 'RequestPublisherNotificationMessage' | 'PurchasePublisherNotificationMessage' | 'NewApplicationNotificationMessage' | 'BCC' | 'NewIssuePublisherNotificationMessage' | 'AccountClosedPublisher' | 'QuotaLimitApproachingPublisherNotificationMessage'; +export interface UserUpdateHeaders { + /** + * 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} + * @interface + * Paged Api list representation. + * @extends Array */ -export type PolicyExportFormat = 'xml' | 'rawxml'; +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; +} /** - * Defines values for TemplateName. - * Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', - * 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', - * 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', - * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + * @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 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 + * 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 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 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'; +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; + }; +}; /** - * Defines values for PolicyScopeContract. - * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' - * @readonly - * @enum {string} + * Contains response data for the listByTags operation. */ -export type PolicyScopeContract = 'Tenant' | 'Product' | 'Api' | 'Operation' | 'All'; +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; + }; +}; /** - * Defines values for ExportFormat. - * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson' - * @readonly - * @enum {string} + * Contains response data for the listByServiceNext operation. */ -export type ExportFormat = 'swagger-link' | 'wsdl-link' | 'wadl-link' | 'openapi-link' | 'openapi+json-link'; +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; + }; +}; /** - * Defines values for VersioningScheme1. - * Possible values include: 'Segment', 'Query', 'Header' - * @readonly - * @enum {string} + * Contains response data for the listByTagsNext operation. */ -export type VersioningScheme1 = 'Segment' | 'Query' | 'Header'; +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; + }; +}; /** - * Defines values for StoreName. - * Possible values include: 'CertificateAuthority', 'Root' - * @readonly - * @enum {string} + * Contains response data for the listByService operation. */ -export type StoreName = 'CertificateAuthority' | 'Root'; +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 listByService operation. + * Contains response data for the listByApi operation. */ -export type ApiListByServiceResponse = ApiCollection & { +export type ApiOperationListByApiResponse = OperationCollection & { /** * The underlying HTTP response. */ @@ -8612,14 +10830,14 @@ export type ApiListByServiceResponse = ApiCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiCollection; + parsedBody: OperationCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { +export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -8627,14 +10845,14 @@ export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiGetEntityTagHeaders; + parsedHeaders: ApiOperationGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiGetResponse = ApiContract & ApiGetHeaders & { +export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { /** * The underlying HTTP response. */ @@ -8642,7 +10860,7 @@ export type ApiGetResponse = ApiContract & ApiGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiGetHeaders; + parsedHeaders: ApiOperationGetHeaders; /** * The response body as text (string format) @@ -8652,14 +10870,14 @@ export type ApiGetResponse = ApiContract & ApiGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiContract; + parsedBody: OperationContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & { +export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -8667,7 +10885,7 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiCreateOrUpdateHeaders; + parsedHeaders: ApiOperationCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -8677,18 +10895,23 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: ApiContract; + parsedBody: OperationContract; }; }; /** - * Contains response data for the listByTags operation. + * Contains response data for the update operation. */ -export type ApiListByTagsResponse = TagResourceCollection & { +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) */ @@ -8697,14 +10920,14 @@ export type ApiListByTagsResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: OperationContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listByApiNext operation. */ -export type ApiListByServiceNextResponse = ApiCollection & { +export type ApiOperationListByApiNextResponse = OperationCollection & { /** * The underlying HTTP response. */ @@ -8717,14 +10940,14 @@ export type ApiListByServiceNextResponse = ApiCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiCollection; + parsedBody: OperationCollection; }; }; /** - * Contains response data for the listByTagsNext operation. + * Contains response data for the listByOperation operation. */ -export type ApiListByTagsNextResponse = TagResourceCollection & { +export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { /** * The underlying HTTP response. */ @@ -8737,18 +10960,38 @@ export type ApiListByTagsNextResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: PolicyCollection; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the getEntityTag operation. */ -export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { +export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationPolicyGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationPolicyGetHeaders; + /** * The response body as text (string format) */ @@ -8757,18 +11000,23 @@ export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiRevisionCollection; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { +export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOperationPolicyCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationPolicyCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -8777,14 +11025,14 @@ export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiRevisionCollection; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByOperation operation. */ -export type ApiReleaseListByServiceResponse = ApiReleaseCollection & { +export type TagListByOperationResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8797,14 +11045,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 getEntityStateByOperation operation. */ -export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { +export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { /** * The underlying HTTP response. */ @@ -8812,14 +11060,14 @@ export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseGetEntityTagHeaders; + parsedHeaders: TagGetEntityStateByOperationHeaders; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByOperation operation. */ -export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & { +export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { /** * The underlying HTTP response. */ @@ -8827,7 +11075,7 @@ export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseGetHeaders; + parsedHeaders: TagGetByOperationHeaders; /** * The response body as text (string format) @@ -8837,14 +11085,54 @@ 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 assignToOperation operation. */ -export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCreateOrUpdateHeaders & { +export type TagAssignToOperationResponse = TagContract & { + /** + * 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: TagContract; + }; +}; + +/** + * Contains response data for the listByApi operation. + */ +export type TagListByApiResponse = TagCollection & { + /** + * 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: TagCollection; + }; +}; + +/** + * Contains response data for the getEntityStateByApi operation. + */ +export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { /** * The underlying HTTP response. */ @@ -8852,7 +11140,22 @@ export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseCreateOrUpdateHeaders; + 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) @@ -8862,18 +11165,23 @@ 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 assignToApi operation. */ -export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { +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) */ @@ -8882,14 +11190,14 @@ export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the listByProduct operation. */ -export type ApiOperationListByApiResponse = OperationCollection & { +export type TagListByProductResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8902,14 +11210,14 @@ export type ApiOperationListByApiResponse = OperationCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the getEntityStateByProduct operation. */ -export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { +export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeaders & { /** * The underlying HTTP response. */ @@ -8917,14 +11225,14 @@ export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetEntityTagHeaders; + parsedHeaders: TagGetEntityStateByProductHeaders; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByProduct operation. */ -export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { +export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The underlying HTTP response. */ @@ -8932,7 +11240,7 @@ export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetHeaders; + parsedHeaders: TagGetByProductHeaders; /** * The response body as text (string format) @@ -8942,23 +11250,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 assignToProduct operation. */ -export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { +export type TagAssignToProductResponse = TagContract & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -8967,14 +11270,14 @@ export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperatio /** * The response body as parsed JSON or XML */ - parsedBody: OperationContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the listByService operation. */ -export type ApiOperationListByApiNextResponse = OperationCollection & { +export type TagListByServiceResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8987,18 +11290,38 @@ 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 getEntityState operation. */ -export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { +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) */ @@ -9007,14 +11330,14 @@ export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { +export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9022,14 +11345,24 @@ export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntity /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationPolicyGetEntityTagHeaders; + 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 ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyGetHeaders & { +export type TagUpdateResponse = TagContract & TagUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9037,7 +11370,7 @@ export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyG /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationPolicyGetHeaders; + parsedHeaders: TagUpdateHeaders; /** * The response body as text (string format) @@ -9047,23 +11380,18 @@ export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyG /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByOperationNext operation. */ -export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOperationPolicyCreateOrUpdateHeaders & { +export type TagListByOperationNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -9072,14 +11400,14 @@ export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOpera /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByOperation operation. + * Contains response data for the listByApiNext operation. */ -export type TagListByOperationResponse = TagCollection & { +export type TagListByApiNextResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -9097,33 +11425,53 @@ export type TagListByOperationResponse = TagCollection & { }; /** - * Contains response data for the getEntityStateByOperation operation. + * Contains response data for the listByProductNext operation. */ -export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { +export type TagListByProductNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: TagGetEntityStateByOperationHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagCollection; }; }; /** - * Contains response data for the getByOperation operation. + * Contains response data for the listByServiceNext operation. */ -export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { +export type TagListByServiceNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: TagGetByOperationHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagCollection; + }; +}; +/** + * Contains response data for the listByApis operation. + */ +export type ApiProductListByApisResponse = ProductCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { /** * The response body as text (string format) */ @@ -9132,14 +11480,14 @@ export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: ProductCollection; }; }; /** - * Contains response data for the assignToOperation operation. + * Contains response data for the listByApisNext operation. */ -export type TagAssignToOperationResponse = TagContract & { +export type ApiProductListByApisNextResponse = ProductCollection & { /** * The underlying HTTP response. */ @@ -9152,14 +11500,14 @@ export type TagAssignToOperationResponse = TagContract & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: ProductCollection; }; }; /** * Contains response data for the listByApi operation. */ -export type TagListByApiResponse = TagCollection & { +export type ApiPolicyListByApiResponse = PolicyCollection & { /** * The underlying HTTP response. */ @@ -9172,14 +11520,14 @@ export type TagListByApiResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: PolicyCollection; }; }; /** - * Contains response data for the getEntityStateByApi operation. + * Contains response data for the getEntityTag operation. */ -export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { +export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9187,14 +11535,14 @@ export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetEntityStateByApiHeaders; + parsedHeaders: ApiPolicyGetEntityTagHeaders; }; }; /** - * Contains response data for the getByApi operation. + * Contains response data for the get operation. */ -export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { +export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The underlying HTTP response. */ @@ -9202,7 +11550,7 @@ export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByApiHeaders; + parsedHeaders: ApiPolicyGetHeaders; /** * The response body as text (string format) @@ -9212,14 +11560,14 @@ export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the assignToApi operation. + * Contains response data for the createOrUpdate operation. */ -export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { +export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9227,7 +11575,7 @@ export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagAssignToApiHeaders; + parsedHeaders: ApiPolicyCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9237,14 +11585,14 @@ export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByProduct operation. + * Contains response data for the listByApi operation. */ -export type TagListByProductResponse = TagCollection & { +export type ApiSchemaListByApiResponse = SchemaCollection & { /** * The underlying HTTP response. */ @@ -9257,14 +11605,14 @@ export type TagListByProductResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: SchemaCollection; }; }; /** - * Contains response data for the getEntityStateByProduct operation. + * Contains response data for the getEntityTag operation. */ -export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeaders & { +export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9272,14 +11620,14 @@ export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeade /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetEntityStateByProductHeaders; + parsedHeaders: ApiSchemaGetEntityTagHeaders; }; }; /** - * Contains response data for the getByProduct operation. + * Contains response data for the get operation. */ -export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { +export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The underlying HTTP response. */ @@ -9287,7 +11635,7 @@ export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByProductHeaders; + parsedHeaders: ApiSchemaGetHeaders; /** * The response body as text (string format) @@ -9297,18 +11645,23 @@ export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: SchemaContract; }; }; /** - * Contains response data for the assignToProduct operation. + * Contains response data for the createOrUpdate operation. */ -export type TagAssignToProductResponse = TagContract & { +export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiSchemaCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -9317,14 +11670,14 @@ export type TagAssignToProductResponse = TagContract & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: SchemaContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByApiNext operation. */ -export type TagListByServiceResponse = TagCollection & { +export type ApiSchemaListByApiNextResponse = SchemaCollection & { /** * The underlying HTTP response. */ @@ -9337,29 +11690,34 @@ export type TagListByServiceResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: SchemaCollection; }; }; /** - * Contains response data for the getEntityState operation. + * Contains response data for the listByService operation. */ -export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { +export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: TagGetEntityStateHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DiagnosticCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getEntityTag operation. */ -export type TagGetResponse = TagContract & TagGetHeaders & { +export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9367,24 +11725,14 @@ export type TagGetResponse = TagContract & TagGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetHeaders; - - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TagContract; + parsedHeaders: ApiDiagnosticGetEntityTagHeaders; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & { +export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHeaders & { /** * The underlying HTTP response. */ @@ -9392,7 +11740,7 @@ export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: TagCreateOrUpdateHeaders; + parsedHeaders: ApiDiagnosticGetHeaders; /** * The response body as text (string format) @@ -9402,18 +11750,23 @@ export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: DiagnosticContract; }; }; /** - * Contains response data for the listByOperationNext operation. + * Contains response data for the createOrUpdate operation. */ -export type TagListByOperationNextResponse = TagCollection & { +export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagnosticCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiDiagnosticCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -9422,18 +11775,23 @@ export type TagListByOperationNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: DiagnosticContract; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the update operation. */ -export type TagListByApiNextResponse = TagCollection & { +export type ApiDiagnosticUpdateResponse = DiagnosticContract & ApiDiagnosticUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiDiagnosticUpdateHeaders; + /** * The response body as text (string format) */ @@ -9442,14 +11800,14 @@ export type TagListByApiNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: DiagnosticContract; }; }; /** - * Contains response data for the listByProductNext operation. + * Contains response data for the listByServiceNext operation. */ -export type TagListByProductNextResponse = TagCollection & { +export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { /** * The underlying HTTP response. */ @@ -9462,14 +11820,14 @@ export type TagListByProductNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: DiagnosticCollection; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listByService operation. */ -export type TagListByServiceNextResponse = TagCollection & { +export type ApiIssueListByServiceResponse = IssueCollection & { /** * The underlying HTTP response. */ @@ -9482,38 +11840,38 @@ export type TagListByServiceNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: IssueCollection; }; }; /** - * Contains response data for the listByApis operation. + * Contains response data for the getEntityTag operation. */ -export type ApiProductListByApisResponse = ProductCollection & { +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: ProductCollection; + parsedHeaders: ApiIssueGetEntityTagHeaders; }; }; /** - * Contains response data for the listByApisNext operation. + * Contains response data for the get operation. */ -export type ApiProductListByApisNextResponse = ProductCollection & { +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) */ @@ -9522,49 +11880,39 @@ export type ApiProductListByApisNextResponse = ProductCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ProductCollection; + parsedBody: IssueContract; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiPolicyListByApiResponse = PolicyCollection & { +export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) + * The parsed HTTP response headers. */ - bodyAsText: string; + parsedHeaders: ApiIssueCreateOrUpdateHeaders; /** - * The response body as parsed JSON or XML + * The response body as text (string format) */ - parsedBody: PolicyCollection; - }; -}; + bodyAsText: string; -/** - * Contains response data for the getEntityTag operation. - */ -export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as parsed JSON or XML */ - parsedHeaders: ApiPolicyGetEntityTagHeaders; + parsedBody: IssueContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { +export type ApiIssueUpdateResponse = IssueContract & ApiIssueUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9572,7 +11920,7 @@ export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyGetHeaders; + parsedHeaders: ApiIssueUpdateHeaders; /** * The response body as text (string format) @@ -9582,23 +11930,18 @@ export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: IssueContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOrUpdateHeaders & { +export type ApiIssueListByServiceNextResponse = IssueCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiPolicyCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -9607,14 +11950,14 @@ export type ApiPolicyCreateOrUpdateResponse = PolicyContract & ApiPolicyCreateOr /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: IssueCollection; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the listByService operation. */ -export type ApiSchemaListByApiResponse = SchemaCollection & { +export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { /** * The underlying HTTP response. */ @@ -9627,14 +11970,14 @@ export type ApiSchemaListByApiResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: IssueCommentCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { +export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9642,14 +11985,14 @@ export type ApiSchemaGetEntityTagResponse = ApiSchemaGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaGetEntityTagHeaders; + parsedHeaders: ApiIssueCommentGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { +export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentGetHeaders & { /** * The underlying HTTP response. */ @@ -9657,7 +12000,7 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaGetHeaders; + parsedHeaders: ApiIssueCommentGetHeaders; /** * The response body as text (string format) @@ -9667,14 +12010,14 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: IssueCommentContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOrUpdateHeaders & { +export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIssueCommentCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9682,7 +12025,7 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaCreateOrUpdateHeaders; + parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9692,14 +12035,14 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The response body as parsed JSON or XML */ - parsedBody: SchemaContract; + parsedBody: IssueCommentContract; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiSchemaListByApiNextResponse = SchemaCollection & { +export type ApiIssueCommentListByServiceNextResponse = IssueCommentCollection & { /** * The underlying HTTP response. */ @@ -9712,14 +12055,14 @@ export type ApiSchemaListByApiNextResponse = SchemaCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: SchemaCollection; + parsedBody: IssueCommentCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { +export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection & { /** * The underlying HTTP response. */ @@ -9732,14 +12075,14 @@ export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticCollection; + parsedBody: IssueAttachmentCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders & { +export type ApiIssueAttachmentGetEntityTagResponse = ApiIssueAttachmentGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9747,14 +12090,14 @@ export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticGetEntityTagHeaders; + parsedHeaders: ApiIssueAttachmentGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHeaders & { +export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAttachmentGetHeaders & { /** * The underlying HTTP response. */ @@ -9762,7 +12105,7 @@ export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHead /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticGetHeaders; + parsedHeaders: ApiIssueAttachmentGetHeaders; /** * The response body as text (string format) @@ -9772,14 +12115,14 @@ export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHead /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticContract; + parsedBody: IssueAttachmentContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagnosticCreateOrUpdateHeaders & { +export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & ApiIssueAttachmentCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9787,7 +12130,7 @@ export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagno /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticCreateOrUpdateHeaders; + parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9797,14 +12140,14 @@ export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagno /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticContract; + parsedBody: IssueAttachmentContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { +export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollection & { /** * The underlying HTTP response. */ @@ -9817,14 +12160,14 @@ export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticCollection; + parsedBody: IssueAttachmentCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiIssueListByServiceResponse = IssueCollection & { +export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & { /** * The underlying HTTP response. */ @@ -9837,14 +12180,14 @@ export type ApiIssueListByServiceResponse = IssueCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCollection; + parsedBody: TagDescriptionCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiIssueGetEntityTagResponse = ApiIssueGetEntityTagHeaders & { +export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9852,14 +12195,14 @@ export type ApiIssueGetEntityTagResponse = ApiIssueGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueGetEntityTagHeaders; + parsedHeaders: ApiTagDescriptionGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { +export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescriptionGetHeaders & { /** * The underlying HTTP response. */ @@ -9867,7 +12210,7 @@ export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueGetHeaders; + parsedHeaders: ApiTagDescriptionGetHeaders; /** * The response body as text (string format) @@ -9877,14 +12220,14 @@ export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueContract; + parsedBody: TagDescriptionContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpdateHeaders & { +export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & ApiTagDescriptionCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9892,7 +12235,7 @@ export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCreateOrUpdateHeaders; + parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9902,14 +12245,14 @@ export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpd /** * The response body as parsed JSON or XML */ - parsedBody: IssueContract; + parsedBody: TagDescriptionContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiIssueListByServiceNextResponse = IssueCollection & { +export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollection & { /** * The underlying HTTP response. */ @@ -9922,14 +12265,54 @@ export type ApiIssueListByServiceNextResponse = IssueCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCollection; + parsedBody: TagDescriptionCollection; + }; +}; + +/** + * Contains response data for the listByTags operation. + */ +export type OperationListByTagsResponse = 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 listByTagsNext operation. + */ +export type OperationListByTagsNextResponse = 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 ApiIssueCommentListByServiceResponse = IssueCommentCollection & { +export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { /** * The underlying HTTP response. */ @@ -9942,14 +12325,14 @@ export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentCollection; + parsedBody: ApiVersionSetCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHeaders & { +export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9957,14 +12340,14 @@ export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHea /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCommentGetEntityTagHeaders; + parsedHeaders: ApiVersionSetGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentGetHeaders & { +export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetHeaders & { /** * The underlying HTTP response. */ @@ -9972,7 +12355,7 @@ export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentG /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCommentGetHeaders; + parsedHeaders: ApiVersionSetGetHeaders; /** * The response body as text (string format) @@ -9982,14 +12365,14 @@ export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentG /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentContract; + parsedBody: ApiVersionSetContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIssueCommentCreateOrUpdateHeaders & { +export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVersionSetCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9997,7 +12380,7 @@ export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIs /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; + parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10007,14 +12390,39 @@ export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIs /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentContract; + parsedBody: ApiVersionSetContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ApiVersionSetUpdateResponse = ApiVersionSetContract & ApiVersionSetUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + 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 listByServiceNext operation. */ -export type ApiIssueCommentListByServiceNextResponse = IssueCommentCollection & { +export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The underlying HTTP response. */ @@ -10027,14 +12435,14 @@ export type ApiIssueCommentListByServiceNextResponse = IssueCommentCollection & /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentCollection; + parsedBody: ApiVersionSetCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection & { +export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { /** * The underlying HTTP response. */ @@ -10047,14 +12455,14 @@ export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentCollection; + parsedBody: AuthorizationServerCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiIssueAttachmentGetEntityTagResponse = ApiIssueAttachmentGetEntityTagHeaders & { +export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10062,14 +12470,14 @@ export type ApiIssueAttachmentGetEntityTagResponse = ApiIssueAttachmentGetEntity /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentGetEntityTagHeaders; + parsedHeaders: AuthorizationServerGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAttachmentGetHeaders & { +export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { /** * The underlying HTTP response. */ @@ -10077,7 +12485,7 @@ export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAt /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentGetHeaders; + parsedHeaders: AuthorizationServerGetHeaders; /** * The response body as text (string format) @@ -10087,14 +12495,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. */ -export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & ApiIssueAttachmentCreateOrUpdateHeaders & { +export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10102,7 +12510,7 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; + parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10112,18 +12520,23 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentContract; + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the update operation. */ -export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollection & { +export type AuthorizationServerUpdateResponse = AuthorizationServerContract & AuthorizationServerUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: AuthorizationServerUpdateHeaders; + /** * The response body as text (string format) */ @@ -10132,18 +12545,23 @@ export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollect /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentCollection; + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listSecrets operation. */ -export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & { +export type AuthorizationServerListSecretsResponse = AuthorizationServerSecretsContract & AuthorizationServerListSecretsHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: AuthorizationServerListSecretsHeaders; + /** * The response body as text (string format) */ @@ -10152,38 +12570,38 @@ export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionCollection; + parsedBody: AuthorizationServerSecretsContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the listByServiceNext operation. */ -export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTagHeaders & { +export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: ApiTagDescriptionGetEntityTagHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AuthorizationServerCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByService operation. */ -export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescriptionGetHeaders & { +export type BackendListByServiceResponse = BackendCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiTagDescriptionGetHeaders; - /** * The response body as text (string format) */ @@ -10192,14 +12610,14 @@ export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescri /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionContract; + parsedBody: BackendCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getEntityTag operation. */ -export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & ApiTagDescriptionCreateOrUpdateHeaders & { +export type BackendGetEntityTagResponse = BackendGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10207,7 +12625,22 @@ export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & A /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; + parsedHeaders: BackendGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type BackendGetResponse = BackendContract & BackendGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: BackendGetHeaders; /** * The response body as text (string format) @@ -10217,18 +12650,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 createOrUpdate operation. */ -export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollection & { +export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: BackendCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -10237,18 +12675,23 @@ 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 update operation. */ -export type OperationListByTagsResponse = TagResourceCollection & { +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) */ @@ -10257,14 +12700,14 @@ export type OperationListByTagsResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: BackendContract; }; }; /** - * Contains response data for the listByTagsNext operation. + * Contains response data for the listByServiceNext operation. */ -export type OperationListByTagsNextResponse = TagResourceCollection & { +export type BackendListByServiceNextResponse = BackendCollection & { /** * The underlying HTTP response. */ @@ -10277,14 +12720,14 @@ export type OperationListByTagsNextResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: BackendCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { +export type CacheListByServiceResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10297,14 +12740,14 @@ export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetCollection; + parsedBody: CacheCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders & { +export type CacheGetEntityTagResponse = CacheGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10312,14 +12755,14 @@ export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetEntityTagHeaders; + parsedHeaders: CacheGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetHeaders & { +export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The underlying HTTP response. */ @@ -10327,7 +12770,7 @@ export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetH /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetHeaders; + parsedHeaders: CacheGetHeaders; /** * The response body as text (string format) @@ -10337,14 +12780,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. */ -export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVersionSetCreateOrUpdateHeaders & { +export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10352,7 +12795,7 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; + parsedHeaders: CacheCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10362,18 +12805,23 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetContract; + parsedBody: CacheContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the update operation. */ -export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { +export type CacheUpdateResponse = CacheContract & CacheUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: CacheUpdateHeaders; + /** * The response body as text (string format) */ @@ -10382,14 +12830,14 @@ export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetCollection; + parsedBody: CacheContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByServiceNext operation. */ -export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { +export type CacheListByServiceNextResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10402,29 +12850,34 @@ export type AuthorizationServerListByServiceResponse = AuthorizationServerCollec /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerCollection; + parsedBody: CacheCollection; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the listByService operation. */ -export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { +export type CertificateListByServiceResponse = CertificateCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: AuthorizationServerGetEntityTagHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: CertificateCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getEntityTag operation. */ -export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { +export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10432,24 +12885,14 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetHeaders; - - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: AuthorizationServerContract; + parsedHeaders: CertificateGetEntityTagHeaders; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { +export type CertificateGetResponse = CertificateContract & CertificateGetHeaders & { /** * The underlying HTTP response. */ @@ -10457,7 +12900,7 @@ export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContr /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; + parsedHeaders: CertificateGetHeaders; /** * The response body as text (string format) @@ -10467,18 +12910,23 @@ export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContr /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerContract; + parsedBody: CertificateContract; }; }; /** - * Contains response data for the listSecrets operation. + * Contains response data for the createOrUpdate operation. */ -export type AuthorizationServerListSecretsResponse = ClientSecretContract & { +export type CertificateCreateOrUpdateResponse = CertificateContract & CertificateCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: CertificateCreateOrUpdateHeaders; + /** * The response body as text (string format) */ @@ -10487,14 +12935,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 +12955,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 +12975,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 +12990,7 @@ export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: BackendGetHeaders; + parsedHeaders: ContentTypeGetHeaders; /** * The response body as text (string format) @@ -10567,14 +13000,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 +13015,7 @@ export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: BackendCreateOrUpdateHeaders; + parsedHeaders: ContentTypeCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10592,14 +13025,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 +13045,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 +13065,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 +13080,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 +13095,7 @@ export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: CacheGetHeaders; + parsedHeaders: ContentItemGetHeaders; /** * The response body as text (string format) @@ -10672,14 +13105,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 +13120,7 @@ export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHea /** * The parsed HTTP response headers. */ - parsedHeaders: CacheCreateOrUpdateHeaders; + parsedHeaders: ContentItemCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10697,14 +13130,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 +13150,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 +13170,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 +13190,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 +13210,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 +13230,7 @@ export type CertificateListByServiceNextResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: DeletedServicesCollection; }; }; @@ -11371,6 +13779,31 @@ export type DiagnosticCreateOrUpdateResponse = DiagnosticContract & DiagnosticCr }; }; +/** + * 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) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DiagnosticContract; + }; +}; + /** * Contains response data for the listByServiceNext operation. */ @@ -11471,6 +13904,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. */ @@ -11520,16 +13978,41 @@ export type GatewayGetEntityTagResponse = GatewayGetEntityTagHeaders & { */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The parsed HTTP response headers. + */ + parsedHeaders: GatewayGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GatewayGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML */ - parsedHeaders: GatewayGetEntityTagHeaders; + parsedBody: GatewayContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { +export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -11537,7 +14020,7 @@ export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: GatewayGetHeaders; + parsedHeaders: GatewayCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -11552,9 +14035,9 @@ export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpdateHeaders & { +export type GatewayUpdateResponse = GatewayContract & GatewayUpdateHeaders & { /** * The underlying HTTP response. */ @@ -11562,7 +14045,7 @@ export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: GatewayCreateOrUpdateHeaders; + parsedHeaders: GatewayUpdateHeaders; /** * The response body as text (string format) @@ -11906,6 +14389,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 +14604,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 +14824,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 +14982,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 +15000,7 @@ export type NamedValueListValueResponse = PropertyValueContract & { /** * The response body as parsed JSON or XML */ - parsedBody: PropertyValueContract; + parsedBody: NamedValueSecretContract; }; }; @@ -12791,14 +15359,44 @@ 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) */ @@ -13221,6 +15819,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 +16169,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 +16209,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. */ @@ -13991,14 +16654,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) */ @@ -14111,6 +16804,31 @@ export type TenantAccessGetResponse = AccessInformationContract & TenantAccessGe }; }; +/** + * Contains response data for the update operation. + */ +export type TenantAccessUpdateResponse = AccessInformationContract & TenantAccessUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TenantAccessUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AccessInformationContract; + }; +}; + /** * Contains response data for the listSecrets operation. */ @@ -14411,6 +17129,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..c88cd0f476f6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +59,9 @@ export { IssueCommentContract, IssueContract, IssueGetHeaders, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index f6fa57322949..620cc4717dfb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,12 +57,16 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerCollection, LoggerContract, LoggerCreateOrUpdateHeaders, LoggerGetEntityTagHeaders, LoggerGetHeaders, LoggerUpdateContract, + LoggerUpdateHeaders, NamedValueContract, NamedValueCreateContract, NotificationContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index 76d5c775cee6..2943dd62ab60 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" @@ -7134,6 +7527,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: { @@ -8232,6 +8647,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 +8711,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 +8775,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 +9015,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 +9079,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 +9335,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,8 +9399,40 @@ export const AuthorizationServerCreateOrUpdateHeaders: msRest.CompositeMapper = } }; -export const BackendGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "backend-getentitytag-headers", +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: { name: "Composite", className: "BackendGetEntityTagHeaders", @@ -8936,6 +9479,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 +9543,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 +9607,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 +9735,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 +9783,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 +9847,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 +9991,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 +10055,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 +10151,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 +10231,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: { @@ -9512,6 +10295,38 @@ export const OpenIdConnectProviderCreateOrUpdateHeaders: msRest.CompositeMapper } }; +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: { @@ -9704,6 +10519,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: { @@ -9832,6 +10663,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 +10743,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,6 +10791,22 @@ export const TenantAccessGetHeaders: msRest.CompositeMapper = { } }; +export const TenantAccessUpdateHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-update-headers", + type: { + name: "Composite", + className: "TenantAccessUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { serializedName: "tenantaccess-listsecrets-headers", type: { @@ -10008,6 +10903,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 +11445,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: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index ff5563e54053..7e8c22df53ce 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueCollection, NamedValueContract, @@ -59,6 +67,8 @@ export { NamedValueCreateOrUpdateHeaders, NamedValueGetEntityTagHeaders, NamedValueGetHeaders, + NamedValueListValueHeaders, + NamedValueSecretContract, NamedValueUpdateHeaders, NamedValueUpdateParameters, NotificationContract, @@ -74,7 +84,6 @@ export { PortalSigninSettings, PortalSignupSettings, ProductContract, - PropertyValueContract, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, 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..373a574b4956 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index 16c005715b18..212c2c96bc2d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index a1fb53d824c6..f381646abab2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 4ffb64cf0376..bc1176c92e2c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.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. @@ -37,6 +37,11 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -64,7 +72,9 @@ export { OpenIdConnectProviderCreateOrUpdateHeaders, OpenIdConnectProviderGetEntityTagHeaders, OpenIdConnectProviderGetHeaders, + OpenIdConnectProviderListSecretsHeaders, OpenidConnectProviderUpdateContract, + OpenIdConnectProviderUpdateHeaders, OperationContract, ParameterContract, PipelineDiagnosticSettings, 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..76a06689be5b 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 @@ -71,6 +70,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 +184,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 +501,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: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index b0eb43eb71d2..3d4fd3a92bb7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 9caf6ee9ab57..a7b2b8e5a71e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 76b1488cc812..6be1e23d5dae 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.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. @@ -37,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index f48788d98b20..8c002cf62f9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 87092fa3ab06..48d5927addb5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.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. @@ -39,6 +39,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -78,6 +86,7 @@ export { ProductGetEntityTagHeaders, ProductGetHeaders, ProductTagResourceContractProperties, + ProductUpdateHeaders, ProductUpdateParameters, RecipientEmailContract, RecipientsContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 64ac202f796a..d724f45efc94 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index e21019e9e856..e9a6125067db 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..db37ff0f8a89 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 050a808f4053..b87bfe6f2e7e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index eda090037b74..7edf666d3f06 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -87,7 +95,9 @@ export { SubscriptionGetHeaders, SubscriptionKeyParameterNamesContract, SubscriptionKeysContract, + SubscriptionListSecretsHeaders, SubscriptionsDelegationSettingsProperties, + SubscriptionUpdateHeaders, SubscriptionUpdateParameters, TagContract, TagDescriptionContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 887095666625..5b358e83b6fa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -96,6 +104,7 @@ export { TagGetEntityStateByProductHeaders, TagGetEntityStateHeaders, TagGetHeaders, + TagUpdateHeaders, 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..33f89ce909c6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.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/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 3605444a18b5..3b4eeccdffd5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.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. @@ -13,5 +13,6 @@ export { ErrorResponse, TenantAccessGetEntityTagHeaders, TenantAccessGetHeaders, - TenantAccessListSecretsHeaders + TenantAccessListSecretsHeaders, + TenantAccessUpdateHeaders } 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/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..8c002cf62f9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..6223f9dba15f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -97,6 +105,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..e9a6125067db 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.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. @@ -36,6 +36,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +57,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, 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..a7c36ea99d16 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"; 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/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..b69c9feb0040 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 @@ -98,9 +97,9 @@ export class TenantAccess { * @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, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -109,7 +108,7 @@ export class TenantAccess { * 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, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -119,8 +118,8 @@ export class TenantAccess { * @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, 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 { return this.client.sendOperationRequest( { resourceGroupName, @@ -130,7 +129,7 @@ export class TenantAccess { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -252,7 +251,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetEntityTagHeaders } }, serializer @@ -279,7 +279,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetHeaders } }, serializer @@ -309,9 +310,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 @@ -386,7 +391,8 @@ const listSecretsOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessListSecretsHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts index 3a031c37eb46..2f06a1087ead 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 @@ -178,7 +177,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGitGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGitGetHeaders } }, serializer @@ -253,7 +253,8 @@ const listSecretsOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGitListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGitListSecretsHeaders } }, 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/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 ],