diff --git a/sdk/apimanagement/arm-apimanagement/LICENSE.txt b/sdk/apimanagement/arm-apimanagement/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/apimanagement/arm-apimanagement/LICENSE.txt +++ b/sdk/apimanagement/arm-apimanagement/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal 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..697aba67ec08 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -37,6 +36,9 @@ class ApiManagementClient extends ApiManagementClientContext { backend: operations.Backend; cache: operations.Cache; certificate: operations.Certificate; + contentType: operations.ContentType; + contentItem: operations.ContentItem; + deletedServices: operations.DeletedServices; apiManagementOperations: operations.ApiManagementOperations; apiManagementServiceSkus: operations.ApiManagementServiceSkus; apiManagementService: operations.ApiManagementService; @@ -58,6 +60,8 @@ class ApiManagementClient extends ApiManagementClientContext { openIdConnectProvider: operations.OpenIdConnectProvider; policy: operations.Policy; policyDescription: operations.PolicyDescription; + portalRevision: operations.PortalRevision; + portalSettings: operations.PortalSettings; signInSettings: operations.SignInSettings; signUpSettings: operations.SignUpSettings; delegationSettings: operations.DelegationSettings; @@ -70,6 +74,7 @@ class ApiManagementClient extends ApiManagementClientContext { quotaByPeriodKeys: operations.QuotaByPeriodKeys; region: operations.Region; reports: operations.Reports; + tenantSettings: operations.TenantSettings; subscription: operations.Subscription; tagResource: operations.TagResource; tenantAccess: operations.TenantAccess; @@ -111,6 +116,9 @@ class ApiManagementClient extends ApiManagementClientContext { this.backend = new operations.Backend(this); this.cache = new operations.Cache(this); this.certificate = new operations.Certificate(this); + this.contentType = new operations.ContentType(this); + this.contentItem = new operations.ContentItem(this); + this.deletedServices = new operations.DeletedServices(this); this.apiManagementOperations = new operations.ApiManagementOperations(this); this.apiManagementServiceSkus = new operations.ApiManagementServiceSkus(this); this.apiManagementService = new operations.ApiManagementService(this); @@ -132,6 +140,8 @@ class ApiManagementClient extends ApiManagementClientContext { this.openIdConnectProvider = new operations.OpenIdConnectProvider(this); this.policy = new operations.Policy(this); this.policyDescription = new operations.PolicyDescription(this); + this.portalRevision = new operations.PortalRevision(this); + this.portalSettings = new operations.PortalSettings(this); this.signInSettings = new operations.SignInSettings(this); this.signUpSettings = new operations.SignUpSettings(this); this.delegationSettings = new operations.DelegationSettings(this); @@ -144,6 +154,7 @@ class ApiManagementClient extends ApiManagementClientContext { this.quotaByPeriodKeys = new operations.QuotaByPeriodKeys(this); this.region = new operations.Region(this); this.reports = new operations.Reports(this); + this.tenantSettings = new operations.TenantSettings(this); this.subscription = new operations.Subscription(this); this.tagResource = new operations.TagResource(this); this.tenantAccess = new operations.TenantAccess(this); diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index a0b30c5faf24..4948e2e7c1bd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -45,7 +44,7 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2019-12-01'; + this.apiVersion = '2020-06-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts index 10326b642115..1842fa3702af 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -1,17 +1,19 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, + ApiDiagnosticUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -39,6 +41,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticCollection, DiagnosticContract, EmailTemplateContract, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts index f5dd91f778ee..3ae0a06daf3c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiExportMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index bcf025c555ad..cab1d6dde683 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiIssueAttachmentCreateOrUpdateHeaders, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 94550c31a779..0cb5d9dbd9ce 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiIssueCommentCreateOrUpdateHeaders, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +62,9 @@ export { IssueCommentCollection, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index f7f41cb57c0b..13caab3e7d1b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -1,17 +1,19 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, + ApiIssueUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -39,6 +41,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueCommentContract, IssueContract, IssueUpdateContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts index 689688180be7..45de061ba434 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementOperationsMappers.ts @@ -1,13 +1,14 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under 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 { - CloudError, + ErrorFieldContract, + ErrorResponse, Operation, OperationDisplay, OperationListResult diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 6a3825a39a8b..cceda1a3eacc 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceApplyNetworkConfigurationParameters, @@ -42,7 +43,11 @@ export { CertificateConfiguration, 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, @@ -72,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -91,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts index ca99c5f93a41..62ae55d06017 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceSkusMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 55e0a2e7f17c..49d19abaf6a7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiCollection, ApiContract, @@ -25,6 +26,7 @@ export { ApiReleaseContract, ApiTagResourceContractProperties, ApiUpdateContract, + ApiUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, @@ -46,6 +48,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -62,6 +69,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -76,6 +86,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -100,6 +112,7 @@ export { TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index 9fea7c297f13..e2af89f6baf5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -17,6 +18,7 @@ export { ApiOperationCreateOrUpdateHeaders, ApiOperationGetEntityTagHeaders, ApiOperationGetHeaders, + ApiOperationUpdateHeaders, ApiReleaseContract, ApiVersionConstraint, ApiVersionSetContract, @@ -39,6 +41,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index d839005cf4d1..8f1642a43433 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index bd3f2e158024..a21ed605fe78 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index 04e121e71a4e..6591bd63bee9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductCollection, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 3e5875867ed8..70916e08f5ae 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -19,6 +20,7 @@ export { ApiReleaseCreateOrUpdateHeaders, ApiReleaseGetEntityTagHeaders, ApiReleaseGetHeaders, + ApiReleaseUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, @@ -40,6 +42,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts index 932d21942ac2..dca170878926 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiRevisionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index 97c1c14738d4..cf89bbbe7526 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -68,6 +77,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 95bcfc931452..7690775d23a2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -68,6 +77,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +100,7 @@ export { TagDescriptionCollection, TagDescriptionContract, TagDescriptionCreateParameters, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index 1b1849674045..8fa52c1ab9c3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -22,6 +23,7 @@ export { ApiVersionSetCreateOrUpdateHeaders, ApiVersionSetGetEntityTagHeaders, ApiVersionSetGetHeaders, + ApiVersionSetUpdateHeaders, ApiVersionSetUpdateParameters, AssociationContract, AuthenticationSettingsContract, @@ -41,6 +43,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index ff6bb419d095..37e9f3660c70 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -25,7 +26,10 @@ export { AuthorizationServerCreateOrUpdateHeaders, AuthorizationServerGetEntityTagHeaders, AuthorizationServerGetHeaders, + AuthorizationServerListSecretsHeaders, + AuthorizationServerSecretsContract, AuthorizationServerUpdateContract, + AuthorizationServerUpdateHeaders, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -40,7 +44,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, - ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +65,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +81,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +102,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 96dc17f4f00d..9e4721b90dd9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -34,6 +35,7 @@ export { BackendReconnectContract, BackendServiceFabricClusterProperties, BackendTlsProperties, + BackendUpdateHeaders, BackendUpdateParameters, BaseResource, BodyDiagnosticSettings, @@ -41,6 +43,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index 925c1c8e995b..fdd6e0f8c45e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -37,10 +38,16 @@ export { CacheCreateOrUpdateHeaders, CacheGetEntityTagHeaders, CacheGetHeaders, + CacheUpdateHeaders, CacheUpdateParameters, CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index dc1c4422c33d..f1d9ecfc18ee 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -41,6 +42,12 @@ export { CertificateGetEntityTagHeaders, CertificateGetHeaders, CertificateInformation, + CertificateRefreshSecretHeaders, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -57,6 +64,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts new file mode 100644 index 000000000000..f4c0ce2069be --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -0,0 +1,110 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemCollection, + ContentItemContract, + ContentItemCreateOrUpdateHeaders, + ContentItemGetEntityTagHeaders, + ContentItemGetHeaders, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts new file mode 100644 index 000000000000..2c1e6b3b047e --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -0,0 +1,109 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeCollection, + ContentTypeContract, + ContentTypeCreateOrUpdateHeaders, + ContentTypeGetHeaders, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index fec1853e62b2..bebe0f0d1df6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,8 +37,13 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, DelegationSettingsGetEntityTagHeaders, DelegationSettingsGetHeaders, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -67,6 +76,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSettingValidationKeyContract, PortalSigninSettings, PortalSignupSettings, @@ -87,6 +98,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts new file mode 100644 index 000000000000..e542fc7d5085 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -0,0 +1,107 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DeletedServicesCollection, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 1001dfb6804e..481fa44a4d7f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,11 +37,17 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticCollection, DiagnosticContract, DiagnosticCreateOrUpdateHeaders, DiagnosticGetEntityTagHeaders, DiagnosticGetHeaders, + DiagnosticUpdateHeaders, EmailTemplateContract, EmailTemplateParametersContractProperties, ErrorFieldContract, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index e95c43143839..cea10a04ffdb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,12 +37,18 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateCollection, EmailTemplateContract, EmailTemplateGetEntityTagHeaders, EmailTemplateGetHeaders, EmailTemplateParametersContractProperties, + EmailTemplateUpdateHeaders, EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, @@ -56,6 +63,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +79,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +100,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index 3923b13a0f3c..23ffa9ccab9f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiCollection, ApiContract, @@ -37,6 +38,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +60,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -67,6 +76,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +97,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index 8a77fa12242c..45858af01a06 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -56,6 +62,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index c1c140d0632a..96390bcb19c4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,7 @@ export { GatewayListKeysHeaders, GatewayTokenContract, GatewayTokenRequestContract, + GatewayUpdateHeaders, GroupContract, GroupContractProperties, HostnameConfiguration, @@ -61,6 +68,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -74,6 +84,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -93,6 +105,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index cc5873a72832..30a17accd0aa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -50,6 +56,7 @@ export { GroupCreateParameters, GroupGetEntityTagHeaders, GroupGetHeaders, + GroupUpdateHeaders, GroupUpdateParameters, HostnameConfiguration, HttpMessageDiagnostic, @@ -58,6 +65,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -71,6 +81,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -90,6 +102,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 2eeab6b3baf7..43f7a7675f70 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -84,6 +95,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 674b64208ffa..8772dfa1a26f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -37,6 +38,11 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,10 +60,15 @@ export { IdentityProviderGetEntityTagHeaders, IdentityProviderGetHeaders, IdentityProviderList, + IdentityProviderListSecretsHeaders, + IdentityProviderUpdateHeaders, IdentityProviderUpdateParameters, IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -71,6 +82,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -90,6 +103,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 00a9ffa0200a..99250aea2293 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; } /** @@ -807,6 +844,10 @@ export interface PolicyCollection { * Policy Contract value. */ value?: PolicyContract[]; + /** + * Total record count number. + */ + count?: number; /** * Next page link if any. */ @@ -990,9 +1031,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 +1057,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 +1097,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 +1184,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 +1237,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 +1254,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 +1319,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 +1331,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 +1461,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 +1480,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 +1508,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 +1608,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 +1661,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 +1689,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 +1742,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. @@ -1781,7 +1832,11 @@ export interface BackendAuthorizationHeaderCredentials { */ export interface BackendCredentialsContract { /** - * List of Client Certificate Thumbprint. + * List of Client Certificate Ids. + */ + certificateIds?: string[]; + /** + * List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided. */ certificate?: string[]; /** @@ -1817,9 +1872,14 @@ export interface X509CertificateName { */ export interface BackendServiceFabricClusterProperties { /** - * The client certificate thumbprint for the management endpoint. + * The client certificate id for the management endpoint. + */ + clientCertificateId?: string; + /** + * The client certificate thumbprint for the management endpoint. Will be ignored if + * certificatesIds are provided */ - clientCertificatethumbprint: string; + clientCertificatethumbprint?: string; /** * Maximum number of retries while attempting resolve the partition. */ @@ -1884,9 +1944,9 @@ export interface BackendBaseParameters { } /** - * Backend update parameters. + * Backend details. */ -export interface BackendUpdateParameters { +export interface BackendContract extends Resource { /** * Backend Title. */ @@ -1919,17 +1979,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 +2022,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 +2040,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 +2053,9 @@ export interface CacheUpdateParameters { } /** - * Cache details. + * Cache update details. */ -export interface CacheContract extends Resource { +export interface CacheUpdateParameters { /** * Cache description */ @@ -1998,13 +2063,63 @@ export interface CacheContract extends Resource { /** * Runtime connection string to cache */ - connectionString: string; + connectionString?: string; + /** + * Location identifier to use cache from (should be either 'default' or valid Azure region + * identifier) + */ + useFromLocation?: string; /** * Original uri of entity in external system cache points to */ resourceId?: string; } +/** + * Create keyVault contract details. + */ +export interface KeyVaultContractCreateProperties { + /** + * Key vault secret identifier for fetching secret. Providing a versioned secret will prevent + * auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi + */ + secretIdentifier?: string; + /** + * SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key + * vault secret. + */ + identityClientId?: string; +} + +/** + * Issue contract Update Properties. + */ +export interface KeyVaultLastAccessStatusContractProperties { + /** + * Last status code for sync and refresh of secret from key vault. + */ + code?: string; + /** + * Details of the error else empty. + */ + message?: string; + /** + * Last time secret was accessed. The date conforms to the following format: + * `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. + */ + timeStampUtc?: Date; +} + +/** + * KeyVault contract details. + */ +export interface KeyVaultContractProperties extends KeyVaultContractCreateProperties { + /** + * Last time sync and refresh status of secret from key vault. + */ + lastStatus?: KeyVaultLastAccessStatusContractProperties; +} + /** * Certificate details. */ @@ -2022,6 +2137,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,67 +2150,132 @@ 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; } /** - * Describes an available API Management SKU. + * Content type contract details. */ -export interface ResourceSku { +export interface ContentItemContract extends Resource { /** - * Name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', - * 'Consumption' + * Properties of the content item. */ - name?: SkuType; + properties?: { [propertyName: string]: any }; } /** - * Describes scaling information of a SKU. + * Content type contract details. */ -export interface ResourceSkuCapacity { +export interface ContentTypeContract extends Resource { /** - * The minimum capacity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Content type identifier */ - readonly minimum?: number; + contentTypeContractId?: string; /** - * The maximum capacity that can be set. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Content type name. Must be 1 to 250 characters long. */ - readonly maximum?: number; + contentTypeContractName?: string; /** - * The default capacity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Content type description. */ - readonly default?: number; + description?: string; /** - * The scale type applicable to the sku. Possible values include: 'automatic', 'manual', 'none' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Content type schema. */ - readonly scaleType?: ResourceSkuCapacityScaleType; + schema?: any; + /** + * Content type version. + */ + version?: string; } /** - * Describes an available API Management service SKU. + * Deleted Api Management Service information. */ -export interface ResourceSkuResult { +export interface DeletedServiceContract extends Resource { /** - * The type of resource the SKU applies to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Fully-qualified API Management Service Resource ID */ - readonly resourceType?: string; + serviceId?: string; /** - * Specifies API Management SKU. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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. */ - readonly sku?: ResourceSku; + scheduledPurgeDate?: Date; /** - * Specifies the number of API Management units. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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; +} + +/** + * Describes an available API Management SKU. + */ +export interface ResourceSku { + /** + * Name of the Sku. Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', + * 'Consumption', 'Isolated' + */ + name?: SkuType; +} + +/** + * Describes scaling information of a SKU. + */ +export interface ResourceSkuCapacity { + /** + * The minimum capacity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly minimum?: number; + /** + * The maximum capacity that can be set. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maximum?: number; + /** + * The default capacity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly default?: number; + /** + * The scale type applicable to the sku. Possible values include: 'automatic', 'manual', 'none' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly scaleType?: ResourceSkuCapacityScaleType; +} + +/** + * Describes an available API Management service SKU. + */ +export interface ResourceSkuResult { + /** + * The type of resource the SKU applies to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceType?: string; + /** + * Specifies API Management SKU. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sku?: ResourceSku; + /** + * Specifies the number of API Management units. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly capacity?: ResourceSkuCapacity; } @@ -2155,9 +2339,15 @@ export interface HostnameConfiguration { /** * Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version * is provided, auto-update of ssl certificate will not work. This requires Api Management - * service to be configured with MSI. The secret should be of type *application/x-pkcs12* + * service to be configured with aka.ms/apimmsi. The secret should be of type + * *application/x-pkcs12* */ keyVaultId?: string; + /** + * System or User Assigned Managed identity clientId as generated by Azure AD, which has GET + * access to the keyVault containing the SSL certificate. + */ + identityClientId?: string; /** * Base64 Encoded certificate. */ @@ -2211,7 +2401,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 +2423,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 +2552,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,6 +2630,11 @@ 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; } /** @@ -2570,14 +2769,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 +2847,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 +2877,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 +2946,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 +3024,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 +3173,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 +3193,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 +3204,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 +3220,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 +3255,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 +3462,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 +3539,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 +3589,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 +3629,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 +3680,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,63 +3741,53 @@ 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 { - /** - * This is secret value of the NamedValue entity. - */ - value?: string; } /** @@ -3604,6 +3829,20 @@ export interface NamedValueContract extends Resource { * request to get the value. */ value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractProperties; +} + +/** + * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. + */ +export interface NamedValueSecretContract { + /** + * This is secret value of the NamedValue entity. + */ + value?: string; } /** @@ -3629,6 +3868,10 @@ export interface NamedValueUpdateParameters { * of whitespace. */ value?: string; + /** + * KeyVault location details of the namedValue. + */ + keyVault?: KeyVaultContractCreateProperties; } /** @@ -3654,7 +3897,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 +3935,14 @@ export interface ConnectivityStatusContract { * the ISO 8601 standard. */ lastStatusChange: Date; + /** + * Resource Type. + */ + resourceType: string; + /** + * Whether this is optional. + */ + isOptional: boolean; } /** @@ -3799,13 +4054,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 +4068,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 +4080,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 +4094,11 @@ export interface OpenidConnectProviderContract extends Resource { /** * Metadata endpoint URI. */ - metadataEndpoint: string; + metadataEndpoint?: string; /** * Client ID of developer console which is the client application. */ - clientId: string; + clientId?: string; /** * Client Secret of developer console which is the client application. */ @@ -3880,6 +4135,41 @@ export interface PolicyDescriptionCollection { count?: number; } +/** + * Portal revisions contract details. + */ +export interface PortalRevisionContract extends Resource { + /** + * Portal revision description. + */ + description?: string; + /** + * Portal revision publishing status details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly statusDetails?: string; + /** + * Portal revision publishing status. Possible values include: 'pending', 'publishing', + * 'completed', 'failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: PortalRevisionStatus; + /** + * Indicates if the Portal Revision is public. + */ + isCurrent?: boolean; + /** + * Portal revision creation date and time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly createdDateTime?: Date; + /** + * Last updated date and time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly updatedDateTime?: Date; +} + /** * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. */ @@ -3975,6 +4265,51 @@ export interface PortalSigninSettings extends Resource { enabled?: boolean; } +/** + * Portal Settings for the Developer Portal. + */ +export interface PortalSettingsContract extends Resource { + /** + * A delegation Url. + */ + url?: string; + /** + * A base64-encoded validation key to validate, that a request is coming from Azure API + * Management. + */ + validationKey?: string; + /** + * Subscriptions delegation settings. + */ + subscriptions?: SubscriptionsDelegationSettingsProperties; + /** + * User registration delegation settings. + */ + userRegistration?: RegistrationDelegationSettingsProperties; + /** + * Redirect Anonymous users to the Sign-In page. + */ + enabled?: boolean; + /** + * Terms of service contract properties. + */ + termsOfService?: TermsOfServiceProperties; +} + +/** + * Descriptions of APIM policies. + */ +export interface PortalSettingsCollection { + /** + * Descriptions of APIM policies. + */ + value?: PortalSettingsContract[]; + /** + * Total record count number. + */ + count?: number; +} + /** * Subscription details. */ @@ -4047,7 +4382,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 +4481,20 @@ export interface QuotaCounterContract { value?: QuotaCounterValueContractProperties; } +/** + * Quota counter value details. + */ +export interface QuotaCounterValueUpdateContract { + /** + * Number of times Counter was called. + */ + callsCount?: number; + /** + * Data Transferred in KiloBytes. + */ + kbTransferred?: number; +} + /** * Paged Quota Counter list representation. */ @@ -4364,6 +4714,16 @@ export interface ReportRecordContract { serviceTimeMax?: number; } +/** + * Tenant Settings. + */ +export interface TenantSettingsContract extends Resource { + /** + * Tenant settings + */ + settings?: { [propertyName: string]: string }; +} + /** * Subscription keys. */ @@ -4421,7 +4781,8 @@ export interface SubscriptionUpdateParameters { */ state?: SubscriptionState; /** - * Comments describing subscription state change by the administrator. + * Comments describing subscription state change by the administrator when the state is changed + * to the 'rejected'. */ stateComment?: string; /** @@ -4609,11 +4970,15 @@ export interface SaveConfigurationParameter { /** * Tenant access information contract of the API Management service. */ -export interface AccessInformationContract { +export interface AccessInformationSecretsContract { /** - * Identifier. + * Access Information type ('access' or 'gitAccess') */ id?: string; + /** + * Principal (User) Identifier. + */ + principalId?: string; /** * Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' * POST request to get the value. @@ -4630,6 +4995,24 @@ export interface AccessInformationContract { enabled?: boolean; } +/** + * Tenant Settings. + */ +export interface AccessInformationContract extends Resource { + /** + * Access Information type ('access' or 'gitAccess') + */ + accessInformationContractId?: string; + /** + * Principal (User) Identifier. + */ + principalId?: string; + /** + * Determines whether direct access is enabled. + */ + enabled?: boolean; +} + /** * Tenant access information update parameters. */ @@ -4640,6 +5023,30 @@ export interface AccessInformationUpdateParameters { enabled?: boolean; } +/** + * Tenant access information update parameters. + */ +export interface AccessInformationCreateParameters { + /** + * Principal (User) Identifier. + */ + principalId?: string; + /** + * Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' + * POST request to get the value. + */ + primaryKey?: string; + /** + * Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' + * POST request to get the value. + */ + secondaryKey?: string; + /** + * Determines whether direct access is enabled. + */ + enabled?: boolean; +} + /** * Get User Token response details. */ @@ -4747,8 +5154,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 +5206,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 +5260,15 @@ export interface ApiDeleteMethodOptionalParams extends msRest.RequestOptionsBase */ export interface ApiListByTagsOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Supported operators | Supported functions | - * |-------------|------------------------|-----------------------------------| - * - * |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| - * |isCurrent | eq | | + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| isCurrent | filter | eq | |
*/ filter?: string; /** @@ -4890,14 +5296,97 @@ export interface ApiBeginCreateOrUpdateOptionalParams extends msRest.RequestOpti ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| path | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| isCurrent | filter | eq, ne | |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include tags in the response. + */ + tags?: string; + /** + * Include full ApiVersionSet resource in response + */ + expandApiVersionSet?: boolean; +} + +/** + * Optional Parameters. + */ +export interface ApiListByTagsNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| isCurrent | filter | eq | |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include not tagged APIs. + */ + includeNotTaggedApis?: boolean; +} + /** * Optional Parameters. */ export interface ApiRevisionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| apiRevision | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ApiRevisionListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| apiRevision | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -4915,9 +5404,9 @@ export interface ApiRevisionListByServiceOptionalParams extends msRest.RequestOp */ export interface ApiReleaseListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| notes | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -4941,19 +5430,39 @@ export interface ApiReleaseCreateOrUpdateOptionalParams extends msRest.RequestOp ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiReleaseListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| notes | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + /** * Optional Parameters. */ export interface ApiOperationListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
*/ filter?: string; /** @@ -4981,6 +5490,35 @@ export interface ApiOperationCreateOrUpdateOptionalParams extends msRest.Request ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ApiOperationListByApiNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include tags in the response. + */ + tags?: string; +} + /** * Optional Parameters. */ @@ -5007,10 +5545,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 +5566,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 +5587,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 +5608,10 @@ export interface TagListByProductOptionalParams extends msRest.RequestOptionsBas */ export interface TagListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5104,11 +5642,12 @@ export interface TagCreateOrUpdateOptionalParams extends msRest.RequestOptionsBa /** * Optional Parameters. */ -export interface ApiProductListByApisOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByOperationNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5124,32 +5663,33 @@ export interface ApiProductListByApisOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface ApiPolicyGetOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByApiNextOptionalParams extends msRest.RequestOptionsBase { /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - format?: PolicyExportFormat; -} - -/** - * Optional Parameters. - */ -export interface ApiPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to return. */ - ifMatch?: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByProductNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| contentType | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5165,43 +5705,36 @@ export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface ApiSchemaCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface TagListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface ApiSchemaDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** - * If true removes all references to the schema before deleting it. + * Number of records to return. */ - force?: boolean; -} - -/** - * Optional Parameters. - */ -export interface ApiSchemaBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + top?: number; /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Number of records to skip. */ - ifMatch?: string; + skip?: number; + /** + * Scope like 'apis', 'products' or 'apis/{apiId} + */ + scope?: string; } /** * Optional Parameters. */ -export interface ApiDiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiProductListByApisOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5217,30 +5750,13 @@ export interface ApiDiagnosticListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ApiDiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiProductListByApisNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq - * | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; - /** - * Expand the comment attachments. - */ - expandCommentsAttachments?: boolean; /** * Number of records to return. */ @@ -5254,17 +5770,17 @@ export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface ApiIssueGetOptionalParams extends msRest.RequestOptionsBase { +export interface ApiPolicyGetOptionalParams extends msRest.RequestOptionsBase { /** - * Expand the comment attachments. + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - expandCommentsAttachments?: boolean; + format?: PolicyExportFormat; } /** * Optional Parameters. */ -export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5275,12 +5791,11 @@ export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOpti /** * Optional Parameters. */ -export interface ApiIssueCommentListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| contentType | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5296,7 +5811,7 @@ export interface ApiIssueCommentListByServiceOptionalParams extends msRest.Reque /** * Optional Parameters. */ -export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5307,28 +5822,17 @@ export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.Requ /** * Optional Parameters. */ -export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.RequestOptionsBase { - /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
- */ - filter?: string; - /** - * Number of records to return. - */ - top?: number; +export interface ApiSchemaDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Number of records to skip. + * If true removes all references to the schema before deleting it. */ - skip?: number; + force?: boolean; } /** * Optional Parameters. */ -export interface ApiIssueAttachmentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5339,12 +5843,11 @@ export interface ApiIssueAttachmentCreateOrUpdateOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiSchemaListByApiNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| contentType | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5360,7 +5863,27 @@ export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiDiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface ApiDiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5371,17 +5894,11 @@ export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.Re /** * Optional Parameters. */ -export interface OperationListByTagsOptionalParams extends msRest.RequestOptionsBase { +export interface ApiDiagnosticListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| method - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5392,21 +5909,24 @@ export interface OperationListByTagsOptionalParams extends msRest.RequestOptions * Number of records to skip. */ skip?: number; - /** - * Include not tagged Operations. - */ - includeNotTaggedOperations?: boolean; } /** * Optional Parameters. */ -export interface ApiVersionSetListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq | + * |
*/ filter?: string; + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; /** * Number of records to return. */ @@ -5420,7 +5940,17 @@ export interface ApiVersionSetListByServiceOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueGetOptionalParams extends msRest.RequestOptionsBase { + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; +} + +/** + * Optional Parameters. + */ +export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5431,14 +5961,19 @@ export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface AuthorizationServerListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq | + * |
*/ filter?: string; + /** + * Expand the comment attachments. + */ + expandCommentsAttachments?: boolean; /** * Number of records to return. */ @@ -5452,24 +5987,12 @@ export interface AuthorizationServerListByServiceOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface AuthorizationServerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface BackendListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| title | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| url | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5485,7 +6008,7 @@ export interface BackendListByServiceOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface BackendCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5496,17 +6019,35 @@ export interface BackendCreateOrUpdateOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface BackendReconnectOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueCommentListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Reconnect request parameters. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - parameters?: BackendReconnectContract; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -5520,7 +6061,7 @@ export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface CacheCreateOrUpdateOptionalParams 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. @@ -5531,14 +6072,12 @@ export interface CacheCreateOrUpdateOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface CertificateListByServiceOptionalParams 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 |
| subject | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| thumbprint | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| expirationDate - * | filter | ge, le, eq, ne, gt, lt | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5554,46 +6093,70 @@ export interface CertificateListByServiceOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiTagDescriptionListByServiceOptionalParams 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 + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | 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 ApiTagDescriptionCreateOrUpdateOptionalParams 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 ApiTagDescriptionListByServiceNextOptionalParams 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 + * |
|-------------|-------------|-------------|-------------|
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | 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 OperationListByTagsOptionalParams 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 |
| 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; /** @@ -5604,27 +6167,26 @@ export interface DiagnosticListByServiceOptionalParams extends msRest.RequestOpt * Number of records to skip. */ skip?: number; -} - -/** - * Optional Parameters. - */ -export interface DiagnosticCreateOrUpdateOptionalParams 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 EmailTemplateListByServiceOptionalParams 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 |
+ * 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; /** @@ -5635,23 +6197,21 @@ export interface EmailTemplateListByServiceOptionalParams extends msRest.Request * Number of records to skip. */ skip?: number; -} - -/** - * Optional Parameters. - */ -export interface EmailTemplateCreateOrUpdateOptionalParams 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 GatewayListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiVersionSetListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
+ */ + filter?: string; /** * Number of records to return. */ @@ -5665,7 +6225,7 @@ export interface GatewayListByServiceOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface GatewayCreateOrUpdateOptionalParams 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. @@ -5676,7 +6236,12 @@ export interface GatewayCreateOrUpdateOptionalParams extends msRest.RequestOptio /** * Optional Parameters. */ -export interface GatewayHostnameConfigurationListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiVersionSetListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
+ */ + filter?: string; /** * Number of records to return. */ @@ -5690,9 +6255,16 @@ export interface GatewayHostnameConfigurationListByServiceOptionalParams extends /** * Optional Parameters. */ -export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Number of records to return. + * | 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; /** @@ -5704,21 +6276,23 @@ export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - parameters?: AssociationContract; +export interface AuthorizationServerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; } /** * Optional Parameters. */ -export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface AuthorizationServerListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5734,27 +6308,13 @@ export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface GroupCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. - */ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface GroupUserListOptionalParams extends msRest.RequestOptionsBase { +export interface 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 |
| 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 |
| 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; /** @@ -5770,7 +6330,7 @@ export interface GroupUserListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface IdentityProviderCreateOrUpdateOptionalParams 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. @@ -5781,16 +6341,23 @@ export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.Req /** * Optional Parameters. */ -export interface IssueListByServiceOptionalParams 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 |
| 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 |
| 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; /** @@ -5806,16 +6373,7 @@ export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface LoggerListByServiceOptionalParams 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; +export interface CacheListByServiceOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -5829,7 +6387,7 @@ export interface LoggerListByServiceOptionalParams extends msRest.RequestOptions /** * Optional Parameters. */ -export interface LoggerCreateOrUpdateOptionalParams 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. @@ -5840,24 +6398,7 @@ export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface LoggerDeleteMethodOptionalParams extends msRest.RequestOptionsBase { - /** - * Force deletion even if diagnostic is attached. - */ - force?: boolean; -} - -/** - * Optional Parameters. - */ -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; +export interface CacheListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** * Number of records to return. */ @@ -5871,29 +6412,16 @@ export interface NamedValueListByServiceOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface NamedValueCreateOrUpdateOptionalParams 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 NamedValueBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateListByServiceOptionalParams 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 |
| 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 | |
*/ - ifMatch?: string; -} - -/** - * Optional Parameters. - */ -export interface NotificationListByServiceOptionalParams extends msRest.RequestOptionsBase { + filter?: string; /** * Number of records to return. */ @@ -5902,12 +6430,16 @@ export interface NotificationListByServiceOptionalParams extends msRest.RequestO * Number of records to skip. */ skip?: number; + /** + * When set to true, the response contains only certificates entities which failed refresh. + */ + isKeyVaultRefreshFailed?: boolean; } /** * Optional Parameters. */ -export interface NotificationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -5918,12 +6450,14 @@ export interface NotificationCreateOrUpdateOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface OpenIdConnectProviderListByServiceOptionalParams 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 |
+ * 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; /** @@ -5934,12 +6468,16 @@ export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest * Number of records to skip. */ skip?: number; + /** + * When set to true, the response contains only certificates entities which failed refresh. + */ + isKeyVaultRefreshFailed?: boolean; } /** * Optional Parameters. */ -export interface OpenIdConnectProviderCreateOrUpdateOptionalParams 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. @@ -5950,17 +6488,7 @@ export interface OpenIdConnectProviderCreateOrUpdateOptionalParams extends msRes /** * Optional Parameters. */ -export interface PolicyGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. - */ - format?: PolicyExportFormat; -} - -/** - * Optional Parameters. - */ -export interface PolicyCreateOrUpdateOptionalParams 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. @@ -5971,39 +6499,51 @@ export interface PolicyCreateOrUpdateOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface PolicyDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface ApiManagementServiceApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { /** - * Policy scope. Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' + * 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. */ - scope?: PolicyScopeContract; + parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; } /** * Optional Parameters. */ -export interface SignInSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface ApiManagementServiceBeginApplyNetworkConfigurationUpdatesOptionalParams extends msRest.RequestOptionsBase { /** - * ETag of the Entity. Not required when creating an entity, but required when updating an - * entity. + * Parameters supplied to the Apply Network Configuration operation. If the parameters are empty, + * all the regions in which the Api Management service is deployed will be updated sequentially + * without incurring downtime in the region. */ - ifMatch?: string; + parameters?: ApiManagementServiceApplyNetworkConfigurationParameters; } /** * Optional Parameters. */ -export interface SignUpSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface DiagnosticListByServiceOptionalParams 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; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface DelegationSettingsCreateOrUpdateOptionalParams 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. @@ -6014,15 +6554,11 @@ export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.R /** * Optional Parameters. */ -export interface ProductListByServiceOptionalParams 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 |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | - * filter | eq | |
| groups | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6033,50 +6569,47 @@ 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 EmailTemplateListByServiceOptionalParams 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; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface EmailTemplateCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Delete existing subscriptions associated with the product or not. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - deleteSubscriptions?: boolean; + ifMatch?: string; } /** * Optional Parameters. */ -export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBase { +export interface EmailTemplateListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | - * filter | eq | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6087,25 +6620,18 @@ export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; - /** - * Include not tagged Products. - */ - includeNotTaggedProducts?: boolean; } /** * Optional Parameters. */ -export interface ProductApiListByProductOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | 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 |
| 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; /** @@ -6121,12 +6647,24 @@ export interface ProductApiListByProductOptionalParams extends msRest.RequestOpt /** * Optional Parameters. */ -export interface ProductGroupListByProductOptionalParams 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. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface GatewayListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | |
| displayName | filter | eq, ne | |
| description | - * filter | eq, ne | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| region | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6142,18 +6680,12 @@ export interface ProductGroupListByProductOptionalParams extends msRest.RequestO /** * Optional Parameters. */ -export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationListByServiceOptionalParams 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 |
| hostname | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6169,17 +6701,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 GatewayHostnameConfigurationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6190,7 +6712,14 @@ export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.Reques /** * Optional Parameters. */ -export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayHostnameConfigurationListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| hostname | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6199,16 +6728,18 @@ export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBas * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByUserOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayApiListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6217,34 +6748,25 @@ export interface ReportsListByUserOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByOperationOptionalParams extends msRest.RequestOptionsBase { - /** - * Number of records to return. - */ - top?: number; - /** - * Number of records to skip. - */ - skip?: number; - /** - * OData order by query option. - */ - orderby?: string; +export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + parameters?: AssociationContract; } /** * Optional Parameters. */ -export interface ReportsListByProductOptionalParams extends msRest.RequestOptionsBase { +export interface GatewayApiListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6253,16 +6775,21 @@ export interface ReportsListByProductOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; - /** - * OData order by query option. - */ - orderby?: string; } /** * Optional Parameters. */ -export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBase { +export interface GroupListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * externalId | filter | eq | |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6276,25 +6803,27 @@ export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { +export interface GroupCreateOrUpdateOptionalParams 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; - /** - * Number of records to skip. - */ - skip?: number; - /** - * OData order by query option. - */ - orderby?: string; + ifMatch?: string; } /** * Optional Parameters. */ -export interface ReportsListByTimeOptionalParams extends msRest.RequestOptionsBase { +export interface GroupListByServiceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * externalId | filter | eq | |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6303,16 +6832,23 @@ 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 GroupUserListOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| registrationDate + * | filter | ge, le, eq, ne, gt, lt | |
| note | filter | ge, le, eq, ne, gt, lt | + * substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -6326,18 +6862,16 @@ export interface ReportsListByRequestOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface SubscriptionListOptionalParams 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 |
| 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 |
| 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; /** @@ -6353,13 +6887,7 @@ export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBas /** * Optional Parameters. */ -export interface SubscriptionCreateOrUpdateOptionalParams 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 - */ - notify?: boolean; +export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6370,35 +6898,41 @@ export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.Request /** * Optional Parameters. */ -export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Notify change in Subscription State. - * - If false, do not send any email notification for change of state of subscription - * - If true, send email notification of change of state of subscription + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 | |
*/ - notify?: boolean; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** * Optional Parameters. */ -export interface TagResourceListByServiceOptionalParams extends msRest.RequestOptionsBase { +export interface IssueListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| aid | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter - * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, - * startswith, endswith |
| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, - * contains, startswith, endswith |
| terms | filter | ge, le, eq, ne, gt, lt | substringof, - * contains, startswith, endswith |
| state | filter | eq | |
| isCurrent | filter - * | eq | |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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; /** @@ -6414,17 +6948,14 @@ export interface TagResourceListByServiceOptionalParams extends msRest.RequestOp /** * Optional Parameters. */ -export interface UserListByServiceOptionalParams 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 |
| 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 |
| 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; /** @@ -6435,16 +6966,12 @@ export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBa * Number of records to skip. */ skip?: number; - /** - * Detailed Group in response. - */ - expandGroups?: boolean; } /** * Optional Parameters. */ -export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6455,27 +6982,14 @@ export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsB /** * Optional Parameters. */ -export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBase { - /** - * Whether to delete user's subscription 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 LoggerListByServiceNextOptionalParams 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 |
| 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; /** @@ -6491,18 +7005,12 @@ export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface UserSubscriptionListOptionalParams extends msRest.RequestOptionsBase { +export interface NamedValueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 |
+ * | 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; /** @@ -6513,745 +7021,1246 @@ export interface UserSubscriptionListOptionalParams extends msRest.RequestOption * Number of records to skip. */ skip?: number; + /** + * When set to true, the response contains only named value entities which failed refresh. + */ + isKeyVaultRefreshFailed?: boolean; } /** - * An interface representing ApiManagementClientOptions. - */ -export interface ApiManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; -} - -/** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiGetEntityTagHeaders { +export interface NamedValueCreateOrUpdateOptionalParams 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 ApiGetHeaders { +export interface NamedValueBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiCreateOrUpdateHeaders { +export interface NamedValueListByServiceNextOptionalParams 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 + * |
|-------------|-------------|-------------|-------------|
| 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 |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * When set to true, the response contains only named value entities which failed refresh. + */ + isKeyVaultRefreshFailed?: boolean; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiReleaseGetEntityTagHeaders { +export interface NotificationListByServiceOptionalParams 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 ApiReleaseGetHeaders { +export interface NotificationCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiReleaseCreateOrUpdateHeaders { +export interface NotificationListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiOperationGetEntityTagHeaders { +export interface OpenIdConnectProviderListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - eTag: string; + 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 OpenIdConnectProviderCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiOperationCreateOrUpdateHeaders { +export interface OpenIdConnectProviderListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ - eTag: string; + 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 ApiOperationPolicyGetEntityTagHeaders { +export interface PolicyGetOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - eTag: string; + format?: PolicyExportFormat; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiOperationPolicyGetHeaders { +export interface PolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiOperationPolicyCreateOrUpdateHeaders { +export interface PolicyDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Policy scope. Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' */ - eTag: string; + scope?: PolicyScopeContract; } /** - * Defines headers for GetEntityStateByOperation operation. + * Optional Parameters. */ -export interface TagGetEntityStateByOperationHeaders { +export interface PortalRevisionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Supported operators | Supported functions | + * |-------------|------------------------|-----------------------------------| + * + * |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |isCurrent | eq, ne | | */ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetByOperation operation. + * Optional Parameters. */ -export interface TagGetByOperationHeaders { +export interface PortalRevisionListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Supported operators | Supported functions | + * |-------------|------------------------|-----------------------------------| + * + * |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith| + * |isCurrent | eq, ne | | */ - eTag: string; -} - -/** - * Defines headers for GetEntityTag operation. - */ -export interface ApiPolicyGetEntityTagHeaders { + filter?: string; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiPolicyGetHeaders { +export interface SignInSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiPolicyCreateOrUpdateHeaders { +export interface SignUpSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiSchemaGetEntityTagHeaders { +export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiSchemaGetHeaders { +export interface ProductListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
| groups | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * When set to true, the response contains an array of groups that have visibility to the + * product. The default is false. + */ + expandGroups?: boolean; + /** + * Products which are part of a specific tag. + */ + tags?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiSchemaCreateOrUpdateHeaders { +export interface ProductCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiDiagnosticGetEntityTagHeaders { +export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Delete existing subscriptions associated with the product or not. */ - eTag: string; + deleteSubscriptions?: boolean; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiDiagnosticGetHeaders { +export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | substringof, contains, startswith, endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Include not tagged Products. + */ + includeNotTaggedProducts?: boolean; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiDiagnosticCreateOrUpdateHeaders { +export interface ProductListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
| groups | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * When set to true, the response contains an array of groups that have visibility to the + * product. The default is false. + */ + expandGroups?: boolean; + /** + * Products which are part of a specific tag. + */ + tags?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiIssueGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface ApiIssueGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueCreateOrUpdateHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface ApiIssueCommentGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface ApiIssueCommentGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueCommentCreateOrUpdateHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentGetEntityTagHeaders { +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; -} - -/** - * Defines headers for Get operation. - */ -export interface ApiIssueAttachmentGetHeaders { + filter?: string; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiIssueAttachmentCreateOrUpdateHeaders { +export interface ProductPolicyGetOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Policy Export Format. Possible values include: 'xml', 'rawxml'. Default value: 'xml'. */ - eTag: string; + format?: PolicyExportFormat; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiTagDescriptionGetEntityTagHeaders { +export interface ProductPolicyCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. */ - eTag: string; + ifMatch?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface ApiTagDescriptionGetHeaders { +export interface ReportsListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiTagDescriptionCreateOrUpdateHeaders { +export interface ReportsListByUserOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for GetEntityStateByApi operation. + * Optional Parameters. */ -export interface TagGetEntityStateByApiHeaders { +export interface ReportsListByOperationOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for GetByApi operation. + * Optional Parameters. */ -export interface TagGetByApiHeaders { +export interface ReportsListByProductOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for AssignToApi operation. + * Optional Parameters. */ -export interface TagAssignToApiHeaders { +export interface ReportsListByGeoOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface ApiVersionSetGetEntityTagHeaders { +export interface ReportsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + 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 ApiVersionSetGetHeaders { +export interface ReportsListByTimeOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface ApiVersionSetCreateOrUpdateHeaders { +export interface ReportsListByRequestOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to return. */ - eTag: string; + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface AuthorizationServerGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface AuthorizationServerGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface AuthorizationServerCreateOrUpdateHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface BackendGetEntityTagHeaders { +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 Get operation. + * Optional Parameters. */ -export interface BackendGetHeaders { +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 CreateOrUpdate operation. + * Optional Parameters. */ -export interface BackendCreateOrUpdateHeaders { +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 GetEntityTag operation. + * Optional Parameters. */ -export interface CacheGetEntityTagHeaders { +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; -} - -/** - * Defines headers for Get operation. - */ -export interface CacheGetHeaders { + top?: number; /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Number of records to skip. */ - eTag: string; + skip?: number; + /** + * OData order by query option. + */ + orderby?: string; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface CacheCreateOrUpdateHeaders { +export interface TenantSettingsListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface CertificateGetEntityTagHeaders { +export interface TenantSettingsListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface CertificateGetHeaders { +export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| state | filter | eq | |
| user | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface CertificateCreateOrUpdateHeaders { +export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Notify change in Subscription State. + * - If false, do not send any email notification for change of state of subscription + * - If true, send email notification of change of state of subscription */ - eTag: string; + notify?: boolean; + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; + /** + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. + */ + appType?: AppType; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface DiagnosticGetEntityTagHeaders { +export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Notify change in Subscription State. + * - If false, do not send any email notification for change of state of subscription + * - If true, send email notification of change of state of subscription */ - eTag: string; + notify?: boolean; + /** + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. + */ + appType?: AppType; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface DiagnosticGetHeaders { +export interface SubscriptionListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| state | filter | eq | |
| user | expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface DiagnosticCreateOrUpdateHeaders { +export interface TagResourceListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| aid | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter + * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| terms | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| state | filter | eq | |
| isCurrent | filter | eq | + * |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface EmailTemplateGetEntityTagHeaders { +export interface TagResourceListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| aid | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiName | filter + * | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| apiRevision | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| path | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| serviceUrl | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| method | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
| urlTemplate | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| terms | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
| state | filter | eq | |
| isCurrent | filter | eq | + * |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface EmailTemplateGetHeaders { +export interface TenantAccessListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GatewayGetEntityTagHeaders { +export interface TenantAccessListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Not used */ - eTag: string; + filter?: string; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface GatewayGetHeaders { +export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | + * eq | |
| registrationDate | filter | ge, le, eq, ne, gt, lt | |
| note | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| groups | + * expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Detailed Group in response. + */ + expandGroups?: boolean; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface GatewayCreateOrUpdateHeaders { +export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Send an Email notification to the User. */ - eTag: string; + notify?: boolean; + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; } /** - * Defines headers for ListKeys operation. + * Optional Parameters. */ -export interface GatewayListKeysHeaders { +export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * Whether to delete user's subscription or not. */ - eTag: string; + deleteSubscriptions?: boolean; + /** + * Send an Account Closed Email notification to the User. + */ + notify?: boolean; + /** + * Determines the type of application which send the create user request. Default is legacy + * publisher portal. Possible values include: 'portal', 'developerPortal'. Default value: + * 'portal'. + */ + appType?: AppType; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GatewayHostnameConfigurationGetEntityTagHeaders { +export interface UserListByServiceNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | + * eq | |
| registrationDate | filter | ge, le, eq, ne, gt, lt | |
| note | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| groups | + * expand | | |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; + /** + * Detailed Group in response. + */ + expandGroups?: boolean; } /** - * Defines headers for Get operation. + * Optional Parameters. */ -export interface GatewayHostnameConfigurationGetHeaders { +export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
| name + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for CreateOrUpdate operation. + * Optional Parameters. */ -export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { +export interface UserGroupListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
| name + * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; } /** - * Defines headers for GetEntityTag operation. + * Optional Parameters. */ -export interface GatewayApiGetEntityTagHeaders { +export interface UserSubscriptionListOptionalParams extends msRest.RequestOptionsBase { /** - * Current entity state version. Should be treated as opaque and used to make conditional HTTP - * requests. + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
|name | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
|displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
|stateComment | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|ownerId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|scope | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|productId | filter | ge, le, eq, ne, gt, lt | substringof, + * contains, startswith, endswith |
*/ - eTag: string; + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface UserSubscriptionListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
|name | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith + * |
|displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, + * endswith |
|stateComment | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|ownerId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|scope | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, + * startswith, endswith |
|productId | filter | ge, le, eq, ne, gt, lt | substringof, + * contains, startswith, endswith |
+ */ + filter?: string; + /** + * Number of records to return. + */ + top?: number; + /** + * Number of records to skip. + */ + skip?: number; +} + +/** + * Optional Parameters. + */ +export interface UserConfirmationPasswordSendOptionalParams extends msRest.RequestOptionsBase { + /** + * 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; +} + +/** + * An interface representing ApiManagementClientOptions. + */ +export interface ApiManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; } /** * Defines headers for GetEntityTag operation. */ -export interface GroupGetEntityTagHeaders { +export interface ApiGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7262,7 +8271,7 @@ export interface GroupGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface GroupGetHeaders { +export interface ApiGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7273,7 +8282,18 @@ export interface GroupGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface GroupCreateOrUpdateHeaders { +export interface ApiCreateOrUpdateHeaders { + /** + * 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 ApiUpdateHeaders { /** * 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 ApiReleaseGetEntityTagHeaders { /** * 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 ApiReleaseGetHeaders { /** * 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 ApiReleaseCreateOrUpdateHeaders { /** * 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 ApiReleaseUpdateHeaders { /** * 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 ApiOperationGetEntityTagHeaders { /** * 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 ApiOperationGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7350,7 +8370,18 @@ export interface LoggerGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface LoggerCreateOrUpdateHeaders { +export interface ApiOperationCreateOrUpdateHeaders { + /** + * 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 ApiOperationUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7361,7 +8392,7 @@ export interface LoggerCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface NamedValueGetEntityTagHeaders { +export interface ApiOperationPolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7372,7 +8403,7 @@ export interface NamedValueGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface NamedValueGetHeaders { +export interface ApiOperationPolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7383,7 +8414,7 @@ export interface NamedValueGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface NamedValueCreateOrUpdateHeaders { +export interface ApiOperationPolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7392,9 +8423,20 @@ export interface NamedValueCreateOrUpdateHeaders { } /** - * Defines headers for Update operation. + * Defines headers for GetEntityStateByOperation operation. */ -export interface NamedValueUpdateHeaders { +export interface TagGetEntityStateByOperationHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetByOperation operation. + */ +export interface TagGetByOperationHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7405,7 +8447,7 @@ export interface NamedValueUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface OpenIdConnectProviderGetEntityTagHeaders { +export interface ApiPolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7416,7 +8458,7 @@ export interface OpenIdConnectProviderGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface OpenIdConnectProviderGetHeaders { +export interface ApiPolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7427,7 +8469,7 @@ export interface OpenIdConnectProviderGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface OpenIdConnectProviderCreateOrUpdateHeaders { +export interface ApiPolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7438,7 +8480,7 @@ export interface OpenIdConnectProviderCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface PolicyGetEntityTagHeaders { +export interface ApiSchemaGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7449,7 +8491,7 @@ export interface PolicyGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface PolicyGetHeaders { +export interface ApiSchemaGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7460,7 +8502,7 @@ export interface PolicyGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface PolicyCreateOrUpdateHeaders { +export interface ApiSchemaCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7471,7 +8513,7 @@ export interface PolicyCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SignInSettingsGetEntityTagHeaders { +export interface ApiDiagnosticGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7482,7 +8524,7 @@ export interface SignInSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SignInSettingsGetHeaders { +export interface ApiDiagnosticGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7491,9 +8533,9 @@ export interface SignInSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface SignUpSettingsGetEntityTagHeaders { +export interface ApiDiagnosticCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7502,9 +8544,9 @@ export interface SignUpSettingsGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface SignUpSettingsGetHeaders { +export interface ApiDiagnosticUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7515,7 +8557,7 @@ export interface SignUpSettingsGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface DelegationSettingsGetEntityTagHeaders { +export interface ApiIssueGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7526,7 +8568,7 @@ export interface DelegationSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface DelegationSettingsGetHeaders { +export interface ApiIssueGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7535,9 +8577,9 @@ export interface DelegationSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface ProductGetEntityTagHeaders { +export interface ApiIssueCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7546,9 +8588,9 @@ export interface ProductGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface ProductGetHeaders { +export interface ApiIssueUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7557,9 +8599,9 @@ export interface ProductGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for GetEntityTag operation. */ -export interface ProductCreateOrUpdateHeaders { +export interface ApiIssueCommentGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7568,9 +8610,9 @@ export interface ProductCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface ProductPolicyGetEntityTagHeaders { +export interface ApiIssueCommentGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7579,9 +8621,9 @@ export interface ProductPolicyGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface ProductPolicyGetHeaders { +export interface ApiIssueCommentCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7590,9 +8632,9 @@ export interface ProductPolicyGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for GetEntityTag operation. */ -export interface ProductPolicyCreateOrUpdateHeaders { +export interface ApiIssueAttachmentGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7601,9 +8643,9 @@ export interface ProductPolicyCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityStateByProduct operation. + * Defines headers for Get operation. */ -export interface TagGetEntityStateByProductHeaders { +export interface ApiIssueAttachmentGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7612,9 +8654,9 @@ export interface TagGetEntityStateByProductHeaders { } /** - * Defines headers for GetByProduct operation. + * Defines headers for CreateOrUpdate operation. */ -export interface TagGetByProductHeaders { +export interface ApiIssueAttachmentCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7625,7 +8667,7 @@ export interface TagGetByProductHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SubscriptionGetEntityTagHeaders { +export interface ApiTagDescriptionGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7636,7 +8678,7 @@ export interface SubscriptionGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SubscriptionGetHeaders { +export interface ApiTagDescriptionGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7647,7 +8689,7 @@ export interface SubscriptionGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface SubscriptionCreateOrUpdateHeaders { +export interface ApiTagDescriptionCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7656,9 +8698,9 @@ export interface SubscriptionCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityState operation. + * Defines headers for GetEntityStateByApi operation. */ -export interface TagGetEntityStateHeaders { +export interface TagGetEntityStateByApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7667,9 +8709,9 @@ export interface TagGetEntityStateHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetByApi operation. */ -export interface TagGetHeaders { +export interface TagGetByApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7678,9 +8720,9 @@ export interface TagGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for AssignToApi operation. */ -export interface TagCreateOrUpdateHeaders { +export interface TagAssignToApiHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7691,7 +8733,7 @@ export interface TagCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface TenantAccessGetEntityTagHeaders { +export interface ApiVersionSetGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7702,7 +8744,7 @@ export interface TenantAccessGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface TenantAccessGetHeaders { +export interface ApiVersionSetGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7711,9 +8753,9 @@ export interface TenantAccessGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for CreateOrUpdate operation. */ -export interface TenantAccessListSecretsHeaders { +export interface ApiVersionSetCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7722,9 +8764,9 @@ export interface TenantAccessListSecretsHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface TenantAccessGitGetHeaders { +export interface ApiVersionSetUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7733,9 +8775,9 @@ export interface TenantAccessGitGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for GetEntityTag operation. */ -export interface TenantAccessGitListSecretsHeaders { +export interface AuthorizationServerGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7744,9 +8786,9 @@ export interface TenantAccessGitListSecretsHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface UserGetEntityTagHeaders { +export interface AuthorizationServerGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7755,9 +8797,9 @@ export interface UserGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface UserGetHeaders { +export interface AuthorizationServerCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7766,9 +8808,9 @@ export interface UserGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Update operation. */ -export interface UserCreateOrUpdateHeaders { +export interface AuthorizationServerUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7777,833 +8819,2556 @@ export interface UserCreateOrUpdateHeaders { } /** - * @interface - * Paged Api list representation. - * @extends Array + * Defines headers for ListSecrets operation. */ -export interface ApiCollection extends Array { +export interface AuthorizationServerListSecretsHeaders { /** - * 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 BackendGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Api Revision list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface ApiRevisionCollection extends Array { +export interface BackendGetHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged ApiRelease list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface ApiReleaseCollection extends Array { +export interface BackendCreateOrUpdateHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Operation list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface OperationCollection extends Array { +export interface BackendUpdateHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; } /** - * @interface - * Paged Tag list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface TagCollection extends Array { +export interface CacheGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface ProductCollection extends Array { +export interface CacheGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface SchemaCollection extends Array { +export interface CacheCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface DiagnosticCollection extends Array { +export interface CacheUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Issue list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface IssueCollection extends Array { +export interface CertificateGetEntityTagHeaders { /** - * 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 CertificateGetHeaders { /** - * 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 CertificateCreateOrUpdateHeaders { /** - * 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 RefreshSecret operation. */ -export interface TagDescriptionCollection extends Array { +export interface CertificateRefreshSecretHeaders { /** - * 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 Get operation. */ -export interface ApiVersionSetCollection extends Array { +export interface ContentTypeGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged OAuth2 Authorization Servers list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface AuthorizationServerCollection extends Array { - /** - * Total record count number across all pages. - */ - count?: number; +export interface ContentTypeCreateOrUpdateHeaders { /** - * 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 GetEntityTag operation. */ -export interface BackendCollection extends Array { +export interface ContentItemGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface CacheCollection extends Array { +export interface ContentItemGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface CertificateCollection extends Array { +export interface ContentItemCreateOrUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * 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 GetEntityTag operation. */ -export interface OperationListResult extends Array { +export interface DiagnosticGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface ResourceSkuResults extends Array { +export interface DiagnosticGetHeaders { /** - * 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 CreateOrUpdate operation. */ -export interface ApiManagementServiceListResult extends Array { +export interface DiagnosticCreateOrUpdateHeaders { /** - * 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 Update operation. */ -export interface EmailTemplateCollection extends Array { +export interface DiagnosticUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Gateway list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface GatewayCollection extends Array { +export interface EmailTemplateGetEntityTagHeaders { /** - * Next page link if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - readonly nextLink?: string; + eTag: string; } /** - * @interface - * Paged Gateway hostname configuration list representation. - * @extends Array + * Defines headers for Get operation. */ -export interface GatewayHostnameConfigurationCollection extends Array { +export interface 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 Group list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface GroupCollection extends Array { +export interface EmailTemplateUpdateHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged Users list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface UserCollection extends Array { +export interface GatewayGetEntityTagHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * List of all the Identity Providers configured on the service instance. - * @extends Array + * Defines headers for Get operation. */ -export interface IdentityProviderList 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 Logger list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface LoggerCollection extends Array { +export interface GatewayCreateOrUpdateHeaders { /** - * Total record count number across all pages. - */ - count?: number; - /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Paged NamedValue list representation. - * @extends Array + * Defines headers for Update operation. */ -export interface NamedValueCollection extends Array { +export interface GatewayUpdateHeaders { /** - * 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 ListKeys operation. */ -export interface NotificationCollection 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 OpenIdProviders list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface OpenIdConnectProviderCollection extends Array { +export interface GatewayHostnameConfigurationGetEntityTagHeaders { /** - * 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 Get operation. */ -export interface SubscriptionCollection extends Array { +export interface GatewayHostnameConfigurationGetHeaders { /** - * Next page link if any. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - nextLink?: string; + eTag: string; } /** - * @interface - * Lists Regions operation response details. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface RegionListResult extends Array { +export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +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 Report records list representation. - * @extends Array + * Defines headers for GetEntityTag operation. */ -export interface ReportCollection extends Array { +export interface GroupGetEntityTagHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface 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 Report records list representation. - * @extends Array + * Defines headers for CreateOrUpdate operation. */ -export interface RequestReportCollection extends Array { +export interface GroupCreateOrUpdateHeaders { /** - * 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 GroupUpdateHeaders { /** - * Total record count number across all pages. + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. */ - count?: number; + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface 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; } /** - * Defines values for ExportResultFormat. - * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type ExportResultFormat = 'swagger-link-json' | 'wsdl-link+xml' | 'wadl-link-json' | 'openapi-link'; +export interface IdentityProviderGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ProductState. - * Possible values include: 'notPublished', 'published' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type ProductState = 'notPublished' | 'published'; +export interface IdentityProviderCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for BearerTokenSendingMethods. - * Possible values include: 'authorizationHeader', 'query' - * @readonly - * @enum {string} + * Defines headers for Update operation. */ -export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; +export interface IdentityProviderUpdateHeaders { + /** + * 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 ListSecrets operation. */ -export type Protocol = 'http' | 'https'; +export interface IdentityProviderListSecretsHeaders { + /** + * 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 IssueGetHeaders { + /** + * 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 LoggerGetEntityTagHeaders { + /** + * 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 LoggerGetHeaders { + /** + * 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 CreateOrUpdate operation. */ -export type State = 'proposed' | 'open' | 'removed' | 'resolved' | 'closed'; +export interface LoggerCreateOrUpdateHeaders { + /** + * 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 Update operation. */ -export type SamplingType = 'fixed'; +export interface LoggerUpdateHeaders { + /** + * 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 NamedValueGetEntityTagHeaders { + /** + * 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 NamedValueGetHeaders { + /** + * 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 NamedValueCreateOrUpdateHeaders { + /** + * 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 NamedValueUpdateHeaders { + /** + * 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 ListValue operation. */ -export type VersioningScheme = 'Segment' | 'Query' | 'Header'; +export interface NamedValueListValueHeaders { + /** + * 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 RefreshSecret operation. */ -export type GrantType = 'authorizationCode' | 'implicit' | 'resourceOwnerPassword' | 'clientCredentials'; +export interface NamedValueRefreshSecretHeaders { + /** + * 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 GetEntityTag operation. */ -export type AuthorizationMethod = 'HEAD' | 'OPTIONS' | 'TRACE' | 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; +export interface OpenIdConnectProviderGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type ClientAuthenticationMethod = 'Basic' | 'Body'; +export interface OpenIdConnectProviderGetHeaders { + /** + * 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 CreateOrUpdate operation. */ -export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; +export interface OpenIdConnectProviderCreateOrUpdateHeaders { + /** + * 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 Update operation. */ -export type BackendProtocol = 'http' | 'soap'; +export interface OpenIdConnectProviderUpdateHeaders { + /** + * 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 ListSecrets operation. */ -export type SkuType = 'Developer' | 'Standard' | 'Premium' | 'Basic' | 'Consumption'; +export interface OpenIdConnectProviderListSecretsHeaders { + /** + * 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 GetEntityTag operation. */ -export type ResourceSkuCapacityScaleType = 'automatic' | 'manual' | 'none'; +export interface PolicyGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for HostnameType. - * Possible values include: 'Proxy', 'Portal', 'Management', 'Scm', 'DeveloperPortal' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'DeveloperPortal'; +export interface PolicyGetHeaders { + /** + * 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 CreateOrUpdate operation. */ -export type VirtualNetworkType = 'None' | 'External' | 'Internal'; +export interface PolicyCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ApimIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type ApimIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export interface PortalRevisionGetEntityTagHeaders { + /** + * 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 PortalRevisionGetHeaders { + /** + * 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 PortalRevisionCreateOrUpdateHeaders { + /** + * 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 PortalRevisionUpdateHeaders { + /** + * 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 SignInSettingsGetEntityTagHeaders { + /** + * 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 SignInSettingsGetHeaders { + /** + * 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 GetEntityTag operation. */ -export type UserState = 'active' | 'blocked' | 'pending' | 'deleted'; +export interface SignUpSettingsGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type GroupType = 'custom' | 'system' | 'external'; - -/** - * Defines values for IdentityProviderType. - * Possible values include: 'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' - * @readonly - * @enum {string} +export interface SignUpSettingsGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. */ -export type IdentityProviderType = 'facebook' | 'google' | 'microsoft' | 'twitter' | 'aad' | 'aadB2C'; +export interface DelegationSettingsGetEntityTagHeaders { + /** + * 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 Get operation. */ -export type LoggerType = 'azureEventHub' | 'applicationInsights'; +export interface DelegationSettingsGetHeaders { + /** + * 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 ProductGetEntityTagHeaders { + /** + * 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 ProductGetHeaders { + /** + * 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 ProductCreateOrUpdateHeaders { + /** + * 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 ProductUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for PolicyExportFormat. - * Possible values include: 'xml', 'rawxml' - * @readonly - * @enum {string} + * Defines headers for GetEntityTag operation. */ -export type PolicyExportFormat = 'xml' | 'rawxml'; +export interface ProductPolicyGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for TemplateName. - * Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', - * 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', - * 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', - * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', - * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', - * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', - * 'requestDeveloperNotificationMessage' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type TemplateName = 'applicationApprovedNotificationMessage' | 'accountClosedDeveloper' | 'quotaLimitApproachingDeveloperNotificationMessage' | 'newDeveloperNotificationMessage' | 'emailChangeIdentityDefault' | 'inviteUserNotificationMessage' | 'newCommentNotificationMessage' | 'confirmSignUpIdentityDefault' | 'newIssueNotificationMessage' | 'purchaseDeveloperNotificationMessage' | 'passwordResetIdentityDefault' | 'passwordResetByAdminNotificationMessage' | 'rejectDeveloperNotificationMessage' | 'requestDeveloperNotificationMessage'; +export interface ProductPolicyGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for PolicyScopeContract. - * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' - * @readonly - * @enum {string} + * Defines headers for CreateOrUpdate operation. */ -export type PolicyScopeContract = 'Tenant' | 'Product' | 'Api' | 'Operation' | 'All'; +export interface ProductPolicyCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for ExportFormat. - * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson' - * @readonly - * @enum {string} + * Defines headers for GetEntityStateByProduct operation. */ -export type ExportFormat = 'swagger-link' | 'wsdl-link' | 'wadl-link' | 'openapi-link' | 'openapi+json-link'; +export interface TagGetEntityStateByProductHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for VersioningScheme1. - * Possible values include: 'Segment', 'Query', 'Header' - * @readonly - * @enum {string} + * Defines headers for GetByProduct operation. */ -export type VersioningScheme1 = 'Segment' | 'Query' | 'Header'; +export interface TagGetByProductHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} /** - * Defines values for StoreName. - * Possible values include: 'CertificateAuthority', 'Root' - * @readonly - * @enum {string} + * Defines headers for Get operation. */ -export type StoreName = 'CertificateAuthority' | 'Root'; +export interface TenantSettingsGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface SubscriptionGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface SubscriptionGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface SubscriptionCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface SubscriptionUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for ListSecrets operation. + */ +export interface SubscriptionListSecretsHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityState operation. + */ +export interface TagGetEntityStateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface TagGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface TagCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface TagUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface TenantAccessGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface TenantAccessGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Create operation. + */ +export interface TenantAccessCreateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface TenantAccessUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for ListSecrets operation. + */ +export interface TenantAccessListSecretsHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface UserGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface UserGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface UserCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Update operation. + */ +export interface UserUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface UserSubscriptionGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * @interface + * Paged Api list representation. + * @extends Array + */ +export interface ApiCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Tag list representation. + * @extends Array + */ +export interface TagResourceCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Api Revision list representation. + * @extends Array + */ +export interface ApiRevisionCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Products list representation. + * @extends Array + */ +export interface ProductCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * The response of the list schema operation. + * @extends Array + */ +export interface SchemaCollection extends Array { + /** + * Total record count number. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Api Version Set list representation. + * @extends Array + */ +export interface ApiVersionSetCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Caches list representation. + * @extends Array + */ +export interface CacheCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Certificates list representation. + * @extends Array + */ +export interface CertificateCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Users list representation. + * @extends Array + */ +export interface UserCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * 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 { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Notification list representation. + * @extends Array + */ +export interface NotificationCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged OpenIdProviders list representation. + * @extends Array + */ +export interface OpenIdConnectProviderCollection extends Array { + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged list of portal revisions. + * @extends Array + */ +export interface PortalRevisionCollection extends Array { + /** + * Next page link, if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged Subscriptions list representation. + * @extends Array + */ +export interface SubscriptionCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Lists Regions operation response details. + * @extends Array + */ +export interface RegionListResult extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Report records list representation. + * @extends Array + */ +export interface ReportCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * @interface + * Paged Report records list representation. + * @extends Array + */ +export interface RequestReportCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; +} + +/** + * @interface + * Paged AccessInformation list representation. + * @extends Array + */ +export interface TenantSettingsCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Paged AccessInformation list representation. + * @extends Array + */ +export interface AccessInformationCollection extends Array { + /** + * Next page link if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of Users Identity list representation. + * @extends Array + */ +export interface UserIdentityCollection extends Array { + /** + * Total record count number across all pages. + */ + count?: number; + /** + * Next page link if any. + */ + nextLink?: string; +} + +/** + * Defines values for ExportResultFormat. + * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' + * @readonly + * @enum {string} + */ +export type ExportResultFormat = 'swagger-link-json' | 'wsdl-link+xml' | 'wadl-link-json' | 'openapi-link'; + +/** + * Defines values for ProductState. + * Possible values include: 'notPublished', 'published' + * @readonly + * @enum {string} + */ +export type ProductState = 'notPublished' | 'published'; + +/** + * Defines values for BearerTokenSendingMethods. + * Possible values include: 'authorizationHeader', 'query' + * @readonly + * @enum {string} + */ +export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; + +/** + * Defines values for Protocol. + * Possible values include: 'http', 'https' + * @readonly + * @enum {string} + */ +export type Protocol = 'http' | 'https'; + +/** + * Defines values for ContentFormat. + * Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', + * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link' + * @readonly + * @enum {string} + */ +export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link'; + +/** + * Defines values for SoapApiType. + * Possible values include: 'SoapToRest', 'SoapPassThrough' + * @readonly + * @enum {string} + */ +export type SoapApiType = 'http' | 'soap'; + +/** + * Defines values for ApiType. + * Possible values include: 'http', 'soap' + * @readonly + * @enum {string} + */ +export type ApiType = 'http' | 'soap'; + +/** + * Defines values for State. + * Possible values include: 'proposed', 'open', 'removed', 'resolved', 'closed' + * @readonly + * @enum {string} + */ +export type State = 'proposed' | 'open' | 'removed' | 'resolved' | 'closed'; + +/** + * Defines values for DataMaskingMode. + * Possible values include: 'Mask', 'Hide' + * @readonly + * @enum {string} + */ +export type DataMaskingMode = 'Mask' | 'Hide'; + +/** + * Defines values for SamplingType. + * Possible values include: 'fixed' + * @readonly + * @enum {string} + */ +export type SamplingType = 'fixed'; + +/** + * Defines values for AlwaysLog. + * Possible values include: 'allErrors' + * @readonly + * @enum {string} + */ +export type AlwaysLog = 'allErrors'; + +/** + * Defines values for HttpCorrelationProtocol. + * Possible values include: 'None', 'Legacy', 'W3C' + * @readonly + * @enum {string} + */ +export type HttpCorrelationProtocol = 'None' | 'Legacy' | 'W3C'; + +/** + * Defines values for Verbosity. + * Possible values include: 'verbose', 'information', 'error' + * @readonly + * @enum {string} + */ +export type Verbosity = 'verbose' | 'information' | 'error'; + +/** + * Defines values for OperationNameFormat. + * Possible values include: 'Name', 'Url' + * @readonly + * @enum {string} + */ +export type OperationNameFormat = 'Name' | 'Url'; + +/** + * Defines values for PolicyContentFormat. + * Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link' + * @readonly + * @enum {string} + */ +export type PolicyContentFormat = 'xml' | 'xml-link' | 'rawxml' | 'rawxml-link'; + +/** + * Defines values for VersioningScheme. + * Possible values include: 'Segment', 'Query', 'Header' + * @readonly + * @enum {string} + */ +export type VersioningScheme = 'Segment' | 'Query' | 'Header'; + +/** + * Defines values for GrantType. + * Possible values include: 'authorizationCode', 'implicit', 'resourceOwnerPassword', + * 'clientCredentials' + * @readonly + * @enum {string} + */ +export type GrantType = 'authorizationCode' | 'implicit' | 'resourceOwnerPassword' | 'clientCredentials'; + +/** + * Defines values for AuthorizationMethod. + * Possible values include: 'HEAD', 'OPTIONS', 'TRACE', 'GET', 'POST', 'PUT', 'PATCH', 'DELETE' + * @readonly + * @enum {string} + */ +export type AuthorizationMethod = 'HEAD' | 'OPTIONS' | 'TRACE' | 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; + +/** + * Defines values for ClientAuthenticationMethod. + * Possible values include: 'Basic', 'Body' + * @readonly + * @enum {string} + */ +export type ClientAuthenticationMethod = 'Basic' | 'Body'; + +/** + * Defines values for BearerTokenSendingMethod. + * Possible values include: 'authorizationHeader', 'query' + * @readonly + * @enum {string} + */ +export type BearerTokenSendingMethod = 'authorizationHeader' | 'query'; + +/** + * Defines values for BackendProtocol. + * Possible values include: 'http', 'soap' + * @readonly + * @enum {string} + */ +export type BackendProtocol = 'http' | 'soap'; + +/** + * Defines values for SkuType. + * Possible values include: 'Developer', 'Standard', 'Premium', 'Basic', 'Consumption', 'Isolated' + * @readonly + * @enum {string} + */ +export type SkuType = 'Developer' | 'Standard' | 'Premium' | 'Basic' | 'Consumption' | 'Isolated'; + +/** + * Defines values for ResourceSkuCapacityScaleType. + * Possible values include: 'automatic', 'manual', 'none' + * @readonly + * @enum {string} + */ +export type ResourceSkuCapacityScaleType = 'automatic' | 'manual' | 'none'; + +/** + * Defines values for HostnameType. + * Possible values include: 'Proxy', 'Portal', 'Management', 'Scm', 'DeveloperPortal' + * @readonly + * @enum {string} + */ +export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'DeveloperPortal'; + +/** + * Defines values for VirtualNetworkType. + * Possible values include: 'None', 'External', 'Internal' + * @readonly + * @enum {string} + */ +export type VirtualNetworkType = 'None' | 'External' | 'Internal'; + +/** + * Defines values for ApimIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' + * @readonly + * @enum {string} + */ +export type ApimIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; + +/** + * Defines values for NameAvailabilityReason. + * Possible values include: 'Valid', 'Invalid', 'AlreadyExists' + * @readonly + * @enum {string} + */ +export type NameAvailabilityReason = 'Valid' | 'Invalid' | 'AlreadyExists'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'created' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'created'; + +/** + * Defines values for KeyType. + * Possible values include: 'primary', 'secondary' + * @readonly + * @enum {string} + */ +export type KeyType = 'primary' | 'secondary'; + +/** + * Defines values for AppType. + * Possible values include: 'portal', 'developerPortal' + * @readonly + * @enum {string} + */ +export type AppType = 'portal' | 'developerPortal'; + +/** + * Defines values for Confirmation. + * Possible values include: 'signup', 'invite' + * @readonly + * @enum {string} + */ +export type Confirmation = 'signup' | 'invite'; + +/** + * Defines values for UserState. + * Possible values include: 'active', 'blocked', 'pending', 'deleted' + * @readonly + * @enum {string} + */ +export type UserState = 'active' | 'blocked' | 'pending' | 'deleted'; + +/** + * Defines values for GroupType. + * Possible values include: 'custom', 'system', 'external' + * @readonly + * @enum {string} + */ +export type GroupType = 'custom' | 'system' | 'external'; + +/** + * Defines values for IdentityProviderType. + * Possible values include: 'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' + * @readonly + * @enum {string} + */ +export type IdentityProviderType = 'facebook' | 'google' | 'microsoft' | 'twitter' | 'aad' | 'aadB2C'; + +/** + * Defines values for LoggerType. + * Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' + * @readonly + * @enum {string} + */ +export type LoggerType = 'azureEventHub' | 'applicationInsights' | 'azureMonitor'; + +/** + * Defines values for ConnectivityStatusType. + * Possible values include: 'initializing', 'success', 'failure' + * @readonly + * @enum {string} + */ +export type ConnectivityStatusType = 'initializing' | 'success' | 'failure'; + +/** + * Defines values for PortalRevisionStatus. + * Possible values include: 'pending', 'publishing', 'completed', 'failed' + * @readonly + * @enum {string} + */ +export type PortalRevisionStatus = 'pending' | 'publishing' | 'completed' | 'failed'; + +/** + * Defines values for SubscriptionState. + * Possible values include: 'suspended', 'active', 'expired', 'submitted', 'rejected', 'cancelled' + * @readonly + * @enum {string} + */ +export type SubscriptionState = 'suspended' | 'active' | 'expired' | 'submitted' | 'rejected' | 'cancelled'; + +/** + * Defines values for AsyncOperationStatus. + * Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' + * @readonly + * @enum {string} + */ +export type AsyncOperationStatus = 'Started' | 'InProgress' | 'Succeeded' | 'Failed'; + +/** + * Defines values for AccessIdName. + * Possible values include: 'access', 'getAccess' + * @readonly + * @enum {string} + */ +export type AccessIdName = 'access' | 'getAccess'; + +/** + * Defines values for NotificationName. + * Possible values include: 'RequestPublisherNotificationMessage', + * 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', + * 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + * 'QuotaLimitApproachingPublisherNotificationMessage' + * @readonly + * @enum {string} + */ +export type NotificationName = 'RequestPublisherNotificationMessage' | 'PurchasePublisherNotificationMessage' | 'NewApplicationNotificationMessage' | 'BCC' | 'NewIssuePublisherNotificationMessage' | 'AccountClosedPublisher' | 'QuotaLimitApproachingPublisherNotificationMessage'; + +/** + * Defines values for PolicyExportFormat. + * Possible values include: 'xml', 'rawxml' + * @readonly + * @enum {string} + */ +export type PolicyExportFormat = 'xml' | 'rawxml'; + +/** + * Defines values for TemplateName. + * Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', + * 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', + * 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', + * 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + * 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', + * 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', + * 'requestDeveloperNotificationMessage' + * @readonly + * @enum {string} + */ +export type TemplateName = 'applicationApprovedNotificationMessage' | 'accountClosedDeveloper' | 'quotaLimitApproachingDeveloperNotificationMessage' | 'newDeveloperNotificationMessage' | 'emailChangeIdentityDefault' | 'inviteUserNotificationMessage' | 'newCommentNotificationMessage' | 'confirmSignUpIdentityDefault' | 'newIssueNotificationMessage' | 'purchaseDeveloperNotificationMessage' | 'passwordResetIdentityDefault' | 'passwordResetByAdminNotificationMessage' | 'rejectDeveloperNotificationMessage' | 'requestDeveloperNotificationMessage'; + +/** + * Defines values for PolicyScopeContract. + * Possible values include: 'Tenant', 'Product', 'Api', 'Operation', 'All' + * @readonly + * @enum {string} + */ +export type PolicyScopeContract = 'Tenant' | 'Product' | 'Api' | 'Operation' | 'All'; + +/** + * Defines values for ExportFormat. + * Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'Openapi', 'OpenapiJson' + * @readonly + * @enum {string} + */ +export type ExportFormat = 'swagger-link' | 'wsdl-link' | 'wadl-link' | 'openapi-link' | 'openapi+json-link'; + +/** + * Defines values for VersioningScheme1. + * Possible values include: 'Segment', 'Query', 'Header' + * @readonly + * @enum {string} + */ +export type VersioningScheme1 = 'Segment' | 'Query' | 'Header'; + +/** + * Defines values for StoreName. + * Possible values include: 'CertificateAuthority', 'Root' + * @readonly + * @enum {string} + */ +export type StoreName = 'CertificateAuthority' | 'Root'; + +/** + * Contains response data for the listByService operation. + */ +export type ApiListByServiceResponse = ApiCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiGetResponse = ApiContract & ApiGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ApiUpdateResponse = ApiContract & ApiUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiContract; + }; +}; + +/** + * Contains response data for the listByTags operation. + */ +export type ApiListByTagsResponse = TagResourceCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagResourceCollection; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type ApiListByServiceNextResponse = ApiCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiCollection; + }; +}; + +/** + * Contains response data for the listByTagsNext operation. + */ +export type ApiListByTagsNextResponse = TagResourceCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagResourceCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiRevisionCollection; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiRevisionCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type ApiReleaseListByServiceResponse = ApiReleaseCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ApiReleaseUpdateResponse = ApiReleaseContract & ApiReleaseUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiReleaseUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ApiReleaseCollection; + }; +}; + +/** + * Contains response data for the listByApi operation. + */ +export type ApiOperationListByApiResponse = OperationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationContract; + }; +}; /** - * Contains response data for the listByService operation. + * Contains response data for the update operation. */ -export type ApiListByServiceResponse = ApiCollection & { +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) */ @@ -8612,38 +11377,38 @@ export type ApiListByServiceResponse = ApiCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiCollection; + parsedBody: OperationContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the listByApiNext operation. */ -export type ApiGetEntityTagResponse = ApiGetEntityTagHeaders & { +export type ApiOperationListByApiNextResponse = OperationCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as text (string format) */ - parsedHeaders: ApiGetEntityTagHeaders; + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByOperation operation. */ -export type ApiGetResponse = ApiContract & ApiGetHeaders & { +export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiGetHeaders; - /** * The response body as text (string format) */ @@ -8652,14 +11417,14 @@ export type ApiGetResponse = ApiContract & ApiGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiContract; + parsedBody: PolicyCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getEntityTag operation. */ -export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & { +export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -8667,7 +11432,22 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiCreateOrUpdateHeaders; + 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) @@ -8677,18 +11457,23 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & /** * The response body as parsed JSON or XML */ - parsedBody: ApiContract; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByTags operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiListByTagsResponse = TagResourceCollection & { +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) */ @@ -8697,14 +11482,14 @@ export type ApiListByTagsResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: PolicyContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listByOperation operation. */ -export type ApiListByServiceNextResponse = ApiCollection & { +export type TagListByOperationResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8717,38 +11502,38 @@ export type ApiListByServiceNextResponse = ApiCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByTagsNext operation. + * Contains response data for the getEntityStateByOperation operation. */ -export type ApiListByTagsNextResponse = TagResourceCollection & { +export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { /** * 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: TagResourceCollection; + parsedHeaders: TagGetEntityStateByOperationHeaders; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the getByOperation operation. */ -export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { +export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetByOperationHeaders; + /** * The response body as text (string format) */ @@ -8757,14 +11542,14 @@ export type ApiRevisionListByServiceResponse = ApiRevisionCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiRevisionCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the assignToOperation operation. */ -export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { +export type TagAssignToOperationResponse = TagContract & { /** * The underlying HTTP response. */ @@ -8777,14 +11562,14 @@ export type ApiRevisionListByServiceNextResponse = ApiRevisionCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiRevisionCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByApi operation. */ -export type ApiReleaseListByServiceResponse = ApiReleaseCollection & { +export type TagListByApiResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8797,14 +11582,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 getEntityStateByApi operation. */ -export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { +export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { /** * The underlying HTTP response. */ @@ -8812,14 +11597,14 @@ export type ApiReleaseGetEntityTagResponse = ApiReleaseGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseGetEntityTagHeaders; + parsedHeaders: TagGetEntityStateByApiHeaders; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByApi operation. */ -export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & { +export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The underlying HTTP response. */ @@ -8827,7 +11612,7 @@ export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseGetHeaders; + parsedHeaders: TagGetByApiHeaders; /** * The response body as text (string format) @@ -8837,14 +11622,14 @@ 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 assignToApi operation. */ -export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCreateOrUpdateHeaders & { +export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The underlying HTTP response. */ @@ -8852,7 +11637,7 @@ export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseCreateOrUpdateHeaders; + parsedHeaders: TagAssignToApiHeaders; /** * The response body as text (string format) @@ -8862,14 +11647,14 @@ export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCr /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the listByProduct operation. */ -export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { +export type TagListByProductResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -8882,34 +11667,29 @@ export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the getEntityStateByProduct operation. */ -export type ApiOperationListByApiResponse = OperationCollection & { +export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeaders & { /** * 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: OperationCollection; + parsedHeaders: TagGetEntityStateByProductHeaders; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the getByProduct operation. */ -export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { +export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The underlying HTTP response. */ @@ -8917,23 +11697,28 @@ export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetEntityTagHeaders; + parsedHeaders: TagGetByProductHeaders; + + /** + * 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 assignToProduct operation. */ -export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { +export type TagAssignToProductResponse = TagContract & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationGetHeaders; - /** * The response body as text (string format) */ @@ -8942,23 +11727,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 listByService operation. */ -export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { +export type TagListByServiceResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -8967,38 +11747,38 @@ export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperatio /** * The response body as parsed JSON or XML */ - parsedBody: OperationContract; + parsedBody: TagCollection; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the getEntityState operation. */ -export type ApiOperationListByApiNextResponse = OperationCollection & { +export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { /** * 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: OperationCollection; + parsedHeaders: TagGetEntityStateHeaders; }; }; /** - * Contains response data for the listByOperation operation. + * Contains response data for the get operation. */ -export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { +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 +11787,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 +11802,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,8 +11827,28 @@ export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyG /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationPolicyGetHeaders; + parsedHeaders: TagUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; + }; +}; +/** + * Contains response data for the listByOperationNext operation. + */ +export type TagListByOperationNextResponse = TagCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { /** * The response body as text (string format) */ @@ -9047,23 +11857,18 @@ export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyG /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: TagCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByApiNext operation. */ -export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOperationPolicyCreateOrUpdateHeaders & { +export type TagListByApiNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -9072,14 +11877,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 listByProductNext operation. */ -export type TagListByOperationResponse = TagCollection & { +export type TagListByProductNextResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -9097,33 +11902,33 @@ export type TagListByOperationResponse = TagCollection & { }; /** - * Contains response data for the getEntityStateByOperation operation. + * Contains response data for the listByServiceNext operation. */ -export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { +export type TagListByServiceNextResponse = 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 listByApis operation. */ -export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { +export type ApiProductListByApisResponse = ProductCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagGetByOperationHeaders; - /** * The response body as text (string format) */ @@ -9132,14 +11937,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 +11957,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 +11977,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 +11992,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 +12007,7 @@ export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByApiHeaders; + parsedHeaders: ApiPolicyGetHeaders; /** * The response body as text (string format) @@ -9212,14 +12017,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 +12032,7 @@ export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagAssignToApiHeaders; + parsedHeaders: ApiPolicyCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9237,14 +12042,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 +12062,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 +12077,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 +12092,7 @@ export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByProductHeaders; + parsedHeaders: ApiSchemaGetHeaders; /** * The response body as text (string format) @@ -9297,18 +12102,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 +12127,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 +12147,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 +12182,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 +12197,7 @@ export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: TagCreateOrUpdateHeaders; + parsedHeaders: ApiDiagnosticGetHeaders; /** * The response body as text (string format) @@ -9402,18 +12207,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 +12232,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 +12257,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 +12277,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 +12297,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 +12337,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 +12377,7 @@ export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyGetHeaders; + parsedHeaders: ApiIssueUpdateHeaders; /** * The response body as text (string format) @@ -9582,23 +12387,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 +12407,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 +12427,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 +12442,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 +12457,7 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaGetHeaders; + parsedHeaders: ApiIssueCommentGetHeaders; /** * The response body as text (string format) @@ -9667,14 +12467,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 +12482,7 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaCreateOrUpdateHeaders; + parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9692,14 +12492,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 +12512,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 +12532,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 +12547,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 +12562,7 @@ export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHead /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticGetHeaders; + parsedHeaders: ApiIssueAttachmentGetHeaders; /** * The response body as text (string format) @@ -9772,14 +12572,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 +12587,7 @@ export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagno /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticCreateOrUpdateHeaders; + parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9797,14 +12597,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 +12617,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 +12637,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 +12652,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 +12667,7 @@ export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueGetHeaders; + parsedHeaders: ApiTagDescriptionGetHeaders; /** * The response body as text (string format) @@ -9877,14 +12677,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 +12692,7 @@ export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCreateOrUpdateHeaders; + parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9902,14 +12702,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 +12722,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 +12782,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 +12797,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 +12812,7 @@ export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentG /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCommentGetHeaders; + parsedHeaders: ApiVersionSetGetHeaders; /** * The response body as text (string format) @@ -9982,14 +12822,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 +12837,7 @@ export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIs /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; + parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10007,14 +12847,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 +12892,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 +12912,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 +12927,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 +12942,7 @@ export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAt /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentGetHeaders; + parsedHeaders: AuthorizationServerGetHeaders; /** * The response body as text (string format) @@ -10087,14 +12952,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 +12967,7 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; + parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10112,18 +12977,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 +13002,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 +13027,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 +13067,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 +13082,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 +13107,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 +13132,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 +13157,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 +13177,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 +13197,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 +13212,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 +13227,7 @@ export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetH /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetHeaders; + parsedHeaders: CacheGetHeaders; /** * The response body as text (string format) @@ -10337,14 +13237,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 +13252,7 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; + parsedHeaders: CacheCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10362,14 +13262,39 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetContract; + parsedBody: CacheContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +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) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: CacheContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { +export type CacheListByServiceNextResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10382,14 +13307,14 @@ export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetCollection; + parsedBody: CacheCollection; }; }; /** * Contains response data for the listByService operation. */ -export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { +export type CertificateListByServiceResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -10402,14 +13327,14 @@ export type AuthorizationServerListByServiceResponse = AuthorizationServerCollec /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerCollection; + parsedBody: CertificateCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { +export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10417,14 +13342,14 @@ export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEnti /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetEntityTagHeaders; + parsedHeaders: CertificateGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { +export type CertificateGetResponse = CertificateContract & CertificateGetHeaders & { /** * The underlying HTTP response. */ @@ -10432,7 +13357,7 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetHeaders; + parsedHeaders: CertificateGetHeaders; /** * The response body as text (string format) @@ -10442,14 +13367,14 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerContract; + parsedBody: CertificateContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { +export type CertificateCreateOrUpdateResponse = CertificateContract & CertificateCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10457,7 +13382,7 @@ export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContr /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; + parsedHeaders: CertificateCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10467,18 +13392,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 refreshSecret operation. */ -export type AuthorizationServerListSecretsResponse = ClientSecretContract & { +export type CertificateRefreshSecretResponse = CertificateContract & CertificateRefreshSecretHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: CertificateRefreshSecretHeaders; + /** * The response body as text (string format) */ @@ -10487,14 +13417,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 +13437,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 +13457,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 +13472,7 @@ export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: BackendGetHeaders; + parsedHeaders: ContentTypeGetHeaders; /** * The response body as text (string format) @@ -10567,14 +13482,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 +13497,7 @@ export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: BackendCreateOrUpdateHeaders; + parsedHeaders: ContentTypeCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10592,14 +13507,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 +13527,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 +13547,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 +13562,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 +13577,7 @@ export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: CacheGetHeaders; + parsedHeaders: ContentItemGetHeaders; /** * The response body as text (string format) @@ -10672,14 +13587,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 +13602,7 @@ export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHea /** * The parsed HTTP response headers. */ - parsedHeaders: CacheCreateOrUpdateHeaders; + parsedHeaders: ContentItemCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10697,14 +13612,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 +13632,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 +13652,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 +13672,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 +13692,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 +13712,7 @@ export type CertificateListByServiceNextResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: DeletedServicesCollection; }; }; @@ -11371,6 +14261,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 +14386,31 @@ export type EmailTemplateCreateOrUpdateResponse = EmailTemplateContract & { }; }; +/** + * Contains response data for the update operation. + */ +export type EmailTemplateUpdateResponse = EmailTemplateContract & EmailTemplateUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: EmailTemplateUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: EmailTemplateContract; + }; +}; + /** * Contains response data for the listByServiceNext operation. */ @@ -11576,6 +14516,31 @@ export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpd }; }; +/** + * Contains response data for the update operation. + */ +export type GatewayUpdateResponse = GatewayContract & GatewayUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GatewayUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GatewayContract; + }; +}; + /** * Contains response data for the listKeys operation. */ @@ -11859,7 +14824,32 @@ export type GroupGetEntityTagResponse = GroupGetEntityTagHeaders & { /** * Contains response data for the get operation. */ -export type GroupGetResponse = GroupContract & GroupGetHeaders & { +export type GroupGetResponse = GroupContract & GroupGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GroupGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GroupContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type GroupCreateOrUpdateResponse = GroupContract & GroupCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -11867,7 +14857,7 @@ export type GroupGetResponse = GroupContract & GroupGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: GroupGetHeaders; + parsedHeaders: GroupCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -11882,9 +14872,9 @@ export type GroupGetResponse = GroupContract & GroupGetHeaders & { }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type GroupCreateOrUpdateResponse = GroupContract & GroupCreateOrUpdateHeaders & { +export type GroupUpdateResponse = GroupContract & GroupUpdateHeaders & { /** * The underlying HTTP response. */ @@ -11892,7 +14882,7 @@ export type GroupCreateOrUpdateResponse = GroupContract & GroupCreateOrUpdateHea /** * The parsed HTTP response headers. */ - parsedHeaders: GroupCreateOrUpdateHeaders; + parsedHeaders: GroupUpdateHeaders; /** * The response body as text (string format) @@ -12096,14 +15086,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 +15306,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 +15464,41 @@ 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) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: NamedValueSecretContract; + }; +}; + +/** + * Contains response data for the refreshSecret operation. + */ +export type NamedValueRefreshSecretResponse = NamedValueContract & NamedValueRefreshSecretHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: NamedValueRefreshSecretHeaders; + /** * The response body as text (string format) */ @@ -12432,7 +15507,7 @@ export type NamedValueListValueResponse = PropertyValueContract & { /** * The response body as parsed JSON or XML */ - parsedBody: PropertyValueContract; + parsedBody: NamedValueContract; }; }; @@ -12791,14 +15866,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) */ @@ -12860,16 +15965,171 @@ export type PolicyGetEntityTagResponse = PolicyGetEntityTagHeaders & { */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The parsed HTTP response headers. + */ + parsedHeaders: PolicyGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PolicyGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PolicyCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyContract; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type PolicyDescriptionListByServiceResponse = PolicyDescriptionCollection & { + /** + * 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: PolicyDescriptionCollection; + }; +}; + +/** + * Contains response data for the listByService operation. + */ +export type PortalRevisionListByServiceResponse = PortalRevisionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PortalRevisionCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type PortalRevisionGetEntityTagResponse = PortalRevisionGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PortalRevisionGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PortalRevisionGetResponse = PortalRevisionContract & PortalRevisionGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PortalRevisionGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PortalRevisionContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PortalRevisionCreateOrUpdateResponse = PortalRevisionContract & PortalRevisionCreateOrUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: PortalRevisionCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML */ - parsedHeaders: PolicyGetEntityTagHeaders; + parsedBody: PortalRevisionContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { +export type PortalRevisionUpdateResponse = PortalRevisionContract & PortalRevisionUpdateHeaders & { /** * The underlying HTTP response. */ @@ -12877,7 +16137,7 @@ export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: PolicyGetHeaders; + parsedHeaders: PortalRevisionUpdateHeaders; /** * The response body as text (string format) @@ -12887,23 +16147,18 @@ export type PolicyGetResponse = PolicyContract & PolicyGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: PortalRevisionContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServiceNext operation. */ -export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdateHeaders & { +export type PortalRevisionListByServiceNextResponse = PortalRevisionCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: PolicyCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -12912,14 +16167,14 @@ export type PolicyCreateOrUpdateResponse = PolicyContract & PolicyCreateOrUpdate /** * The response body as parsed JSON or XML */ - parsedBody: PolicyContract; + parsedBody: PortalRevisionCollection; }; }; /** * Contains response data for the listByService operation. */ -export type PolicyDescriptionListByServiceResponse = PolicyDescriptionCollection & { +export type PortalSettingsListByServiceResponse = PortalSettingsCollection & { /** * The underlying HTTP response. */ @@ -12932,7 +16187,7 @@ export type PolicyDescriptionListByServiceResponse = PolicyDescriptionCollection /** * The response body as parsed JSON or XML */ - parsedBody: PolicyDescriptionCollection; + parsedBody: PortalSettingsCollection; }; }; @@ -13221,6 +16476,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 +16826,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 +16866,26 @@ export type QuotaByPeriodKeysGetResponse = QuotaCounterContract & { }; }; +/** + * Contains response data for the update operation. + */ +export type QuotaByPeriodKeysUpdateResponse = QuotaCounterContract & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: QuotaCounterContract; + }; +}; + /** * Contains response data for the listByService operation. */ @@ -13906,6 +17226,71 @@ export type ReportsListByTimeNextResponse = ReportCollection & { }; }; +/** + * Contains response data for the listByService operation. + */ +export type TenantSettingsListByServiceResponse = TenantSettingsCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TenantSettingsCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type TenantSettingsGetResponse = TenantSettingsContract & TenantSettingsGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TenantSettingsGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TenantSettingsContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type TenantSettingsListByServiceNextResponse = TenantSettingsCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TenantSettingsCollection; + }; +}; + /** * Contains response data for the list operation. */ @@ -13991,14 +17376,44 @@ export type SubscriptionCreateOrUpdateResponse = SubscriptionContract & Subscrip }; }; +/** + * Contains response data for the update operation. + */ +export type SubscriptionUpdateResponse = SubscriptionContract & SubscriptionUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SubscriptionUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SubscriptionContract; + }; +}; + /** * Contains response data for the listSecrets operation. */ -export type SubscriptionListSecretsResponse = SubscriptionKeysContract & { +export type SubscriptionListSecretsResponse = SubscriptionKeysContract & SubscriptionListSecretsHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: SubscriptionListSecretsHeaders; + /** * The response body as text (string format) */ @@ -14071,6 +17486,26 @@ export type TagResourceListByServiceNextResponse = TagResourceCollection & { }; }; +/** + * Contains response data for the listByService operation. + */ +export type TenantAccessListByServiceResponse = AccessInformationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AccessInformationCollection; + }; +}; + /** * Contains response data for the getEntityTag operation. */ @@ -14112,9 +17547,9 @@ export type TenantAccessGetResponse = AccessInformationContract & TenantAccessGe }; /** - * Contains response data for the listSecrets operation. + * Contains response data for the create operation. */ -export type TenantAccessListSecretsResponse = AccessInformationContract & TenantAccessListSecretsHeaders & { +export type TenantAccessCreateResponse = AccessInformationContract & TenantAccessCreateHeaders & { /** * The underlying HTTP response. */ @@ -14122,7 +17557,7 @@ export type TenantAccessListSecretsResponse = AccessInformationContract & Tenant /** * The parsed HTTP response headers. */ - parsedHeaders: TenantAccessListSecretsHeaders; + parsedHeaders: TenantAccessCreateHeaders; /** * The response body as text (string format) @@ -14137,9 +17572,9 @@ export type TenantAccessListSecretsResponse = AccessInformationContract & Tenant }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type TenantAccessGitGetResponse = AccessInformationContract & TenantAccessGitGetHeaders & { +export type TenantAccessUpdateResponse = AccessInformationContract & TenantAccessUpdateHeaders & { /** * The underlying HTTP response. */ @@ -14147,7 +17582,7 @@ export type TenantAccessGitGetResponse = AccessInformationContract & TenantAcces /** * The parsed HTTP response headers. */ - parsedHeaders: TenantAccessGitGetHeaders; + parsedHeaders: TenantAccessUpdateHeaders; /** * The response body as text (string format) @@ -14164,7 +17599,7 @@ export type TenantAccessGitGetResponse = AccessInformationContract & TenantAcces /** * Contains response data for the listSecrets operation. */ -export type TenantAccessGitListSecretsResponse = AccessInformationContract & TenantAccessGitListSecretsHeaders & { +export type TenantAccessListSecretsResponse = AccessInformationSecretsContract & TenantAccessListSecretsHeaders & { /** * The underlying HTTP response. */ @@ -14172,7 +17607,7 @@ export type TenantAccessGitListSecretsResponse = AccessInformationContract & Ten /** * The parsed HTTP response headers. */ - parsedHeaders: TenantAccessGitListSecretsHeaders; + parsedHeaders: TenantAccessListSecretsHeaders; /** * The response body as text (string format) @@ -14182,7 +17617,27 @@ export type TenantAccessGitListSecretsResponse = AccessInformationContract & Ten /** * The response body as parsed JSON or XML */ - parsedBody: AccessInformationContract; + parsedBody: AccessInformationSecretsContract; + }; +}; + +/** + * Contains response data for the listByServiceNext operation. + */ +export type TenantAccessListByServiceNextResponse = AccessInformationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AccessInformationCollection; }; }; @@ -14411,6 +17866,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. */ @@ -14531,6 +18011,31 @@ export type UserSubscriptionListResponse = SubscriptionCollection & { }; }; +/** + * Contains response data for the get operation. + */ +export type UserSubscriptionGetResponse = SubscriptionContract & UserSubscriptionGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: UserSubscriptionGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SubscriptionContract; + }; +}; + /** * Contains response data for the listNext operation. */ diff --git a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts index 997f8c08da60..0f783125a364 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -54,6 +60,9 @@ export { IssueCommentContract, IssueContract, IssueGetHeaders, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -67,6 +76,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +97,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index f6fa57322949..fd1397f1fcf9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,12 +58,16 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerCollection, LoggerContract, LoggerCreateOrUpdateHeaders, LoggerGetEntityTagHeaders, LoggerGetHeaders, LoggerUpdateContract, + LoggerUpdateHeaders, NamedValueContract, NamedValueCreateContract, NotificationContract, @@ -70,6 +80,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -89,6 +101,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index 76d5c775cee6..c0cc7810f165 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" + } } } } @@ -1339,6 +1408,12 @@ export const PolicyCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -1670,12 +1745,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 +1799,7 @@ export const OperationUpdateContract: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -1733,12 +1810,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 +1831,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 +1884,6 @@ export const OperationContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -1817,14 +1894,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 +2023,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 +2118,12 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Boolean" } }, + sourceApiId: { + serializedName: "properties.sourceApiId", + type: { + name: "String" + } + }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2056,13 +2138,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 +2169,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 +2275,6 @@ export const ApiContract: msRest.CompositeMapper = { name: "Boolean" } }, - sourceApiId: { - serializedName: "properties.sourceApiId", - type: { - name: "String" - } - }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2206,14 +2289,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 +2319,6 @@ export const ApiContract: msRest.CompositeMapper = { } } } - }, - apiVersionSet: { - serializedName: "properties.apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } } } } @@ -2467,12 +2542,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 +2576,7 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 100, @@ -2510,6 +2587,7 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }, versioningScheme: { + required: true, serializedName: "properties.versioningScheme", type: { name: "String" @@ -2519,13 +2597,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 +2630,6 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 100, @@ -2564,7 +2640,6 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }, versioningScheme: { - required: true, serializedName: "properties.versioningScheme", type: { name: "String" @@ -2574,17 +2649,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 +2802,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 +2901,7 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50, @@ -2824,18 +2912,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 +2938,7 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, clientId: { + required: true, serializedName: "properties.clientId", type: { name: "String" @@ -2862,11 +2954,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 +3053,6 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50, @@ -2972,21 +3063,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 +3086,6 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, clientId: { - required: true, serializedName: "properties.clientId", type: { name: "String" @@ -3126,6 +3213,20 @@ export const BackendCredentialsContract: msRest.CompositeMapper = { name: "Composite", className: "BackendCredentialsContract", modelProperties: { + certificateIds: { + serializedName: "certificateIds", + constraints: { + MaxItems: 32 + }, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, certificate: { serializedName: "certificate", constraints: { @@ -3211,8 +3312,13 @@ export const BackendServiceFabricClusterProperties: msRest.CompositeMapper = { name: "Composite", className: "BackendServiceFabricClusterProperties", modelProperties: { + clientCertificateId: { + serializedName: "clientCertificateId", + type: { + name: "String" + } + }, clientCertificatethumbprint: { - required: true, serializedName: "clientCertificatethumbprint", type: { name: "String" @@ -3348,12 +3454,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 +3520,7 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }, url: { + required: true, serializedName: "properties.url", constraints: { MaxLength: 2000, @@ -3423,6 +3531,7 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }, protocol: { + required: true, serializedName: "properties.protocol", type: { name: "String" @@ -3432,13 +3541,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 +3606,6 @@ export const BackendContract: msRest.CompositeMapper = { } }, url: { - required: true, serializedName: "properties.url", constraints: { MaxLength: 2000, @@ -3509,7 +3616,6 @@ export const BackendContract: msRest.CompositeMapper = { } }, protocol: { - required: true, serializedName: "properties.protocol", type: { name: "String" @@ -3519,12 +3625,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 +3642,7 @@ export const CacheUpdateParameters: msRest.CompositeMapper = { } }, connectionString: { + required: true, serializedName: "properties.connectionString", constraints: { MaxLength: 300 @@ -3543,6 +3651,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 +3674,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 +3690,6 @@ export const CacheContract: msRest.CompositeMapper = { } }, connectionString: { - required: true, serializedName: "properties.connectionString", constraints: { MaxLength: 300 @@ -3582,6 +3698,15 @@ export const CacheContract: msRest.CompositeMapper = { name: "String" } }, + useFromLocation: { + serializedName: "properties.useFromLocation", + constraints: { + MaxLength: 256 + }, + type: { + name: "String" + } + }, resourceId: { serializedName: "properties.resourceId", constraints: { @@ -3595,6 +3720,74 @@ export const CacheContract: msRest.CompositeMapper = { } }; +export const KeyVaultContractCreateProperties: msRest.CompositeMapper = { + serializedName: "KeyVaultContractCreateProperties", + type: { + name: "Composite", + className: "KeyVaultContractCreateProperties", + modelProperties: { + secretIdentifier: { + serializedName: "secretIdentifier", + type: { + name: "String" + } + }, + identityClientId: { + serializedName: "identityClientId", + type: { + name: "String" + } + } + } + } +}; + +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: { @@ -3622,6 +3815,13 @@ export const CertificateContract: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractProperties" + } } } } @@ -3634,18 +3834,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 +4135,12 @@ export const HostnameConfiguration: msRest.CompositeMapper = { name: "String" } }, + identityClientId: { + serializedName: "identityClientId", + type: { + name: "String" + } + }, encodedCertificate: { serializedName: "encodedCertificate", type: { @@ -3946,6 +4256,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 +4553,13 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { name: "Composite", className: "ApiVersionConstraint" } + }, + restore: { + serializedName: "restore", + defaultValue: false, + type: { + name: "Boolean" + } } } } @@ -4529,6 +4857,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 +4912,17 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { type: { name: "String" } + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -4767,6 +5113,13 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { className: "ApiVersionConstraint" } }, + restore: { + serializedName: "properties.restore", + defaultValue: false, + type: { + name: "Boolean" + } + }, publisherEmail: { serializedName: "properties.publisherEmail", constraints: { @@ -5005,13 +5358,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 +5376,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 +5398,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 +5421,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 +5437,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 +5449,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 +5518,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 +5887,15 @@ export const UserContract: msRest.CompositeMapper = { } }; -export const GroupUpdateParameters: msRest.CompositeMapper = { - serializedName: "GroupUpdateParameters", +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 +5907,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 +5942,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 +5960,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 +6029,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 +6123,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 +6199,7 @@ export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { } }, clientId: { + required: true, serializedName: "properties.clientId", constraints: { MinLength: 1 @@ -5832,14 +6221,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 +6296,6 @@ export const IdentityProviderContract: msRest.CompositeMapper = { } }, clientId: { - required: true, serializedName: "properties.clientId", constraints: { MinLength: 1 @@ -6029,13 +6416,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 +6432,9 @@ export const LoggerUpdateContract: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", + constraints: { + MaxLength: 256 + }, type: { name: "String" } @@ -6063,20 +6455,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 +6480,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,28 +6500,6 @@ export const LoggerContract: msRest.CompositeMapper = { type: { name: "Boolean" } - }, - resourceId: { - serializedName: "properties.resourceId", - type: { - name: "String" - } - } - } - } -}; - -export const PropertyValueContract: msRest.CompositeMapper = { - serializedName: "PropertyValueContract", - type: { - name: "Composite", - className: "PropertyValueContract", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "String" - } } } } @@ -6207,12 +6577,34 @@ 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" + } + } + } + } +}; + +export const NamedValueSecretContract: msRest.CompositeMapper = { + serializedName: "NamedValueSecretContract", + type: { + name: "Composite", + className: "NamedValueSecretContract", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "String" + } } } } @@ -6264,6 +6656,13 @@ export const NamedValueUpdateParameters: msRest.CompositeMapper = { type: { name: "String" } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "Composite", + className: "KeyVaultContractCreateProperties" + } } } } @@ -6309,15 +6708,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 +6769,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 +7006,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 +7030,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 +7053,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 +7075,12 @@ export const OpenidConnectProviderContract: msRest.CompositeMapper = { } }, metadataEndpoint: { - required: true, serializedName: "properties.metadataEndpoint", type: { name: "String" } }, clientId: { - required: true, serializedName: "properties.clientId", type: { name: "String" @@ -6731,6 +7149,63 @@ export const PolicyDescriptionCollection: msRest.CompositeMapper = { } }; +export const PortalRevisionContract: msRest.CompositeMapper = { + serializedName: "PortalRevisionContract", + type: { + name: "Composite", + className: "PortalRevisionContract", + modelProperties: { + ...Resource.type.modelProperties, + description: { + serializedName: "properties.description", + constraints: { + MaxLength: 2000 + }, + type: { + name: "String" + } + }, + statusDetails: { + readOnly: true, + serializedName: "properties.statusDetails", + constraints: { + MaxLength: 2000 + }, + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + isCurrent: { + serializedName: "properties.isCurrent", + type: { + name: "Boolean" + } + }, + createdDateTime: { + readOnly: true, + serializedName: "properties.createdDateTime", + type: { + name: "DateTime" + } + }, + updatedDateTime: { + readOnly: true, + serializedName: "properties.updatedDateTime", + type: { + name: "DateTime" + } + } + } + } +}; + export const PortalSettingValidationKeyContract: msRest.CompositeMapper = { serializedName: "PortalSettingValidationKeyContract", type: { @@ -6885,40 +7360,118 @@ export const PortalSigninSettings: msRest.CompositeMapper = { } }; -export const SubscriptionContract: msRest.CompositeMapper = { - serializedName: "SubscriptionContract", +export const PortalSettingsContract: msRest.CompositeMapper = { + serializedName: "PortalSettingsContract", type: { name: "Composite", - className: "SubscriptionContract", + className: "PortalSettingsContract", modelProperties: { ...Resource.type.modelProperties, - ownerId: { - serializedName: "properties.ownerId", + url: { + serializedName: "properties.url", type: { name: "String" } }, - scope: { - required: true, - serializedName: "properties.scope", + validationKey: { + serializedName: "properties.validationKey", type: { name: "String" } }, - displayName: { - serializedName: "properties.displayName", - constraints: { - MaxLength: 100, - MinLength: 0 - }, + subscriptions: { + serializedName: "properties.subscriptions", type: { - name: "String" + name: "Composite", + className: "SubscriptionsDelegationSettingsProperties" } }, - state: { - required: true, - serializedName: "properties.state", - type: { + userRegistration: { + serializedName: "properties.userRegistration", + type: { + name: "Composite", + className: "RegistrationDelegationSettingsProperties" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + }, + termsOfService: { + serializedName: "properties.termsOfService", + type: { + name: "Composite", + className: "TermsOfServiceProperties" + } + } + } + } +}; + +export const PortalSettingsCollection: msRest.CompositeMapper = { + serializedName: "PortalSettingsCollection", + type: { + name: "Composite", + className: "PortalSettingsCollection", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PortalSettingsContract" + } + } + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + } + } + } +}; + +export const SubscriptionContract: msRest.CompositeMapper = { + serializedName: "SubscriptionContract", + type: { + name: "Composite", + className: "SubscriptionContract", + modelProperties: { + ...Resource.type.modelProperties, + ownerId: { + serializedName: "properties.ownerId", + type: { + name: "String" + } + }, + scope: { + required: true, + serializedName: "properties.scope", + type: { + name: "String" + } + }, + displayName: { + serializedName: "properties.displayName", + constraints: { + MaxLength: 100, + MinLength: 0 + }, + type: { + name: "String" + } + }, + state: { + required: true, + serializedName: "properties.state", + type: { name: "Enum", allowedValues: [ "suspended", @@ -7134,6 +7687,28 @@ export const QuotaCounterContract: msRest.CompositeMapper = { } }; +export const QuotaCounterValueUpdateContract: msRest.CompositeMapper = { + serializedName: "QuotaCounterValueUpdateContract", + type: { + name: "Composite", + className: "QuotaCounterValueUpdateContract", + modelProperties: { + callsCount: { + serializedName: "properties.callsCount", + type: { + name: "Number" + } + }, + kbTransferred: { + serializedName: "properties.kbTransferred", + type: { + name: "Number" + } + } + } + } +}; + export const QuotaCounterCollection: msRest.CompositeMapper = { serializedName: "QuotaCounterCollection", type: { @@ -7456,6 +8031,28 @@ export const ReportRecordContract: msRest.CompositeMapper = { } }; +export const TenantSettingsContract: msRest.CompositeMapper = { + serializedName: "TenantSettingsContract", + type: { + name: "Composite", + className: "TenantSettingsContract", + modelProperties: { + ...Resource.type.modelProperties, + settings: { + serializedName: "properties.settings", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const SubscriptionKeysContract: msRest.CompositeMapper = { serializedName: "SubscriptionKeysContract", type: { @@ -7853,11 +8450,11 @@ export const SaveConfigurationParameter: msRest.CompositeMapper = { } }; -export const AccessInformationContract: msRest.CompositeMapper = { - serializedName: "AccessInformationContract", +export const AccessInformationSecretsContract: msRest.CompositeMapper = { + serializedName: "AccessInformationSecretsContract", type: { name: "Composite", - className: "AccessInformationContract", + className: "AccessInformationSecretsContract", modelProperties: { id: { serializedName: "id", @@ -7865,6 +8462,12 @@ export const AccessInformationContract: msRest.CompositeMapper = { name: "String" } }, + principalId: { + serializedName: "principalId", + type: { + name: "String" + } + }, primaryKey: { serializedName: "primaryKey", type: { @@ -7887,6 +8490,35 @@ export const AccessInformationContract: msRest.CompositeMapper = { } }; +export const AccessInformationContract: msRest.CompositeMapper = { + serializedName: "AccessInformationContract", + type: { + name: "Composite", + className: "AccessInformationContract", + modelProperties: { + ...Resource.type.modelProperties, + accessInformationContractId: { + serializedName: "properties.id", + type: { + name: "String" + } + }, + principalId: { + serializedName: "properties.principalId", + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + export const AccessInformationUpdateParameters: msRest.CompositeMapper = { serializedName: "AccessInformationUpdateParameters", type: { @@ -7903,6 +8535,40 @@ export const AccessInformationUpdateParameters: msRest.CompositeMapper = { } }; +export const AccessInformationCreateParameters: msRest.CompositeMapper = { + serializedName: "AccessInformationCreateParameters", + type: { + name: "Composite", + className: "AccessInformationCreateParameters", + modelProperties: { + principalId: { + serializedName: "properties.principalId", + type: { + name: "String" + } + }, + primaryKey: { + serializedName: "properties.primaryKey", + type: { + name: "String" + } + }, + secondaryKey: { + serializedName: "properties.secondaryKey", + type: { + name: "String" + } + }, + enabled: { + serializedName: "properties.enabled", + type: { + name: "Boolean" + } + } + } + } +}; + export const UserTokenResult: msRest.CompositeMapper = { serializedName: "UserTokenResult", type: { @@ -8232,6 +8898,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 +8962,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 +9026,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 +9266,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 +9330,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,11 +9586,11 @@ export const ApiVersionSetCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; -export const AuthorizationServerGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "authorizationserver-getentitytag-headers", +export const ApiVersionSetUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apiversionset-update-headers", type: { name: "Composite", - className: "AuthorizationServerGetEntityTagHeaders", + className: "ApiVersionSetUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8856,11 +9602,11 @@ export const AuthorizationServerGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const AuthorizationServerGetHeaders: msRest.CompositeMapper = { - serializedName: "authorizationserver-get-headers", +export const AuthorizationServerGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-getentitytag-headers", type: { name: "Composite", - className: "AuthorizationServerGetHeaders", + className: "AuthorizationServerGetEntityTagHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8872,7 +9618,23 @@ export const AuthorizationServerGetHeaders: msRest.CompositeMapper = { } }; -export const AuthorizationServerCreateOrUpdateHeaders: msRest.CompositeMapper = { +export const AuthorizationServerGetHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-get-headers", + type: { + name: "Composite", + className: "AuthorizationServerGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const AuthorizationServerCreateOrUpdateHeaders: msRest.CompositeMapper = { serializedName: "authorizationserver-createorupdate-headers", type: { name: "Composite", @@ -8888,6 +9650,38 @@ export const AuthorizationServerCreateOrUpdateHeaders: msRest.CompositeMapper = } }; +export const AuthorizationServerUpdateHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-update-headers", + type: { + name: "Composite", + className: "AuthorizationServerUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const AuthorizationServerListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-listsecrets-headers", + type: { + name: "Composite", + className: "AuthorizationServerListSecretsHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const BackendGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "backend-getentitytag-headers", type: { @@ -8936,6 +9730,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 +9794,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 +9858,102 @@ export const CertificateCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const CertificateRefreshSecretHeaders: msRest.CompositeMapper = { + serializedName: "certificate-refreshsecret-headers", + type: { + name: "Composite", + className: "CertificateRefreshSecretHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +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 +10002,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 +10050,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 +10114,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 +10258,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 +10322,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 +10418,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 +10498,38 @@ 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 NamedValueRefreshSecretHeaders: msRest.CompositeMapper = { + serializedName: "namedvalue-refreshsecret-headers", + type: { + name: "Composite", + className: "NamedValueRefreshSecretHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const OpenIdConnectProviderGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "openidconnectprovider-getentitytag-headers", type: { @@ -9512,6 +10578,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: { @@ -9560,6 +10658,70 @@ export const PolicyCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const PortalRevisionGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-getentitytag-headers", + type: { + name: "Composite", + className: "PortalRevisionGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const PortalRevisionGetHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-get-headers", + type: { + name: "Composite", + className: "PortalRevisionGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const PortalRevisionCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-createorupdate-headers", + type: { + name: "Composite", + className: "PortalRevisionCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const PortalRevisionUpdateHeaders: msRest.CompositeMapper = { + serializedName: "portalrevision-update-headers", + type: { + name: "Composite", + className: "PortalRevisionUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const SignInSettingsGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "signinsettings-getentitytag-headers", type: { @@ -9704,6 +10866,22 @@ export const ProductCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ProductUpdateHeaders: msRest.CompositeMapper = { + serializedName: "product-update-headers", + type: { + name: "Composite", + className: "ProductUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ProductPolicyGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "productpolicy-getentitytag-headers", type: { @@ -9784,6 +10962,22 @@ export const TagGetByProductHeaders: msRest.CompositeMapper = { } }; +export const TenantSettingsGetHeaders: msRest.CompositeMapper = { + serializedName: "tenantsettings-get-headers", + type: { + name: "Composite", + className: "TenantSettingsGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const SubscriptionGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "subscription-getentitytag-headers", type: { @@ -9832,6 +11026,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 +11106,22 @@ export const TagCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const TagUpdateHeaders: msRest.CompositeMapper = { + serializedName: "tag-update-headers", + type: { + name: "Composite", + className: "TagUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TenantAccessGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "tenantaccess-getentitytag-headers", type: { @@ -9912,11 +11154,11 @@ export const TenantAccessGetHeaders: msRest.CompositeMapper = { } }; -export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { - serializedName: "tenantaccess-listsecrets-headers", +export const TenantAccessCreateHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-create-headers", type: { name: "Composite", - className: "TenantAccessListSecretsHeaders", + className: "TenantAccessCreateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9928,11 +11170,11 @@ export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { } }; -export const TenantAccessGitGetHeaders: msRest.CompositeMapper = { - serializedName: "tenantaccessgit-get-headers", +export const TenantAccessUpdateHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-update-headers", type: { name: "Composite", - className: "TenantAccessGitGetHeaders", + className: "TenantAccessUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9944,11 +11186,11 @@ export const TenantAccessGitGetHeaders: msRest.CompositeMapper = { } }; -export const TenantAccessGitListSecretsHeaders: msRest.CompositeMapper = { - serializedName: "tenantaccessgit-listsecrets-headers", +export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-listsecrets-headers", type: { name: "Composite", - className: "TenantAccessGitListSecretsHeaders", + className: "TenantAccessListSecretsHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -10008,6 +11250,38 @@ 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 UserSubscriptionGetHeaders: msRest.CompositeMapper = { + serializedName: "usersubscription-get-headers", + type: { + name: "Composite", + className: "UserSubscriptionGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiCollection: msRest.CompositeMapper = { serializedName: "ApiCollection", type: { @@ -10027,6 +11301,12 @@ export const ApiCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { readOnly: true, serializedName: "nextLink", @@ -10056,6 +11336,12 @@ export const TagResourceCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10085,6 +11371,12 @@ export const ApiRevisionCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { readOnly: true, serializedName: "nextLink", @@ -10115,6 +11407,12 @@ export const ApiReleaseCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { readOnly: true, serializedName: "nextLink", @@ -10145,6 +11443,12 @@ export const OperationCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { readOnly: true, serializedName: "nextLink", @@ -10174,6 +11478,12 @@ export const TagCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10202,6 +11512,12 @@ export const ProductCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10231,6 +11547,12 @@ export const SchemaCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { readOnly: true, serializedName: "nextLink", @@ -10378,6 +11700,12 @@ export const TagDescriptionCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10406,6 +11734,12 @@ export const ApiVersionSetCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10468,6 +11802,12 @@ export const BackendCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10496,6 +11836,12 @@ export const CacheCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10524,7 +11870,103 @@ export const CertificateCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +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" @@ -10726,6 +12168,12 @@ export const GroupCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10754,6 +12202,12 @@ export const UserCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10782,6 +12236,12 @@ export const IdentityProviderList: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10844,6 +12304,12 @@ export const NamedValueCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -10910,6 +12376,36 @@ export const OpenIdConnectProviderCollection: msRest.CompositeMapper = { } }; +export const PortalRevisionCollection: msRest.CompositeMapper = { + serializedName: "PortalRevisionCollection", + type: { + name: "Composite", + className: "PortalRevisionCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PortalRevisionContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const SubscriptionCollection: msRest.CompositeMapper = { serializedName: "SubscriptionCollection", type: { @@ -10928,6 +12424,12 @@ export const SubscriptionCollection: msRest.CompositeMapper = { } } }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, nextLink: { serializedName: "nextLink", type: { @@ -11034,6 +12536,66 @@ export const RequestReportCollection: msRest.CompositeMapper = { } }; +export const TenantSettingsCollection: msRest.CompositeMapper = { + serializedName: "TenantSettingsCollection", + type: { + name: "Composite", + className: "TenantSettingsCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TenantSettingsContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AccessInformationCollection: msRest.CompositeMapper = { + serializedName: "AccessInformationCollection", + type: { + name: "Composite", + className: "AccessInformationCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AccessInformationContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const UserIdentityCollection: msRest.CompositeMapper = { serializedName: "UserIdentityCollection", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index ff5563e54053..fad3962e0ad2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueCollection, NamedValueContract, @@ -59,6 +68,9 @@ export { NamedValueCreateOrUpdateHeaders, NamedValueGetEntityTagHeaders, NamedValueGetHeaders, + NamedValueListValueHeaders, + NamedValueRefreshSecretHeaders, + NamedValueSecretContract, NamedValueUpdateHeaders, NamedValueUpdateParameters, NotificationContract, @@ -71,10 +83,11 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, - PropertyValueContract, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, @@ -91,6 +104,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts index b1de67e5b4e8..94df94b2062e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/networkStatusMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index b82a3ea1eab4..ea88d4512b6e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index 16c005715b18..82c55dac9117 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index a1fb53d824c6..5a318255988c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 4ffb64cf0376..893d91f804eb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -37,6 +38,11 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -64,13 +73,17 @@ export { OpenIdConnectProviderCreateOrUpdateHeaders, OpenIdConnectProviderGetEntityTagHeaders, OpenIdConnectProviderGetHeaders, + OpenIdConnectProviderListSecretsHeaders, OpenidConnectProviderUpdateContract, + OpenIdConnectProviderUpdateHeaders, OperationContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -90,6 +103,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts index 808608c1b7b3..f75cb5d3f102 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. @@ -12,7 +12,8 @@ export { ApiTagResourceContractProperties, ApiVersionSetContractDetails, AuthenticationSettingsContract, - CloudError, + ErrorFieldContract, + ErrorResponse, OAuth2AuthenticationSettingsContract, OpenIdAuthenticationSettingsContract, OperationTagResourceContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index 40b557d6bd63..6d64fc442225 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -24,9 +23,7 @@ export const accessName: msRest.OperationURLParameter = { parameterPath: "accessName", mapper: { required: true, - isConstant: true, serializedName: "accessName", - defaultValue: 'access', type: { name: "String" } @@ -71,6 +68,19 @@ export const apiVersion: msRest.OperationQueryParameter = { } } }; +export const appType: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "appType" + ], + mapper: { + serializedName: "appType", + defaultValue: 'portal', + type: { + name: "String" + } + } +}; export const attachmentId: msRest.OperationURLParameter = { parameterPath: "attachmentId", mapper: { @@ -172,6 +182,34 @@ export const configurationName: msRest.OperationURLParameter = { } } }; +export const contentItemId: msRest.OperationURLParameter = { + parameterPath: "contentItemId", + mapper: { + required: true, + serializedName: "contentItemId", + constraints: { + MaxLength: 80, + MinLength: 1 + }, + type: { + name: "String" + } + } +}; +export const contentTypeId: msRest.OperationURLParameter = { + parameterPath: "contentTypeId", + mapper: { + required: true, + serializedName: "contentTypeId", + constraints: { + MaxLength: 80, + MinLength: 1 + }, + type: { + name: "String" + } + } +}; export const deleteRevisions: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -446,6 +484,18 @@ export const interval: msRest.OperationQueryParameter = { } } }; +export const isKeyVaultRefreshFailed: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "isKeyVaultRefreshFailed" + ], + mapper: { + serializedName: "isKeyVaultRefreshFailed", + type: { + name: "Boolean" + } + } +}; export const issueId: msRest.OperationURLParameter = { parameterPath: "issueId", mapper: { @@ -461,6 +511,16 @@ export const issueId: msRest.OperationURLParameter = { } } }; +export const location: msRest.OperationURLParameter = { + parameterPath: "location", + mapper: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } +}; export const locationName: msRest.OperationURLParameter = { parameterPath: "locationName", mapper: { @@ -587,6 +647,20 @@ export const policyId: msRest.OperationURLParameter = { } } }; +export const portalRevisionId: msRest.OperationURLParameter = { + parameterPath: "portalRevisionId", + mapper: { + required: true, + serializedName: "portalRevisionId", + constraints: { + MaxLength: 256, + MinLength: 1 + }, + type: { + name: "String" + } + } +}; export const productId: msRest.OperationURLParameter = { parameterPath: "productId", mapper: { @@ -707,6 +781,18 @@ export const serviceName: msRest.OperationURLParameter = { } } }; +export const settingsType: msRest.OperationURLParameter = { + parameterPath: "settingsType", + mapper: { + required: true, + isConstant: true, + serializedName: "settingsType", + defaultValue: 'public', + type: { + name: "String" + } + } +}; export const sid: msRest.OperationURLParameter = { parameterPath: "sid", mapper: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index b0eb43eb71d2..712da0a0f183 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyDescriptionCollection, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 9caf6ee9ab57..153188f56a2c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyGetEntityTagHeaders, PolicyGetHeaders, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts new file mode 100644 index 000000000000..040b54edfcb2 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionCollection, + PortalRevisionContract, + PortalRevisionCreateOrUpdateHeaders, + PortalRevisionGetEntityTagHeaders, + PortalRevisionGetHeaders, + PortalRevisionUpdateHeaders, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts new file mode 100644 index 000000000000..142647ea05ce --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts @@ -0,0 +1,107 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsCollection, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 76b1488cc812..c1de40ff8a87 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiCollection, ApiContract, @@ -37,6 +38,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index f48788d98b20..8a81d59089ea 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 87092fa3ab06..cc3a0924cb85 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiContractProperties, @@ -39,6 +40,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -55,6 +61,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -69,6 +78,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductCollection, @@ -78,6 +89,7 @@ export { ProductGetEntityTagHeaders, ProductGetHeaders, ProductTagResourceContractProperties, + ProductUpdateHeaders, ProductUpdateParameters, RecipientEmailContract, RecipientsContractProperties, @@ -98,6 +110,7 @@ export { TagResourceCollection, TagResourceContract, TagTagResourceContractProperties, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 64ac202f796a..e65163916690 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -88,6 +99,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index e21019e9e856..5b35ea15eb21 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts index b01b41bfabba..e89d403808a9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -11,5 +11,6 @@ export { ErrorResponse, QuotaCounterCollection, QuotaCounterContract, - QuotaCounterValueContractProperties + QuotaCounterValueContractProperties, + QuotaCounterValueUpdateContract } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts index e7c6180e44ed..006e59214f16 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -10,5 +10,6 @@ export { ErrorFieldContract, ErrorResponse, QuotaCounterContract, - QuotaCounterValueContractProperties + QuotaCounterValueContractProperties, + QuotaCounterValueUpdateContract } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts index 7065ac20a2df..5ba25022b947 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/regionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts index 21a48b61cdc9..0fa818f67ed1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/reportsMappers.ts @@ -1,13 +1,14 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under 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 { - CloudError, + ErrorFieldContract, + ErrorResponse, ReportCollection, ReportRecordContract, RequestReportCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index 25a28d6ee8ef..a95ee6404844 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +97,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 050a808f4053..f5ff1d96a532 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -86,6 +97,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index eda090037b74..36ab11d0e7e3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -87,10 +98,13 @@ export { SubscriptionGetHeaders, SubscriptionKeyParameterNamesContract, SubscriptionKeysContract, + SubscriptionListSecretsHeaders, SubscriptionsDelegationSettingsProperties, + SubscriptionUpdateHeaders, SubscriptionUpdateParameters, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 887095666625..f2a73cb20ff2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -96,6 +107,8 @@ export { TagGetEntityStateByProductHeaders, TagGetEntityStateHeaders, TagGetHeaders, + TagUpdateHeaders, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts index 8ae164a56ca3..f75cb5d3f102 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts index 0ca93979ab37..07d5f5f7ef60 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessGitMappers.ts @@ -1,15 +1,12 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AccessInformationContract, ErrorFieldContract, - ErrorResponse, - TenantAccessGitGetHeaders, - TenantAccessGitListSecretsHeaders + ErrorResponse } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 3605444a18b5..5ae173343087 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -1,17 +1,115 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationCollection, AccessInformationContract, + AccessInformationCreateParameters, + AccessInformationSecretsContract, AccessInformationUpdateParameters, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantAccessCreateHeaders, TenantAccessGetEntityTagHeaders, TenantAccessGetHeaders, - TenantAccessListSecretsHeaders + TenantAccessListSecretsHeaders, + TenantAccessUpdateHeaders, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts index 23aeac0c0ce3..623bc88c1291 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -1,13 +1,12 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - CloudError, DeployConfigurationParameters, ErrorFieldContract, ErrorResponse, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts new file mode 100644 index 000000000000..5f209ea387e0 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AccessInformationContract, + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantSettingsCollection, + TenantSettingsContract, + TenantSettingsGetHeaders, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts index 55502467da25..07d5f5f7ef60 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userConfirmationPasswordMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index f48788d98b20..8a81d59089ea 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts index c33ef2ae30d4..e63bf706010f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userIdentitiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index d2d15d6016db..217b53431c49 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -53,6 +59,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -66,6 +75,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,6 +96,7 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserCollection, @@ -97,6 +109,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..b05e410ced06 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AccessInformationContract, AdditionalLocation, ApiContract, ApiManagementServiceIdentity, @@ -36,6 +37,11 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, @@ -52,6 +58,9 @@ export { IssueAttachmentContract, IssueCommentContract, IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, LoggerContract, NamedValueContract, NamedValueCreateContract, @@ -65,6 +74,8 @@ export { PolicyContract, PolicyDescriptionContract, PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, PortalSigninSettings, PortalSignupSettings, ProductContract, @@ -85,11 +96,13 @@ export { SubscriptionsDelegationSettingsProperties, TagContract, TagDescriptionContract, + TenantSettingsContract, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, UserIdentityContract, UserIdentityProperties, + UserSubscriptionGetHeaders, VirtualNetworkConfiguration, X509CertificateName } from "../models/mappers"; 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..d51acb22d15d 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 @@ -95,7 +94,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.OperationListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -116,7 +118,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.OperationListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiManagementService.ts index b2239b624ec4..ca19671dcb23 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 @@ -500,7 +499,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ApiManagementServiceListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -792,7 +797,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ApiManagementServiceListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer 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..6131db9f5208 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 @@ -225,13 +224,52 @@ export class Certificate { callback); } + /** + * From KeyVault, Refresh the certificate being used for authentication with the backend. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param certificateId Identifier of the certificate entity. Must be unique in the current API + * Management service instance. + * @param [options] The optional parameters + * @returns Promise + */ + refreshSecret(resourceGroupName: string, serviceName: string, certificateId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param certificateId Identifier of the certificate entity. Must be unique in the current API + * Management service instance. + * @param callback The callback + */ + refreshSecret(resourceGroupName: string, serviceName: string, certificateId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param certificateId Identifier of the certificate entity. Must be unique in the current API + * Management service instance. + * @param options The optional parameters + * @param callback The callback + */ + refreshSecret(resourceGroupName: string, serviceName: string, certificateId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + refreshSecret(resourceGroupName: string, serviceName: string, certificateId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + certificateId, + options + }, + refreshSecretOperationSpec, + callback) as Promise; + } + /** * Lists a collection of all certificates in the specified 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.CertificateListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -242,8 +280,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, @@ -268,6 +306,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.filter0, Parameters.top, Parameters.skip, + Parameters.isKeyVaultRefreshFailed, Parameters.apiVersion ], headerParameters: [ @@ -304,7 +343,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateGetEntityTagHeaders } }, serializer @@ -331,7 +371,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateGetHeaders } }, serializer @@ -370,7 +411,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateCreateOrUpdateHeaders } }, serializer @@ -402,6 +444,34 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const refreshSecretOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}/refreshSecret", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.certificateId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CertificateContract, + headersMapper: Mappers.CertificateRefreshSecretHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateRefreshSecretHeaders + } + }, + serializer +}; + const listByServiceNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -409,6 +479,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.isKeyVaultRefreshFailed, + 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..a847d6e528e2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -28,6 +27,9 @@ export * from "./authorizationServer"; export * from "./backend"; export * from "./cache"; export * from "./certificate"; +export * from "./contentType"; +export * from "./contentItem"; +export * from "./deletedServices"; export * from "./apiManagementOperations"; export * from "./apiManagementServiceSkus"; export * from "./apiManagementService"; @@ -49,6 +51,8 @@ export * from "./notificationRecipientEmail"; export * from "./openIdConnectProvider"; export * from "./policy"; export * from "./policyDescription"; +export * from "./portalRevision"; +export * from "./portalSettings"; export * from "./signInSettings"; export * from "./signUpSettings"; export * from "./delegationSettings"; @@ -61,6 +65,7 @@ export * from "./quotaByCounterKeys"; export * from "./quotaByPeriodKeys"; export * from "./region"; export * from "./reports"; +export * from "./tenantSettings"; export * from "./subscription"; export * from "./tagResource"; export * from "./tenantAccess"; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts index 74263bc8328b..c2211c08df38 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -100,7 +99,7 @@ export class Issue { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.IssueListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -111,8 +110,8 @@ export class Issue { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.IssueListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.IssueListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -174,7 +173,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IssueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IssueGetHeaders } }, serializer @@ -187,6 +187,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts index ceea06065217..7999eb36502c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -179,9 +178,9 @@ export class Logger { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class Logger { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class Logger { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, loggerId: string, parameters: Models.LoggerUpdateContract, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class Logger { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -227,7 +226,7 @@ export class Logger { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: Models.LoggerDeleteMethodOptionalParams): Promise; + deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -246,8 +245,8 @@ export class Logger { * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options: Models.LoggerDeleteMethodOptionalParams, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: Models.LoggerDeleteMethodOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, serviceName: string, loggerId: string, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -266,7 +265,7 @@ export class Logger { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.LoggerListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -277,8 +276,8 @@ export class Logger { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.LoggerListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.LoggerListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -339,7 +338,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerGetEntityTagHeaders } }, serializer @@ -366,7 +366,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerGetHeaders } }, serializer @@ -405,7 +406,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerCreateOrUpdateHeaders } }, serializer @@ -435,9 +437,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.LoggerContract, + headersMapper: Mappers.LoggerUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerUpdateHeaders } }, serializer @@ -453,7 +459,6 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.force, Parameters.apiVersion ], headerParameters: [ @@ -477,6 +482,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts index 741f6c25bc54..8a49029ddea3 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,20 @@ export class NamedValue { } /** - * Creates or updates a NamedValue. + * Refresh 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. + * @param [options] The optional parameters + * @returns Promise + */ + refreshSecret(resourceGroupName: string, serviceName: string, namedValueId: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRefreshSecret(resourceGroupName,serviceName,namedValueId,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * 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 +275,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 +300,32 @@ export class NamedValue { } /** - * Lists a collection of NamedValues defined within a service instance. + * Refresh 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. + * @param [options] The optional parameters + * @returns Promise + */ + beginRefreshSecret(resourceGroupName: string, serviceName: string, namedValueId: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + namedValueId, + options + }, + beginRefreshSecretOperationSpec, + options); + } + + /** + * 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 +336,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, @@ -330,6 +362,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.filter0, Parameters.top, Parameters.skip, + Parameters.isKeyVaultRefreshFailed, Parameters.apiVersion ], headerParameters: [ @@ -366,7 +399,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueGetEntityTagHeaders } }, serializer @@ -393,7 +427,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueGetHeaders } }, serializer @@ -442,10 +477,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 +524,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueCreateOrUpdateHeaders } }, serializer @@ -524,11 +562,40 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { 202: { headersMapper: Mappers.NamedValueUpdateHeaders }, - 204: { + default: { + bodyMapper: Mappers.ErrorResponse, headersMapper: Mappers.NamedValueUpdateHeaders + } + }, + serializer +}; + +const beginRefreshSecretOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}/refreshSecret", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.namedValueId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.NamedValueContract, + headersMapper: Mappers.NamedValueRefreshSecretHeaders + }, + 202: { + headersMapper: Mappers.NamedValueRefreshSecretHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueRefreshSecretHeaders } }, serializer @@ -541,6 +608,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.isKeyVaultRefreshFailed, + 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..4a4ce2f61507 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, @@ -120,7 +119,7 @@ const listByTagsOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.TagResourceCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -141,7 +147,7 @@ const listByTagsNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.TagResourceCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts index f9736328e80a..f4597a91bb9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -246,7 +245,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyGetEntityTagHeaders } }, serializer @@ -274,7 +274,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyGetHeaders } }, serializer @@ -313,7 +314,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts index 2e190512dfc7..bdcc65951422 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/policyDescription.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts new file mode 100644 index 000000000000..e03ba7ef0dce --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts @@ -0,0 +1,436 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/portalRevisionMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a PortalRevision. */ +export class PortalRevision { + private readonly client: ApiManagementClientContext; + + /** + * Create a PortalRevision. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists a collection of developer portal revision entities. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.PortalRevisionListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.PortalRevisionListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.PortalRevisionListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Gets developer portal revision specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param [options] The optional parameters + * @returns Promise + */ + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param options The optional parameters + * @param callback The callback + */ + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + options + }, + getEntityTagOperationSpec, + callback) as Promise; + } + + /** + * Gets developer portal revision specified by its identifier. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a new developer portal revision. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,serviceName,portalRevisionId,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Updates the description of specified portal revision or makes it current. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,serviceName,portalRevisionId,parameters,ifMatch,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Creates a new developer portal revision. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Updates the description of specified portal revision or makes it current. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management + * service instance. + * @param parameters + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: Models.PortalRevisionContract, ifMatch: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serviceName, + portalRevisionId, + parameters, + ifMatch, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Lists a collection of developer portal revision entities. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.PortalRevisionListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.PortalRevisionListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.PortalRevisionListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getEntityTagOperationSpec: msRest.OperationSpec = { + httpMethod: "HEAD", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + headersMapper: Mappers.PortalRevisionGetEntityTagHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionGetEntityTagHeaders + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionContract, + headersMapper: Mappers.PortalRevisionGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionGetHeaders + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PortalRevisionContract, + required: true + } + }, + responses: { + 201: { + bodyMapper: Mappers.PortalRevisionContract, + headersMapper: Mappers.PortalRevisionCreateOrUpdateHeaders + }, + 202: { + headersMapper: Mappers.PortalRevisionCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionCreateOrUpdateHeaders + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.portalRevisionId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PortalRevisionContract, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionContract, + headersMapper: Mappers.PortalRevisionUpdateHeaders + }, + 202: { + headersMapper: Mappers.PortalRevisionUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PortalRevisionUpdateHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalRevisionCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/portalSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/portalSettings.ts new file mode 100644 index 000000000000..37692011ecdd --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/portalSettings.ts @@ -0,0 +1,86 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under 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/portalSettingsMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a PortalSettings. */ +export class PortalSettings { + private readonly client: ApiManagementClientContext; + + /** + * Create a PortalSettings. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Lists a collection of portalsettings 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 + * @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; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PortalSettingsCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts index 31904c098334..d0a166a48a4c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,9 +188,9 @@ export class Product { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,7 +201,7 @@ export class Product { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -214,8 +213,8 @@ export class Product { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, productId: string, parameters: Models.ProductUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -226,7 +225,7 @@ export class Product { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -313,7 +312,7 @@ export class Product { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.ProductListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -324,8 +323,8 @@ export class Product { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.ProductListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.ProductListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -341,7 +340,7 @@ export class Product { * @param [options] The optional parameters * @returns Promise */ - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTagsNext(nextPageLink: string, options?: Models.ProductListByTagsNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -352,8 +351,8 @@ export class Product { * @param options The optional parameters * @param callback The callback */ - listByTagsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTagsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTagsNext(nextPageLink: string, options: Models.ProductListByTagsNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTagsNext(nextPageLink: string, options?: Models.ProductListByTagsNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -416,7 +415,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductGetEntityTagHeaders } }, serializer @@ -443,7 +443,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductGetHeaders } }, serializer @@ -482,7 +483,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductCreateOrUpdateHeaders } }, serializer @@ -512,9 +514,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.ProductContract, + headersMapper: Mappers.ProductUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductUpdateHeaders } }, serializer @@ -583,6 +589,14 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.expandGroups, + Parameters.tags, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -604,6 +618,13 @@ const listByTagsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.includeNotTaggedProducts, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts index c3bad7380501..9d12993a9b3c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productApi.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -209,7 +208,7 @@ export class ProductApi { * @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, options?: Models.ProductApiListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -220,8 +219,8 @@ export class ProductApi { * @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, options: Models.ProductApiListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, options?: Models.ProductApiListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -351,6 +350,12 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts index d40911e555c8..d036fba5ba67 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productGroup.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -200,7 +199,7 @@ export class ProductGroup { * @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, options?: Models.ProductGroupListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -211,8 +210,8 @@ export class ProductGroup { * @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, options: Models.ProductGroupListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, options?: Models.ProductGroupListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -342,6 +341,12 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts index bd7e68b41ad9..2a871533896d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -282,7 +281,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyGetEntityTagHeaders } }, serializer @@ -311,7 +311,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyGetHeaders } }, serializer @@ -351,7 +352,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts index df3e0fbae8f6..dd0b5c9fdbd1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productSubscriptions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -71,7 +70,7 @@ export class ProductSubscriptions { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ProductSubscriptionsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -82,8 +81,8 @@ export class ProductSubscriptions { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ProductSubscriptionsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ProductSubscriptionsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -132,6 +131,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts index e4976fa216f6..93fcbac18938 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -83,9 +82,9 @@ export class QuotaByCounterKeys { * counter-key="@("b"+"a")" then it will be accessible by "ba" key * @param parameters The value of the quota counter to be applied to all quota counter periods. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -96,7 +95,7 @@ export class QuotaByCounterKeys { * @param parameters The value of the quota counter to be applied to all quota counter periods. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -108,8 +107,8 @@ export class QuotaByCounterKeys { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -119,7 +118,7 @@ export class QuotaByCounterKeys { options }, updateOperationSpec, - callback); + callback) as Promise; } } @@ -169,12 +168,14 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.QuotaCounterValueContractProperties, + ...Mappers.QuotaCounterValueUpdateContract, required: true } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.QuotaCounterCollection + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts index c7bf3dfa545a..c24c33c9d089 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -87,9 +86,9 @@ export class QuotaByPeriodKeys { * @param quotaPeriodKey Quota period key identifier. * @param parameters The value of the Quota counter to be applied on the specified period. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -101,7 +100,7 @@ export class QuotaByPeriodKeys { * @param parameters The value of the Quota counter to be applied on the specified period. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -114,8 +113,8 @@ export class QuotaByPeriodKeys { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueContractProperties, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, quotaCounterKey: string, quotaPeriodKey: string, parameters: Models.QuotaCounterValueUpdateContract, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -126,7 +125,7 @@ export class QuotaByPeriodKeys { options }, updateOperationSpec, - callback); + callback) as Promise; } } @@ -178,12 +177,14 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.QuotaCounterValueContractProperties, + ...Mappers.QuotaCounterValueUpdateContract, required: true } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.QuotaCounterContract + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/region.ts b/sdk/apimanagement/arm-apimanagement/src/operations/region.ts index a563773df876..faaa028c2784 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/region.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/region.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -121,6 +120,9 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/reports.ts b/sdk/apimanagement/arm-apimanagement/src/operations/reports.ts index 328d1f592dab..4ad3699ebc04 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, @@ -768,7 +1015,7 @@ const listByApiOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -797,7 +1044,7 @@ const listByUserOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -826,7 +1073,7 @@ const listByOperationOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -855,7 +1102,7 @@ const listByProductOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -883,7 +1130,7 @@ const listByGeoOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -912,7 +1159,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -942,7 +1189,7 @@ const listByTimeOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -970,7 +1217,7 @@ const listByRequestOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.RequestReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -991,7 +1245,7 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -1012,7 +1273,7 @@ const listByUserNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -1033,7 +1301,7 @@ const listByOperationNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -1054,7 +1329,7 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -1067,6 +1342,12 @@ const listByGeoNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter1, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1075,7 +1356,7 @@ const listByGeoNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -1096,7 +1384,7 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -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 ], @@ -1117,7 +1413,7 @@ const listByTimeNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReportCollection }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts index dd971ea317b3..47495bd57b92 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -191,7 +190,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignInSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignInSettingsGetEntityTagHeaders } }, serializer @@ -217,7 +217,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignInSettingsGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignInSettingsGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts index bd3214a4dffd..5edc08698de8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -191,7 +190,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders } }, serializer @@ -217,7 +217,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignUpSettingsGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignUpSettingsGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts index 6d68505b8bc1..001bde7253a2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -190,9 +189,9 @@ export class Subscription { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams): Promise; + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -203,7 +202,7 @@ export class Subscription { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -215,8 +214,8 @@ export class Subscription { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options: Models.SubscriptionUpdateOptionalParams, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options: Models.SubscriptionUpdateOptionalParams, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, sid: string, parameters: Models.SubscriptionUpdateParameters, ifMatch: string, options?: Models.SubscriptionUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -227,7 +226,7 @@ export class Subscription { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -355,7 +354,7 @@ export class Subscription { } /** - * Gets the subscription keys. + * Gets the specified Subscription keys. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param sid Subscription entity Identifier. The entity represents the association between a user @@ -399,7 +398,7 @@ export class Subscription { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SubscriptionListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -410,8 +409,8 @@ export class Subscription { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SubscriptionListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SubscriptionListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -472,7 +471,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionGetEntityTagHeaders } }, serializer @@ -499,7 +499,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionGetHeaders } }, serializer @@ -516,7 +517,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch0, @@ -539,7 +541,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionCreateOrUpdateHeaders } }, serializer @@ -556,7 +559,8 @@ const updateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch1, @@ -570,9 +574,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.SubscriptionContract, + headersMapper: Mappers.SubscriptionUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionUpdateHeaders } }, serializer @@ -669,10 +677,12 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SubscriptionKeysContract + bodyMapper: Mappers.SubscriptionKeysContract, + headersMapper: Mappers.SubscriptionListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionListSecretsHeaders } }, serializer @@ -685,6 +695,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts index 78a9e2742d66..cff6a11de337 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -847,9 +846,9 @@ export class Tag { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -859,7 +858,7 @@ export class Tag { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -870,8 +869,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, tagId: string, parameters: Models.TagCreateUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -882,7 +881,7 @@ export class Tag { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -934,7 +933,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByOperationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByOperationNext(nextPageLink: string, options?: Models.TagListByOperationNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -945,8 +944,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByOperationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByOperationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByOperationNext(nextPageLink: string, options: Models.TagListByOperationNextOptionalParams, callback: msRest.ServiceCallback): void; + listByOperationNext(nextPageLink: string, options?: Models.TagListByOperationNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -962,7 +961,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByApiNext(nextPageLink: string, options?: Models.TagListByApiNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -973,8 +972,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByApiNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByApiNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByApiNext(nextPageLink: string, options: Models.TagListByApiNextOptionalParams, callback: msRest.ServiceCallback): void; + listByApiNext(nextPageLink: string, options?: Models.TagListByApiNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -990,7 +989,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByProductNext(nextPageLink: string, options?: Models.TagListByProductNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1001,8 +1000,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByProductNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByProductNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByProductNext(nextPageLink: string, options: Models.TagListByProductNextOptionalParams, callback: msRest.ServiceCallback): void; + listByProductNext(nextPageLink: string, options?: Models.TagListByProductNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1018,7 +1017,7 @@ export class Tag { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.TagListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -1029,8 +1028,8 @@ export class Tag { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.TagListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TagListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1095,7 +1094,8 @@ const getEntityStateByOperationOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByOperationHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByOperationHeaders } }, serializer @@ -1124,7 +1124,8 @@ const getByOperationOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByOperationHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByOperationHeaders } }, serializer @@ -1238,7 +1239,8 @@ const getEntityStateByApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByApiHeaders } }, serializer @@ -1266,7 +1268,8 @@ const getByApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByApiHeaders } }, serializer @@ -1298,7 +1301,8 @@ const assignToApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagAssignToApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagAssignToApiHeaders } }, serializer @@ -1380,7 +1384,8 @@ const getEntityStateByProductOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByProductHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByProductHeaders } }, serializer @@ -1408,7 +1413,8 @@ const getByProductOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByProductHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByProductHeaders } }, serializer @@ -1519,7 +1525,8 @@ const getEntityStateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateHeaders } }, serializer @@ -1546,7 +1553,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetHeaders } }, serializer @@ -1585,7 +1593,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagCreateOrUpdateHeaders } }, serializer @@ -1615,9 +1624,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.TagContract, + headersMapper: Mappers.TagUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagUpdateHeaders } }, serializer @@ -1656,6 +1669,12 @@ const listByOperationNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1677,6 +1696,12 @@ const listByApiNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1698,6 +1723,12 @@ const listByProductNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1719,6 +1750,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.scope0, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts index b662081c7fcb..346b4211436c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tagResource.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -64,7 +63,7 @@ export class TagResource { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.TagResourceListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -75,8 +74,8 @@ export class TagResource { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.TagResourceListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TagResourceListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -124,6 +123,12 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts index c18facbb8662..6d221d24763f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,32 +25,71 @@ export class TenantAccess { this.client = client; } + /** + * Returns list of access infos - for Git and Management endpoints. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantAccessListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.TenantAccessListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantAccessListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + /** * Tenant access metadata * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - getEntityTag(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - getEntityTag(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - getEntityTag(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEntityTag(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getEntityTag(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, getEntityTagOperationSpec, @@ -62,28 +100,35 @@ export class TenantAccess { * Get tenant access information details without secrets. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, getOperationSpec, @@ -95,70 +140,134 @@ export class TenantAccess { * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise + */ + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param callback The callback + */ + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationCreateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + parameters, + accessName, + ifMatch, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Update tenant access information details. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' + * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header + * response of the GET request or it should be * for unconditional update. + * @param [options] The optional parameters + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param parameters Parameters supplied to retrieve the Tenant Access Information. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, accessName: Models.AccessIdName, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, parameters, + accessName, ifMatch, options }, updateOperationSpec, - callback); + callback) as Promise; } /** * Regenerate primary access key * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regeneratePrimaryKeyOperationSpec, @@ -169,28 +278,35 @@ export class TenantAccess { * Regenerate secondary access key * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regenerateSecondaryKeyOperationSpec, @@ -201,37 +317,98 @@ export class TenantAccess { * Get tenant access information details. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - listSecrets(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - listSecrets(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSecrets(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, listSecretsOperationSpec, callback) as Promise; } + + /** + * Returns list of access infos - for Git and Management endpoints. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.TenantAccessListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.TenantAccessListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TenantAccessListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AccessInformationCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + const getEntityTagOperationSpec: msRest.OperationSpec = { httpMethod: "HEAD", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}", @@ -252,7 +429,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetEntityTagHeaders } }, serializer @@ -279,7 +457,44 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetHeaders + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.accessName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch1, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.AccessInformationCreateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AccessInformationContract, + headersMapper: Mappers.TenantAccessCreateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessCreateHeaders } }, serializer @@ -309,9 +524,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.AccessInformationContract, + headersMapper: Mappers.TenantAccessUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessUpdateHeaders } }, serializer @@ -382,9 +601,35 @@ const listSecretsOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.AccessInformationContract, + bodyMapper: Mappers.AccessInformationSecretsContract, headersMapper: Mappers.TenantAccessListSecretsHeaders }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessListSecretsHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AccessInformationCollection + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts index 3a031c37eb46..4c7f80c760ca 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -26,64 +25,39 @@ export class TenantAccessGit { this.client = client; } - /** - * Gets the Git access configuration for the tenant. Without secrets. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param callback The callback - */ - get(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - serviceName, - options - }, - getOperationSpec, - callback) as Promise; - } - /** * Regenerate primary access key for GIT. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regeneratePrimaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regeneratePrimaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regeneratePrimaryKeyOperationSpec, @@ -94,96 +68,44 @@ export class TenantAccessGit { * Regenerate secondary access key for GIT. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param [options] The optional parameters * @returns Promise */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. + * @param accessName The identifier of the Access configuration. Possible values include: 'access', + * 'getAccess' * @param options The optional parameters * @param callback The callback */ - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateSecondaryKey(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateSecondaryKey(resourceGroupName: string, serviceName: string, accessName: Models.AccessIdName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, serviceName, + accessName, options }, regenerateSecondaryKeyOperationSpec, callback); } - - /** - * Gets the Git access configuration for the tenant. - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param [options] The optional parameters - * @returns Promise - */ - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param callback The callback - */ - listSecrets(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param serviceName The name of the API Management service. - * @param options The optional parameters - * @param callback The callback - */ - listSecrets(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSecrets(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - serviceName, - options - }, - listSecretsOperationSpec, - callback) as Promise; - } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.subscriptionId, - Parameters.accessName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.AccessInformationContract, - headersMapper: Mappers.TenantAccessGitGetHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; - const regeneratePrimaryKeyOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/regeneratePrimaryKey", @@ -231,30 +153,3 @@ const regenerateSecondaryKeyOperationSpec: msRest.OperationSpec = { }, serializer }; - -const listSecretsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}/git/listSecrets", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.subscriptionId, - Parameters.accessName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.AccessInformationContract, - headersMapper: Mappers.TenantAccessGitListSecretsHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - serializer -}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantConfiguration.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantConfiguration.ts index be1e84173988..1a0527a69d83 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 @@ -188,7 +187,7 @@ const getSyncStateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.TenantConfigurationSyncStateContract }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantSettings.ts new file mode 100644 index 000000000000..8fbc9fb49e7f --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantSettings.ts @@ -0,0 +1,200 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/tenantSettingsMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a TenantSettings. */ +export class TenantSettings { + private readonly client: ApiManagementClientContext; + + /** + * Create a TenantSettings. + * @param {ApiManagementClientContext} client Reference to the service client. + */ + constructor(client: ApiManagementClientContext) { + this.client = client; + } + + /** + * Public settings. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantSettingsListByServiceOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + listByService(resourceGroupName: string, serviceName: string, options: Models.TenantSettingsListByServiceOptionalParams, callback: msRest.ServiceCallback): void; + listByService(resourceGroupName: string, serviceName: string, options?: Models.TenantSettingsListByServiceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + listByServiceOperationSpec, + callback) as Promise; + } + + /** + * Get tenant settings. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Public settings. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByServiceNext(nextPageLink: string, options?: Models.TenantSettingsListByServiceNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByServiceNext(nextPageLink: string, options: Models.TenantSettingsListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.TenantSettingsListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByServiceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TenantSettingsCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/settings/{settingsType}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.subscriptionId, + Parameters.settingsType + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TenantSettingsContract, + headersMapper: Mappers.TenantSettingsGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantSettingsGetHeaders + } + }, + serializer +}; + +const listByServiceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter0, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TenantSettingsCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts index 43a8c279ccc7..dd1043e53973 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -179,9 +178,9 @@ export class User { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -191,7 +190,7 @@ export class User { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -202,8 +201,8 @@ export class User { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, userId: string, parameters: Models.UserUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -214,7 +213,7 @@ export class User { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -343,7 +342,7 @@ export class User { * @param [options] The optional parameters * @returns Promise */ - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByServiceNext(nextPageLink: string, options?: Models.UserListByServiceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -354,8 +353,8 @@ export class User { * @param options The optional parameters * @param callback The callback */ - listByServiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByServiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByServiceNext(nextPageLink: string, options: Models.UserListByServiceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByServiceNext(nextPageLink: string, options?: Models.UserListByServiceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -417,7 +416,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserGetEntityTagHeaders } }, serializer @@ -444,7 +444,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserGetHeaders } }, serializer @@ -460,6 +461,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.notify, Parameters.apiVersion ], headerParameters: [ @@ -483,7 +485,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserCreateOrUpdateHeaders } }, serializer @@ -513,9 +516,13 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.UserContract, + headersMapper: Mappers.UserUpdateHeaders + }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserUpdateHeaders } }, serializer @@ -533,7 +540,8 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteSubscriptions, Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch1, @@ -615,6 +623,13 @@ const listByServiceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.expandGroups, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts index d9e3dbdaf146..ee5bff0198a9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; import * as Mappers from "../models/userConfirmationPasswordMappers"; import * as Parameters from "../models/parameters"; import { ApiManagementClientContext } from "../apiManagementClientContext"; @@ -33,7 +33,7 @@ export class UserConfirmationPassword { * @param [options] The optional parameters * @returns Promise */ - send(resourceGroupName: string, serviceName: string, userId: string, options?: msRest.RequestOptionsBase): Promise; + send(resourceGroupName: string, serviceName: string, userId: string, options?: Models.UserConfirmationPasswordSendOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -48,8 +48,8 @@ export class UserConfirmationPassword { * @param options The optional parameters * @param callback The callback */ - send(resourceGroupName: string, serviceName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - send(resourceGroupName: string, serviceName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + send(resourceGroupName: string, serviceName: string, userId: string, options: Models.UserConfirmationPasswordSendOptionalParams, callback: msRest.ServiceCallback): void; + send(resourceGroupName: string, serviceName: string, userId: string, options?: Models.UserConfirmationPasswordSendOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -74,7 +74,8 @@ const sendOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts index 0387dbc52c58..32f8ce73a71f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userGroup.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -68,7 +67,7 @@ export class UserGroup { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.UserGroupListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -79,8 +78,8 @@ export class UserGroup { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.UserGroupListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.UserGroupListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -129,6 +128,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts index e84a1e21f620..0c1c0eef6324 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userIdentities.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -126,6 +125,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userSubscription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userSubscription.ts index bf8816577ff9..2f6f6c3f7e0f 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 @@ -62,13 +61,56 @@ export class UserSubscription { callback) as Promise; } + /** + * Gets the specified Subscription entity associated with a particular user. + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param userId User identifier. Must be unique in the current API Management service instance. + * @param sid Subscription entity Identifier. The entity represents the association between a user + * and a product in API Management. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, serviceName: string, userId: string, sid: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param userId User identifier. Must be unique in the current API Management service instance. + * @param sid Subscription entity Identifier. The entity represents the association between a user + * and a product in API Management. + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, userId: string, sid: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param serviceName The name of the API Management service. + * @param userId User identifier. Must be unique in the current API Management service instance. + * @param sid Subscription entity Identifier. The entity represents the association between a user + * and a product in API Management. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, serviceName: string, userId: string, sid: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, serviceName: string, userId: string, sid: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + serviceName, + userId, + sid, + options + }, + getOperationSpec, + callback) as Promise; + } + /** * Lists the collection of subscriptions of the specified user. * @param nextPageLink The NextLink from the previous successful call to List operation. * @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 +121,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, @@ -122,6 +164,35 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/subscriptions/{sid}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.userId, + Parameters.sid, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SubscriptionContract, + headersMapper: Mappers.UserSubscriptionGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserSubscriptionGetHeaders + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -129,6 +200,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter0, + Parameters.top, + Parameters.skip, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ],