From b1c1e19b0f743f4adf1e6c1b273a7b305161d3fd Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 28 Jul 2021 05:25:53 +0000 Subject: [PATCH] CodeGen from PR 14856 in Azure/azure-rest-api-specs Added and modified readme files for autorest.az to use for codegen (#14856) * added and modified readme files for autorest.az * removed autogen command groups * addressed PR comments --- sdk/apimanagement/arm-apimanagement/README.md | 8 +- .../arm-apimanagement/package.json | 2 +- .../src/apiManagementClientContext.ts | 10 +- .../src/models/apiDiagnosticMappers.ts | 5 + .../src/models/apiIssueAttachmentMappers.ts | 5 + .../src/models/apiIssueCommentMappers.ts | 5 + .../src/models/apiIssueMappers.ts | 5 + .../src/models/apiManagementServiceMappers.ts | 5 + .../src/models/apiMappers.ts | 5 + .../src/models/apiOperationMappers.ts | 5 + .../src/models/apiOperationPolicyMappers.ts | 5 + .../src/models/apiPolicyMappers.ts | 5 + .../src/models/apiProductMappers.ts | 5 + .../src/models/apiReleaseMappers.ts | 5 + .../src/models/apiSchemaMappers.ts | 5 + .../src/models/apiTagDescriptionMappers.ts | 5 + .../src/models/apiVersionSetMappers.ts | 5 + .../src/models/authorizationServerMappers.ts | 5 + .../src/models/backendMappers.ts | 5 + .../src/models/cacheMappers.ts | 5 + .../src/models/certificateMappers.ts | 5 + .../src/models/contentItemMappers.ts | 5 + .../src/models/contentTypeMappers.ts | 5 + .../src/models/delegationSettingsMappers.ts | 5 + .../src/models/deletedServicesMappers.ts | 5 + .../src/models/diagnosticMappers.ts | 5 + .../src/models/emailTemplateMappers.ts | 5 + .../src/models/gatewayApiMappers.ts | 5 + .../gatewayCertificateAuthorityMappers.ts | 5 + .../gatewayHostnameConfigurationMappers.ts | 5 + .../src/models/gatewayMappers.ts | 5 + .../src/models/groupMappers.ts | 5 + .../src/models/groupUserMappers.ts | 5 + .../src/models/identityProviderMappers.ts | 5 + .../arm-apimanagement/src/models/index.ts | 278 +++++++++++++----- .../src/models/issueMappers.ts | 5 + .../src/models/loggerMappers.ts | 5 + .../arm-apimanagement/src/models/mappers.ts | 255 +++++++++++++--- .../src/models/namedValueMappers.ts | 5 + .../src/models/notificationMappers.ts | 5 + .../notificationRecipientEmailMappers.ts | 5 + .../notificationRecipientUserMappers.ts | 5 + .../models/openIdConnectProviderMappers.ts | 5 + .../src/models/operationOperationsMappers.ts | 2 + .../src/models/policyDescriptionMappers.ts | 5 + .../src/models/policyMappers.ts | 5 + .../src/models/portalRevisionMappers.ts | 5 + .../src/models/portalSettingsMappers.ts | 5 + .../src/models/productApiMappers.ts | 5 + .../src/models/productGroupMappers.ts | 5 + .../src/models/productMappers.ts | 5 + .../src/models/productPolicyMappers.ts | 5 + .../src/models/productSubscriptionsMappers.ts | 5 + .../src/models/signInSettingsMappers.ts | 5 + .../src/models/signUpSettingsMappers.ts | 5 + .../src/models/subscriptionMappers.ts | 5 + .../src/models/tagMappers.ts | 5 + .../src/models/tagResourceMappers.ts | 2 + .../src/models/tenantAccessMappers.ts | 5 + .../src/models/tenantConfigurationMappers.ts | 99 ++++++- .../src/models/tenantSettingsMappers.ts | 5 + .../src/models/userGroupMappers.ts | 5 + .../src/models/userMappers.ts | 5 + .../src/models/userSubscriptionMappers.ts | 5 + .../src/operations/contentItem.ts | 13 +- .../src/operations/contentType.ts | 17 +- .../src/operations/portalRevision.ts | 14 +- 67 files changed, 832 insertions(+), 148 deletions(-) diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md index 8b269ab80915..faa16994e70d 100644 --- a/sdk/apimanagement/arm-apimanagement/README.md +++ b/sdk/apimanagement/arm-apimanagement/README.md @@ -1,11 +1,11 @@ ## Azure ApiManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ApiManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for ApiManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-apimanagement @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and listByService api as an example written in JavaScript. ##### Sample code @@ -92,7 +90,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmApimanagement.ApiManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index 18bb9cfd81c3..7d5af0afd50f 100644 --- a/sdk/apimanagement/arm-apimanagement/package.json +++ b/sdk/apimanagement/arm-apimanagement/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/apimanagement/arm-apimanagement", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/apimanagement/arm-apimanagement", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index 1da942a85c47..9357816a4965 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -9,8 +9,8 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-apimanagement"; const packageVersion = "7.1.0"; @@ -43,14 +43,14 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.apiVersion = '2020-12-01'; + this.apiVersion = '2021-01-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -58,10 +58,10 @@ export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts index 465c74000e57..931ad8edf8c4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiDiagnosticMappers.ts @@ -9,11 +9,13 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiDiagnosticCreateOrUpdateHeaders, ApiDiagnosticGetEntityTagHeaders, ApiDiagnosticGetHeaders, ApiDiagnosticUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,6 +78,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts index 20d936f50c71..abd170670b3a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueAttachmentMappers.ts @@ -9,10 +9,12 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueAttachmentCreateOrUpdateHeaders, ApiIssueAttachmentGetEntityTagHeaders, ApiIssueAttachmentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,6 +77,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts index 52c9f25819f3..2b15c160fc85 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueCommentMappers.ts @@ -9,10 +9,12 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCommentCreateOrUpdateHeaders, ApiIssueCommentGetEntityTagHeaders, ApiIssueCommentGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,6 +77,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts index 7bf1aef54b29..3be4e0d98a03 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiIssueMappers.ts @@ -9,11 +9,13 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiIssueCreateOrUpdateHeaders, ApiIssueGetEntityTagHeaders, ApiIssueGetHeaders, ApiIssueUpdateHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,6 +79,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts index 85c8bd542f4f..4a9501dcf391 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiManagementServiceMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceApplyNetworkConfigurationParameters, ApiManagementServiceBackupRestoreParameters, ApiManagementServiceCheckNameAvailabilityParameters, @@ -54,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,6 +80,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts index 44b414b6e9fa..6db6b5007ef9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiMappers.ts @@ -10,6 +10,7 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, ApiContractProperties, ApiCreateOrUpdateHeaders, @@ -18,6 +19,7 @@ export { ApiEntityBaseContract, ApiGetEntityTagHeaders, ApiGetHeaders, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -58,6 +60,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -81,6 +84,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, PipelineDiagnosticSettings, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts index bf3c27c7328e..c3f57a534c43 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,6 +78,8 @@ export { OpenidConnectProviderContract, OperationCollection, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationUpdateContract, ParameterContract, PipelineDiagnosticSettings, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts index 4b420d3bbab1..9de00765d1b9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiOperationPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,6 +76,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts index 61dcd8cf8f7b..dc2e46e3be39 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,6 +76,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts index d6954c5a4483..a2482501f68d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiProductMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts index 9b880c27faef..f192b2cafa9a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiReleaseMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,6 +78,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts index e99de7c3157d..ee743059e3dd 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiSchemaMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,6 +76,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts index 01db9a3fe3ca..40c1212e3f01 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiTagDescriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,6 +76,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts index be27747aad1c..26d618120cf6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/apiVersionSetMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,6 +79,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts index 1e0e3ee93469..dd6bd6d675da 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/authorizationServerMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -54,6 +56,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,6 +80,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts index 1ee1333947e2..726c2502e917 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/backendMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,6 +79,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts index cfc012c95295..ed5e2042c445 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/cacheMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,6 +79,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts index c02064460b97..3f296e78a1ce 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/certificateMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -53,6 +55,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,6 +79,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts index 17e86ef60cba..41e11c16486d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentItemMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,6 +77,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts index 1c7e9cb3bcaa..d1c3c229ef20 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/contentTypeMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,6 +76,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts index 0d0327307ce9..3a150ddbdb78 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/delegationSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -49,6 +51,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,6 +75,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts index 98aedf7918a4..9d29ccda90d7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/deletedServicesMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,6 +74,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts index 12807e90f56e..b5871ad611b8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/diagnosticMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,6 +78,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts index b4e6bd898568..43dcebf7a46c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/emailTemplateMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -52,6 +54,7 @@ export { EmailTemplateUpdateParameters, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -75,6 +78,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts index bd1944ce2578..23e29e9f1584 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayApiMappers.ts @@ -10,7 +10,9 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayApiGetEntityTagHeaders, GatewayCertificateAuthorityContract, GatewayContract, @@ -72,6 +75,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts index 69f44e9facab..919048e66d61 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayCertificateAuthorityMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityCollection, GatewayCertificateAuthorityContract, GatewayCertificateAuthorityCreateOrUpdateHeaders, @@ -74,6 +77,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts index c85ccd64b9fc..1bd448b4b220 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayHostnameConfigurationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationCollection, @@ -74,6 +77,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts index 9c3cd9b80c3c..d5d62c10f0c6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/gatewayMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayCollection, GatewayContract, @@ -80,6 +83,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts index dc5016ab4502..de3e306b7600 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -77,6 +80,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts index 24678e06044c..3dbba562a7f3 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/groupUserMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts index 13a1da054385..6270a83e9281 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/identityProviderMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,6 +81,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/index.ts b/sdk/apimanagement/arm-apimanagement/src/models/index.ts index 833ac649ae13..31a5d5b8aa99 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/index.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/index.ts @@ -108,7 +108,7 @@ export interface Resource extends BaseResource { } /** - * The object defining the schema of the exported Api Detail + * The object defining the schema of the exported API Detail */ export interface ApiExportResultValue { /** @@ -127,12 +127,12 @@ export interface ApiExportResult { */ id?: string; /** - * Format in which the Api Details are exported to the Storage Blob with Sas Key valid for 5 + * Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 * minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' */ exportResultFormat?: ExportResultFormat; /** - * The object defining the schema of the exported Api Detail + * The object defining the schema of the exported API Detail */ value?: ApiExportResultValue; } @@ -208,17 +208,17 @@ export interface OperationTagResourceContractProperties { */ readonly name?: string; /** - * Api Name. + * API Name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiName?: string; /** - * Api Revision. + * API Revision. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiRevision?: string; /** - * Api Version. + * API Version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiVersion?: string; @@ -241,6 +241,39 @@ export interface OperationTagResourceContractProperties { readonly urlTemplate?: string; } +/** + * API license information + */ +export interface ApiLicenseInformation { + /** + * The license name used for the API + */ + name?: string; + /** + * A URL to the license used for the API. MUST be in the format of a URL + */ + url?: string; +} + +/** + * API contact information + */ +export interface ApiContactInformation { + /** + * The identifying name of the contact person/organization + */ + name?: string; + /** + * The URL pointing to the contact information. MUST be in the format of a URL + */ + url?: string; + /** + * The email address of the contact person/organization. MUST be in the format of an email + * address + */ + email?: string; +} + /** * Subscription key parameter names details. */ @@ -360,15 +393,15 @@ export interface ApiEntityBaseContract { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -381,11 +414,11 @@ export interface ApiEntityBaseContract { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -396,10 +429,22 @@ export interface ApiEntityBaseContract { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; } /** - * Api Entity Properties + * API Entity Properties */ export interface ApiContractProperties extends ApiEntityBaseContract { /** @@ -482,7 +527,7 @@ export interface TagResourceContract { */ tag: TagTagResourceContractProperties; /** - * Api associated with the tag. + * API associated with the tag. */ api?: ApiTagResourceContractProperties; /** @@ -811,14 +856,9 @@ export interface SchemaContract extends Resource { */ contentType: string; /** - * Json escaped string defining the document representing the Schema. Used for schemas other than - * Swagger/OpenAPI. - */ - value?: string; - /** - * Types definitions. Used for Swagger/OpenAPI schemas only, null otherwise. + * Create or update Properties of the Schema Document. */ - definitions?: any; + document?: any; } /** @@ -929,6 +969,14 @@ export interface ParameterContract { * Parameter values. */ values?: string[]; + /** + * Schema identifier. + */ + schemaId?: string; + /** + * Type name defined by the schema. + */ + typeName?: string; } /** @@ -1005,7 +1053,7 @@ export interface RequestContract { } /** - * Api Operation Entity Base Contract details. + * API Operation Entity Base Contract details. */ export interface OperationEntityBaseContract { /** @@ -1031,7 +1079,7 @@ export interface OperationEntityBaseContract { } /** - * Api Operation details. + * API Operation details. */ export interface OperationContract extends Resource { /** @@ -1071,7 +1119,7 @@ export interface OperationContract extends Resource { } /** - * Api Operation Update Contract details. + * API Operation Update Contract details. */ export interface OperationUpdateContract { /** @@ -1184,7 +1232,7 @@ export interface ApiRevisionContract { } /** - * Api details. + * API details. */ export interface ApiContract extends Resource { /** @@ -1200,15 +1248,15 @@ export interface ApiContract extends Resource { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -1221,11 +1269,11 @@ export interface ApiContract extends Resource { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -1236,6 +1284,18 @@ export interface ApiContract extends Resource { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; /** * API identifier of the source API. */ @@ -1282,15 +1342,15 @@ export interface ApiUpdateContract { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -1303,11 +1363,11 @@ export interface ApiUpdateContract { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -1318,6 +1378,18 @@ export interface ApiUpdateContract { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; /** * API name. */ @@ -1355,15 +1427,15 @@ export interface ApiCreateOrUpdateParameter { */ subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract; /** - * Type of API. Possible values include: 'http', 'soap' + * Type of API. Possible values include: 'http', 'soap', 'websocket' */ apiType?: ApiType; /** - * Describes the Revision of the Api. If no value is provided, default revision 1 is created + * Describes the revision of the API. If no value is provided, default revision 1 is created */ apiRevision?: string; /** - * Indicates the Version identifier of the API if the API is versioned + * Indicates the version identifier of the API if the API is versioned */ apiVersion?: string; /** @@ -1376,11 +1448,11 @@ export interface ApiCreateOrUpdateParameter { */ readonly isOnline?: boolean; /** - * Description of the Api Revision. + * Description of the API Revision. */ apiRevisionDescription?: string; /** - * Description of the Api Version. + * Description of the API Version. */ apiVersionDescription?: string; /** @@ -1391,6 +1463,18 @@ export interface ApiCreateOrUpdateParameter { * Specifies whether an API or Product subscription is required for accessing the API. */ subscriptionRequired?: boolean; + /** + * A URL to the Terms of Service for the API. MUST be in the format of a URL. + */ + termsOfServiceUrl?: string; + /** + * Contact information for the API. + */ + contact?: ApiContactInformation; + /** + * License information for the API. + */ + license?: ApiLicenseInformation; /** * API identifier of the source API. */ @@ -1433,16 +1517,17 @@ export interface ApiCreateOrUpdateParameter { */ wsdlSelector?: ApiCreateOrUpdatePropertiesWsdlSelector; /** - * Type of Api to create. - * * `http` creates a SOAP to REST API - * * `soap` creates a SOAP pass-through API. Possible values include: 'SoapToRest', - * 'SoapPassThrough' + * Type of API to create. + * * `http` creates a REST API + * * `soap` creates a SOAP pass-through API + * * `websocket` creates websocket API. Possible values include: 'SoapToRest', 'SoapPassThrough', + * 'WebSocket' */ soapApiType?: SoapApiType; } /** - * Api Version set base parameters + * API Version set base parameters */ export interface ApiVersionSetEntityBase { /** @@ -1461,7 +1546,7 @@ export interface ApiVersionSetEntityBase { } /** - * Api Version Set Contract details. + * API Version Set Contract details. */ export interface ApiVersionSetContract extends Resource { /** @@ -1489,7 +1574,7 @@ export interface ApiVersionSetContract extends Resource { } /** - * Parameters to update or create an Api Version Set Contract. + * Parameters to update or create an API Version Set Contract. */ export interface ApiVersionSetUpdateParameters { /** @@ -1922,7 +2007,7 @@ export interface BackendBaseParameters { description?: string; /** * Management Uri of the Resource in External System. This url can be the Arm Resource Id of - * Logic Apps, Function Apps or Api Apps. + * Logic Apps, Function Apps or API Apps. */ resourceId?: string; /** @@ -1957,7 +2042,7 @@ export interface BackendContract extends Resource { description?: string; /** * Management Uri of the Resource in External System. This url can be the Arm Resource Id of - * Logic Apps, Function Apps or Api Apps. + * Logic Apps, Function Apps or API Apps. */ resourceId?: string; /** @@ -2000,7 +2085,7 @@ export interface BackendUpdateParameters { description?: string; /** * Management Uri of the Resource in External System. This url can be the Arm Resource Id of - * Logic Apps, Function Apps or Api Apps. + * Logic Apps, Function Apps or API Apps. */ resourceId?: string; /** @@ -2081,7 +2166,7 @@ export interface CacheUpdateParameters { export interface KeyVaultContractCreateProperties { /** * Key vault secret identifier for fetching secret. Providing a versioned secret will prevent - * auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi + * auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi */ secretIdentifier?: string; /** @@ -2198,7 +2283,7 @@ export interface ContentTypeContract extends Resource { } /** - * Deleted Api Management Service information. + * Deleted API Management Service information. */ export interface DeletedServiceContract extends Resource { /** @@ -2216,7 +2301,7 @@ export interface DeletedServiceContract extends Resource { */ deletionDate?: Date; /** - * Api Management Service Master Location. + * API Management Service Master Location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly location?: string; @@ -2373,6 +2458,14 @@ export interface HostnameConfiguration { * Certificate information. */ certificate?: CertificateInformation; + /** + * Certificate Source. Possible values include: 'Managed', 'KeyVault', 'Custom', 'BuiltIn' + */ + certificateSource?: CertificateSource; + /** + * Certificate Status. Possible values include: 'Completed', 'Failed', 'InProgress' + */ + certificateStatus?: CertificateStatus; } /** @@ -2440,6 +2533,11 @@ export interface AdditionalLocation { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the location. Supported only for Premium SKU being deployed in Virtual Network. + */ + publicIpAddressId?: string; /** * Virtual network configuration for the location. */ @@ -2563,6 +2661,12 @@ export interface ApiManagementServiceBaseProperties { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the region. Supported only for Developer and Premium SKU being deployed in Virtual + * Network. + */ + publicIpAddressId?: string; /** * Virtual network configuration of the API Management service. */ @@ -2780,6 +2884,12 @@ export interface ApiManagementServiceResource extends ApimResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the region. Supported only for Developer and Premium SKU being deployed in Virtual + * Network. + */ + publicIpAddressId?: string; /** * Virtual network configuration of the API Management service. */ @@ -2957,6 +3067,12 @@ export interface ApiManagementServiceUpdateParameters extends ApimResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly privateIPAddresses?: string[]; + /** + * Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed + * service in the region. Supported only for Developer and Premium SKU being deployed in Virtual + * Network. + */ + publicIpAddressId?: string; /** * Virtual network configuration of the API Management service. */ @@ -3204,7 +3320,7 @@ export interface EmailTemplateContract extends Resource { */ description?: string; /** - * Whether the template is the default template provided by Api Management or has been edited. + * 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.** */ readonly isDefault?: boolean; @@ -4165,7 +4281,7 @@ export interface PolicyDescriptionCollection { } /** - * Portal revisions contract details. + * Portal Revision's contract details. */ export interface PortalRevisionContract extends Resource { /** @@ -4178,17 +4294,17 @@ export interface PortalRevisionContract extends Resource { */ readonly statusDetails?: string; /** - * Portal revision publishing status. Possible values include: 'pending', 'publishing', + * Status of the portal's revision. Possible values include: 'pending', 'publishing', * 'completed', 'failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: PortalRevisionStatus; /** - * Indicates if the Portal Revision is public. + * Indicates if the portal's revision is public. */ isCurrent?: boolean; /** - * Portal revision creation date and time. + * Portal's revision creation date and time. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdDateTime?: Date; @@ -5089,7 +5205,7 @@ export interface TagCreateUpdateParameters { } /** - * Tenant Configuration Synchronization State. + * Result of Tenant Configuration Sync State. */ export interface TenantConfigurationSyncStateContract { /** @@ -5122,6 +5238,10 @@ export interface TenantConfigurationSyncStateContract { * `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. */ configurationChangeDate?: Date; + /** + * Most recent tenant configuration operation identifier + */ + lastOperationId?: string; } /** @@ -5143,13 +5263,13 @@ export interface OperationResultLogItemContract { } /** - * Operation Result. + * Long Running Git Operation Results. */ -export interface OperationResultContract { +export interface OperationResultContract extends Resource { /** * Operation result identifier. */ - id?: string; + operationResultContractId?: string; /** * Status of an async operation. Possible values include: 'Started', 'InProgress', 'Succeeded', * 'Failed' @@ -10260,7 +10380,7 @@ export interface UserSubscriptionGetHeaders { /** * @interface - * Paged Api list representation. + * Paged API list representation. * @extends Array */ export interface ApiCollection extends Array { @@ -10293,7 +10413,7 @@ export interface TagResourceCollection extends Array { /** * @interface - * Paged Api Revision list representation. + * Paged API Revision list representation. * @extends Array */ export interface ApiRevisionCollection extends Array { @@ -10476,7 +10596,7 @@ export interface TagDescriptionCollection extends Array /** * @interface - * Paged Api Version Set list representation. + * Paged API Version Set list representation. * @extends Array */ export interface ApiVersionSetCollection extends Array { @@ -10582,7 +10702,7 @@ export interface ContentItemCollection extends Array { /** * @interface - * Paged deleted Api Management Services List Representation. + * Paged deleted API Management Services List Representation. * @extends Array */ export interface DeletedServicesCollection extends Array { @@ -10961,11 +11081,11 @@ export type BearerTokenSendingMethods = 'authorizationHeader' | 'query'; /** * Defines values for Protocol. - * Possible values include: 'http', 'https' + * Possible values include: 'http', 'https', 'ws', 'wss' * @readonly * @enum {string} */ -export type Protocol = 'http' | 'https'; +export type Protocol = 'http' | 'https' | 'ws' | 'wss'; /** * Defines values for ContentFormat. @@ -10978,19 +11098,19 @@ export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'sw /** * Defines values for SoapApiType. - * Possible values include: 'SoapToRest', 'SoapPassThrough' + * Possible values include: 'SoapToRest', 'SoapPassThrough', 'WebSocket' * @readonly * @enum {string} */ -export type SoapApiType = 'http' | 'soap'; +export type SoapApiType = 'http' | 'soap' | 'websocket'; /** * Defines values for ApiType. - * Possible values include: 'http', 'soap' + * Possible values include: 'http', 'soap', 'websocket' * @readonly * @enum {string} */ -export type ApiType = 'http' | 'soap'; +export type ApiType = 'http' | 'soap' | 'websocket'; /** * Defines values for State. @@ -11129,6 +11249,22 @@ export type ResourceSkuCapacityScaleType = 'automatic' | 'manual' | 'none'; */ export type HostnameType = 'Proxy' | 'Portal' | 'Management' | 'Scm' | 'DeveloperPortal'; +/** + * Defines values for CertificateSource. + * Possible values include: 'Managed', 'KeyVault', 'Custom', 'BuiltIn' + * @readonly + * @enum {string} + */ +export type CertificateSource = 'Managed' | 'KeyVault' | 'Custom' | 'BuiltIn'; + +/** + * Defines values for CertificateStatus. + * Possible values include: 'Completed', 'Failed', 'InProgress' + * @readonly + * @enum {string} + */ +export type CertificateStatus = 'Completed' | 'Failed' | 'InProgress'; + /** * Defines values for VirtualNetworkType. * Possible values include: 'None', 'External', 'Internal' diff --git a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts index efe36a116985..cce2e95b8c29 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/issueMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -72,6 +75,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts index 1603929b6986..d1a6af66e53f 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/loggerMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -76,6 +79,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts index f8ab696a66d7..d11d0a625c66 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/mappers.ts @@ -360,6 +360,56 @@ export const OperationTagResourceContractProperties: msRest.CompositeMapper = { } }; +export const ApiLicenseInformation: msRest.CompositeMapper = { + serializedName: "ApiLicenseInformation", + type: { + name: "Composite", + className: "ApiLicenseInformation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + url: { + serializedName: "url", + type: { + name: "String" + } + } + } + } +}; + +export const ApiContactInformation: msRest.CompositeMapper = { + serializedName: "ApiContactInformation", + type: { + name: "Composite", + className: "ApiContactInformation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + url: { + serializedName: "url", + type: { + name: "String" + } + }, + email: { + serializedName: "email", + type: { + name: "String" + } + } + } + } +}; + export const SubscriptionKeyParameterNamesContract: msRest.CompositeMapper = { serializedName: "SubscriptionKeyParameterNamesContract", type: { @@ -616,6 +666,26 @@ export const ApiEntityBaseContract: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + termsOfServiceUrl: { + serializedName: "termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } } } } @@ -671,11 +741,7 @@ export const ApiContractProperties: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -740,11 +806,7 @@ export const ApiTagResourceContractProperties: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -1349,14 +1411,8 @@ export const SchemaContract: msRest.CompositeMapper = { name: "String" } }, - value: { - serializedName: "properties.document.value", - type: { - name: "String" - } - }, - definitions: { - serializedName: "properties.document.definitions", + document: { + serializedName: "properties\\.document", type: { name: "Object" } @@ -1538,6 +1594,18 @@ export const ParameterContract: msRest.CompositeMapper = { } } } + }, + schemaId: { + serializedName: "schemaId", + type: { + name: "String" + } + }, + typeName: { + serializedName: "typeName", + type: { + name: "String" + } } } } @@ -2118,6 +2186,26 @@ export const ApiContract: msRest.CompositeMapper = { name: "Boolean" } }, + termsOfServiceUrl: { + serializedName: "properties.termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "properties.contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "properties.license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } + }, sourceApiId: { serializedName: "properties.sourceApiId", type: { @@ -2161,11 +2249,7 @@ export const ApiContract: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -2275,6 +2359,26 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Boolean" } }, + termsOfServiceUrl: { + serializedName: "properties.termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "properties.contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "properties.license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } + }, displayName: { serializedName: "properties.displayName", constraints: { @@ -2311,11 +2415,7 @@ export const ApiUpdateContract: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -2418,6 +2518,26 @@ export const ApiCreateOrUpdateParameter: msRest.CompositeMapper = { name: "Boolean" } }, + termsOfServiceUrl: { + serializedName: "properties.termsOfServiceUrl", + type: { + name: "String" + } + }, + contact: { + serializedName: "properties.contact", + type: { + name: "Composite", + className: "ApiContactInformation" + } + }, + license: { + serializedName: "properties.license", + type: { + name: "Composite", + className: "ApiLicenseInformation" + } + }, sourceApiId: { serializedName: "properties.sourceApiId", type: { @@ -2461,11 +2581,7 @@ export const ApiCreateOrUpdateParameter: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Enum", - allowedValues: [ - "http", - "https" - ] + name: "String" } } } @@ -4173,6 +4289,18 @@ export const HostnameConfiguration: msRest.CompositeMapper = { name: "Composite", className: "CertificateInformation" } + }, + certificateSource: { + serializedName: "certificateSource", + type: { + name: "String" + } + }, + certificateStatus: { + serializedName: "certificateStatus", + type: { + name: "String" + } } } } @@ -4291,6 +4419,12 @@ export const AdditionalLocation: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "publicIpAddressId", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "virtualNetworkConfiguration", type: { @@ -4484,6 +4618,12 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "publicIpAddressId", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "virtualNetworkConfiguration", type: { @@ -4787,6 +4927,12 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "properties.publicIpAddressId", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "properties.virtualNetworkConfiguration", type: { @@ -5043,6 +5189,12 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = { } } }, + publicIpAddressId: { + serializedName: "properties.publicIpAddressId", + type: { + name: "String" + } + }, virtualNetworkConfiguration: { serializedName: "properties.virtualNetworkConfiguration", type: { @@ -8708,46 +8860,52 @@ export const TenantConfigurationSyncStateContract: msRest.CompositeMapper = { className: "TenantConfigurationSyncStateContract", modelProperties: { branch: { - serializedName: "branch", + serializedName: "properties.branch", type: { name: "String" } }, commitId: { - serializedName: "commitId", + serializedName: "properties.commitId", type: { name: "String" } }, isExport: { - serializedName: "isExport", + serializedName: "properties.isExport", type: { name: "Boolean" } }, isSynced: { - serializedName: "isSynced", + serializedName: "properties.isSynced", type: { name: "Boolean" } }, isGitEnabled: { - serializedName: "isGitEnabled", + serializedName: "properties.isGitEnabled", type: { name: "Boolean" } }, syncDate: { - serializedName: "syncDate", + serializedName: "properties.syncDate", type: { name: "DateTime" } }, configurationChangeDate: { - serializedName: "configurationChangeDate", + serializedName: "properties.configurationChangeDate", type: { name: "DateTime" } + }, + lastOperationId: { + serializedName: "properties.lastOperationId", + type: { + name: "String" + } } } } @@ -8787,14 +8945,15 @@ export const OperationResultContract: msRest.CompositeMapper = { name: "Composite", className: "OperationResultContract", modelProperties: { - id: { - serializedName: "id", + ...Resource.type.modelProperties, + operationResultContractId: { + serializedName: "properties.id", type: { name: "String" } }, status: { - serializedName: "status", + serializedName: "properties.status", type: { name: "Enum", allowedValues: [ @@ -8806,25 +8965,25 @@ export const OperationResultContract: msRest.CompositeMapper = { } }, started: { - serializedName: "started", + serializedName: "properties.started", type: { name: "DateTime" } }, updated: { - serializedName: "updated", + serializedName: "properties.updated", type: { name: "DateTime" } }, resultInfo: { - serializedName: "resultInfo", + serializedName: "properties.resultInfo", type: { name: "String" } }, error: { - serializedName: "error", + serializedName: "properties.error", type: { name: "Composite", className: "ErrorResponseBody" @@ -8832,7 +8991,7 @@ export const OperationResultContract: msRest.CompositeMapper = { }, actionLog: { readOnly: true, - serializedName: "actionLog", + serializedName: "properties.actionLog", type: { name: "Sequence", element: { diff --git a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts index 37c3ce050068..1828de351e84 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/namedValueMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -79,6 +82,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts index 830c2d9a8b8d..6b0e2e9dc42d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,6 +74,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts index c30aeeb958c3..d603509791e0 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientEmailMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts index 5f8d0756d6c4..3c792f2b4584 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/notificationRecipientUserMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts index 7657aec7c495..22fdb14009cb 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/openIdConnectProviderMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -78,6 +81,8 @@ export { OpenidConnectProviderUpdateContract, OpenIdConnectProviderUpdateHeaders, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts index f75cb5d3f102..9380d1962c73 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/operationOperationsMappers.ts @@ -7,8 +7,10 @@ */ export { + ApiContactInformation, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiTagResourceContractProperties, ApiVersionSetContractDetails, AuthenticationSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts index 2144d2458421..16c25e0029a6 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyDescriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts index 307cf807c5a9..806fc7fa14ec 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/policyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts index 02f6c4eac7c6..1bb0f47b7ac7 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalRevisionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts index 6a779c200a89..f0818b60d1d9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/portalSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts index 25253de8dcdf..7c6b49e60891 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productApiMappers.ts @@ -10,7 +10,9 @@ export { AccessInformationContract, AdditionalLocation, ApiCollection, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -48,6 +50,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,6 +74,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts index 6a502aca75eb..63176820704a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productGroupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,6 +74,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts index 11bdf825c3d0..24d642648d7c 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productMappers.ts @@ -9,9 +9,11 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -50,6 +52,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -73,6 +76,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, OperationTagResourceContractProperties, ParameterContract, PipelineDiagnosticSettings, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts index 8c71ce15963f..7c75038f7487 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productPolicyMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyCollection, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts index bb3cd32c8806..7bd936d37d74 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/productSubscriptionsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts index d4e2e1b5766b..0b5a5b2dfa96 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signInSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts index 69e7dde54352..d528f5f6faf8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/signUpSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts index 0c0e8ce97ba9..03a66f27bc4d 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/subscriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts index 256ee374e33b..0088d51216f1 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts index f75cb5d3f102..9380d1962c73 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tagResourceMappers.ts @@ -7,8 +7,10 @@ */ export { + ApiContactInformation, ApiContractProperties, ApiEntityBaseContract, + ApiLicenseInformation, ApiTagResourceContractProperties, ApiVersionSetContractDetails, AuthenticationSettingsContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts index 81829aa57b4e..c373951c85f4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantAccessMappers.ts @@ -13,7 +13,9 @@ export { AccessInformationSecretsContract, AccessInformationUpdateParameters, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -51,6 +53,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -74,6 +77,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts index 623bc88c1291..b4922782e8d8 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantConfigurationMappers.ts @@ -7,12 +7,109 @@ */ export { + AccessInformationContract, + AdditionalLocation, + ApiContactInformation, + ApiContract, + ApiLicenseInformation, + ApiManagementServiceIdentity, + ApiManagementServiceResource, + ApiManagementServiceSkuProperties, + ApiManagementServiceUpdateParameters, + ApimResource, + ApiReleaseContract, + ApiVersionConstraint, + ApiVersionSetContract, + ApiVersionSetContractDetails, + AssociationContract, + AuthenticationSettingsContract, + AuthorizationServerContract, + AuthorizationServerUpdateContract, + BackendAuthorizationHeaderCredentials, + BackendContract, + BackendCredentialsContract, + BackendProperties, + BackendProxyContract, + BackendReconnectContract, + BackendServiceFabricClusterProperties, + BackendTlsProperties, + BaseResource, + BodyDiagnosticSettings, + CacheContract, + CertificateConfiguration, + CertificateContract, + CertificateInformation, + ContentItemContract, + ContentTypeContract, + DataMasking, + DataMaskingEntity, + DeletedServiceContract, DeployConfigurationParameters, + DiagnosticContract, + EmailTemplateContract, + EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, ErrorResponseBody, + GatewayCertificateAuthorityContract, + GatewayContract, + GatewayHostnameConfigurationContract, + GroupContract, + GroupContractProperties, + HostnameConfiguration, + HttpMessageDiagnostic, + IdentityProviderContract, + IdentityProviderCreateContract, + IssueAttachmentContract, + IssueCommentContract, + IssueContract, + KeyVaultContractCreateProperties, + KeyVaultContractProperties, + KeyVaultLastAccessStatusContractProperties, + LoggerContract, + NamedValueContract, + NamedValueCreateContract, + NotificationContract, + OAuth2AuthenticationSettingsContract, + OpenIdAuthenticationSettingsContract, + OpenidConnectProviderContract, + OperationContract, OperationResultContract, OperationResultLogItemContract, + ParameterContract, + PipelineDiagnosticSettings, + PolicyContract, + PolicyDescriptionContract, + PortalDelegationSettings, + PortalRevisionContract, + PortalSettingsContract, + PortalSigninSettings, + PortalSignupSettings, + ProductContract, + RecipientEmailContract, + RecipientsContractProperties, + RecipientUserContract, + RegistrationDelegationSettingsProperties, + RepresentationContract, + RequestContract, + Resource, + ResourceLocationDataContract, + ResponseContract, + SamplingSettings, SaveConfigurationParameter, - TenantConfigurationSyncStateContract + SchemaContract, + SubscriptionContract, + SubscriptionKeyParameterNamesContract, + SubscriptionsDelegationSettingsProperties, + TagContract, + TagDescriptionContract, + TenantConfigurationSyncStateContract, + TenantSettingsContract, + TermsOfServiceProperties, + TokenBodyParameterContract, + UserContract, + UserIdentityContract, + UserIdentityProperties, + VirtualNetworkConfiguration, + X509CertificateName } from "../models/mappers"; diff --git a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts index a0cf17c952da..9c4aa1334e92 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/tenantSettingsMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts index 6a502aca75eb..63176820704a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userGroupMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,6 +74,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts index 8a4af92021e0..dc3c17380be9 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -71,6 +74,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts index a9943509b5ba..0ca3b7df6a88 100644 --- a/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts +++ b/sdk/apimanagement/arm-apimanagement/src/models/userSubscriptionMappers.ts @@ -9,7 +9,9 @@ export { AccessInformationContract, AdditionalLocation, + ApiContactInformation, ApiContract, + ApiLicenseInformation, ApiManagementServiceIdentity, ApiManagementServiceResource, ApiManagementServiceSkuProperties, @@ -47,6 +49,7 @@ export { EmailTemplateParametersContractProperties, ErrorFieldContract, ErrorResponse, + ErrorResponseBody, GatewayCertificateAuthorityContract, GatewayContract, GatewayHostnameConfigurationContract, @@ -70,6 +73,8 @@ export { OpenIdAuthenticationSettingsContract, OpenidConnectProviderContract, OperationContract, + OperationResultContract, + OperationResultLogItemContract, ParameterContract, PipelineDiagnosticSettings, PolicyContract, diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts index 75666e4b95ab..4c946eea91ad 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentItem.ts @@ -26,7 +26,7 @@ export class ContentItem { } /** - * Returns list of content items + * Lists developer portal's content items specified by the provided content type. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -62,7 +62,8 @@ export class ContentItem { } /** - * Returns content item metadata + * Returns the entity state (ETag) version of the developer portal's content item specified by its + * identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -102,7 +103,7 @@ export class ContentItem { } /** - * Returns content item details + * Returns the developer portal's content item specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -142,7 +143,7 @@ export class ContentItem { } /** - * Creates new content item + * Creates a new developer portal's content item specified by the provided content type. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -182,7 +183,7 @@ export class ContentItem { } /** - * Removes specified content item. + * Removes the specified developer portal's content item. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -229,7 +230,7 @@ export class ContentItem { } /** - * Returns list of content items + * Lists developer portal's content items specified by the provided content type. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts index 4459b47eb782..1669857e93f4 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/contentType.ts @@ -26,7 +26,8 @@ export class ContentType { } /** - * Returns list of content types + * Lists the developer portal's content types. Content types describe content items' properties, + * validation rules, and constraints. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param [options] The optional parameters @@ -58,7 +59,8 @@ export class ContentType { } /** - * Gets API Management content type details. + * Gets the details of the developer portal's content type. Content types describe content items' + * properties, validation rules, and constraints. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -94,7 +96,9 @@ export class ContentType { } /** - * Creates or updates an Content Type. + * Creates or updates the developer portal's content type. Content types describe content items' + * properties, validation rules, and constraints. Custom content types' identifiers need to start + * with the `c-` prefix. Built-in content types can't be modified. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -130,7 +134,9 @@ export class ContentType { } /** - * Removes specified content type. + * Removes the specified developer portal's content type. Content types describe content items' + * properties, validation rules, and constraints. Built-in content types (with identifiers starting + * with the `c-` prefix) can't be removed. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param contentTypeId Content type identifier. @@ -173,7 +179,8 @@ export class ContentType { } /** - * Returns list of content types + * Lists the developer portal's content types. Content types describe content items' properties, + * validation rules, and constraints. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts index e03ba7ef0dce..a5c1ae9d4366 100644 --- a/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts +++ b/sdk/apimanagement/arm-apimanagement/src/operations/portalRevision.ts @@ -27,7 +27,7 @@ export class PortalRevision { } /** - * Lists a collection of developer portal revision entities. + * Lists developer portal's revisions. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param [options] The optional parameters @@ -59,7 +59,7 @@ export class PortalRevision { } /** - * Gets developer portal revision specified by its identifier. + * Gets the developer portal revision specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -98,7 +98,7 @@ export class PortalRevision { } /** - * Gets developer portal revision specified by its identifier. + * Gets the developer portal's revision specified by its identifier. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -137,7 +137,8 @@ export class PortalRevision { } /** - * Creates a new developer portal revision. + * Creates a new developer portal's revision by running the portal's publishing. The `isCurrent` + * property indicates if the revision is publicly accessible. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -169,7 +170,8 @@ export class PortalRevision { } /** - * Creates a new developer portal revision. + * Creates a new developer portal's revision by running the portal's publishing. The `isCurrent` + * property indicates if the revision is publicly accessible. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the API Management service. * @param portalRevisionId Portal revision identifier. Must be unique in the current API Management @@ -218,7 +220,7 @@ export class PortalRevision { } /** - * Lists a collection of developer portal revision entities. + * Lists developer portal's revisions. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise