diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md
index c72b1eb0a91b..faa16994e70d 100644
--- a/sdk/apimanagement/arm-apimanagement/README.md
+++ b/sdk/apimanagement/arm-apimanagement/README.md
@@ -1,103 +1,111 @@
## Azure ApiManagementClient SDK for JavaScript
-This package contains an isomorphic SDK for ApiManagementClient.
+This package contains an isomorphic SDK (runs both in node.js and in browsers) for ApiManagementClient.
### Currently supported environments
-- Node.js version 6.x.x or higher
-- Browser JavaScript
+- [LTS versions of Node.js](https://nodejs.org/about/releases/)
+- Latest versions of Safari, Chrome, Edge and Firefox.
-### How to Install
+### Prerequisites
+You must have an [Azure subscription](https://azure.microsoft.com/free/).
+
+### How to install
+
+To use this SDK in your project, you will need to install two packages.
+- `@azure/arm-apimanagement` that contains the client.
+- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
+
+Install both packages using the below command:
```bash
-npm install @azure/arm-apimanagement
+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.
### How to use
-#### nodejs - client creation and listByService api as an example written in TypeScript.
+- If you are writing a client side browser application,
+ - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
+ - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
+- If you are writing a server side application,
+ - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
+ - Complete the set up steps required by the credential if any.
+ - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
-##### Install @azure/ms-rest-nodeauth
-
-- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
-```bash
-npm install @azure/ms-rest-nodeauth@"^3.0.0"
-```
+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
-While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
-```typescript
-const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+```javascript
+const { DefaultAzureCredential } = require("@azure/identity");
const { ApiManagementClient } = require("@azure/arm-apimanagement");
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-msRestNodeAuth.interactiveLogin().then((creds) => {
- const client = new ApiManagementClient(creds, subscriptionId);
- const resourceGroupName = "testresourceGroupName";
- const serviceName = "testserviceName";
- const filter = "testfilter";
- const top = 1;
- const skip = 1;
- const tags = "testtags";
- const expandApiVersionSet = true;
- client.api.listByService(resourceGroupName, serviceName, filter, top, skip, tags, expandApiVersionSet).then((result) => {
- console.log("The result is:");
- console.log(result);
- });
+// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
+// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
+const creds = new DefaultAzureCredential();
+const client = new ApiManagementClient(creds, subscriptionId);
+const resourceGroupName = "testresourceGroupName";
+const serviceName = "testserviceName";
+const filter = "testfilter";
+const top = 1;
+const skip = 1;
+const tags = "testtags";
+const expandApiVersionSet = true;
+client.api.listByService(resourceGroupName, serviceName, filter, top, skip, tags, expandApiVersionSet).then((result) => {
+ console.log("The result is:");
+ console.log(result);
}).catch((err) => {
+ console.log("An error occurred:");
console.error(err);
});
```
-#### browser - Authentication, client creation and listByService api as an example written in JavaScript.
+#### browser - Authentication, client creation, and listByService api as an example written in JavaScript.
-##### Install @azure/ms-rest-browserauth
-
-```bash
-npm install @azure/ms-rest-browserauth
-```
+In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
+ - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
+ - Note down the client Id from the previous step and use it in the browser sample below.
##### Sample code
-See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
-
- index.html
+
```html
@azure/arm-apimanagement sample
-
-
+
diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json
index a998acb083b6..04c966c54076 100644
--- a/sdk/apimanagement/arm-apimanagement/package.json
+++ b/sdk/apimanagement/arm-apimanagement/package.json
@@ -4,8 +4,9 @@
"description": "ApiManagementClient Library with typescript type definitions for node.js and browser.",
"version": "7.0.0",
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.0.1",
- "@azure/ms-rest-js": "^2.0.4",
+ "@azure/ms-rest-azure-js": "^2.1.0",
+ "@azure/ms-rest-js": "^2.2.0",
+ "@azure/core-auth": "^1.1.4",
"tslib": "^1.10.0"
},
"keywords": [
@@ -20,7 +21,7 @@
"module": "./esm/apiManagementClient.js",
"types": "./esm/apiManagementClient.d.ts",
"devDependencies": {
- "typescript": "^3.5.3",
+ "typescript": "^3.6.0",
"rollup": "^1.18.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts
index a94b91e45a04..43154573785a 100644
--- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts
+++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts
@@ -8,6 +8,7 @@
*/
import * as msRest from "@azure/ms-rest-js";
+import { TokenCredential } from "@azure/core-auth";
import * as Models from "./models";
import * as Mappers from "./models/mappers";
import * as operations from "./operations";
@@ -91,12 +92,17 @@ class ApiManagementClient extends ApiManagementClientContext {
/**
* Initializes a new instance of the ApiManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure.
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
+ * more information about these credentials, see
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
+ * @azure/ms-rest-browserauth are also supported.
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
* subscription. The subscription ID forms part of the URI for every service call.
* @param [options] The parameter options
*/
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApiManagementClientOptions) {
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ApiManagementClientOptions) {
super(credentials, subscriptionId, options);
this.api = new operations.Api(this);
this.apiRevision = new operations.ApiRevision(this);
diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts
index ae754b309f13..b020eccd5b8d 100644
--- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts
+++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts
@@ -10,23 +10,29 @@
import * as Models from "./models";
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
+import { TokenCredential } from "@azure/core-auth";
const packageName = "@azure/arm-apimanagement";
const packageVersion = "7.0.0";
export class ApiManagementClientContext extends msRestAzure.AzureServiceClient {
- credentials: msRest.ServiceClientCredentials;
+ credentials: msRest.ServiceClientCredentials | TokenCredential;
apiVersion?: string;
subscriptionId: string;
/**
* Initializes a new instance of the ApiManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure.
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
+ * more information about these credentials, see
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
+ * @azure/ms-rest-browserauth are also supported.
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
* subscription. The subscription ID forms part of the URI for every service call.
* @param [options] The parameter options
*/
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApiManagementClientOptions) {
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ApiManagementClientOptions) {
if (credentials == undefined) {
throw new Error('\'credentials\' cannot be null.');
}
@@ -37,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-04-01-preview';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
@@ -52,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..060ffb3bafa6 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', 'graphql'
*/
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;
/**
@@ -929,6 +974,14 @@ export interface ParameterContract {
* Parameter values.
*/
values?: string[];
+ /**
+ * Schema identifier.
+ */
+ schemaId?: string;
+ /**
+ * Type name defined by the schema.
+ */
+ typeName?: string;
}
/**
@@ -1005,7 +1058,7 @@ export interface RequestContract {
}
/**
- * Api Operation Entity Base Contract details.
+ * API Operation Entity Base Contract details.
*/
export interface OperationEntityBaseContract {
/**
@@ -1031,7 +1084,7 @@ export interface OperationEntityBaseContract {
}
/**
- * Api Operation details.
+ * API Operation details.
*/
export interface OperationContract extends Resource {
/**
@@ -1071,7 +1124,7 @@ export interface OperationContract extends Resource {
}
/**
- * Api Operation Update Contract details.
+ * API Operation Update Contract details.
*/
export interface OperationUpdateContract {
/**
@@ -1184,7 +1237,7 @@ export interface ApiRevisionContract {
}
/**
- * Api details.
+ * API details.
*/
export interface ApiContract extends Resource {
/**
@@ -1200,15 +1253,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', 'graphql'
*/
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 +1274,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 +1289,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 +1347,15 @@ export interface ApiUpdateContract {
*/
subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract;
/**
- * Type of API. Possible values include: 'http', 'soap'
+ * Type of API. Possible values include: 'http', 'soap', 'websocket', 'graphql'
*/
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 +1368,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 +1383,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 +1432,15 @@ export interface ApiCreateOrUpdateParameter {
*/
subscriptionKeyParameterNames?: SubscriptionKeyParameterNamesContract;
/**
- * Type of API. Possible values include: 'http', 'soap'
+ * Type of API. Possible values include: 'http', 'soap', 'websocket', 'graphql'
*/
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 +1453,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 +1468,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.
*/
@@ -1425,7 +1514,7 @@ export interface ApiCreateOrUpdateParameter {
/**
* Format of the Content in which the API is getting imported. Possible values include:
* 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', 'wsdl', 'wsdl-link',
- * 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link'
+ * 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link', 'graphql-link'
*/
format?: ContentFormat;
/**
@@ -1433,16 +1522,18 @@ 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
+ * * `graphql` creates GraphQL API. Possible values include: 'SoapToRest', 'SoapPassThrough',
+ * 'WebSocket', 'GraphQL'
*/
soapApiType?: SoapApiType;
}
/**
- * Api Version set base parameters
+ * API Version set base parameters
*/
export interface ApiVersionSetEntityBase {
/**
@@ -1461,7 +1552,7 @@ export interface ApiVersionSetEntityBase {
}
/**
- * Api Version Set Contract details.
+ * API Version Set Contract details.
*/
export interface ApiVersionSetContract extends Resource {
/**
@@ -1489,7 +1580,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 +2013,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 +2048,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 +2091,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 +2172,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 +2289,7 @@ export interface ContentTypeContract extends Resource {
}
/**
- * Deleted Api Management Service information.
+ * Deleted API Management Service information.
*/
export interface DeletedServiceContract extends Resource {
/**
@@ -2216,7 +2307,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 +2464,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 +2539,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 +2667,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 +2890,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 +3073,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 +3326,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 +4287,7 @@ export interface PolicyDescriptionCollection {
}
/**
- * Portal revisions contract details.
+ * Portal Revision's contract details.
*/
export interface PortalRevisionContract extends Resource {
/**
@@ -4178,17 +4300,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 +5211,7 @@ export interface TagCreateUpdateParameters {
}
/**
- * Tenant Configuration Synchronization State.
+ * Result of Tenant Configuration Sync State.
*/
export interface TenantConfigurationSyncStateContract {
/**
@@ -5122,6 +5244,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 +5269,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 +10386,7 @@ export interface UserSubscriptionGetHeaders {
/**
* @interface
- * Paged Api list representation.
+ * Paged API list representation.
* @extends Array
*/
export interface ApiCollection extends Array {
@@ -10293,7 +10419,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 +10602,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 +10708,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,36 +11087,37 @@ 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.
* Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json',
- * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link'
+ * 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link', 'openapi+json-link',
+ * 'graphql-link'
* @readonly
* @enum {string}
*/
-export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link';
+export type ContentFormat = 'wadl-xml' | 'wadl-link-json' | 'swagger-json' | 'swagger-link-json' | 'wsdl' | 'wsdl-link' | 'openapi' | 'openapi+json' | 'openapi-link' | 'openapi+json-link' | 'graphql-link';
/**
* Defines values for SoapApiType.
- * Possible values include: 'SoapToRest', 'SoapPassThrough'
+ * Possible values include: 'SoapToRest', 'SoapPassThrough', 'WebSocket', 'GraphQL'
* @readonly
* @enum {string}
*/
-export type SoapApiType = 'http' | 'soap';
+export type SoapApiType = 'http' | 'soap' | 'websocket' | 'graphql';
/**
* Defines values for ApiType.
- * Possible values include: 'http', 'soap'
+ * Possible values include: 'http', 'soap', 'websocket', 'graphql'
* @readonly
* @enum {string}
*/
-export type ApiType = 'http' | 'soap';
+export type ApiType = 'http' | 'soap' | 'websocket' | 'graphql';
/**
* Defines values for State.
@@ -11129,6 +11256,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..de242ce0218a 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"
}
}
}
@@ -1538,6 +1600,18 @@ export const ParameterContract: msRest.CompositeMapper = {
}
}
}
+ },
+ schemaId: {
+ serializedName: "schemaId",
+ type: {
+ name: "String"
+ }
+ },
+ typeName: {
+ serializedName: "typeName",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -2118,6 +2192,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 +2255,7 @@ export const ApiContract: msRest.CompositeMapper = {
name: "Sequence",
element: {
type: {
- name: "Enum",
- allowedValues: [
- "http",
- "https"
- ]
+ name: "String"
}
}
}
@@ -2275,6 +2365,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 +2421,7 @@ export const ApiUpdateContract: msRest.CompositeMapper = {
name: "Sequence",
element: {
type: {
- name: "Enum",
- allowedValues: [
- "http",
- "https"
- ]
+ name: "String"
}
}
}
@@ -2418,6 +2524,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 +2587,7 @@ export const ApiCreateOrUpdateParameter: msRest.CompositeMapper = {
name: "Sequence",
element: {
type: {
- name: "Enum",
- allowedValues: [
- "http",
- "https"
- ]
+ name: "String"
}
}
}
@@ -4173,6 +4295,18 @@ export const HostnameConfiguration: msRest.CompositeMapper = {
name: "Composite",
className: "CertificateInformation"
}
+ },
+ certificateSource: {
+ serializedName: "certificateSource",
+ type: {
+ name: "String"
+ }
+ },
+ certificateStatus: {
+ serializedName: "certificateStatus",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -4291,6 +4425,12 @@ export const AdditionalLocation: msRest.CompositeMapper = {
}
}
},
+ publicIpAddressId: {
+ serializedName: "publicIpAddressId",
+ type: {
+ name: "String"
+ }
+ },
virtualNetworkConfiguration: {
serializedName: "virtualNetworkConfiguration",
type: {
@@ -4484,6 +4624,12 @@ export const ApiManagementServiceBaseProperties: msRest.CompositeMapper = {
}
}
},
+ publicIpAddressId: {
+ serializedName: "publicIpAddressId",
+ type: {
+ name: "String"
+ }
+ },
virtualNetworkConfiguration: {
serializedName: "virtualNetworkConfiguration",
type: {
@@ -4787,6 +4933,12 @@ export const ApiManagementServiceResource: msRest.CompositeMapper = {
}
}
},
+ publicIpAddressId: {
+ serializedName: "properties.publicIpAddressId",
+ type: {
+ name: "String"
+ }
+ },
virtualNetworkConfiguration: {
serializedName: "properties.virtualNetworkConfiguration",
type: {
@@ -5043,6 +5195,12 @@ export const ApiManagementServiceUpdateParameters: msRest.CompositeMapper = {
}
}
},
+ publicIpAddressId: {
+ serializedName: "properties.publicIpAddressId",
+ type: {
+ name: "String"
+ }
+ },
virtualNetworkConfiguration: {
serializedName: "properties.virtualNetworkConfiguration",
type: {
@@ -8708,46 +8866,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 +8951,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 +8971,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 +8997,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