From 2736ca27e8ecd5cf594cacd23ec8a631096eff4f Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sun, 30 Aug 2020 22:26:13 +0000 Subject: [PATCH 1/2] Update from master --- .../src/models/apiDiagnosticMappers.ts | 2 + .../src/models/apiIssueAttachmentMappers.ts | 2 + .../src/models/apiIssueCommentMappers.ts | 2 + .../src/models/apiIssueMappers.ts | 2 + .../src/models/apiManagementServiceMappers.ts | 2 + .../src/models/apiMappers.ts | 2 + .../src/models/apiOperationMappers.ts | 2 + .../src/models/apiOperationPolicyMappers.ts | 2 + .../src/models/apiPolicyMappers.ts | 2 + .../src/models/apiProductMappers.ts | 2 + .../src/models/apiReleaseMappers.ts | 2 + .../src/models/apiSchemaMappers.ts | 2 + .../src/models/apiTagDescriptionMappers.ts | 2 + .../src/models/apiVersionSetMappers.ts | 2 + .../src/models/authorizationServerMappers.ts | 2 + .../src/models/backendMappers.ts | 2 + .../src/models/cacheMappers.ts | 2 + .../src/models/certificateMappers.ts | 2 + .../src/models/delegationSettingsMappers.ts | 2 + .../src/models/diagnosticMappers.ts | 2 + .../src/models/emailTemplateMappers.ts | 2 + .../src/models/gatewayApiMappers.ts | 2 + .../gatewayHostnameConfigurationMappers.ts | 2 + .../src/models/gatewayMappers.ts | 2 + .../src/models/groupMappers.ts | 2 + .../src/models/groupUserMappers.ts | 2 + .../src/models/identityProviderMappers.ts | 2 + .../arm-apimanagement/src/models/index.ts | 142 +++++++++++++++-- .../src/models/issueMappers.ts | 2 + .../src/models/loggerMappers.ts | 2 + .../arm-apimanagement/src/models/mappers.ts | 145 ++++++++++++++++++ .../src/models/namedValueMappers.ts | 2 + .../src/models/notificationMappers.ts | 2 + .../notificationRecipientEmailMappers.ts | 2 + .../notificationRecipientUserMappers.ts | 2 + .../models/openIdConnectProviderMappers.ts | 2 + .../src/models/parameters.ts | 13 ++ .../src/models/policyDescriptionMappers.ts | 2 + .../src/models/policyMappers.ts | 2 + .../src/models/productApiMappers.ts | 2 + .../src/models/productGroupMappers.ts | 2 + .../src/models/productMappers.ts | 2 + .../src/models/productPolicyMappers.ts | 2 + .../src/models/productSubscriptionsMappers.ts | 2 + .../src/models/quotaByCounterKeysMappers.ts | 3 +- .../src/models/quotaByPeriodKeysMappers.ts | 3 +- .../src/models/signInSettingsMappers.ts | 2 + .../src/models/signUpSettingsMappers.ts | 2 + .../src/models/subscriptionMappers.ts | 2 + .../src/models/tagMappers.ts | 2 + .../src/models/userGroupMappers.ts | 2 + .../src/models/userMappers.ts | 2 + .../src/models/userSubscriptionMappers.ts | 2 + .../arm-apimanagement/src/operations/api.ts | 9 +- .../src/operations/apiDiagnostic.ts | 9 +- .../src/operations/apiIssue.ts | 9 +- .../src/operations/apiIssueAttachment.ts | 9 +- .../src/operations/apiIssueComment.ts | 9 +- .../src/operations/apiOperation.ts | 9 +- .../src/operations/apiOperationPolicy.ts | 9 +- .../src/operations/apiPolicy.ts | 9 +- .../src/operations/apiRelease.ts | 9 +- .../src/operations/apiSchema.ts | 9 +- .../src/operations/apiTagDescription.ts | 9 +- .../src/operations/apiVersionSet.ts | 9 +- .../src/operations/authorizationServer.ts | 9 +- .../src/operations/backend.ts | 9 +- .../arm-apimanagement/src/operations/cache.ts | 9 +- .../src/operations/certificate.ts | 9 +- .../src/operations/delegationSettings.ts | 6 +- .../src/operations/diagnostic.ts | 9 +- .../src/operations/emailTemplate.ts | 6 +- .../src/operations/gateway.ts | 12 +- .../src/operations/gatewayApi.ts | 3 +- .../gatewayHostnameConfiguration.ts | 9 +- .../arm-apimanagement/src/operations/group.ts | 9 +- .../src/operations/identityProvider.ts | 9 +- .../arm-apimanagement/src/operations/issue.ts | 3 +- .../src/operations/logger.ts | 9 +- .../src/operations/namedValue.ts | 12 +- .../src/operations/openIdConnectProvider.ts | 9 +- .../src/operations/policy.ts | 9 +- .../src/operations/product.ts | 9 +- .../src/operations/productPolicy.ts | 9 +- .../src/operations/quotaByCounterKeys.ts | 10 +- .../src/operations/quotaByPeriodKeys.ts | 10 +- .../src/operations/signInSettings.ts | 6 +- .../src/operations/signUpSettings.ts | 6 +- .../src/operations/subscription.ts | 15 +- .../arm-apimanagement/src/operations/tag.ts | 30 ++-- .../src/operations/tenantAccess.ts | 9 +- .../src/operations/tenantAccessGit.ts | 6 +- .../arm-apimanagement/src/operations/user.ts | 13 +- .../operations/userConfirmationPassword.ts | 10 +- 94 files changed, 639 insertions(+), 145 deletions(-) diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts index 10326b642115..cb1183adab8f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticCollection, DiagnosticContract, EmailTemplateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index bcf025c555ad..a44e84320662 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 94550c31a779..0d8eb23539b5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index f7f41cb57c0b..340867a06f52 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 6a3825a39a8b..afb2c0c7a3ff 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts @@ -43,6 +43,8 @@ export { CertificateContract, CertificateInformation, CloudError, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 55e0a2e7f17c..28be2751f44c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -46,6 +46,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index 9fea7c297f13..4502f81c5733 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index d839005cf4d1..c9d67fb23549 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index bd3f2e158024..36a171303506 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index 04e121e71a4e..ac72bf25f9ac 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 3e5875867ed8..f8183861d97b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -40,6 +40,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index 97c1c14738d4..2514161500bd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 95bcfc931452..573cab7e0c31 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index 1b1849674045..71f6c452efe8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -41,6 +41,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index ff6bb419d095..1de536773f54 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -41,6 +41,8 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 96dc17f4f00d..9a83d94ac4d0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -41,6 +41,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index 925c1c8e995b..65fe4928331b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -41,6 +41,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index dc1c4422c33d..5bfe43d99281 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -41,6 +41,8 @@ export { CertificateGetEntityTagHeaders, CertificateGetHeaders, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index fec1853e62b2..6324586044aa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DelegationSettingsGetEntityTagHeaders, DelegationSettingsGetHeaders, DiagnosticContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 1001dfb6804e..69709c37b59e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticCollection, DiagnosticContract, DiagnosticCreateOrUpdateHeaders, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index e95c43143839..6798ca5d8674 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateCollection, EmailTemplateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index 3923b13a0f3c..ea6d38fb50ca 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -37,6 +37,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index 8a77fa12242c..532d69dba203 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index c1c140d0632a..f6d795e8a22e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index cc5873a72832..12905c2477db 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 2eeab6b3baf7..63e0d2d4ece5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 674b64208ffa..8ac9ba7bdb3a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -37,6 +37,8 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 00a9ffa0200a..50c371c5e491 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -163,13 +163,13 @@ export interface ProductEntityBaseParameters { * automatically enabling developers to call the product’s APIs immediately after subscribing. If * true, administrators must manually approve the subscription before the developer can any of * the product’s APIs. Can be present only if subscriptionRequired property is present and has a - * value of false. + * value of true. */ approvalRequired?: boolean; /** * Whether the number of subscriptions a user can have to this product at the same time. Set to * null or omit to allow unlimited per user subscriptions. Can be present only if - * subscriptionRequired property is present and has a value of false. + * subscriptionRequired property is present and has a value of true. */ subscriptionsLimit?: number; /** @@ -839,13 +839,13 @@ export interface ProductContract extends Resource { * automatically enabling developers to call the product’s APIs immediately after subscribing. If * true, administrators must manually approve the subscription before the developer can any of * the product’s APIs. Can be present only if subscriptionRequired property is present and has a - * value of false. + * value of true. */ approvalRequired?: boolean; /** * Whether the number of subscriptions a user can have to this product at the same time. Set to * null or omit to allow unlimited per user subscriptions. Can be present only if - * subscriptionRequired property is present and has a value of false. + * subscriptionRequired property is present and has a value of true. */ subscriptionsLimit?: number; /** @@ -4047,7 +4047,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; /** @@ -4082,13 +4083,13 @@ export interface ProductUpdateParameters { * automatically enabling developers to call the product’s APIs immediately after subscribing. If * true, administrators must manually approve the subscription before the developer can any of * the product’s APIs. Can be present only if subscriptionRequired property is present and has a - * value of false. + * value of true. */ approvalRequired?: boolean; /** * Whether the number of subscriptions a user can have to this product at the same time. Set to * null or omit to allow unlimited per user subscriptions. Can be present only if - * subscriptionRequired property is present and has a value of false. + * subscriptionRequired property is present and has a value of true. */ subscriptionsLimit?: number; /** @@ -4117,6 +4118,20 @@ export interface QuotaCounterValueContractProperties { kbTransferred?: number; } +/** + * Quota counter value details. + */ +export interface QuotaCounterValueUpdateContract { + /** + * Number of times Counter was called. + */ + callsCount?: number; + /** + * Data Transferred in KiloBytes. + */ + kbTransferred?: number; +} + /** * Quota counter details. */ @@ -4421,7 +4436,8 @@ export interface SubscriptionUpdateParameters { */ state?: SubscriptionState; /** - * Comments describing subscription state change by the administrator. + * Comments describing subscription state change by the administrator when the state is changed + * to the 'rejected'. */ stateComment?: string; /** @@ -4747,8 +4763,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; /** @@ -4794,6 +4810,74 @@ export interface QuotaCounterValueContract { kbTransferred?: number; } +/** + * Content type contract details. + */ +export interface ContentTypeContract extends Resource { + /** + * Content type identifier + */ + contentTypeContractId?: string; + /** + * Content type name. Must be 1 to 250 characters long. + */ + contentTypeContractName?: string; + /** + * Content type description. + */ + description?: string; + /** + * Content type schema. + */ + schema?: any; + /** + * Content type version. + */ + version?: string; +} + +/** + * Paged list of content types. + */ +export interface ContentTypeCollection { + /** + * Collection of content types. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: ContentTypeContract[]; + /** + * Next page link, if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * Content type contract details. + */ +export interface ContentItemContract extends Resource { + /** + * Properties of the content item. + */ + properties?: { [propertyName: string]: any }; +} + +/** + * Paged list of content items. + */ +export interface ContentItemCollection { + /** + * Collection of content items. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: ContentItemContract[]; + /** + * Next page link, if any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * Optional Parameters. */ @@ -6365,6 +6449,12 @@ export interface SubscriptionCreateOrUpdateOptionalParams extends msRest.Request * 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; } /** @@ -6377,6 +6467,12 @@ export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsB * - If true, send email notification of change of state of subscription */ 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; } /** @@ -6445,6 +6541,10 @@ export interface UserListByServiceOptionalParams extends msRest.RequestOptionsBa * Optional Parameters. */ export interface UserCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Send an Email notification to the User. + */ + notify?: boolean; /** * ETag of the Entity. Not required when creating an entity, but required when updating an * entity. @@ -6464,6 +6564,12 @@ export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBas * 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; } /** @@ -6515,6 +6621,18 @@ export interface UserSubscriptionListOptionalParams extends msRest.RequestOption 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. */ @@ -8461,11 +8579,11 @@ export type KeyType = 'primary' | 'secondary'; /** * Defines values for AppType. - * Possible values include: 'developerPortal' + * Possible values include: 'portal', 'developerPortal' * @readonly * @enum {string} */ -export type AppType = 'developerPortal'; +export type AppType = 'portal' | 'developerPortal'; /** * Defines values for Confirmation. diff --git a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts index 997f8c08da60..7713a6e3b92c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index f6fa57322949..1ce4bdb3ea68 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index 76d5c775cee6..5850f78f223e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -7083,6 +7083,28 @@ export const QuotaCounterValueContractProperties: 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 QuotaCounterContract: msRest.CompositeMapper = { serializedName: "QuotaCounterContract", type: { @@ -8184,6 +8206,129 @@ export const QuotaCounterValueContract: msRest.CompositeMapper = { } }; +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 ContentTypeCollection: msRest.CompositeMapper = { + serializedName: "ContentTypeCollection", + type: { + name: "Composite", + className: "ContentTypeCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContentTypeContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +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 ContentItemCollection: msRest.CompositeMapper = { + serializedName: "ContentItemCollection", + type: { + name: "Composite", + className: "ContentItemCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContentItemContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ApiGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "api-getentitytag-headers", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index ff5563e54053..f230648fc624 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index b82a3ea1eab4..943a3481ca3a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index 16c005715b18..9250ca18a948 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index a1fb53d824c6..f406fce67fa2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 4ffb64cf0376..7e81a7536b1f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -37,6 +37,8 @@ export { CertificateContract, CertificateInformation, ClientSecretContract, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index 40b557d6bd63..7ce00f27aec6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -71,6 +71,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: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index b0eb43eb71d2..353a402df7f4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 9caf6ee9ab57..82a5a196cdba 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 76b1488cc812..8585264f0890 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -37,6 +37,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index f48788d98b20..c667d3d9f690 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 87092fa3ab06..365c68758b28 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -39,6 +39,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 64ac202f796a..a1804c463e60 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index e21019e9e856..ba684f723705 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts index b01b41bfabba..b8779edb2036 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/quotaByCounterKeysMappers.ts @@ -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..9f936dd59295 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/quotaByPeriodKeysMappers.ts @@ -10,5 +10,6 @@ export { ErrorFieldContract, ErrorResponse, QuotaCounterContract, - QuotaCounterValueContractProperties + QuotaCounterValueContractProperties, + QuotaCounterValueUpdateContract } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index 25a28d6ee8ef..77e28090e544 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 050a808f4053..d431bc90c083 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index eda090037b74..fbbcfc4d6d95 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 887095666625..3c6f61201952 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index f48788d98b20..c667d3d9f690 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index d2d15d6016db..4bf235b68c3b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts index e21019e9e856..ba684f723705 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -36,6 +36,8 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, + ContentItemContract, + ContentTypeContract, DiagnosticContract, EmailTemplateContract, EmailTemplateParametersContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/api.ts b/sdk/apimanagement/arm-apimanagement/src/operations/api.ts index 7dc3aea4f799..1e8af587c168 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/api.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/api.ts @@ -412,7 +412,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiGetEntityTagHeaders } }, serializer @@ -439,7 +440,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiGetHeaders } }, serializer @@ -569,7 +571,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts index aac5ab05ff5e..cf16c0829fc6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts @@ -380,7 +380,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiDiagnosticGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticGetEntityTagHeaders } }, serializer @@ -408,7 +409,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiDiagnosticGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticGetHeaders } }, serializer @@ -448,7 +450,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiDiagnosticCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiDiagnosticCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts index e6bc0634c75f..2a1c5a74f38d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts @@ -366,7 +366,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueGetEntityTagHeaders } }, serializer @@ -395,7 +396,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueGetHeaders } }, serializer @@ -435,7 +437,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts index 9392f644c44d..da1bebe2ef53 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueAttachment.ts @@ -337,7 +337,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueAttachmentGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueAttachmentGetEntityTagHeaders } }, serializer @@ -366,7 +367,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueAttachmentGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueAttachmentGetHeaders } }, serializer @@ -407,7 +409,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueAttachmentCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueAttachmentCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts index 8f4584a711ee..79cc5d014f4b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssueComment.ts @@ -337,7 +337,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCommentGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCommentGetEntityTagHeaders } }, serializer @@ -366,7 +367,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCommentGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCommentGetHeaders } }, serializer @@ -407,7 +409,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiIssueCommentCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiIssueCommentCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts index 02d3a4495eeb..41e7c276ebf1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts @@ -399,7 +399,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationGetEntityTagHeaders } }, serializer @@ -427,7 +428,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationGetHeaders } }, serializer @@ -467,7 +469,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts index 7e7f6bd110f5..ae56f356189e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperationPolicy.ts @@ -319,7 +319,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationPolicyGetEntityTagHeaders } }, serializer @@ -349,7 +350,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiOperationPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiOperationPolicyGetHeaders } }, serializer @@ -390,7 +392,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..73c3139aa21f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiPolicy.ts @@ -282,7 +282,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiPolicyGetEntityTagHeaders } }, serializer @@ -311,7 +312,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiPolicyGetHeaders } }, serializer @@ -351,7 +353,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/apiRelease.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts index f0d3cedeb6d3..07a760d3ae07 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts @@ -384,7 +384,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiReleaseGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseGetEntityTagHeaders } }, serializer @@ -412,7 +413,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiReleaseGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseGetHeaders } }, serializer @@ -452,7 +454,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiReleaseCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiReleaseCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts index 0dd8f3e7d781..2f8169ddc654 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiSchema.ts @@ -335,7 +335,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiSchemaGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiSchemaGetEntityTagHeaders } }, serializer @@ -363,7 +364,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiSchemaGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiSchemaGetHeaders } }, serializer @@ -434,7 +436,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiSchemaCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts index 3b9dbd9265ca..fbad816b6c38 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiTagDescription.ts @@ -343,7 +343,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiTagDescriptionGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiTagDescriptionGetEntityTagHeaders } }, serializer @@ -371,7 +372,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiTagDescriptionGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiTagDescriptionGetHeaders } }, serializer @@ -411,7 +413,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiTagDescriptionCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiTagDescriptionCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts index 5f6861172541..e5b00d9bd1c5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts @@ -354,7 +354,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiVersionSetGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetGetEntityTagHeaders } }, serializer @@ -381,7 +382,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiVersionSetGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetGetHeaders } }, serializer @@ -420,7 +422,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ApiVersionSetCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ApiVersionSetCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts b/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts index 6ec8faf37b10..2a64279442b0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts @@ -375,7 +375,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.AuthorizationServerGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerGetEntityTagHeaders } }, serializer @@ -402,7 +403,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.AuthorizationServerGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerGetHeaders } }, serializer @@ -441,7 +443,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.AuthorizationServerCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.AuthorizationServerCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts b/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts index 660d0124c797..2dba670f2a81 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts @@ -394,7 +394,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.BackendGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendGetEntityTagHeaders } }, serializer @@ -421,7 +422,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.BackendGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendGetHeaders } }, serializer @@ -460,7 +462,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.BackendCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.BackendCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts b/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts index 3cb264df2e6a..9815f8800d73 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts @@ -353,7 +353,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CacheGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheGetEntityTagHeaders } }, serializer @@ -380,7 +381,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CacheGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheGetHeaders } }, serializer @@ -419,7 +421,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CacheCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CacheCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts b/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts index f47a28ce34f4..df4b677106d3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/certificate.ts @@ -304,7 +304,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateGetEntityTagHeaders } }, serializer @@ -331,7 +332,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateGetHeaders } }, serializer @@ -370,7 +372,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.CertificateCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.CertificateCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts index 28179a2c2dd6..9cfcdbf951b5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/delegationSettings.ts @@ -223,7 +223,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DelegationSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DelegationSettingsGetEntityTagHeaders } }, serializer @@ -249,7 +250,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/diagnostic.ts b/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts index e4b86f89bc26..c76bf50561aa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts @@ -354,7 +354,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DiagnosticGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticGetEntityTagHeaders } }, serializer @@ -381,7 +382,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DiagnosticGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticGetHeaders } }, serializer @@ -420,7 +422,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DiagnosticCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.DiagnosticCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts b/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts index fb6ba47d4b55..643e0e6b66b8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts @@ -444,7 +444,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.EmailTemplateGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.EmailTemplateGetEntityTagHeaders } }, serializer @@ -471,7 +472,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.EmailTemplateGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.EmailTemplateGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts index e2e9bc6fe6a3..94693e6eb85b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts @@ -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 @@ -629,7 +632,8 @@ const listKeysOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayListKeysHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayListKeysHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts index 1037389d498b..500a933e87b7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts @@ -274,7 +274,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayApiGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayApiGetEntityTagHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts index a7aa24ccfb2a..3540c86084aa 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts @@ -334,7 +334,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayHostnameConfigurationGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayHostnameConfigurationGetEntityTagHeaders } }, serializer @@ -362,7 +363,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayHostnameConfigurationGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayHostnameConfigurationGetHeaders } }, serializer @@ -401,7 +403,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GatewayHostnameConfigurationCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GatewayHostnameConfigurationCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/group.ts b/sdk/apimanagement/arm-apimanagement/src/operations/group.ts index 13b9fec30dbe..0fc297a97406 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/group.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/group.ts @@ -339,7 +339,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GroupGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupGetEntityTagHeaders } }, serializer @@ -366,7 +367,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GroupGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupGetHeaders } }, serializer @@ -405,7 +407,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.GroupCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.GroupCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts b/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts index b1d63a641d45..b5708436b6dd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts @@ -391,7 +391,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IdentityProviderGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderGetEntityTagHeaders } }, serializer @@ -418,7 +419,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IdentityProviderGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderGetHeaders } }, serializer @@ -457,7 +459,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IdentityProviderCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IdentityProviderCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts index 74263bc8328b..74a1b729887e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/issue.ts @@ -174,7 +174,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.IssueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.IssueGetHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts index ceea06065217..7bf39b6b9cf4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts @@ -339,7 +339,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerGetEntityTagHeaders } }, serializer @@ -366,7 +367,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerGetHeaders } }, serializer @@ -405,7 +407,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.LoggerCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.LoggerCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts index 741f6c25bc54..e6a46de0fe42 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts @@ -366,7 +366,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueGetEntityTagHeaders } }, serializer @@ -393,7 +394,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueGetHeaders } }, serializer @@ -487,7 +489,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueCreateOrUpdateHeaders } }, serializer @@ -528,7 +531,8 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.NamedValueUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.NamedValueUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts b/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts index 61367e1b6b9a..2895b372ac38 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts @@ -375,7 +375,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OpenIdConnectProviderGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderGetEntityTagHeaders } }, serializer @@ -402,7 +403,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OpenIdConnectProviderGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderGetHeaders } }, serializer @@ -441,7 +443,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.OpenIdConnectProviderCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.OpenIdConnectProviderCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts index f9736328e80a..c9cfaa0378f4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/policy.ts @@ -246,7 +246,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyGetEntityTagHeaders } }, serializer @@ -274,7 +275,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.PolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.PolicyGetHeaders } }, serializer @@ -313,7 +315,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/product.ts b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts index 31904c098334..5e202513f523 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts @@ -416,7 +416,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductGetEntityTagHeaders } }, serializer @@ -443,7 +444,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductGetHeaders } }, serializer @@ -482,7 +484,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts b/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts index bd7e68b41ad9..0e5df65d0bde 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/productPolicy.ts @@ -282,7 +282,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyGetEntityTagHeaders } }, serializer @@ -311,7 +312,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.ProductPolicyGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ProductPolicyGetHeaders } }, serializer @@ -351,7 +353,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/quotaByCounterKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts index e4976fa216f6..a5a22b261fda 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts @@ -85,7 +85,7 @@ export class QuotaByCounterKeys { * @param [options] The optional parameters * @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 +96,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 +108,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, @@ -169,7 +169,7 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.QuotaCounterValueContractProperties, + ...Mappers.QuotaCounterValueUpdateContract, required: true } }, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts index c7bf3dfa545a..4d565f367607 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts @@ -89,7 +89,7 @@ export class QuotaByPeriodKeys { * @param [options] The optional parameters * @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 +101,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 +114,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, @@ -178,7 +178,7 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.QuotaCounterValueContractProperties, + ...Mappers.QuotaCounterValueUpdateContract, required: true } }, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts b/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts index dd971ea317b3..a056a8199786 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/signInSettings.ts @@ -191,7 +191,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignInSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignInSettingsGetEntityTagHeaders } }, serializer @@ -217,7 +218,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..9ea9865981ad 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/signUpSettings.ts @@ -191,7 +191,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SignUpSettingsGetEntityTagHeaders } }, serializer @@ -217,7 +218,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..ef1e7813b607 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts @@ -472,7 +472,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionGetEntityTagHeaders } }, serializer @@ -499,7 +500,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionGetHeaders } }, serializer @@ -516,7 +518,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch0, @@ -539,7 +542,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.SubscriptionCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.SubscriptionCreateOrUpdateHeaders } }, serializer @@ -556,7 +560,8 @@ const updateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch1, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts index 78a9e2742d66..8031870de245 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts @@ -1095,7 +1095,8 @@ const getEntityStateByOperationOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByOperationHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByOperationHeaders } }, serializer @@ -1124,7 +1125,8 @@ const getByOperationOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByOperationHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByOperationHeaders } }, serializer @@ -1238,7 +1240,8 @@ const getEntityStateByApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByApiHeaders } }, serializer @@ -1266,7 +1269,8 @@ const getByApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByApiHeaders } }, serializer @@ -1298,7 +1302,8 @@ const assignToApiOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagAssignToApiHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagAssignToApiHeaders } }, serializer @@ -1380,7 +1385,8 @@ const getEntityStateByProductOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateByProductHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateByProductHeaders } }, serializer @@ -1408,7 +1414,8 @@ const getByProductOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetByProductHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetByProductHeaders } }, serializer @@ -1519,7 +1526,8 @@ const getEntityStateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetEntityStateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetEntityStateHeaders } }, serializer @@ -1546,7 +1554,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagGetHeaders } }, serializer @@ -1585,7 +1594,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TagCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TagCreateOrUpdateHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts index c18facbb8662..1401b0dfa498 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts @@ -252,7 +252,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetEntityTagHeaders } }, serializer @@ -279,7 +280,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGetHeaders } }, serializer @@ -386,7 +388,8 @@ const listSecretsOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessListSecretsHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts index 3a031c37eb46..768186ddca3c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccessGit.ts @@ -178,7 +178,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGitGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGitGetHeaders } }, serializer @@ -253,7 +254,8 @@ const listSecretsOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.TenantAccessGitListSecretsHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.TenantAccessGitListSecretsHeaders } }, serializer diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts index 43a8c279ccc7..a66666c0f80e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts @@ -417,7 +417,8 @@ const getEntityTagOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserGetEntityTagHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserGetEntityTagHeaders } }, serializer @@ -444,7 +445,8 @@ const getOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserGetHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserGetHeaders } }, serializer @@ -460,6 +462,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.notify, Parameters.apiVersion ], headerParameters: [ @@ -483,7 +486,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.UserCreateOrUpdateHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.UserCreateOrUpdateHeaders } }, serializer @@ -533,7 +537,8 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteSubscriptions, Parameters.notify, - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.ifMatch1, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts b/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts index d9e3dbdaf146..a119f7abbd34 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/userConfirmationPassword.ts @@ -9,6 +9,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 +34,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 +49,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 +75,8 @@ const sendOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion, + Parameters.appType ], headerParameters: [ Parameters.acceptLanguage From 44a932533d0ef3c0e02f42893224ff10ceb26472 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sun, 30 Aug 2020 22:26:20 +0000 Subject: [PATCH 2/2] Generated from f1a724e5470640ad6110a67ac494fe8dc3322b7e fix azureMonitor enum --- .../src/apiManagementClient.ts | 4 + .../src/apiManagementClientContext.ts | 2 +- .../src/models/apiDiagnosticMappers.ts | 1 + .../src/models/apiIssueMappers.ts | 1 + .../src/models/apiMappers.ts | 1 + .../src/models/apiOperationMappers.ts | 1 + .../src/models/apiReleaseMappers.ts | 1 + .../src/models/apiVersionSetMappers.ts | 1 + .../src/models/authorizationServerMappers.ts | 4 +- .../src/models/backendMappers.ts | 1 + .../src/models/cacheMappers.ts | 1 + .../models/contentTypeContentItemMappers.ts | 100 + .../src/models/contentTypeMappers.ts | 99 + .../src/models/diagnosticMappers.ts | 1 + .../src/models/emailTemplateMappers.ts | 1 + .../src/models/gatewayMappers.ts | 1 + .../src/models/groupMappers.ts | 1 + .../src/models/identityProviderMappers.ts | 2 + .../arm-apimanagement/src/models/index.ts | 3140 ++++++++++++----- .../src/models/loggerMappers.ts | 1 + .../arm-apimanagement/src/models/mappers.ts | 1274 +++++-- .../src/models/namedValueMappers.ts | 3 +- .../models/openIdConnectProviderMappers.ts | 2 + .../src/models/parameters.ts | 28 + .../src/models/productMappers.ts | 1 + .../src/models/subscriptionMappers.ts | 2 + .../src/models/tagMappers.ts | 1 + .../src/models/tenantAccessMappers.ts | 3 +- .../src/models/userMappers.ts | 1 + .../arm-apimanagement/src/operations/api.ts | 20 +- .../src/operations/apiDiagnostic.ts | 20 +- .../src/operations/apiIssue.ts | 20 +- .../src/operations/apiOperation.ts | 20 +- .../src/operations/apiRelease.ts | 20 +- .../src/operations/apiVersionSet.ts | 20 +- .../src/operations/authorizationServer.ts | 32 +- .../src/operations/backend.ts | 20 +- .../arm-apimanagement/src/operations/cache.ts | 20 +- .../src/operations/contentType.ts | 338 ++ .../src/operations/contentTypeContentItem.ts | 426 +++ .../src/operations/diagnostic.ts | 20 +- .../src/operations/emailTemplate.ts | 34 +- .../src/operations/gateway.ts | 21 +- .../src/operations/gatewayApi.ts | 1 + .../gatewayHostnameConfiguration.ts | 26 +- .../arm-apimanagement/src/operations/group.ts | 20 +- .../src/operations/identityProvider.ts | 26 +- .../arm-apimanagement/src/operations/index.ts | 2 + .../src/operations/logger.ts | 27 +- .../src/operations/namedValue.ts | 35 +- .../src/operations/openIdConnectProvider.ts | 28 +- .../src/operations/product.ts | 20 +- .../src/operations/quotaByCounterKeys.ts | 16 +- .../src/operations/quotaByPeriodKeys.ts | 16 +- .../src/operations/subscription.ts | 28 +- .../arm-apimanagement/src/operations/tag.ts | 20 +- .../src/operations/tenantAccess.ts | 20 +- .../arm-apimanagement/src/operations/user.ts | 20 +- 58 files changed, 4455 insertions(+), 1560 deletions(-) create mode 100644 sdk/apimanagement/arm-apimanagement/src/models/contentTypeContentItemMappers.ts create mode 100644 sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts create mode 100644 sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts create mode 100644 sdk/apimanagement/arm-apimanagement/src/operations/contentTypeContentItem.ts diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts index 3a8572c21030..ac0b8576b9a2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts @@ -37,6 +37,8 @@ class ApiManagementClient extends ApiManagementClientContext { backend: operations.Backend; cache: operations.Cache; certificate: operations.Certificate; + contentType: operations.ContentType; + contentTypeContentItem: operations.ContentTypeContentItem; apiManagementOperations: operations.ApiManagementOperations; apiManagementServiceSkus: operations.ApiManagementServiceSkus; apiManagementService: operations.ApiManagementService; @@ -111,6 +113,8 @@ 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.contentTypeContentItem = new operations.ContentTypeContentItem(this); this.apiManagementOperations = new operations.ApiManagementOperations(this); this.apiManagementServiceSkus = new operations.ApiManagementServiceSkus(this); this.apiManagementService = new operations.ApiManagementService(this); diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index a0b30c5faf24..c9e938236036 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -45,7 +45,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 cb1183adab8f..911eae644b15 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -12,6 +12,7 @@ export { ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, + ApiDiagnosticUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index 340867a06f52..07d5aa11cfb2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -12,6 +12,7 @@ export { ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, + ApiIssueUpdateHeaders, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 28be2751f44c..21c5450f19f7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -25,6 +25,7 @@ export { ApiReleaseContract, ApiTagResourceContractProperties, ApiUpdateContract, + ApiUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index 4502f81c5733..f47c137b9de2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -17,6 +17,7 @@ export { ApiOperationCreateOrUpdateHeaders, ApiOperationGetEntityTagHeaders, ApiOperationGetHeaders, + ApiOperationUpdateHeaders, ApiReleaseContract, ApiVersionConstraint, ApiVersionSetContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index f8183861d97b..ceb043d0d742 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -19,6 +19,7 @@ export { ApiReleaseCreateOrUpdateHeaders, ApiReleaseGetEntityTagHeaders, ApiReleaseGetHeaders, + ApiReleaseUpdateHeaders, ApiVersionConstraint, ApiVersionSetContract, ApiVersionSetContractDetails, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index 71f6c452efe8..7568bdd9492e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -22,6 +22,7 @@ export { ApiVersionSetCreateOrUpdateHeaders, ApiVersionSetGetEntityTagHeaders, ApiVersionSetGetHeaders, + ApiVersionSetUpdateHeaders, ApiVersionSetUpdateParameters, AssociationContract, AuthenticationSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index 1de536773f54..fdd684652d5f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -25,7 +25,10 @@ export { AuthorizationServerCreateOrUpdateHeaders, AuthorizationServerGetEntityTagHeaders, AuthorizationServerGetHeaders, + AuthorizationServerListSecretsHeaders, + AuthorizationServerSecretsContract, AuthorizationServerUpdateContract, + AuthorizationServerUpdateHeaders, BackendAuthorizationHeaderCredentials, BackendContract, BackendCredentialsContract, @@ -40,7 +43,6 @@ export { CertificateConfiguration, CertificateContract, CertificateInformation, - ClientSecretContract, ContentItemContract, ContentTypeContract, DiagnosticContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 9a83d94ac4d0..c1bad7ef206b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -34,6 +34,7 @@ export { BackendReconnectContract, BackendServiceFabricClusterProperties, BackendTlsProperties, + BackendUpdateHeaders, BackendUpdateParameters, BaseResource, BodyDiagnosticSettings, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index 65fe4928331b..1be012412cb6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -37,6 +37,7 @@ export { CacheCreateOrUpdateHeaders, CacheGetEntityTagHeaders, CacheGetHeaders, + CacheUpdateHeaders, CacheUpdateParameters, CertificateConfiguration, CertificateContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeContentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeContentItemMappers.ts new file mode 100644 index 000000000000..c00b73318369 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeContentItemMappers.ts @@ -0,0 +1,100 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemCollection, + ContentItemContract, + ContentTypeContentItemCreateOrUpdateHeaders, + ContentTypeContentItemGetEntityTagHeaders, + ContentTypeContentItemGetHeaders, + ContentTypeContract, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts new file mode 100644 index 000000000000..789a2b7000a1 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -0,0 +1,99 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdditionalLocation, + ApiContract, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeCollection, + ContentTypeContract, + ContentTypeCreateOrUpdateHeaders, + ContentTypeGetHeaders, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, + ErrorFieldContract, + ErrorResponse, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName +} from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 69709c37b59e..c15d1b376c56 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -43,6 +43,7 @@ export { DiagnosticCreateOrUpdateHeaders, DiagnosticGetEntityTagHeaders, DiagnosticGetHeaders, + DiagnosticUpdateHeaders, EmailTemplateContract, EmailTemplateParametersContractProperties, ErrorFieldContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index 6798ca5d8674..0378b14edf0e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -44,6 +44,7 @@ export { EmailTemplateGetEntityTagHeaders, EmailTemplateGetHeaders, EmailTemplateParametersContractProperties, + EmailTemplateUpdateHeaders, EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index f6d795e8a22e..ecc0b558cf11 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -54,6 +54,7 @@ export { GatewayListKeysHeaders, GatewayTokenContract, GatewayTokenRequestContract, + GatewayUpdateHeaders, GroupContract, GroupContractProperties, HostnameConfiguration, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index 12905c2477db..e73dbff6c9f3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -52,6 +52,7 @@ export { GroupCreateParameters, GroupGetEntityTagHeaders, GroupGetHeaders, + GroupUpdateHeaders, GroupUpdateParameters, HostnameConfiguration, HttpMessageDiagnostic, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 8ac9ba7bdb3a..4e331958ec0b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -56,6 +56,8 @@ export { IdentityProviderGetEntityTagHeaders, IdentityProviderGetHeaders, IdentityProviderList, + IdentityProviderListSecretsHeaders, + IdentityProviderUpdateHeaders, IdentityProviderUpdateParameters, IssueAttachmentContract, IssueCommentContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 50c371c5e491..0958818e096a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -163,13 +163,13 @@ export interface ProductEntityBaseParameters { * automatically enabling developers to call the product’s APIs immediately after subscribing. If * true, administrators must manually approve the subscription before the developer can any of * the product’s APIs. Can be present only if subscriptionRequired property is present and has a - * value of true. + * value of false. */ approvalRequired?: boolean; /** * Whether the number of subscriptions a user can have to this product at the same time. Set to * null or omit to allow unlimited per user subscriptions. Can be present only if - * subscriptionRequired property is present and has a value of true. + * subscriptionRequired property is present and has a value of false. */ subscriptionsLimit?: number; /** @@ -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,15 @@ 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; } /** @@ -839,13 +839,13 @@ export interface ProductContract extends Resource { * automatically enabling developers to call the product’s APIs immediately after subscribing. If * true, administrators must manually approve the subscription before the developer can any of * the product’s APIs. Can be present only if subscriptionRequired property is present and has a - * value of true. + * value of false. */ approvalRequired?: boolean; /** * Whether the number of subscriptions a user can have to this product at the same time. Set to * null or omit to allow unlimited per user subscriptions. Can be present only if - * subscriptionRequired property is present and has a value of true. + * subscriptionRequired property is present and has a value of false. */ subscriptionsLimit?: number; /** @@ -990,9 +990,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 +1016,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 +1056,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 +1143,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 +1196,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 +1213,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 +1278,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 +1290,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 +1420,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 +1439,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 +1467,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 +1567,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 +1620,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 +1648,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 +1701,24 @@ export interface AuthorizationServerContract extends Resource { /** * User-friendly authorization server name. */ - displayName: string; + displayName?: string; /** * Optional reference to a page where client or app registration for this authorization server is * performed. Contains absolute URL to entity being referenced. */ - clientRegistrationEndpoint: string; + clientRegistrationEndpoint?: string; /** * OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2. */ - authorizationEndpoint: string; + authorizationEndpoint?: string; /** * Form of an authorization grant, which the client uses to request the access token. */ - grantTypes: GrantType[]; + grantTypes?: GrantType[]; /** * Client or app id registered with this authorization server. */ - clientId: string; + clientId?: string; /** * Client or app secret registered with this authorization server. This property will not be * filled on 'GET' operations! Use '/listSecrets' POST request to get the value. @@ -1884,9 +1894,9 @@ export interface BackendBaseParameters { } /** - * Backend update parameters. + * Backend details. */ -export interface BackendUpdateParameters { +export interface BackendContract extends Resource { /** * Backend Title. */ @@ -1919,17 +1929,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 +1972,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 +1990,7 @@ export interface CacheUpdateParameters { /** * Runtime connection string to cache */ - connectionString?: string; + connectionString: string; /** * Original uri of entity in external system cache points to */ @@ -1988,9 +1998,9 @@ export interface CacheUpdateParameters { } /** - * Cache details. + * Cache update details. */ -export interface CacheContract extends Resource { +export interface CacheUpdateParameters { /** * Cache description */ @@ -1998,7 +2008,7 @@ export interface CacheContract extends Resource { /** * Runtime connection string to cache */ - connectionString: string; + connectionString?: string; /** * Original uri of entity in external system cache points to */ @@ -2035,7 +2045,43 @@ export interface CertificateCreateOrUpdateParameters { /** * Password for the Certificate */ - password: string; + password?: string; +} + +/** + * Content type contract details. + */ +export interface ContentItemContract extends Resource { + /** + * Properties of the content item. + */ + properties?: { [propertyName: string]: any }; +} + +/** + * Content type contract details. + */ +export interface ContentTypeContract extends Resource { + /** + * Content type identifier + */ + contentTypeContractId?: string; + /** + * Content type name. Must be 1 to 250 characters long. + */ + contentTypeContractName?: string; + /** + * Content type description. + */ + description?: string; + /** + * Content type schema. + */ + schema?: any; + /** + * Content type version. + */ + version?: string; } /** @@ -2233,6 +2279,10 @@ 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. @@ -2673,6 +2723,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[]; } /** @@ -2960,13 +3014,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 +3034,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 +3045,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 +3061,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 +3096,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 +3303,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; /** - * Group type. Possible values include: 'custom', 'system', 'external' + * 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.** */ - type?: GroupType; + readonly builtIn?: boolean; /** - * 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. + * Group type. Possible values include: 'custom', 'system', 'external' */ - externalId?: string; -} + groupContractType?: 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. + */ + 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 +3380,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 +3430,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 +3470,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 +3521,11 @@ export interface IdentityProviderContract extends Resource { * Client Id of the Application in the external Identity Provider. It is App ID for Facebook * login, Client ID for Google login, App ID for Microsoft. */ - clientId: string; + clientId?: string; /** * Client secret of the Application in external Identity Provider, used to authenticate login * request. For example, it is App Secret for Facebook login, API Key for Google login, Public - * Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' - * POST request to get the value. + * Key for Microsoft. */ clientSecret?: string; } @@ -3506,59 +3582,59 @@ export interface IdentityProviderCreateContract extends Resource { } /** - * Logger update contract. + * Logger details. */ -export interface LoggerUpdateContract { +export interface LoggerContract extends Resource { /** - * Logger type. Possible values include: 'azureEventHub', 'applicationInsights' + * Logger type. Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' */ - loggerType?: LoggerType; + loggerType: LoggerType; /** * Logger description. */ description?: string; /** - * Logger credentials. + * The name and SendRule connection string of the event hub for azureEventHub logger. + * Instrumentation key for applicationInsights logger. */ credentials?: { [propertyName: string]: string }; /** * Whether records are buffered in the logger before publishing. Default is assumed to be true. */ isBuffered?: boolean; + /** + * Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application + * Insights resource). + */ + resourceId?: string; } /** - * Logger details. + * Logger update contract. */ -export interface LoggerContract extends Resource { +export interface LoggerUpdateContract { /** - * Logger type. Possible values include: 'azureEventHub', 'applicationInsights' + * Logger type. Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' */ - loggerType: LoggerType; + loggerType?: LoggerType; /** * Logger description. */ description?: string; /** - * The name and SendRule connection string of the event hub for azureEventHub logger. - * Instrumentation key for applicationInsights logger. + * Logger credentials. */ - credentials: { [propertyName: string]: string }; + credentials?: { [propertyName: string]: string }; /** * Whether records are buffered in the logger before publishing. Default is assumed to be true. */ isBuffered?: boolean; - /** - * Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application - * Insights resource). - */ - resourceId?: string; } /** * Client or app secret used in IdentityProviders, Aad, OpenID or OAuth. */ -export interface PropertyValueContract { +export interface NamedValueSecretContract { /** * This is secret value of the NamedValue entity. */ @@ -3799,13 +3875,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 +3889,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 +3901,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 +3915,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. */ @@ -4083,13 +4159,13 @@ export interface ProductUpdateParameters { * automatically enabling developers to call the product’s APIs immediately after subscribing. If * true, administrators must manually approve the subscription before the developer can any of * the product’s APIs. Can be present only if subscriptionRequired property is present and has a - * value of true. + * value of false. */ approvalRequired?: boolean; /** * Whether the number of subscriptions a user can have to this product at the same time. Set to * null or omit to allow unlimited per user subscriptions. Can be present only if - * subscriptionRequired property is present and has a value of true. + * subscriptionRequired property is present and has a value of false. */ subscriptionsLimit?: number; /** @@ -4118,20 +4194,6 @@ export interface QuotaCounterValueContractProperties { kbTransferred?: number; } -/** - * Quota counter value details. - */ -export interface QuotaCounterValueUpdateContract { - /** - * Number of times Counter was called. - */ - callsCount?: number; - /** - * Data Transferred in KiloBytes. - */ - kbTransferred?: number; -} - /** * Quota counter details. */ @@ -4160,6 +4222,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. */ @@ -4810,87 +4886,19 @@ export interface QuotaCounterValueContract { kbTransferred?: number; } -/** - * Content type contract details. - */ -export interface ContentTypeContract extends Resource { - /** - * Content type identifier - */ - contentTypeContractId?: string; - /** - * Content type name. Must be 1 to 250 characters long. - */ - contentTypeContractName?: string; - /** - * Content type description. - */ - description?: string; - /** - * Content type schema. - */ - schema?: any; - /** - * Content type version. - */ - version?: string; -} - -/** - * Paged list of content types. - */ -export interface ContentTypeCollection { - /** - * Collection of content types. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly value?: ContentTypeContract[]; - /** - * Next page link, if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - -/** - * Content type contract details. - */ -export interface ContentItemContract extends Resource { - /** - * Properties of the content item. - */ - properties?: { [propertyName: string]: any }; -} - -/** - * Paged list of content items. - */ -export interface ContentItemCollection { - /** - * Collection of content items. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly value?: ContentItemContract[]; - /** - * Next page link, if any. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - /** * Optional Parameters. */ 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; /** @@ -4937,16 +4945,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; /** @@ -4979,9 +4986,9 @@ export interface ApiBeginCreateOrUpdateOptionalParams extends msRest.RequestOpti */ 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 |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -4999,9 +5006,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; /** @@ -5030,14 +5037,14 @@ export interface ApiReleaseCreateOrUpdateOptionalParams extends msRest.RequestOp */ 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; /** @@ -5091,10 +5098,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; /** @@ -5112,10 +5119,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; /** @@ -5133,10 +5140,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; /** @@ -5154,10 +5161,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; /** @@ -5190,9 +5197,9 @@ export interface TagCreateOrUpdateOptionalParams extends msRest.RequestOptionsBa */ export interface ApiProductListByApisOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5231,9 +5238,9 @@ export interface ApiPolicyCreateOrUpdateOptionalParams extends msRest.RequestOpt */ export interface ApiSchemaListByApiOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| contentType | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5283,9 +5290,9 @@ export interface ApiSchemaBeginCreateOrUpdateOptionalParams extends msRest.Reque */ export interface ApiDiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5314,11 +5321,11 @@ export interface ApiDiagnosticCreateOrUpdateOptionalParams extends msRest.Reques */ export interface ApiIssueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq - * | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | filter | eq | + * |
*/ filter?: string; /** @@ -5361,10 +5368,10 @@ export interface ApiIssueCreateOrUpdateOptionalParams extends msRest.RequestOpti */ export interface ApiIssueCommentListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5393,10 +5400,10 @@ export interface ApiIssueCommentCreateOrUpdateOptionalParams extends msRest.Requ */ export interface ApiIssueAttachmentListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, - * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| userId | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5425,10 +5432,10 @@ export interface ApiIssueAttachmentCreateOrUpdateOptionalParams extends msRest.R */ export interface ApiTagDescriptionListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| name | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5457,15 +5464,15 @@ export interface ApiTagDescriptionCreateOrUpdateOptionalParams extends msRest.Re */ 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 |
| 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 |
| 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; /** @@ -5487,7 +5494,7 @@ export interface OperationListByTagsOptionalParams extends msRest.RequestOptions */ export interface ApiVersionSetListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
*/ filter?: string; @@ -5517,10 +5524,10 @@ export interface ApiVersionSetCreateOrUpdateOptionalParams extends msRest.Reques */ export interface AuthorizationServerListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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; /** @@ -5549,11 +5556,11 @@ export interface AuthorizationServerCreateOrUpdateOptionalParams extends msRest. */ 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 |
| 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 |
| 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; /** @@ -5617,12 +5624,12 @@ export interface CacheCreateOrUpdateOptionalParams extends msRest.RequestOptions */ export interface CertificateListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 |
| 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; /** @@ -5646,6 +5653,28 @@ export interface CertificateCreateOrUpdateOptionalParams extends msRest.RequestO ifMatch?: string; } +/** + * Optional Parameters. + */ +export interface ContentTypeCreateOrUpdateOptionalParams 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 ContentTypeContentItemCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the Entity. Not required when creating an entity, but required when updating an + * entity. + */ + ifMatch?: string; +} + /** * Optional Parameters. */ @@ -5675,9 +5704,9 @@ export interface ApiManagementServiceBeginApplyNetworkConfigurationUpdatesOption */ export interface DiagnosticListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5706,9 +5735,9 @@ export interface DiagnosticCreateOrUpdateOptionalParams extends msRest.RequestOp */ export interface EmailTemplateListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -5736,6 +5765,14 @@ export interface EmailTemplateCreateOrUpdateOptionalParams extends msRest.Reques * Optional Parameters. */ export interface GatewayListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| region | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -5761,6 +5798,13 @@ export interface GatewayCreateOrUpdateOptionalParams extends msRest.RequestOptio * Optional Parameters. */ export interface GatewayHostnameConfigurationListByServiceOptionalParams extends msRest.RequestOptionsBase { + /** + * | Field | Usage | Supported operators | Supported functions + * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, + * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| hostname | filter | ge, + * le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ */ + filter?: string; /** * Number of records to return. */ @@ -5771,10 +5815,27 @@ export interface GatewayHostnameConfigurationListByServiceOptionalParams extends skip?: number; } +/** + * Optional Parameters. + */ +export interface GatewayHostnameConfigurationCreateOrUpdateOptionalParams 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 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. */ @@ -5797,12 +5858,12 @@ export interface GatewayApiCreateOrUpdateOptionalParams extends msRest.RequestOp */ export interface GroupListByServiceOptionalParams 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 |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| + * externalId | filter | eq | |
*/ filter?: string; /** @@ -5831,14 +5892,14 @@ export interface GroupCreateOrUpdateOptionalParams extends msRest.RequestOptions */ export interface GroupUserListOptionalParams 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 |
| 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; /** @@ -5867,14 +5928,14 @@ export interface IdentityProviderCreateOrUpdateOptionalParams extends msRest.Req */ export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 |
| 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; /** @@ -5892,12 +5953,12 @@ export interface IssueListByServiceOptionalParams extends msRest.RequestOptionsB */ 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 |
| description | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| loggerType | - * filter | eq | |
| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, - * contains, startswith, endswith |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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; /** @@ -5921,25 +5982,15 @@ export interface LoggerCreateOrUpdateOptionalParams extends msRest.RequestOption ifMatch?: string; } -/** - * 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 + * | 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 |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all |
| displayName | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6004,10 +6055,10 @@ export interface NotificationCreateOrUpdateOptionalParams extends msRest.Request */ export interface OpenIdConnectProviderListByServiceOptionalParams 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; /** @@ -6100,13 +6151,13 @@ export interface DelegationSettingsCreateOrUpdateOptionalParams extends msRest.R */ export interface ProductListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | - * filter | eq | |
| groups | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | |
| groups | expand | | |
*/ filter?: string; /** @@ -6154,13 +6205,13 @@ export interface ProductDeleteMethodOptionalParams extends msRest.RequestOptions */ export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| terms | + * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| state | + * filter | eq | substringof, contains, startswith, endswith |
*/ filter?: string; /** @@ -6182,14 +6233,14 @@ export interface ProductListByTagsOptionalParams extends msRest.RequestOptionsBa */ export interface ProductApiListByProductOptionalParams 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 + * |
*/ filter?: string; /** @@ -6207,10 +6258,10 @@ export interface ProductApiListByProductOptionalParams extends msRest.RequestOpt */ export interface ProductGroupListByProductOptionalParams 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 | |
| displayName | filter | eq, ne | |
| description | filter + * | eq, ne | |
*/ filter?: string; /** @@ -6228,16 +6279,16 @@ export interface ProductGroupListByProductOptionalParams extends msRest.RequestO */ export interface ProductSubscriptionsListOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
| state | filter | eq | |
| user | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 | | |
*/ filter?: string; /** @@ -6412,16 +6463,16 @@ export interface ReportsListByRequestOptionalParams extends msRest.RequestOption */ export interface SubscriptionListOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | Field | Usage | Supported operators | Supported functions * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
| state | filter | eq | |
| user | expand | | |
+ * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | + * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| 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 | | |
*/ filter?: string; /** @@ -6480,21 +6531,21 @@ export interface SubscriptionUpdateOptionalParams extends msRest.RequestOptionsB */ export interface TagResourceListByServiceOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions + * | 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 | |
+ * 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 | + * |
*/ filter?: string; /** @@ -6512,15 +6563,15 @@ export interface TagResourceListByServiceOptionalParams extends msRest.RequestOp */ export interface UserListByServiceOptionalParams 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 |
| 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 | | |
*/ filter?: string; /** @@ -6577,11 +6628,12 @@ export interface UserDeleteMethodOptionalParams extends msRest.RequestOptionsBas */ export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| description | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
+ * | Field | Usage | Supported operators | Supported functions + * |
|-------------|------------------------|-----------------------------------|
| 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 |
*/ filter?: string; /** @@ -6599,16 +6651,16 @@ export interface UserGroupListOptionalParams extends msRest.RequestOptionsBase { */ export interface UserSubscriptionListOptionalParams extends msRest.RequestOptionsBase { /** - * | Field | Usage | Supported operators | Supported functions - * |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, - * eq, ne, gt, lt | substringof, contains, startswith, endswith |
| displayName | filter | - * ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| stateComment | - * filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| ownerId - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| scope - * | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| - * userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | - *
| productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, - * endswith |
+ * | 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; /** @@ -6674,7 +6726,18 @@ export interface ApiCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. + */ +export interface ApiUpdateHeaders { + /** + * 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 ApiReleaseGetEntityTagHeaders { /** @@ -6706,6 +6769,17 @@ export interface ApiReleaseCreateOrUpdateHeaders { eTag: string; } +/** + * Defines headers for Update operation. + */ +export interface ApiReleaseUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * Defines headers for GetEntityTag operation. */ @@ -6739,6 +6813,17 @@ export interface ApiOperationCreateOrUpdateHeaders { 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. + */ + eTag: string; +} + /** * Defines headers for GetEntityTag operation. */ @@ -6893,6 +6978,17 @@ export interface ApiDiagnosticCreateOrUpdateHeaders { eTag: string; } +/** + * Defines headers for Update operation. + */ +export interface ApiDiagnosticUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * Defines headers for GetEntityTag operation. */ @@ -6926,6 +7022,17 @@ export interface ApiIssueCreateOrUpdateHeaders { eTag: string; } +/** + * Defines headers for Update operation. + */ +export interface ApiIssueUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * Defines headers for GetEntityTag operation. */ @@ -7091,6 +7198,17 @@ export interface ApiVersionSetCreateOrUpdateHeaders { eTag: string; } +/** + * Defines headers for Update operation. + */ +export interface ApiVersionSetUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * Defines headers for GetEntityTag operation. */ @@ -7125,9 +7243,9 @@ export interface AuthorizationServerCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface BackendGetEntityTagHeaders { +export interface AuthorizationServerUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7136,9 +7254,9 @@ export interface BackendGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for ListSecrets operation. */ -export interface BackendGetHeaders { +export interface AuthorizationServerListSecretsHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7147,9 +7265,9 @@ export interface BackendGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for GetEntityTag operation. */ -export interface BackendCreateOrUpdateHeaders { +export interface BackendGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7158,9 +7276,9 @@ export interface BackendCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface CacheGetEntityTagHeaders { +export interface BackendGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7169,9 +7287,9 @@ export interface CacheGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for CreateOrUpdate operation. */ -export interface CacheGetHeaders { +export interface BackendCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7180,9 +7298,9 @@ export interface CacheGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Update operation. */ -export interface CacheCreateOrUpdateHeaders { +export interface BackendUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7193,7 +7311,7 @@ export interface CacheCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface CertificateGetEntityTagHeaders { +export interface CacheGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7204,7 +7322,7 @@ export interface CertificateGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface CertificateGetHeaders { +export interface CacheGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7215,7 +7333,7 @@ export interface CertificateGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface CertificateCreateOrUpdateHeaders { +export interface CacheCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7224,9 +7342,9 @@ export interface CertificateCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface DiagnosticGetEntityTagHeaders { +export interface CacheUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7235,9 +7353,9 @@ export interface DiagnosticGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface DiagnosticGetHeaders { +export interface CertificateGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7246,9 +7364,9 @@ export interface DiagnosticGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface DiagnosticCreateOrUpdateHeaders { +export interface CertificateGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7257,9 +7375,9 @@ export interface DiagnosticCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface EmailTemplateGetEntityTagHeaders { +export interface CertificateCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7270,7 +7388,7 @@ export interface EmailTemplateGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface EmailTemplateGetHeaders { +export interface ContentTypeGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7279,9 +7397,9 @@ export interface EmailTemplateGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface GatewayGetEntityTagHeaders { +export interface ContentTypeCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7290,9 +7408,9 @@ export interface GatewayGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface GatewayGetHeaders { +export interface ContentTypeContentItemGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7301,9 +7419,9 @@ export interface GatewayGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface GatewayCreateOrUpdateHeaders { +export interface ContentTypeContentItemGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7312,9 +7430,9 @@ export interface GatewayCreateOrUpdateHeaders { } /** - * Defines headers for ListKeys operation. + * Defines headers for CreateOrUpdate operation. */ -export interface GatewayListKeysHeaders { +export interface ContentTypeContentItemCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7325,7 +7443,7 @@ export interface GatewayListKeysHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface GatewayHostnameConfigurationGetEntityTagHeaders { +export interface DiagnosticGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7336,7 +7454,7 @@ export interface GatewayHostnameConfigurationGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface GatewayHostnameConfigurationGetHeaders { +export interface DiagnosticGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7347,7 +7465,7 @@ export interface GatewayHostnameConfigurationGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { +export interface DiagnosticCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7356,9 +7474,9 @@ export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface GatewayApiGetEntityTagHeaders { +export interface DiagnosticUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7369,7 +7487,7 @@ export interface GatewayApiGetEntityTagHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface GroupGetEntityTagHeaders { +export interface EmailTemplateGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7380,7 +7498,7 @@ export interface GroupGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface GroupGetHeaders { +export interface EmailTemplateGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7389,9 +7507,9 @@ export interface GroupGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Update operation. */ -export interface GroupCreateOrUpdateHeaders { +export interface EmailTemplateUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7402,7 +7520,7 @@ export interface GroupCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface IdentityProviderGetEntityTagHeaders { +export interface GatewayGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7413,7 +7531,7 @@ export interface IdentityProviderGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface IdentityProviderGetHeaders { +export interface GatewayGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7424,7 +7542,7 @@ export interface IdentityProviderGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface IdentityProviderCreateOrUpdateHeaders { +export interface GatewayCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7433,9 +7551,20 @@ export interface IdentityProviderCreateOrUpdateHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface IssueGetHeaders { +export interface GatewayUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for ListKeys operation. + */ +export interface GatewayListKeysHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7446,7 +7575,7 @@ export interface IssueGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface LoggerGetEntityTagHeaders { +export interface GatewayHostnameConfigurationGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7457,7 +7586,7 @@ export interface LoggerGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface LoggerGetHeaders { +export interface GatewayHostnameConfigurationGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7468,7 +7597,7 @@ export interface LoggerGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface LoggerCreateOrUpdateHeaders { +export interface GatewayHostnameConfigurationCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7479,7 +7608,18 @@ export interface LoggerCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface NamedValueGetEntityTagHeaders { +export interface GatewayApiGetEntityTagHeaders { + /** + * 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 GroupGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7490,7 +7630,7 @@ export interface NamedValueGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface NamedValueGetHeaders { +export interface GroupGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7501,7 +7641,7 @@ export interface NamedValueGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface NamedValueCreateOrUpdateHeaders { +export interface GroupCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7512,7 +7652,7 @@ export interface NamedValueCreateOrUpdateHeaders { /** * Defines headers for Update operation. */ -export interface NamedValueUpdateHeaders { +export interface GroupUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7523,7 +7663,7 @@ export interface NamedValueUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface OpenIdConnectProviderGetEntityTagHeaders { +export interface IdentityProviderGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7534,7 +7674,7 @@ export interface OpenIdConnectProviderGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface OpenIdConnectProviderGetHeaders { +export interface IdentityProviderGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7545,7 +7685,7 @@ export interface OpenIdConnectProviderGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface OpenIdConnectProviderCreateOrUpdateHeaders { +export interface IdentityProviderCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7554,9 +7694,9 @@ export interface OpenIdConnectProviderCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Update operation. */ -export interface PolicyGetEntityTagHeaders { +export interface IdentityProviderUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7565,9 +7705,9 @@ export interface PolicyGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for ListSecrets operation. */ -export interface PolicyGetHeaders { +export interface IdentityProviderListSecretsHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7576,9 +7716,9 @@ export interface PolicyGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for Get operation. */ -export interface PolicyCreateOrUpdateHeaders { +export interface IssueGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7589,7 +7729,7 @@ export interface PolicyCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SignInSettingsGetEntityTagHeaders { +export interface LoggerGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7600,7 +7740,7 @@ export interface SignInSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SignInSettingsGetHeaders { +export interface LoggerGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7609,9 +7749,9 @@ export interface SignInSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface SignUpSettingsGetEntityTagHeaders { +export interface LoggerCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7620,9 +7760,9 @@ export interface SignUpSettingsGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface SignUpSettingsGetHeaders { +export interface LoggerUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7633,7 +7773,7 @@ export interface SignUpSettingsGetHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface DelegationSettingsGetEntityTagHeaders { +export interface NamedValueGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7644,7 +7784,7 @@ export interface DelegationSettingsGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface DelegationSettingsGetHeaders { +export interface NamedValueGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7653,9 +7793,9 @@ export interface DelegationSettingsGetHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for CreateOrUpdate operation. */ -export interface ProductGetEntityTagHeaders { +export interface NamedValueCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7664,9 +7804,9 @@ export interface ProductGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for Update operation. */ -export interface ProductGetHeaders { +export interface NamedValueUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7675,9 +7815,9 @@ export interface ProductGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for ListValue operation. */ -export interface ProductCreateOrUpdateHeaders { +export interface NamedValueListValueHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7688,7 +7828,7 @@ export interface ProductCreateOrUpdateHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface ProductPolicyGetEntityTagHeaders { +export interface OpenIdConnectProviderGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7699,7 +7839,7 @@ export interface ProductPolicyGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface ProductPolicyGetHeaders { +export interface OpenIdConnectProviderGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7710,7 +7850,7 @@ export interface ProductPolicyGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface ProductPolicyCreateOrUpdateHeaders { +export interface OpenIdConnectProviderCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7719,9 +7859,9 @@ export interface ProductPolicyCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityStateByProduct operation. + * Defines headers for Update operation. */ -export interface TagGetEntityStateByProductHeaders { +export interface OpenIdConnectProviderUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7730,9 +7870,9 @@ export interface TagGetEntityStateByProductHeaders { } /** - * Defines headers for GetByProduct operation. + * Defines headers for ListSecrets operation. */ -export interface TagGetByProductHeaders { +export interface OpenIdConnectProviderListSecretsHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7743,7 +7883,7 @@ export interface TagGetByProductHeaders { /** * Defines headers for GetEntityTag operation. */ -export interface SubscriptionGetEntityTagHeaders { +export interface PolicyGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7754,7 +7894,7 @@ export interface SubscriptionGetEntityTagHeaders { /** * Defines headers for Get operation. */ -export interface SubscriptionGetHeaders { +export interface PolicyGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7765,7 +7905,7 @@ export interface SubscriptionGetHeaders { /** * Defines headers for CreateOrUpdate operation. */ -export interface SubscriptionCreateOrUpdateHeaders { +export interface PolicyCreateOrUpdateHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7774,9 +7914,9 @@ export interface SubscriptionCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityState operation. + * Defines headers for GetEntityTag operation. */ -export interface TagGetEntityStateHeaders { +export interface SignInSettingsGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7787,7 +7927,7 @@ export interface TagGetEntityStateHeaders { /** * Defines headers for Get operation. */ -export interface TagGetHeaders { +export interface SignInSettingsGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7796,9 +7936,9 @@ export interface TagGetHeaders { } /** - * Defines headers for CreateOrUpdate operation. + * Defines headers for GetEntityTag operation. */ -export interface TagCreateOrUpdateHeaders { +export interface SignUpSettingsGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7807,9 +7947,9 @@ export interface TagCreateOrUpdateHeaders { } /** - * Defines headers for GetEntityTag operation. + * Defines headers for Get operation. */ -export interface TenantAccessGetEntityTagHeaders { +export interface SignUpSettingsGetHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7818,9 +7958,9 @@ export interface TenantAccessGetEntityTagHeaders { } /** - * Defines headers for Get operation. + * Defines headers for GetEntityTag operation. */ -export interface TenantAccessGetHeaders { +export interface DelegationSettingsGetEntityTagHeaders { /** * Current entity state version. Should be treated as opaque and used to make conditional HTTP * requests. @@ -7829,9 +7969,251 @@ export interface TenantAccessGetHeaders { } /** - * Defines headers for ListSecrets operation. + * Defines headers for Get operation. */ -export interface TenantAccessListSecretsHeaders { +export interface DelegationSettingsGetHeaders { + /** + * 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 ProductGetEntityTagHeaders { + /** + * 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 ProductGetHeaders { + /** + * 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 ProductCreateOrUpdateHeaders { + /** + * 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 ProductUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityTag operation. + */ +export interface ProductPolicyGetEntityTagHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for Get operation. + */ +export interface ProductPolicyGetHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for CreateOrUpdate operation. + */ +export interface ProductPolicyCreateOrUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetEntityStateByProduct operation. + */ +export interface TagGetEntityStateByProductHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for GetByProduct operation. + */ +export interface TagGetByProductHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + +/** + * Defines headers for 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 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. @@ -7894,6 +8276,17 @@ export interface UserCreateOrUpdateHeaders { eTag: string; } +/** + * Defines headers for Update operation. + */ +export interface UserUpdateHeaders { + /** + * Current entity state version. Should be treated as opaque and used to make conditional HTTP + * requests. + */ + eTag: string; +} + /** * @interface * Paged Api list representation. @@ -8124,13 +8517,39 @@ export interface CertificateCollection extends Array { /** * @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 + * Paged list of content types. + * @extends Array */ -export interface OperationListResult extends Array { +export interface ContentTypeCollection extends Array { /** - * URL to get the next set of operation list results if there are any. + * 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 + * 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; } @@ -8619,11 +9038,11 @@ export type IdentityProviderType = 'facebook' | 'google' | 'microsoft' | 'twitte /** * Defines values for LoggerType. - * Possible values include: 'azureEventHub', 'applicationInsights' + * Possible values include: 'azureEventHub', 'applicationInsights', 'azureMonitor' * @readonly * @enum {string} */ -export type LoggerType = 'azureEventHub' | 'applicationInsights'; +export type LoggerType = 'azureEventHub' | 'applicationInsights' | 'azureMonitor'; /** * Defines values for ConnectivityStatusType. @@ -8799,6 +9218,31 @@ export type ApiCreateOrUpdateResponse = ApiContract & ApiCreateOrUpdateHeaders & }; }; +/** + * 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. */ @@ -8945,24 +9389,509 @@ export type ApiReleaseGetResponse = ApiReleaseContract & ApiReleaseGetHeaders & /** * 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; + 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 update operation. + */ +export type ApiOperationUpdateResponse = OperationContract & ApiOperationUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationContract; + }; +}; + +/** + * Contains response data for the listByApiNext operation. + */ +export type ApiOperationListByApiNextResponse = OperationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationCollection; + }; +}; + +/** + * Contains response data for the listByOperation operation. + */ +export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyCollection; + }; +}; + +/** + * Contains response data for the getEntityTag operation. + */ +export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationPolicyGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiOperationPolicyGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyContract; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +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) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PolicyContract; + }; +}; + +/** + * Contains response data for the listByOperation operation. + */ +export type TagListByOperationResponse = TagCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagCollection; + }; +}; + +/** + * Contains response data for the getEntityStateByOperation operation. + */ +export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetEntityStateByOperationHeaders; + }; +}; + +/** + * Contains response data for the getByOperation operation. + */ +export type TagGetByOperationResponse = TagContract & TagGetByOperationHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetByOperationHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; + }; +}; + +/** + * Contains response data for the assignToOperation operation. + */ +export type TagAssignToOperationResponse = TagContract & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; + }; +}; + +/** + * Contains response data for the listByApi operation. + */ +export type TagListByApiResponse = TagCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagCollection; + }; +}; + +/** + * Contains response data for the getEntityStateByApi operation. + */ +export type TagGetEntityStateByApiResponse = TagGetEntityStateByApiHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetEntityStateByApiHeaders; + }; +}; + +/** + * Contains response data for the getByApi operation. + */ +export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetByApiHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; + }; +}; + +/** + * Contains response data for the assignToApi operation. + */ +export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagAssignToApiHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagContract; + }; +}; + +/** + * Contains response data for the listByProduct operation. + */ +export type TagListByProductResponse = TagCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TagCollection; + }; +}; + +/** + * Contains response data for the getEntityStateByProduct operation. + */ +export type TagGetEntityStateByProductResponse = TagGetEntityStateByProductHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagGetEntityStateByProductHeaders; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getByProduct operation. */ -export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCreateOrUpdateHeaders & { +export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The underlying HTTP response. */ @@ -8970,7 +9899,7 @@ export type ApiReleaseCreateOrUpdateResponse = ApiReleaseContract & ApiReleaseCr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiReleaseCreateOrUpdateHeaders; + parsedHeaders: TagGetByProductHeaders; /** * The response body as text (string format) @@ -8980,14 +9909,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 assignToProduct operation. */ -export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { +export type TagAssignToProductResponse = TagContract & { /** * The underlying HTTP response. */ @@ -9000,14 +9929,14 @@ export type ApiReleaseListByServiceNextResponse = ApiReleaseCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiReleaseCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByApi operation. + * Contains response data for the listByService operation. */ -export type ApiOperationListByApiResponse = OperationCollection & { +export type TagListByServiceResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -9020,14 +9949,14 @@ export type ApiOperationListByApiResponse = OperationCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationCollection; + parsedBody: TagCollection; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the getEntityState operation. */ -export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & { +export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { /** * The underlying HTTP response. */ @@ -9035,14 +9964,14 @@ export type ApiOperationGetEntityTagResponse = ApiOperationGetEntityTagHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetEntityTagHeaders; + parsedHeaders: TagGetEntityStateHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders & { +export type TagGetResponse = TagContract & TagGetHeaders & { /** * The underlying HTTP response. */ @@ -9050,7 +9979,7 @@ export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationGetHeaders; + parsedHeaders: TagGetHeaders; /** * The response body as text (string format) @@ -9060,14 +9989,14 @@ export type ApiOperationGetResponse = OperationContract & ApiOperationGetHeaders /** * The response body as parsed JSON or XML */ - parsedBody: OperationContract; + parsedBody: TagContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperationCreateOrUpdateHeaders & { +export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9075,7 +10004,7 @@ export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperatio /** * The parsed HTTP response headers. */ - parsedHeaders: ApiOperationCreateOrUpdateHeaders; + parsedHeaders: TagCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9085,18 +10014,23 @@ export type ApiOperationCreateOrUpdateResponse = OperationContract & ApiOperatio /** * The response body as parsed JSON or XML */ - parsedBody: OperationContract; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByApiNext operation. + * Contains response data for the update operation. */ -export type ApiOperationListByApiNextResponse = OperationCollection & { +export type TagUpdateResponse = TagContract & TagUpdateHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TagUpdateHeaders; + /** * The response body as text (string format) */ @@ -9105,14 +10039,14 @@ export type ApiOperationListByApiNextResponse = OperationCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationCollection; + parsedBody: TagContract; }; }; /** - * Contains response data for the listByOperation operation. + * Contains response data for the listByOperationNext operation. */ -export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { +export type TagListByOperationNextResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -9125,38 +10059,18 @@ export type ApiOperationPolicyListByOperationResponse = PolicyCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyCollection; - }; -}; - -/** - * Contains response data for the getEntityTag operation. - */ -export type ApiOperationPolicyGetEntityTagResponse = ApiOperationPolicyGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyGetEntityTagHeaders; + parsedBody: TagCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByApiNext operation. */ -export type ApiOperationPolicyGetResponse = PolicyContract & ApiOperationPolicyGetHeaders & { +export type TagListByApiNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyGetHeaders; - /** * The response body as text (string format) */ @@ -9165,23 +10079,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 listByProductNext operation. */ -export type ApiOperationPolicyCreateOrUpdateResponse = PolicyContract & ApiOperationPolicyCreateOrUpdateHeaders & { +export type TagListByProductNextResponse = TagCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiOperationPolicyCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -9190,14 +10099,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 listByServiceNext operation. */ -export type TagListByOperationResponse = TagCollection & { +export type TagListByServiceNextResponse = TagCollection & { /** * The underlying HTTP response. */ @@ -9215,33 +10124,13 @@ export type TagListByOperationResponse = TagCollection & { }; /** - * Contains response data for the getEntityStateByOperation operation. - */ -export type TagGetEntityStateByOperationResponse = TagGetEntityStateByOperationHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagGetEntityStateByOperationHeaders; - }; -}; - -/** - * Contains response data for the getByOperation operation. + * 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) */ @@ -9250,14 +10139,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. */ @@ -9270,14 +10159,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. */ @@ -9290,14 +10179,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. */ @@ -9305,14 +10194,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. */ @@ -9320,7 +10209,7 @@ export type TagGetByApiResponse = TagContract & TagGetByApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByApiHeaders; + parsedHeaders: ApiPolicyGetHeaders; /** * The response body as text (string format) @@ -9330,14 +10219,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. */ @@ -9345,7 +10234,7 @@ export type TagAssignToApiResponse = TagContract & TagAssignToApiHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagAssignToApiHeaders; + parsedHeaders: ApiPolicyCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9355,14 +10244,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. */ @@ -9375,14 +10264,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. */ @@ -9390,14 +10279,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. */ @@ -9405,7 +10294,7 @@ export type TagGetByProductResponse = TagContract & TagGetByProductHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: TagGetByProductHeaders; + parsedHeaders: ApiSchemaGetHeaders; /** * The response body as text (string format) @@ -9415,18 +10304,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) */ @@ -9435,14 +10329,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. */ @@ -9455,38 +10349,18 @@ export type TagListByServiceResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; - }; -}; - -/** - * Contains response data for the getEntityState operation. - */ -export type TagGetEntityStateResponse = TagGetEntityStateHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagGetEntityStateHeaders; + parsedBody: SchemaCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByService operation. */ -export type TagGetResponse = TagContract & TagGetHeaders & { +export type ApiDiagnosticListByServiceResponse = DiagnosticCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: TagGetHeaders; - /** * The response body as text (string format) */ @@ -9495,14 +10369,14 @@ export type TagGetResponse = TagContract & TagGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: TagContract; + parsedBody: DiagnosticCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getEntityTag operation. */ -export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & { +export type ApiDiagnosticGetEntityTagResponse = ApiDiagnosticGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -9510,28 +10384,23 @@ export type TagCreateOrUpdateResponse = TagContract & TagCreateOrUpdateHeaders & /** * The parsed HTTP response headers. */ - parsedHeaders: TagCreateOrUpdateHeaders; - - /** - * 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 listByOperationNext operation. + * Contains response data for the get operation. */ -export type TagListByOperationNextResponse = TagCollection & { +export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: ApiDiagnosticGetHeaders; + /** * The response body as text (string format) */ @@ -9540,18 +10409,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 createOrUpdate operation. */ -export type TagListByApiNextResponse = 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) */ @@ -9560,18 +10434,23 @@ 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 update operation. */ -export type TagListByProductNextResponse = 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) */ @@ -9580,14 +10459,14 @@ export type TagListByProductNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: DiagnosticContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type TagListByServiceNextResponse = TagCollection & { +export type ApiDiagnosticListByServiceNextResponse = DiagnosticCollection & { /** * The underlying HTTP response. */ @@ -9600,14 +10479,14 @@ export type TagListByServiceNextResponse = TagCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagCollection; + parsedBody: DiagnosticCollection; }; }; /** - * Contains response data for the listByApis operation. + * Contains response data for the listByService operation. */ -export type ApiProductListByApisResponse = ProductCollection & { +export type ApiIssueListByServiceResponse = IssueCollection & { /** * The underlying HTTP response. */ @@ -9620,38 +10499,38 @@ export type ApiProductListByApisResponse = ProductCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ProductCollection; + parsedBody: IssueCollection; }; }; /** - * Contains response data for the listByApisNext operation. + * Contains response data for the getEntityTag operation. */ -export type ApiProductListByApisNextResponse = 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 listByApi operation. + * Contains response data for the get operation. */ -export type ApiPolicyListByApiResponse = PolicyCollection & { +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) */ @@ -9660,14 +10539,14 @@ export type ApiPolicyListByApiResponse = PolicyCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: PolicyCollection; + parsedBody: IssueContract; }; }; /** - * Contains response data for the getEntityTag operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { +export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -9675,14 +10554,24 @@ export type ApiPolicyGetEntityTagResponse = ApiPolicyGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyGetEntityTagHeaders; + parsedHeaders: ApiIssueCreateOrUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + 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. */ @@ -9690,7 +10579,7 @@ export type ApiPolicyGetResponse = PolicyContract & ApiPolicyGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiPolicyGetHeaders; + parsedHeaders: ApiIssueUpdateHeaders; /** * The response body as text (string format) @@ -9700,23 +10589,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) */ @@ -9725,14 +10609,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. */ @@ -9745,14 +10629,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. */ @@ -9760,14 +10644,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. */ @@ -9775,7 +10659,7 @@ export type ApiSchemaGetResponse = SchemaContract & ApiSchemaGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaGetHeaders; + parsedHeaders: ApiIssueCommentGetHeaders; /** * The response body as text (string format) @@ -9785,14 +10669,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. */ @@ -9800,7 +10684,7 @@ export type ApiSchemaCreateOrUpdateResponse = SchemaContract & ApiSchemaCreateOr /** * The parsed HTTP response headers. */ - parsedHeaders: ApiSchemaCreateOrUpdateHeaders; + parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9810,14 +10694,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. */ @@ -9830,14 +10714,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. */ @@ -9850,14 +10734,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. */ @@ -9865,14 +10749,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. */ @@ -9880,7 +10764,7 @@ export type ApiDiagnosticGetResponse = DiagnosticContract & ApiDiagnosticGetHead /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticGetHeaders; + parsedHeaders: ApiIssueAttachmentGetHeaders; /** * The response body as text (string format) @@ -9890,14 +10774,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. */ @@ -9905,7 +10789,7 @@ export type ApiDiagnosticCreateOrUpdateResponse = DiagnosticContract & ApiDiagno /** * The parsed HTTP response headers. */ - parsedHeaders: ApiDiagnosticCreateOrUpdateHeaders; + parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -9915,14 +10799,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. */ @@ -9935,14 +10819,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. */ @@ -9955,14 +10839,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. */ @@ -9970,14 +10854,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. */ @@ -9985,7 +10869,7 @@ export type ApiIssueGetResponse = IssueContract & ApiIssueGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueGetHeaders; + parsedHeaders: ApiTagDescriptionGetHeaders; /** * The response body as text (string format) @@ -9995,14 +10879,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. */ @@ -10010,7 +10894,7 @@ export type ApiIssueCreateOrUpdateResponse = IssueContract & ApiIssueCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueCreateOrUpdateHeaders; + parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10020,14 +10904,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. */ @@ -10040,14 +10924,14 @@ export type ApiIssueListByServiceNextResponse = IssueCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCollection; + parsedBody: TagDescriptionCollection; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the listByTags operation. */ -export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { +export type OperationListByTagsResponse = TagResourceCollection & { /** * The underlying HTTP response. */ @@ -10060,38 +10944,18 @@ export type ApiIssueCommentListByServiceResponse = IssueCommentCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentCollection; - }; -}; - -/** - * Contains response data for the getEntityTag operation. - */ -export type ApiIssueCommentGetEntityTagResponse = ApiIssueCommentGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiIssueCommentGetEntityTagHeaders; + parsedBody: TagResourceCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByTagsNext operation. */ -export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentGetHeaders & { +export type OperationListByTagsNextResponse = TagResourceCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiIssueCommentGetHeaders; - /** * The response body as text (string format) */ @@ -10100,23 +10964,18 @@ export type ApiIssueCommentGetResponse = IssueCommentContract & ApiIssueCommentG /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentContract; + parsedBody: TagResourceCollection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByService operation. */ -export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIssueCommentCreateOrUpdateHeaders & { +export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: ApiIssueCommentCreateOrUpdateHeaders; - /** * The response body as text (string format) */ @@ -10125,69 +10984,54 @@ export type ApiIssueCommentCreateOrUpdateResponse = IssueCommentContract & ApiIs /** * The response body as parsed JSON or XML */ - parsedBody: IssueCommentContract; + parsedBody: ApiVersionSetCollection; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the getEntityTag operation. */ -export type ApiIssueCommentListByServiceNextResponse = IssueCommentCollection & { +export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML + * The parsed HTTP response headers. */ - parsedBody: IssueCommentCollection; + parsedHeaders: ApiVersionSetGetEntityTagHeaders; }; }; /** - * Contains response data for the listByService operation. + * Contains response data for the get operation. */ -export type ApiIssueAttachmentListByServiceResponse = IssueAttachmentCollection & { +export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** - * The response body as text (string format) + * The parsed HTTP response headers. */ - bodyAsText: string; + parsedHeaders: ApiVersionSetGetHeaders; /** - * The response body as parsed JSON or XML + * The response body as text (string format) */ - parsedBody: IssueAttachmentCollection; - }; -}; + bodyAsText: string; -/** - * Contains response data for the getEntityTag operation. - */ -export type ApiIssueAttachmentGetEntityTagResponse = ApiIssueAttachmentGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The response body as parsed JSON or XML */ - parsedHeaders: ApiIssueAttachmentGetEntityTagHeaders; + parsedBody: ApiVersionSetContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAttachmentGetHeaders & { +export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVersionSetCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10195,7 +11039,7 @@ export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAt /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentGetHeaders; + parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10205,14 +11049,14 @@ export type ApiIssueAttachmentGetResponse = IssueAttachmentContract & ApiIssueAt /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentContract; + parsedBody: ApiVersionSetContract; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & ApiIssueAttachmentCreateOrUpdateHeaders & { +export type ApiVersionSetUpdateResponse = ApiVersionSetContract & ApiVersionSetUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10220,7 +11064,7 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The parsed HTTP response headers. */ - parsedHeaders: ApiIssueAttachmentCreateOrUpdateHeaders; + parsedHeaders: ApiVersionSetUpdateHeaders; /** * The response body as text (string format) @@ -10230,14 +11074,14 @@ export type ApiIssueAttachmentCreateOrUpdateResponse = IssueAttachmentContract & /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentContract; + parsedBody: ApiVersionSetContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollection & { +export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The underlying HTTP response. */ @@ -10250,14 +11094,14 @@ export type ApiIssueAttachmentListByServiceNextResponse = IssueAttachmentCollect /** * The response body as parsed JSON or XML */ - parsedBody: IssueAttachmentCollection; + parsedBody: ApiVersionSetCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & { +export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { /** * The underlying HTTP response. */ @@ -10270,14 +11114,14 @@ export type ApiTagDescriptionListByServiceResponse = TagDescriptionCollection & /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionCollection; + parsedBody: AuthorizationServerCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTagHeaders & { +export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10285,14 +11129,14 @@ export type ApiTagDescriptionGetEntityTagResponse = ApiTagDescriptionGetEntityTa /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionGetEntityTagHeaders; + parsedHeaders: AuthorizationServerGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescriptionGetHeaders & { +export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { /** * The underlying HTTP response. */ @@ -10300,7 +11144,7 @@ export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescri /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionGetHeaders; + parsedHeaders: AuthorizationServerGetHeaders; /** * The response body as text (string format) @@ -10310,14 +11154,14 @@ export type ApiTagDescriptionGetResponse = TagDescriptionContract & ApiTagDescri /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionContract; + parsedBody: AuthorizationServerContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & ApiTagDescriptionCreateOrUpdateHeaders & { +export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10325,7 +11169,7 @@ export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & A /** * The parsed HTTP response headers. */ - parsedHeaders: ApiTagDescriptionCreateOrUpdateHeaders; + parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10335,18 +11179,23 @@ export type ApiTagDescriptionCreateOrUpdateResponse = TagDescriptionContract & A /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionContract; + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the listByServiceNext operation. + * Contains response data for the update operation. */ -export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollection & { +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) */ @@ -10355,18 +11204,23 @@ export type ApiTagDescriptionListByServiceNextResponse = TagDescriptionCollectio /** * The response body as parsed JSON or XML */ - parsedBody: TagDescriptionCollection; + parsedBody: AuthorizationServerContract; }; }; /** - * Contains response data for the listByTags operation. + * Contains response data for the listSecrets operation. */ -export type OperationListByTagsResponse = TagResourceCollection & { +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) */ @@ -10375,14 +11229,14 @@ export type OperationListByTagsResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: AuthorizationServerSecretsContract; }; }; /** - * Contains response data for the listByTagsNext operation. + * Contains response data for the listByServiceNext operation. */ -export type OperationListByTagsNextResponse = TagResourceCollection & { +export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCollection & { /** * The underlying HTTP response. */ @@ -10395,14 +11249,14 @@ export type OperationListByTagsNextResponse = TagResourceCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: TagResourceCollection; + parsedBody: AuthorizationServerCollection; }; }; /** * Contains response data for the listByService operation. */ -export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { +export type BackendListByServiceResponse = BackendCollection & { /** * The underlying HTTP response. */ @@ -10415,14 +11269,14 @@ export type ApiVersionSetListByServiceResponse = ApiVersionSetCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetCollection; + parsedBody: BackendCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders & { +export type BackendGetEntityTagResponse = BackendGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10430,14 +11284,14 @@ export type ApiVersionSetGetEntityTagResponse = ApiVersionSetGetEntityTagHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetEntityTagHeaders; + parsedHeaders: BackendGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetHeaders & { +export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The underlying HTTP response. */ @@ -10445,7 +11299,7 @@ export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetH /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetGetHeaders; + parsedHeaders: BackendGetHeaders; /** * The response body as text (string format) @@ -10455,14 +11309,14 @@ export type ApiVersionSetGetResponse = ApiVersionSetContract & ApiVersionSetGetH /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetContract; + parsedBody: BackendContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVersionSetCreateOrUpdateHeaders & { +export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10470,7 +11324,7 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The parsed HTTP response headers. */ - parsedHeaders: ApiVersionSetCreateOrUpdateHeaders; + parsedHeaders: BackendCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10480,14 +11334,39 @@ export type ApiVersionSetCreateOrUpdateResponse = ApiVersionSetContract & ApiVer /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetContract; + parsedBody: BackendContract; + }; +}; + +/** + * Contains response data for the update operation. + */ +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) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: BackendContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { +export type BackendListByServiceNextResponse = BackendCollection & { /** * The underlying HTTP response. */ @@ -10500,14 +11379,14 @@ export type ApiVersionSetListByServiceNextResponse = ApiVersionSetCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApiVersionSetCollection; + parsedBody: BackendCollection; }; }; /** * Contains response data for the listByService operation. */ -export type AuthorizationServerListByServiceResponse = AuthorizationServerCollection & { +export type CacheListByServiceResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10520,14 +11399,14 @@ export type AuthorizationServerListByServiceResponse = AuthorizationServerCollec /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerCollection; + parsedBody: CacheCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEntityTagHeaders & { +export type CacheGetEntityTagResponse = CacheGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10535,14 +11414,14 @@ export type AuthorizationServerGetEntityTagResponse = AuthorizationServerGetEnti /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetEntityTagHeaders; + parsedHeaders: CacheGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type AuthorizationServerGetResponse = AuthorizationServerContract & AuthorizationServerGetHeaders & { +export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The underlying HTTP response. */ @@ -10550,7 +11429,7 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerGetHeaders; + parsedHeaders: CacheGetHeaders; /** * The response body as text (string format) @@ -10560,14 +11439,14 @@ export type AuthorizationServerGetResponse = AuthorizationServerContract & Autho /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerContract; + parsedBody: CacheContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContract & AuthorizationServerCreateOrUpdateHeaders & { +export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10575,7 +11454,7 @@ export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContr /** * The parsed HTTP response headers. */ - parsedHeaders: AuthorizationServerCreateOrUpdateHeaders; + parsedHeaders: CacheCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10585,18 +11464,23 @@ export type AuthorizationServerCreateOrUpdateResponse = AuthorizationServerContr /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerContract; + parsedBody: CacheContract; }; }; /** - * Contains response data for the listSecrets operation. + * Contains response data for the update operation. */ -export type AuthorizationServerListSecretsResponse = ClientSecretContract & { +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) */ @@ -10605,14 +11489,14 @@ export type AuthorizationServerListSecretsResponse = ClientSecretContract & { /** * The response body as parsed JSON or XML */ - parsedBody: ClientSecretContract; + parsedBody: CacheContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCollection & { +export type CacheListByServiceNextResponse = CacheCollection & { /** * The underlying HTTP response. */ @@ -10625,14 +11509,14 @@ export type AuthorizationServerListByServiceNextResponse = AuthorizationServerCo /** * The response body as parsed JSON or XML */ - parsedBody: AuthorizationServerCollection; + parsedBody: CacheCollection; }; }; /** * Contains response data for the listByService operation. */ -export type BackendListByServiceResponse = BackendCollection & { +export type CertificateListByServiceResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -10645,14 +11529,14 @@ export type BackendListByServiceResponse = BackendCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: BackendCollection; + parsedBody: CertificateCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type BackendGetEntityTagResponse = BackendGetEntityTagHeaders & { +export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10660,14 +11544,14 @@ export type BackendGetEntityTagResponse = BackendGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: BackendGetEntityTagHeaders; + parsedHeaders: CertificateGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type BackendGetResponse = BackendContract & BackendGetHeaders & { +export type CertificateGetResponse = CertificateContract & CertificateGetHeaders & { /** * The underlying HTTP response. */ @@ -10675,7 +11559,7 @@ export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: BackendGetHeaders; + parsedHeaders: CertificateGetHeaders; /** * The response body as text (string format) @@ -10685,14 +11569,14 @@ export type BackendGetResponse = BackendContract & BackendGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: BackendContract; + parsedBody: CertificateContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpdateHeaders & { +export type CertificateCreateOrUpdateResponse = CertificateContract & CertificateCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10700,7 +11584,7 @@ export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: BackendCreateOrUpdateHeaders; + parsedHeaders: CertificateCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10710,14 +11594,14 @@ export type BackendCreateOrUpdateResponse = BackendContract & BackendCreateOrUpd /** * The response body as parsed JSON or XML */ - parsedBody: BackendContract; + parsedBody: CertificateContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type BackendListByServiceNextResponse = BackendCollection & { +export type CertificateListByServiceNextResponse = CertificateCollection & { /** * The underlying HTTP response. */ @@ -10730,14 +11614,14 @@ export type BackendListByServiceNextResponse = BackendCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: BackendCollection; + parsedBody: CertificateCollection; }; }; /** * Contains response data for the listByService operation. */ -export type CacheListByServiceResponse = CacheCollection & { +export type ContentTypeListByServiceResponse = ContentTypeCollection & { /** * The underlying HTTP response. */ @@ -10750,29 +11634,14 @@ export type CacheListByServiceResponse = CacheCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CacheCollection; - }; -}; - -/** - * Contains response data for the getEntityTag operation. - */ -export type CacheGetEntityTagResponse = CacheGetEntityTagHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: CacheGetEntityTagHeaders; + parsedBody: ContentTypeCollection; }; }; /** * Contains response data for the get operation. */ -export type CacheGetResponse = CacheContract & CacheGetHeaders & { +export type ContentTypeGetResponse = ContentTypeContract & ContentTypeGetHeaders & { /** * The underlying HTTP response. */ @@ -10780,7 +11649,7 @@ export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: CacheGetHeaders; + parsedHeaders: ContentTypeGetHeaders; /** * The response body as text (string format) @@ -10790,14 +11659,14 @@ export type CacheGetResponse = CacheContract & CacheGetHeaders & { /** * The response body as parsed JSON or XML */ - parsedBody: CacheContract; + parsedBody: ContentTypeContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHeaders & { +export type ContentTypeCreateOrUpdateResponse = ContentTypeContract & ContentTypeCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10805,7 +11674,7 @@ export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHea /** * The parsed HTTP response headers. */ - parsedHeaders: CacheCreateOrUpdateHeaders; + parsedHeaders: ContentTypeCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10815,14 +11684,14 @@ export type CacheCreateOrUpdateResponse = CacheContract & CacheCreateOrUpdateHea /** * The response body as parsed JSON or XML */ - parsedBody: CacheContract; + parsedBody: ContentTypeContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type CacheListByServiceNextResponse = CacheCollection & { +export type ContentTypeListByServiceNextResponse = ContentTypeCollection & { /** * The underlying HTTP response. */ @@ -10835,14 +11704,14 @@ export type CacheListByServiceNextResponse = CacheCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CacheCollection; + parsedBody: ContentTypeCollection; }; }; /** * Contains response data for the listByService operation. */ -export type CertificateListByServiceResponse = CertificateCollection & { +export type ContentTypeContentItemListByServiceResponse = ContentItemCollection & { /** * The underlying HTTP response. */ @@ -10855,14 +11724,14 @@ export type CertificateListByServiceResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: ContentItemCollection; }; }; /** * Contains response data for the getEntityTag operation. */ -export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { +export type ContentTypeContentItemGetEntityTagResponse = ContentTypeContentItemGetEntityTagHeaders & { /** * The underlying HTTP response. */ @@ -10870,14 +11739,14 @@ export type CertificateGetEntityTagResponse = CertificateGetEntityTagHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: CertificateGetEntityTagHeaders; + parsedHeaders: ContentTypeContentItemGetEntityTagHeaders; }; }; /** * Contains response data for the get operation. */ -export type CertificateGetResponse = CertificateContract & CertificateGetHeaders & { +export type ContentTypeContentItemGetResponse = ContentItemContract & ContentTypeContentItemGetHeaders & { /** * The underlying HTTP response. */ @@ -10885,7 +11754,7 @@ export type CertificateGetResponse = CertificateContract & CertificateGetHeaders /** * The parsed HTTP response headers. */ - parsedHeaders: CertificateGetHeaders; + parsedHeaders: ContentTypeContentItemGetHeaders; /** * The response body as text (string format) @@ -10895,14 +11764,14 @@ export type CertificateGetResponse = CertificateContract & CertificateGetHeaders /** * The response body as parsed JSON or XML */ - parsedBody: CertificateContract; + parsedBody: ContentItemContract; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type CertificateCreateOrUpdateResponse = CertificateContract & CertificateCreateOrUpdateHeaders & { +export type ContentTypeContentItemCreateOrUpdateResponse = ContentItemContract & ContentTypeContentItemCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -10910,7 +11779,7 @@ export type CertificateCreateOrUpdateResponse = CertificateContract & Certificat /** * The parsed HTTP response headers. */ - parsedHeaders: CertificateCreateOrUpdateHeaders; + parsedHeaders: ContentTypeContentItemCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -10920,14 +11789,14 @@ export type CertificateCreateOrUpdateResponse = CertificateContract & Certificat /** * The response body as parsed JSON or XML */ - parsedBody: CertificateContract; + parsedBody: ContentItemContract; }; }; /** * Contains response data for the listByServiceNext operation. */ -export type CertificateListByServiceNextResponse = CertificateCollection & { +export type ContentTypeContentItemListByServiceNextResponse = ContentItemCollection & { /** * The underlying HTTP response. */ @@ -10940,7 +11809,7 @@ export type CertificateListByServiceNextResponse = CertificateCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CertificateCollection; + parsedBody: ContentItemCollection; }; }; @@ -11489,6 +12358,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. */ @@ -11589,6 +12483,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. */ @@ -11638,16 +12557,41 @@ export type GatewayGetEntityTagResponse = GatewayGetEntityTagHeaders & { */ _response: msRest.HttpResponse & { /** - * The parsed HTTP response headers. + * The parsed HTTP response headers. + */ + parsedHeaders: GatewayGetEntityTagHeaders; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GatewayGetHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML */ - parsedHeaders: GatewayGetEntityTagHeaders; + parsedBody: GatewayContract; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { +export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpdateHeaders & { /** * The underlying HTTP response. */ @@ -11655,7 +12599,7 @@ export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { /** * The parsed HTTP response headers. */ - parsedHeaders: GatewayGetHeaders; + parsedHeaders: GatewayCreateOrUpdateHeaders; /** * The response body as text (string format) @@ -11670,9 +12614,9 @@ export type GatewayGetResponse = GatewayContract & GatewayGetHeaders & { }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpdateHeaders & { +export type GatewayUpdateResponse = GatewayContract & GatewayUpdateHeaders & { /** * The underlying HTTP response. */ @@ -11680,7 +12624,7 @@ export type GatewayCreateOrUpdateResponse = GatewayContract & GatewayCreateOrUpd /** * The parsed HTTP response headers. */ - parsedHeaders: GatewayCreateOrUpdateHeaders; + parsedHeaders: GatewayUpdateHeaders; /** * The response body as text (string format) @@ -12024,6 +12968,31 @@ export type GroupCreateOrUpdateResponse = GroupContract & GroupCreateOrUpdateHea }; }; +/** + * Contains response data for the update operation. + */ +export type GroupUpdateResponse = GroupContract & GroupUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: GroupUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GroupContract; + }; +}; + /** * Contains response data for the listByServiceNext operation. */ @@ -12214,14 +13183,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) */ @@ -12404,6 +13403,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. */ @@ -12537,11 +13561,16 @@ export type NamedValueUpdateResponse = NamedValueContract & NamedValueUpdateHead /** * Contains response data for the listValue operation. */ -export type NamedValueListValueResponse = PropertyValueContract & { +export type NamedValueListValueResponse = NamedValueSecretContract & NamedValueListValueHeaders & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: NamedValueListValueHeaders; + /** * The response body as text (string format) */ @@ -12550,7 +13579,7 @@ export type NamedValueListValueResponse = PropertyValueContract & { /** * The response body as parsed JSON or XML */ - parsedBody: PropertyValueContract; + parsedBody: NamedValueSecretContract; }; }; @@ -12909,14 +13938,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) */ @@ -13339,6 +14398,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. */ @@ -13664,6 +14748,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. */ @@ -13684,6 +14788,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. */ @@ -14109,14 +15233,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) */ @@ -14229,6 +15383,31 @@ export type TenantAccessGetResponse = AccessInformationContract & TenantAccessGe }; }; +/** + * Contains response data for the update operation. + */ +export type TenantAccessUpdateResponse = AccessInformationContract & TenantAccessUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: TenantAccessUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AccessInformationContract; + }; +}; + /** * Contains response data for the listSecrets operation. */ @@ -14529,6 +15708,31 @@ export type UserCreateOrUpdateResponse = UserContract & UserCreateOrUpdateHeader }; }; +/** + * Contains response data for the update operation. + */ +export type UserUpdateResponse = UserContract & UserUpdateHeaders & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The parsed HTTP response headers. + */ + parsedHeaders: UserUpdateHeaders; + + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: UserContract; + }; +}; + /** * Contains response data for the generateSsoUrl operation. */ diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index 1ce4bdb3ea68..f648a7815a9c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -60,6 +60,7 @@ export { LoggerGetEntityTagHeaders, LoggerGetHeaders, LoggerUpdateContract, + LoggerUpdateHeaders, NamedValueContract, NamedValueCreateContract, NotificationContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index 5850f78f223e..da54d2841ae5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -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" @@ -1670,12 +1670,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 +1724,7 @@ export const OperationUpdateContract: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -1733,12 +1735,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 +1756,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 +1809,6 @@ export const OperationContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 300, @@ -1817,14 +1819,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 +1948,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 +2043,12 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Boolean" } }, + sourceApiId: { + serializedName: "properties.sourceApiId", + type: { + name: "String" + } + }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2056,13 +2063,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 +2094,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 +2200,6 @@ export const ApiContract: msRest.CompositeMapper = { name: "Boolean" } }, - sourceApiId: { - serializedName: "properties.sourceApiId", - type: { - name: "String" - } - }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2206,14 +2214,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 +2244,6 @@ export const ApiContract: msRest.CompositeMapper = { } } } - }, - apiVersionSet: { - serializedName: "properties.apiVersionSet", - type: { - name: "Composite", - className: "ApiVersionSetContractDetails" - } } } } @@ -2467,12 +2467,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 +2501,7 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 100, @@ -2510,6 +2512,7 @@ export const ApiVersionSetUpdateParameters: msRest.CompositeMapper = { } }, versioningScheme: { + required: true, serializedName: "properties.versioningScheme", type: { name: "String" @@ -2519,13 +2522,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 +2555,6 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 100, @@ -2564,7 +2565,6 @@ export const ApiVersionSetContract: msRest.CompositeMapper = { } }, versioningScheme: { - required: true, serializedName: "properties.versioningScheme", type: { name: "String" @@ -2574,17 +2574,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 +2727,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 +2826,7 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, displayName: { + required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50, @@ -2824,18 +2837,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 +2863,7 @@ export const AuthorizationServerUpdateContract: msRest.CompositeMapper = { } }, clientId: { + required: true, serializedName: "properties.clientId", type: { name: "String" @@ -2862,11 +2879,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 +2978,6 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, displayName: { - required: true, serializedName: "properties.displayName", constraints: { MaxLength: 50, @@ -2972,21 +2988,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 +3011,6 @@ export const AuthorizationServerContract: msRest.CompositeMapper = { } }, clientId: { - required: true, serializedName: "properties.clientId", type: { name: "String" @@ -3348,12 +3360,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 +3426,7 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }, url: { + required: true, serializedName: "properties.url", constraints: { MaxLength: 2000, @@ -3423,6 +3437,7 @@ export const BackendUpdateParameters: msRest.CompositeMapper = { } }, protocol: { + required: true, serializedName: "properties.protocol", type: { name: "String" @@ -3432,13 +3447,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 +3512,6 @@ export const BackendContract: msRest.CompositeMapper = { } }, url: { - required: true, serializedName: "properties.url", constraints: { MaxLength: 2000, @@ -3509,7 +3522,6 @@ export const BackendContract: msRest.CompositeMapper = { } }, protocol: { - required: true, serializedName: "properties.protocol", type: { name: "String" @@ -3519,12 +3531,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 +3548,7 @@ export const CacheUpdateParameters: msRest.CompositeMapper = { } }, connectionString: { + required: true, serializedName: "properties.connectionString", constraints: { MaxLength: 300 @@ -3556,13 +3570,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 +3586,6 @@ export const CacheContract: msRest.CompositeMapper = { } }, connectionString: { - required: true, serializedName: "properties.connectionString", constraints: { MaxLength: 300 @@ -3641,7 +3653,6 @@ export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { } }, password: { - required: true, serializedName: "properties.password", type: { name: "String" @@ -3651,6 +3662,69 @@ export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { } }; +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 ResourceSku: msRest.CompositeMapper = { serializedName: "ResourceSku", type: { @@ -3946,6 +4020,17 @@ export const AdditionalLocation: msRest.CompositeMapper = { className: "ApiManagementServiceSkuProperties" } }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, publicIPAddresses: { readOnly: true, serializedName: "publicIPAddresses", @@ -4577,14 +4662,25 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { - serializedName: "ApiManagementServiceUpdateParameters", - type: { + }, + zones: { + serializedName: "zones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { + serializedName: "ApiManagementServiceUpdateParameters", + type: { name: "Composite", className: "ApiManagementServiceUpdateParameters", modelProperties: { @@ -5005,13 +5101,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 +5119,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 +5141,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 +5164,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 +5180,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 +5192,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 +5261,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 +5630,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 +5650,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 +5685,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 +5703,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 +5772,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 +5866,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 +5942,7 @@ export const IdentityProviderUpdateParameters: msRest.CompositeMapper = { } }, clientId: { + required: true, serializedName: "properties.clientId", constraints: { MinLength: 1 @@ -5832,14 +5964,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 +6039,6 @@ export const IdentityProviderContract: msRest.CompositeMapper = { } }, clientId: { - required: true, serializedName: "properties.clientId", constraints: { MinLength: 1 @@ -6029,13 +6159,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 +6175,9 @@ export const LoggerUpdateContract: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", + constraints: { + MaxLength: 256 + }, type: { name: "String" } @@ -6063,20 +6198,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 +6223,11 @@ export const LoggerContract: msRest.CompositeMapper = { }, description: { serializedName: "properties.description", - constraints: { - MaxLength: 256 - }, type: { name: "String" } }, credentials: { - required: true, serializedName: "properties.credentials", type: { name: "Dictionary", @@ -6108,22 +6243,16 @@ export const LoggerContract: msRest.CompositeMapper = { type: { name: "Boolean" } - }, - resourceId: { - serializedName: "properties.resourceId", - type: { - name: "String" - } } } } }; -export const PropertyValueContract: msRest.CompositeMapper = { - serializedName: "PropertyValueContract", +export const NamedValueSecretContract: msRest.CompositeMapper = { + serializedName: "NamedValueSecretContract", type: { name: "Composite", - className: "PropertyValueContract", + className: "NamedValueSecretContract", modelProperties: { value: { serializedName: "value", @@ -6588,13 +6717,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 +6741,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 +6764,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 +6786,12 @@ export const OpenidConnectProviderContract: msRest.CompositeMapper = { } }, metadataEndpoint: { - required: true, serializedName: "properties.metadataEndpoint", type: { name: "String" } }, clientId: { - required: true, serializedName: "properties.clientId", type: { name: "String" @@ -7083,28 +7212,6 @@ export const QuotaCounterValueContractProperties: 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 QuotaCounterContract: msRest.CompositeMapper = { serializedName: "QuotaCounterContract", type: { @@ -7156,22 +7263,44 @@ export const QuotaCounterContract: msRest.CompositeMapper = { } }; -export const QuotaCounterCollection: msRest.CompositeMapper = { - serializedName: "QuotaCounterCollection", +export const QuotaCounterValueUpdateContract: msRest.CompositeMapper = { + serializedName: "QuotaCounterValueUpdateContract", type: { name: "Composite", - className: "QuotaCounterCollection", + className: "QuotaCounterValueUpdateContract", modelProperties: { - value: { - serializedName: "value", + callsCount: { + serializedName: "properties.callsCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuotaCounterContract" - } - } + name: "Number" + } + }, + kbTransferred: { + serializedName: "properties.kbTransferred", + type: { + name: "Number" + } + } + } + } +}; + +export const QuotaCounterCollection: msRest.CompositeMapper = { + serializedName: "QuotaCounterCollection", + type: { + name: "Composite", + className: "QuotaCounterCollection", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QuotaCounterContract" + } + } } }, count: { @@ -8206,39 +8335,14 @@ export const QuotaCounterValueContract: msRest.CompositeMapper = { } }; -export const ContentTypeContract: msRest.CompositeMapper = { - serializedName: "ContentTypeContract", +export const ApiGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "api-getentitytag-headers", type: { name: "Composite", - className: "ContentTypeContract", + className: "ApiGetEntityTagHeaders", 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", + eTag: { + serializedName: "etag", type: { name: "String" } @@ -8247,28 +8351,14 @@ export const ContentTypeContract: msRest.CompositeMapper = { } }; -export const ContentTypeCollection: msRest.CompositeMapper = { - serializedName: "ContentTypeCollection", +export const ApiGetHeaders: msRest.CompositeMapper = { + serializedName: "api-get-headers", type: { name: "Composite", - className: "ContentTypeCollection", + className: "ApiGetHeaders", modelProperties: { - value: { - readOnly: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContentTypeContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + eTag: { + serializedName: "etag", type: { name: "String" } @@ -8277,50 +8367,14 @@ export const ContentTypeCollection: msRest.CompositeMapper = { } }; -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 ContentItemCollection: msRest.CompositeMapper = { - serializedName: "ContentItemCollection", +export const ApiCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "api-createorupdate-headers", type: { name: "Composite", - className: "ContentItemCollection", + className: "ApiCreateOrUpdateHeaders", modelProperties: { - value: { - readOnly: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ContentItemContract" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + eTag: { + serializedName: "etag", type: { name: "String" } @@ -8329,11 +8383,11 @@ export const ContentItemCollection: msRest.CompositeMapper = { } }; -export const ApiGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "api-getentitytag-headers", +export const ApiUpdateHeaders: msRest.CompositeMapper = { + serializedName: "api-update-headers", type: { name: "Composite", - className: "ApiGetEntityTagHeaders", + className: "ApiUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8345,11 +8399,11 @@ export const ApiGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const ApiGetHeaders: msRest.CompositeMapper = { - serializedName: "api-get-headers", +export const ApiReleaseGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "apirelease-getentitytag-headers", type: { name: "Composite", - className: "ApiGetHeaders", + className: "ApiReleaseGetEntityTagHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8361,11 +8415,11 @@ export const ApiGetHeaders: msRest.CompositeMapper = { } }; -export const ApiCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "api-createorupdate-headers", +export const ApiReleaseGetHeaders: msRest.CompositeMapper = { + serializedName: "apirelease-get-headers", type: { name: "Composite", - className: "ApiCreateOrUpdateHeaders", + className: "ApiReleaseGetHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8377,11 +8431,11 @@ export const ApiCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; -export const ApiReleaseGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "apirelease-getentitytag-headers", +export const ApiReleaseCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apirelease-createorupdate-headers", type: { name: "Composite", - className: "ApiReleaseGetEntityTagHeaders", + className: "ApiReleaseCreateOrUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8393,11 +8447,11 @@ export const ApiReleaseGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const ApiReleaseGetHeaders: msRest.CompositeMapper = { - serializedName: "apirelease-get-headers", +export const ApiReleaseUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apirelease-update-headers", type: { name: "Composite", - className: "ApiReleaseGetHeaders", + className: "ApiReleaseUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8409,11 +8463,11 @@ export const ApiReleaseGetHeaders: msRest.CompositeMapper = { } }; -export const ApiReleaseCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "apirelease-createorupdate-headers", +export const ApiOperationGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "apioperation-getentitytag-headers", type: { name: "Composite", - className: "ApiReleaseCreateOrUpdateHeaders", + className: "ApiOperationGetEntityTagHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8425,11 +8479,11 @@ export const ApiReleaseCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; -export const ApiOperationGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "apioperation-getentitytag-headers", +export const ApiOperationGetHeaders: msRest.CompositeMapper = { + serializedName: "apioperation-get-headers", type: { name: "Composite", - className: "ApiOperationGetEntityTagHeaders", + className: "ApiOperationGetHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8441,11 +8495,11 @@ export const ApiOperationGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const ApiOperationGetHeaders: msRest.CompositeMapper = { - serializedName: "apioperation-get-headers", +export const ApiOperationCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apioperation-createorupdate-headers", type: { name: "Composite", - className: "ApiOperationGetHeaders", + className: "ApiOperationCreateOrUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8457,11 +8511,11 @@ export const ApiOperationGetHeaders: msRest.CompositeMapper = { } }; -export const ApiOperationCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "apioperation-createorupdate-headers", +export const ApiOperationUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apioperation-update-headers", type: { name: "Composite", - className: "ApiOperationCreateOrUpdateHeaders", + className: "ApiOperationUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -8697,6 +8751,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: { @@ -8745,6 +8815,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: { @@ -8985,6 +9071,22 @@ export const ApiVersionSetCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ApiVersionSetUpdateHeaders: msRest.CompositeMapper = { + serializedName: "apiversionset-update-headers", + type: { + name: "Composite", + className: "ApiVersionSetUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const AuthorizationServerGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "authorizationserver-getentitytag-headers", type: { @@ -9033,11 +9135,11 @@ export const AuthorizationServerCreateOrUpdateHeaders: msRest.CompositeMapper = } }; -export const BackendGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "backend-getentitytag-headers", +export const AuthorizationServerUpdateHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-update-headers", type: { name: "Composite", - className: "BackendGetEntityTagHeaders", + className: "AuthorizationServerUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9049,11 +9151,11 @@ export const BackendGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const BackendGetHeaders: msRest.CompositeMapper = { - serializedName: "backend-get-headers", +export const AuthorizationServerListSecretsHeaders: msRest.CompositeMapper = { + serializedName: "authorizationserver-listsecrets-headers", type: { name: "Composite", - className: "BackendGetHeaders", + className: "AuthorizationServerListSecretsHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9065,11 +9167,11 @@ export const BackendGetHeaders: msRest.CompositeMapper = { } }; -export const BackendCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "backend-createorupdate-headers", +export const BackendGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "backend-getentitytag-headers", type: { name: "Composite", - className: "BackendCreateOrUpdateHeaders", + className: "BackendGetEntityTagHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9081,11 +9183,11 @@ export const BackendCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; -export const CacheGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "cache-getentitytag-headers", +export const BackendGetHeaders: msRest.CompositeMapper = { + serializedName: "backend-get-headers", type: { name: "Composite", - className: "CacheGetEntityTagHeaders", + className: "BackendGetHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9097,11 +9199,11 @@ export const CacheGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const CacheGetHeaders: msRest.CompositeMapper = { - serializedName: "cache-get-headers", +export const BackendCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "backend-createorupdate-headers", type: { name: "Composite", - className: "CacheGetHeaders", + className: "BackendCreateOrUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9113,11 +9215,11 @@ export const CacheGetHeaders: msRest.CompositeMapper = { } }; -export const CacheCreateOrUpdateHeaders: msRest.CompositeMapper = { - serializedName: "cache-createorupdate-headers", +export const BackendUpdateHeaders: msRest.CompositeMapper = { + serializedName: "backend-update-headers", type: { name: "Composite", - className: "CacheCreateOrUpdateHeaders", + className: "BackendUpdateHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9129,11 +9231,11 @@ export const CacheCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; -export const CertificateGetEntityTagHeaders: msRest.CompositeMapper = { - serializedName: "certificate-getentitytag-headers", +export const CacheGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "cache-getentitytag-headers", type: { name: "Composite", - className: "CertificateGetEntityTagHeaders", + className: "CacheGetEntityTagHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9145,11 +9247,75 @@ export const CertificateGetEntityTagHeaders: msRest.CompositeMapper = { } }; -export const CertificateGetHeaders: msRest.CompositeMapper = { - serializedName: "certificate-get-headers", +export const CacheGetHeaders: msRest.CompositeMapper = { + serializedName: "cache-get-headers", type: { name: "Composite", - className: "CertificateGetHeaders", + className: "CacheGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const CacheCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "cache-createorupdate-headers", + type: { + name: "Composite", + className: "CacheCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +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: { + name: "Composite", + className: "CertificateGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const CertificateGetHeaders: msRest.CompositeMapper = { + serializedName: "certificate-get-headers", + type: { + name: "Composite", + className: "CertificateGetHeaders", modelProperties: { eTag: { serializedName: "etag", @@ -9177,6 +9343,86 @@ export const CertificateCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const ContentTypeGetHeaders: msRest.CompositeMapper = { + serializedName: "contenttype-get-headers", + type: { + name: "Composite", + className: "ContentTypeGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentTypeCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "contenttype-createorupdate-headers", + type: { + name: "Composite", + className: "ContentTypeCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentTypeContentItemGetEntityTagHeaders: msRest.CompositeMapper = { + serializedName: "contenttypecontentitem-getentitytag-headers", + type: { + name: "Composite", + className: "ContentTypeContentItemGetEntityTagHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentTypeContentItemGetHeaders: msRest.CompositeMapper = { + serializedName: "contenttypecontentitem-get-headers", + type: { + name: "Composite", + className: "ContentTypeContentItemGetHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ContentTypeContentItemCreateOrUpdateHeaders: msRest.CompositeMapper = { + serializedName: "contenttypecontentitem-createorupdate-headers", + type: { + name: "Composite", + className: "ContentTypeContentItemCreateOrUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const DiagnosticGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "diagnostic-getentitytag-headers", type: { @@ -9225,6 +9471,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: { @@ -9257,6 +9519,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: { @@ -9305,6 +9583,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: { @@ -9433,6 +9727,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: { @@ -9481,6 +9791,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: { @@ -9545,6 +9887,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: { @@ -9609,6 +9967,22 @@ export const NamedValueUpdateHeaders: msRest.CompositeMapper = { } }; +export const NamedValueListValueHeaders: msRest.CompositeMapper = { + serializedName: "namedvalue-listvalue-headers", + type: { + name: "Composite", + className: "NamedValueListValueHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const OpenIdConnectProviderGetEntityTagHeaders: msRest.CompositeMapper = { serializedName: "openidconnectprovider-getentitytag-headers", type: { @@ -9657,6 +10031,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: { @@ -9849,6 +10255,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: { @@ -9977,6 +10399,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: { @@ -10025,6 +10479,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: { @@ -10057,6 +10527,22 @@ export const TenantAccessGetHeaders: msRest.CompositeMapper = { } }; +export const TenantAccessUpdateHeaders: msRest.CompositeMapper = { + serializedName: "tenantaccess-update-headers", + type: { + name: "Composite", + className: "TenantAccessUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const TenantAccessListSecretsHeaders: msRest.CompositeMapper = { serializedName: "tenantaccess-listsecrets-headers", type: { @@ -10153,6 +10639,22 @@ export const UserCreateOrUpdateHeaders: msRest.CompositeMapper = { } }; +export const UserUpdateHeaders: msRest.CompositeMapper = { + serializedName: "user-update-headers", + type: { + name: "Composite", + className: "UserUpdateHeaders", + modelProperties: { + eTag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ApiCollection: msRest.CompositeMapper = { serializedName: "ApiCollection", type: { @@ -10679,6 +11181,66 @@ export const CertificateCollection: msRest.CompositeMapper = { } }; +export const ContentTypeCollection: msRest.CompositeMapper = { + serializedName: "ContentTypeCollection", + type: { + name: "Composite", + className: "ContentTypeCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContentTypeContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ContentItemCollection: msRest.CompositeMapper = { + serializedName: "ContentItemCollection", + type: { + name: "Composite", + className: "ContentItemCollection", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContentItemContract" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const OperationListResult: msRest.CompositeMapper = { serializedName: "OperationListResult", type: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index f230648fc624..a508804a46bd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -61,6 +61,8 @@ export { NamedValueCreateOrUpdateHeaders, NamedValueGetEntityTagHeaders, NamedValueGetHeaders, + NamedValueListValueHeaders, + NamedValueSecretContract, NamedValueUpdateHeaders, NamedValueUpdateParameters, NotificationContract, @@ -76,7 +78,6 @@ export { PortalSigninSettings, PortalSignupSettings, ProductContract, - PropertyValueContract, RecipientEmailContract, RecipientsContractProperties, RecipientUserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 7e81a7536b1f..7a46439ea0e3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -66,7 +66,9 @@ export { OpenIdConnectProviderCreateOrUpdateHeaders, OpenIdConnectProviderGetEntityTagHeaders, OpenIdConnectProviderGetHeaders, + OpenIdConnectProviderListSecretsHeaders, OpenidConnectProviderUpdateContract, + OpenIdConnectProviderUpdateHeaders, OperationContract, ParameterContract, PipelineDiagnosticSettings, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts index 7ce00f27aec6..2824ab24881f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/parameters.ts @@ -185,6 +185,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", diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 365c68758b28..27ffb41af754 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -80,6 +80,7 @@ export { ProductGetEntityTagHeaders, ProductGetHeaders, ProductTagResourceContractProperties, + ProductUpdateHeaders, ProductUpdateParameters, RecipientEmailContract, RecipientsContractProperties, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index fbbcfc4d6d95..9deec278454a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -89,7 +89,9 @@ export { SubscriptionGetHeaders, SubscriptionKeyParameterNamesContract, SubscriptionKeysContract, + SubscriptionListSecretsHeaders, SubscriptionsDelegationSettingsProperties, + SubscriptionUpdateHeaders, SubscriptionUpdateParameters, TagContract, TagDescriptionContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 3c6f61201952..b4e46c92c36b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -98,6 +98,7 @@ export { TagGetEntityStateByProductHeaders, TagGetEntityStateHeaders, TagGetHeaders, + TagUpdateHeaders, TermsOfServiceProperties, TokenBodyParameterContract, UserContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 3605444a18b5..fe5ffb42f78f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -13,5 +13,6 @@ export { ErrorResponse, TenantAccessGetEntityTagHeaders, TenantAccessGetHeaders, - TenantAccessListSecretsHeaders + TenantAccessListSecretsHeaders, + TenantAccessUpdateHeaders } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index 4bf235b68c3b..ff2da6ab29a3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -99,6 +99,7 @@ export { UserIdentityProperties, UserTokenParameters, UserTokenResult, + UserUpdateHeaders, UserUpdateParameters, VirtualNetworkConfiguration, X509CertificateName diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/api.ts b/sdk/apimanagement/arm-apimanagement/src/operations/api.ts index 1e8af587c168..987095c8c079 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/api.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/api.ts @@ -162,9 +162,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 +175,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 +187,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 +199,7 @@ export class Api { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -471,9 +471,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts index cf16c0829fc6..4e0ffe9a930c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiDiagnostic.ts @@ -206,9 +206,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 +220,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 +233,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 +246,7 @@ export class ApiDiagnostic { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -482,9 +482,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts index 2a1c5a74f38d..486bd56faa34 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiIssue.ts @@ -196,9 +196,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 +209,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 +221,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 +234,7 @@ export class ApiIssue { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -469,9 +469,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts index 41e7c276ebf1..f4dea798c9c1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiOperation.ts @@ -219,9 +219,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 +234,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 +248,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 +261,7 @@ export class ApiOperation { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -501,9 +501,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts index 07a760d3ae07..0c7c24c0e3cd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiRelease.ts @@ -208,9 +208,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 +222,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 +235,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 +248,7 @@ export class ApiRelease { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -486,9 +486,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts b/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts index e5b00d9bd1c5..3232766bacb8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/apiVersionSet.ts @@ -189,9 +189,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 +202,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 +214,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 +226,7 @@ export class ApiVersionSet { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -453,9 +453,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts b/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts index 2a64279442b0..6a0ee2d84b6b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/authorizationServer.ts @@ -179,9 +179,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 +191,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 +202,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 +214,7 @@ export class AuthorizationServer { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -275,7 +275,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 +283,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, @@ -474,9 +474,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 @@ -525,10 +529,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts b/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts index 2dba670f2a81..f708efadb40f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/backend.ts @@ -189,9 +189,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 +202,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 +214,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 +226,7 @@ export class Backend { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -493,9 +493,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts b/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts index 9815f8800d73..accf16490cbf 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/cache.ts @@ -189,9 +189,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 +202,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 +214,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 +226,7 @@ export class Cache { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -452,9 +452,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 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..f90071328af0 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts @@ -0,0 +1,338 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentTypeCollection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentTypeContentItem.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentTypeContentItem.ts new file mode 100644 index 000000000000..38ef251597a1 --- /dev/null +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentTypeContentItem.ts @@ -0,0 +1,426 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/contentTypeContentItemMappers"; +import * as Parameters from "../models/parameters"; +import { ApiManagementClientContext } from "../apiManagementClientContext"; + +/** Class representing a ContentTypeContentItem. */ +export class ContentTypeContentItem { + private readonly client: ApiManagementClientContext; + + /** + * Create a ContentTypeContentItem. + * @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.ContentTypeContentItemCreateOrUpdateOptionalParams): 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.ContentTypeContentItemCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, serviceName: string, contentTypeId: string, contentItemId: string, options?: Models.ContentTypeContentItemCreateOrUpdateOptionalParams | 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.ContentTypeContentItemGetEntityTagHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentTypeContentItemGetEntityTagHeaders + } + }, + 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.ContentTypeContentItemGetHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentTypeContentItemGetHeaders + } + }, + 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.ContentTypeContentItemCreateOrUpdateHeaders + }, + 201: { + bodyMapper: Mappers.ContentItemContract, + headersMapper: Mappers.ContentTypeContentItemCreateOrUpdateHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.ContentTypeContentItemCreateOrUpdateHeaders + } + }, + 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 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ContentItemCollection + }, + 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 c76bf50561aa..0c772783653c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/diagnostic.ts @@ -189,9 +189,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 +202,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 +214,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 +226,7 @@ export class Diagnostic { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -453,9 +453,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts b/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts index 643e0e6b66b8..7db7586932e5 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/emailTemplate.ts @@ -27,7 +27,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 +234,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 +245,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 +263,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 +280,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,7 +366,7 @@ 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 @@ -540,9 +540,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts index 94693e6eb85b..f6578b8444af 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gateway.ts @@ -189,9 +189,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 +202,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 +214,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 +226,7 @@ export class Gateway { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -440,6 +440,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.filter0, Parameters.top, Parameters.skip, Parameters.apiVersion @@ -577,9 +578,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts index 500a933e87b7..8b17acd2f77b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayApi.ts @@ -235,6 +235,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.filter0, Parameters.top, Parameters.skip, Parameters.apiVersion diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts index 3540c86084aa..bf791cb3986e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/gatewayHostnameConfiguration.ts @@ -113,7 +113,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 +170,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 +193,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 +216,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 +229,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 +241,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, @@ -295,6 +302,7 @@ const listByServiceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.filter0, Parameters.top, Parameters.skip, Parameters.apiVersion @@ -384,6 +392,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.apiVersion ], headerParameters: [ + Parameters.ifMatch0, Parameters.acceptLanguage ], requestBody: { @@ -424,6 +433,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.apiVersion ], headerParameters: [ + Parameters.ifMatch1, Parameters.acceptLanguage ], responses: { diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/group.ts b/sdk/apimanagement/arm-apimanagement/src/operations/group.ts index 0fc297a97406..d7fd5d9e3ace 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/group.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/group.ts @@ -179,9 +179,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 +191,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 +202,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 +214,7 @@ export class Group { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -438,9 +438,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts b/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts index b5708436b6dd..bb12fb6df5eb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/identityProvider.ts @@ -190,9 +190,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 +203,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 +215,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 +227,7 @@ export class IdentityProvider { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -490,9 +490,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 @@ -541,10 +545,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts index c17f4b2b9cf3..e5d5b2f62ff2 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/index.ts @@ -28,6 +28,8 @@ export * from "./authorizationServer"; export * from "./backend"; export * from "./cache"; export * from "./certificate"; +export * from "./contentType"; +export * from "./contentTypeContentItem"; export * from "./apiManagementOperations"; export * from "./apiManagementServiceSkus"; export * from "./apiManagementService"; diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts index 7bf39b6b9cf4..a20fbc217f3a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/logger.ts @@ -179,9 +179,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 +191,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 +202,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 +214,7 @@ export class Logger { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -227,7 +227,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 +246,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, @@ -438,9 +438,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 @@ -456,7 +460,6 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.force, Parameters.apiVersion ], headerParameters: [ diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts index e6a46de0fe42..5c5062b9fd60 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/namedValue.ts @@ -28,7 +28,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 +60,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 +96,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 +132,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 +146,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 +162,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 +205,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 +219,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 +227,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 +241,7 @@ export class NamedValue { } /** - * Creates or updates a NamedValue. + * Creates or updates named value. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param namedValueId Identifier of the NamedValue. @@ -263,7 +263,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,7 +288,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 nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -444,10 +444,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 @@ -527,9 +529,6 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { 202: { headersMapper: Mappers.NamedValueUpdateHeaders }, - 204: { - headersMapper: Mappers.NamedValueUpdateHeaders - }, default: { bodyMapper: Mappers.ErrorResponse, headersMapper: Mappers.NamedValueUpdateHeaders diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts b/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts index 2895b372ac38..8cf0c290a05e 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/openIdConnectProvider.ts @@ -95,7 +95,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 +179,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 +191,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 +202,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 +214,7 @@ export class OpenIdConnectProvider { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -474,9 +474,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 @@ -525,10 +529,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts index 5e202513f523..cd7e3f0fcb1b 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/product.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/product.ts @@ -189,9 +189,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 +202,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 +214,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 +226,7 @@ export class Product { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -515,9 +515,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts index a5a22b261fda..c16a2f0cee3d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByCounterKeys.ts @@ -83,9 +83,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.QuotaCounterValueUpdateContract, 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 +96,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.QuotaCounterValueUpdateContract, 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 +108,8 @@ export class QuotaByCounterKeys { * @param options The optional parameters * @param callback The callback */ - 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 { + 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 +119,7 @@ export class QuotaByCounterKeys { options }, updateOperationSpec, - callback); + callback) as Promise; } } @@ -174,7 +174,9 @@ const updateOperationSpec: msRest.OperationSpec = { } }, 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 4d565f367607..110a57778642 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/quotaByPeriodKeys.ts @@ -87,9 +87,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.QuotaCounterValueUpdateContract, 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 +101,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.QuotaCounterValueUpdateContract, 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 +114,8 @@ export class QuotaByPeriodKeys { * @param options The optional parameters * @param callback The callback */ - 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 { + 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 +126,7 @@ export class QuotaByPeriodKeys { options }, updateOperationSpec, - callback); + callback) as Promise; } } @@ -183,7 +183,9 @@ const updateOperationSpec: msRest.OperationSpec = { } }, responses: { - 204: {}, + 200: { + bodyMapper: Mappers.QuotaCounterContract + }, default: { bodyMapper: Mappers.ErrorResponse } diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts index ef1e7813b607..d6e268feb422 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/subscription.ts @@ -190,9 +190,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 +203,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 +215,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 +227,7 @@ export class Subscription { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -355,7 +355,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 @@ -575,9 +575,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 @@ -674,10 +678,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts index 8031870de245..ae8d21a28a76 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tag.ts @@ -847,9 +847,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 +859,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 +870,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 +882,7 @@ export class Tag { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -1625,9 +1625,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts index 1401b0dfa498..01394e97ddad 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/tenantAccess.ts @@ -98,9 +98,9 @@ export class TenantAccess { * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header * response of the GET request or it should be * for unconditional update. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -109,7 +109,7 @@ export class TenantAccess { * response of the GET request or it should be * for unconditional update. * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. @@ -119,8 +119,8 @@ export class TenantAccess { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, serviceName: string, parameters: Models.AccessInformationUpdateParameters, ifMatch: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -130,7 +130,7 @@ export class TenantAccess { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -311,9 +311,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 diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts index a66666c0f80e..93696581a46f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/user.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/user.ts @@ -179,9 +179,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 +191,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 +202,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 +214,7 @@ export class User { options }, updateOperationSpec, - callback); + callback) as Promise; } /** @@ -517,9 +517,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