diff --git a/sdk/analysisservices/arm-analysisservices/LICENSE.txt b/sdk/analysisservices/arm-analysisservices/LICENSE.txt index a70e8cf66038..2d3163745319 100644 --- a/sdk/analysisservices/arm-analysisservices/LICENSE.txt +++ b/sdk/analysisservices/arm-analysisservices/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/analysisservices/arm-analysisservices/README.md b/sdk/analysisservices/arm-analysisservices/README.md index 516548f59279..d47f0f274541 100644 --- a/sdk/analysisservices/arm-analysisservices/README.md +++ b/sdk/analysisservices/arm-analysisservices/README.md @@ -9,27 +9,27 @@ This package contains an isomorphic SDK for AnalysisServicesManagementClient. ### How to Install -``` +```bash npm install @azure/arm-analysisservices ``` ### How to use -#### nodejs - Authentication, client creation and getDetails servers as an example written in TypeScript. +#### nodejs - client creation and getDetails servers as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth -``` -npm 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" ``` ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AnalysisServicesManagementClient, AnalysisServicesManagementModels, AnalysisServicesManagementMappers } from "@azure/arm-analysisservices"; +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"); +const { AnalysisServicesManagementClient } = require("@azure/arm-analysisservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { @@ -49,7 +49,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -99,5 +99,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fanalysisservices%2Farm-analysisservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/analysisservices/arm-analysisservices/README.png) diff --git a/sdk/analysisservices/arm-analysisservices/package.json b/sdk/analysisservices/arm-analysisservices/package.json index c2c9afe9db53..e6371e38c341 100644 --- a/sdk/analysisservices/arm-analysisservices/package.json +++ b/sdk/analysisservices/arm-analysisservices/package.json @@ -4,9 +4,9 @@ "description": "AnalysisServicesManagementClient Library with typescript type definitions for node.js and browser.", "version": "2.3.1", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/analysisServicesManagementClient.js", "types": "./esm/analysisServicesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/analysisservices/arm-analysisservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/analysisservices/arm-analysisservices", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/analysisservices/arm-analysisservices/rollup.config.js b/sdk/analysisservices/arm-analysisservices/rollup.config.js index 757fa640e8e0..f2b4f9df0a5c 100644 --- a/sdk/analysisservices/arm-analysisservices/rollup.config.js +++ b/sdk/analysisservices/arm-analysisservices/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/analysisServicesManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/analysisServicesManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-analysisservices.js", format: "umd", @@ -15,17 +21,17 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts index 2d67bb6378b1..187fa8056055 100644 --- a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts +++ b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts index 32f4132eebab..921cbb38bbef 100644 --- a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts +++ b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/analysisservices/arm-analysisservices/src/models/index.ts b/sdk/analysisservices/arm-analysisservices/src/models/index.ts index b3760e30eb5f..5c2d0fc1e0f0 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/index.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/index.ts @@ -1,11 +1,9 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,510 +11,456 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing OperationDisplay. * The object that represents the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Service provider: Microsoft.Consumption. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Service provider: Microsoft.Consumption. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provider?: string; /** - * @member {string} [resource] Resource on which the operation is performed: - * UsageDetail, etc. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource on which the operation is performed: UsageDetail, etc. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resource?: string; /** - * @member {string} [operation] Operation type: Read, write, delete, etc. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operation type: Read, write, delete, etc. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operation?: string; + /** + * Description of the operation object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; } /** - * @interface - * An interface representing Operation. * A Consumption REST API operation. - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operation name: {provider}/{resource}/{operation}. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {OperationDisplay} [display] The object that represents the - * operation. + * The object that represents the operation. */ display?: OperationDisplay; + /** + * The origin + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly origin?: string; } /** - * @interface - * An interface representing ResourceSku. - * Represents the SKU name and Azure pricing tier for Analysis Services - * resource. - * + * Represents the SKU name and Azure pricing tier for Analysis Services resource. */ export interface ResourceSku { /** - * @member {string} name Name of the SKU level. + * Name of the SKU level. */ name: string; /** - * @member {SkuTier} [tier] The name of the Azure pricing tier to which the - * SKU applies. Possible values include: 'Development', 'Basic', 'Standard' + * The name of the Azure pricing tier to which the SKU applies. Possible values include: + * 'Development', 'Basic', 'Standard' */ tier?: SkuTier; /** - * @member {number} [capacity] The number of instances in the read only query - * pool. Default value: 1 . + * The number of instances in the read only query pool. Default value: 1. */ capacity?: number; } /** - * @interface - * An interface representing Resource. * Represents an instance of an Analysis Services resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] An identifier that represents the Analysis Services - * resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * An identifier that represents the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the Analysis Services resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the Analysis Services resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location Location of the Analysis Services resource. + * Location of the Analysis Services resource. */ location: string; /** - * @member {ResourceSku} sku The SKU of the Analysis Services resource. + * The SKU of the Analysis Services resource. */ sku: ResourceSku; /** - * @member {{ [propertyName: string]: string }} [tags] Key-value pairs of - * additional resource provisioning properties. + * Key-value pairs of additional resource provisioning properties. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing AnalysisServicesServer. * Represents an instance of an Analysis Services resource. - * - * @extends Resource */ export interface AnalysisServicesServer extends Resource { /** - * @member {ServerAdministrators} [asAdministrators] A collection of AS - * server administrators + * A collection of AS server administrators */ asAdministrators?: ServerAdministrators; /** - * @member {string} [backupBlobContainerUri] The SAS container URI to the - * backup container. + * The SAS container URI to the backup container. */ backupBlobContainerUri?: string; /** - * @member {GatewayDetails} [gatewayDetails] The gateway details configured - * for the AS server. + * The gateway details configured for the AS server. */ gatewayDetails?: GatewayDetails; /** - * @member {IPv4FirewallSettings} [ipV4FirewallSettings] The firewall - * settings for the AS server. + * The firewall settings for the AS server. */ ipV4FirewallSettings?: IPv4FirewallSettings; /** - * @member {ConnectionMode} [querypoolConnectionMode] How the read-write - * server's participation in the query pool is controlled.
It can have - * the following values: Specifying readOnly when capacity is 1 results in - * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All' . + * How the read-write server's participation in the query pool is controlled.
It can have the + * following values: Specifying readOnly when capacity is 1 results in + * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All'. */ querypoolConnectionMode?: ConnectionMode; /** - * @member {State} [state] The current state of Analysis Services resource. - * The state is to indicate more states outside of resource provisioning. - * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', - * 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', - * 'Resuming', 'Preparing', 'Scaling' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The managed mode of the server (0 = not managed, 1 = managed). Default value: 1. + */ + managedMode?: number; + /** + * The server monitor mode for AS server. Default value: 1. + */ + serverMonitorMode?: number; + /** + * The current state of Analysis Services resource. The state is to indicate more states outside + * of resource provisioning. Possible values include: 'Deleting', 'Succeeded', 'Failed', + * 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', + * 'Preparing', 'Scaling' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly state?: State; /** - * @member {ProvisioningState} [provisioningState] The current deployment - * state of Analysis Services resource. The provisioningState is to indicate - * states for resource provisioning. Possible values include: 'Deleting', - * 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', - * 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The current deployment state of Analysis Services resource. The provisioningState is to + * indicate states for resource provisioning. Possible values include: 'Deleting', 'Succeeded', + * 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', + * 'Resuming', 'Preparing', 'Scaling' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [serverFullName] The full name of the Analysis Services - * resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The full name of the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly serverFullName?: string; + /** + * The SKU of the Analysis Services resource. + */ + analysisServicesServerSku?: ResourceSku; } /** - * @interface - * An interface representing ServerAdministrators. * An array of administrator user identities. - * */ export interface ServerAdministrators { /** - * @member {string[]} [members] An array of administrator user identities. + * An array of administrator user identities. */ members?: string[]; } /** - * @interface - * An interface representing GatewayDetails. * The gateway details. - * */ export interface GatewayDetails { /** - * @member {string} [gatewayResourceId] Gateway resource to be associated - * with the server. + * Gateway resource to be associated with the server. */ gatewayResourceId?: string; /** - * @member {string} [gatewayObjectId] Gateway object id from in the DMTS - * cluster for the gateway resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gateway object id from in the DMTS cluster for the gateway resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gatewayObjectId?: string; /** - * @member {string} [dmtsClusterUri] Uri of the DMTS cluster. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Uri of the DMTS cluster. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly dmtsClusterUri?: string; } /** - * @interface - * An interface representing IPv4FirewallRule. * The detail of firewall rule. - * */ export interface IPv4FirewallRule { /** - * @member {string} [firewallRuleName] The rule name. + * The rule name. */ firewallRuleName?: string; /** - * @member {string} [rangeStart] The start range of IPv4. + * The start range of IPv4. */ rangeStart?: string; /** - * @member {string} [rangeEnd] The end range of IPv4. + * The end range of IPv4. */ rangeEnd?: string; } /** - * @interface - * An interface representing IPv4FirewallSettings. * An array of firewall rules. - * */ export interface IPv4FirewallSettings { /** - * @member {IPv4FirewallRule[]} [firewallRules] An array of firewall rules. + * An array of firewall rules. */ firewallRules?: IPv4FirewallRule[]; /** - * @member {string} [enablePowerBIService] The indicator of enabling PBI - * service. + * The indicator of enabling PBI service. */ - enablePowerBIService?: string; + enablePowerBIService?: boolean; } /** - * @interface - * An interface representing AnalysisServicesServerUpdateParameters. * Provision request specification - * */ export interface AnalysisServicesServerUpdateParameters { /** - * @member {ResourceSku} [sku] The SKU of the Analysis Services resource. + * The SKU of the Analysis Services resource. */ sku?: ResourceSku; /** - * @member {{ [propertyName: string]: string }} [tags] Key-value pairs of - * additional provisioning properties. + * Key-value pairs of additional provisioning properties. */ tags?: { [propertyName: string]: string }; /** - * @member {ServerAdministrators} [asAdministrators] A collection of AS - * server administrators + * A collection of AS server administrators */ asAdministrators?: ServerAdministrators; /** - * @member {string} [backupBlobContainerUri] The SAS container URI to the - * backup container. + * The SAS container URI to the backup container. */ backupBlobContainerUri?: string; /** - * @member {GatewayDetails} [gatewayDetails] The gateway details configured - * for the AS server. + * The gateway details configured for the AS server. */ gatewayDetails?: GatewayDetails; /** - * @member {IPv4FirewallSettings} [ipV4FirewallSettings] The firewall - * settings for the AS server. + * The firewall settings for the AS server. */ ipV4FirewallSettings?: IPv4FirewallSettings; /** - * @member {ConnectionMode} [querypoolConnectionMode] How the read-write - * server's participation in the query pool is controlled.
It can have - * the following values: Specifying readOnly when capacity is 1 results in - * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All' . + * How the read-write server's participation in the query pool is controlled.
It can have the + * following values: Specifying readOnly when capacity is 1 results in + * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All'. */ querypoolConnectionMode?: ConnectionMode; + /** + * The managed mode of the server (0 = not managed, 1 = managed). Default value: 1. + */ + managedMode?: number; + /** + * The server monitor mode for AS server. Default value: 1. + */ + serverMonitorMode?: number; } /** - * @interface - * An interface representing GatewayListStatusLive. * Status of gateway is live. - * */ export interface GatewayListStatusLive { /** - * @member {Status} [status] Live message of list gateway. Possible values - * include: 'Live' + * Live message of list gateway. Status: 0 - Live */ - status?: Status; + status?: number; } /** - * @interface - * An interface representing GatewayError. * Detail of gateway errors. - * */ export interface GatewayError { /** - * @member {string} [code] Error code of list gateway. + * Error code of list gateway. */ code?: string; /** - * @member {string} [message] Error message of list gateway. + * Error message of list gateway. */ message?: string; + /** + * The error sub code + */ + subCode?: string; + /** + * The http status code + */ + httpStatusCode?: string; } /** - * @interface - * An interface representing GatewayListStatusError. * Status of gateway is error. - * */ export interface GatewayListStatusError { /** - * @member {GatewayError} [error] Error of the list gateway status. + * Error of the list gateway status. */ error?: GatewayError; } /** - * @interface - * An interface representing CheckServerNameAvailabilityParameters. * Details of server name request body. - * */ export interface CheckServerNameAvailabilityParameters { /** - * @member {string} [name] Name for checking availability. + * Name for checking availability. */ name?: string; /** - * @member {string} [type] The resource type of azure analysis services. - * Default value: 'Microsoft.AnalysisServices/servers' . + * The resource type of azure analysis services. Default value: + * 'Microsoft.AnalysisServices/servers'. */ type?: string; } /** - * @interface - * An interface representing CheckServerNameAvailabilityResult. * The checking result of server name availability. - * */ export interface CheckServerNameAvailabilityResult { /** - * @member {boolean} [nameAvailable] Indicator of available of the server - * name. + * Indicator of available of the server name. */ nameAvailable?: boolean; /** - * @member {string} [reason] The reason of unavailability. + * The reason of unavailability. */ reason?: string; /** - * @member {string} [message] The detailed message of the request - * unavailability. + * The detailed message of the request unavailability. */ message?: string; } /** - * @interface - * An interface representing ErrorResponse. - * Describes the format of Error response. - * + * The error object */ -export interface ErrorResponse { +export interface ErrorResponseError { /** - * @member {string} [code] Error code + * Error code */ code?: string; /** - * @member {string} [message] Error message indicating why the operation - * failed. + * Error message indicating why the operation failed. */ message?: string; + /** + * The error sub code + */ + subCode?: string; + /** + * The http status code + */ + httpStatusCode?: string; +} + +/** + * Describes the format of Error response. + */ +export interface ErrorResponse { + /** + * The error object + */ + error?: ErrorResponseError; } /** - * @interface - * An interface representing OperationStatus. * The status of operation. - * */ export interface OperationStatus { /** - * @member {string} [id] The operation Id. + * The operation Id. */ id?: string; /** - * @member {string} [name] The operation name. + * The operation name. */ name?: string; /** - * @member {string} [startTime] The start time of the operation. + * The start time of the operation. */ startTime?: string; /** - * @member {string} [endTime] The end time of the operation. + * The end time of the operation. */ endTime?: string; /** - * @member {string} [status] The status of the operation. + * The status of the operation. */ status?: string; /** - * @member {ErrorResponse} [error] The error detail of the operation if any. + * The error detail of the operation if any. */ error?: ErrorResponse; } /** - * @interface - * An interface representing SkuEnumerationForNewResourceResult. * An object that represents enumerating SKUs for new resources. - * */ export interface SkuEnumerationForNewResourceResult { /** - * @member {ResourceSku[]} [value] The collection of available SKUs for new - * resources. + * The collection of available SKUs for new resources. */ value?: ResourceSku[]; } /** - * @interface - * An interface representing SkuDetailsForExistingResource. * An object that represents SKU details for existing resources. - * */ export interface SkuDetailsForExistingResource { /** - * @member {ResourceSku} [sku] The SKU in SKU details for existing resources. + * The SKU in SKU details for existing resources. */ sku?: ResourceSku; + /** + * The resource type. + */ + resourceType?: string; } /** - * @interface - * An interface representing SkuEnumerationForExistingResourceResult. * An object that represents enumerating SKUs for existing resources. - * */ export interface SkuEnumerationForExistingResourceResult { /** - * @member {SkuDetailsForExistingResource[]} [value] The collection of - * available SKUs for existing resources. + * The collection of available SKUs for existing resources. */ value?: SkuDetailsForExistingResource[]; } /** - * @interface * An interface representing AnalysisServicesManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface AnalysisServicesManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the AnalysisServicesServers. * An array of Analysis Services resources. - * * @extends Array */ export interface AnalysisServicesServers extends Array { @@ -524,18 +468,14 @@ export interface AnalysisServicesServers extends Array { /** * @interface - * An interface representing the OperationListResult. - * Result of listing consumption operations. It contains a list of operations - * and a URL link to get the next set of results. - * + * Result of listing consumption operations. It contains a list of operations and a URL link to get + * the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * URL to get the next set of operation list results if there are any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } @@ -574,14 +514,6 @@ export type ProvisioningState = 'Deleting' | 'Succeeded' | 'Failed' | 'Paused' | */ export type ConnectionMode = 'All' | 'ReadOnly'; -/** - * Defines values for Status. - * Possible values include: 'Live' - * @readonly - * @enum {string} - */ -export type Status = 'Live'; - /** * Contains response data for the getDetails operation. */ @@ -590,15 +522,16 @@ export type ServersGetDetailsResponse = AnalysisServicesServer & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServer; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServer; + }; }; /** @@ -609,15 +542,16 @@ export type ServersCreateResponse = AnalysisServicesServer & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServer; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServer; + }; }; /** @@ -628,15 +562,16 @@ export type ServersUpdateResponse = AnalysisServicesServer & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServer; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServer; + }; }; /** @@ -647,15 +582,16 @@ export type ServersListByResourceGroupResponse = AnalysisServicesServers & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServers; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServers; + }; }; /** @@ -666,15 +602,16 @@ export type ServersListResponse = AnalysisServicesServers & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServers; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServers; + }; }; /** @@ -685,15 +622,16 @@ export type ServersListSkusForNewResponse = SkuEnumerationForNewResourceResult & * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SkuEnumerationForNewResourceResult; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SkuEnumerationForNewResourceResult; + }; }; /** @@ -704,15 +642,16 @@ export type ServersListSkusForExistingResponse = SkuEnumerationForExistingResour * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SkuEnumerationForExistingResourceResult; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SkuEnumerationForExistingResourceResult; + }; }; /** @@ -723,15 +662,16 @@ export type ServersListGatewayStatusResponse = GatewayListStatusLive & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: GatewayListStatusLive; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GatewayListStatusLive; + }; }; /** @@ -742,15 +682,16 @@ export type ServersCheckNameAvailabilityResponse = CheckServerNameAvailabilityRe * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: CheckServerNameAvailabilityResult; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: CheckServerNameAvailabilityResult; + }; }; /** @@ -761,15 +702,16 @@ export type ServersListOperationStatusesResponse = OperationStatus & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationStatus; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationStatus; + }; }; /** @@ -780,15 +722,16 @@ export type ServersBeginCreateResponse = AnalysisServicesServer & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServer; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServer; + }; }; /** @@ -799,15 +742,16 @@ export type ServersBeginUpdateResponse = AnalysisServicesServer & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AnalysisServicesServer; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AnalysisServicesServer; + }; }; /** @@ -818,15 +762,16 @@ export type OperationsListResponse = OperationListResult & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationListResult; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; }; /** @@ -837,13 +782,14 @@ export type OperationsListNextResponse = OperationListResult & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationListResult; - }; + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; }; diff --git a/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts b/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts index 0a5ec0f18454..ee0137a763c7 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts @@ -1,11 +1,9 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -40,6 +38,13 @@ export const OperationDisplay: msRest.CompositeMapper = { type: { name: "String" } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } } } } @@ -64,6 +69,13 @@ export const Operation: msRest.CompositeMapper = { name: "Composite", className: "OperationDisplay" } + }, + origin: { + readOnly: true, + serializedName: "origin", + type: { + name: "String" + } } } } @@ -205,6 +217,20 @@ export const AnalysisServicesServer: msRest.CompositeMapper = { ] } }, + managedMode: { + serializedName: "properties.managedMode", + defaultValue: 1, + type: { + name: "Number" + } + }, + serverMonitorMode: { + serializedName: "properties.serverMonitorMode", + defaultValue: 1, + type: { + name: "Number" + } + }, state: { readOnly: true, serializedName: "properties.state", @@ -225,6 +251,13 @@ export const AnalysisServicesServer: msRest.CompositeMapper = { type: { name: "String" } + }, + analysisServicesServerSku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "ResourceSku" + } } } } @@ -330,7 +363,7 @@ export const IPv4FirewallSettings: msRest.CompositeMapper = { enablePowerBIService: { serializedName: "enablePowerBIService", type: { - name: "String" + name: "Boolean" } } } @@ -398,6 +431,20 @@ export const AnalysisServicesServerUpdateParameters: msRest.CompositeMapper = { "ReadOnly" ] } + }, + managedMode: { + serializedName: "properties.managedMode", + defaultValue: 1, + type: { + name: "Number" + } + }, + serverMonitorMode: { + serializedName: "properties.serverMonitorMode", + defaultValue: 1, + type: { + name: "Number" + } } } } @@ -412,10 +459,7 @@ export const GatewayListStatusLive: msRest.CompositeMapper = { status: { serializedName: "status", type: { - name: "Enum", - allowedValues: [ - "Live" - ] + name: "Number" } } } @@ -439,6 +483,18 @@ export const GatewayError: msRest.CompositeMapper = { type: { name: "String" } + }, + subCode: { + serializedName: "subCode", + type: { + name: "String" + } + }, + httpStatusCode: { + serializedName: "httpStatusCode", + type: { + name: "String" + } } } } @@ -517,11 +573,11 @@ export const CheckServerNameAvailabilityResult: msRest.CompositeMapper = { } }; -export const ErrorResponse: msRest.CompositeMapper = { - serializedName: "ErrorResponse", +export const ErrorResponseError: msRest.CompositeMapper = { + serializedName: "ErrorResponse_error", type: { name: "Composite", - className: "ErrorResponse", + className: "ErrorResponseError", modelProperties: { code: { serializedName: "code", @@ -534,6 +590,35 @@ export const ErrorResponse: msRest.CompositeMapper = { type: { name: "String" } + }, + subCode: { + serializedName: "subCode", + type: { + name: "String" + } + }, + httpStatusCode: { + serializedName: "httpStatusCode", + type: { + name: "String" + } + } + } + } +}; + +export const ErrorResponse: msRest.CompositeMapper = { + serializedName: "ErrorResponse", + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorResponseError" + } } } } @@ -620,6 +705,12 @@ export const SkuDetailsForExistingResource: msRest.CompositeMapper = { name: "Composite", className: "ResourceSku" } + }, + resourceType: { + serializedName: "resourceType", + type: { + name: "String" + } } } } diff --git a/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts b/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts index 715467ec9522..ba8142bc9cac 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts @@ -1,17 +1,15 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationListResult, + ErrorResponse, + ErrorResponseError, Operation, OperationDisplay, - ErrorResponse + OperationListResult } from "../models/mappers"; - diff --git a/sdk/analysisservices/arm-analysisservices/src/models/parameters.ts b/sdk/analysisservices/arm-analysisservices/src/models/parameters.ts index f105f633287c..f2d9c9e642d9 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/parameters.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts b/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts index 6d1d2ff928dc..f84aa8f85466 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts @@ -1,34 +1,31 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { AnalysisServicesServer, - Resource, - BaseResource, - ResourceSku, - ServerAdministrators, - GatewayDetails, - IPv4FirewallSettings, - IPv4FirewallRule, - CloudError, - AnalysisServicesServerUpdateParameters, AnalysisServicesServers, - SkuEnumerationForNewResourceResult, - SkuEnumerationForExistingResourceResult, - SkuDetailsForExistingResource, - GatewayListStatusLive, - GatewayListStatusError, - GatewayError, + AnalysisServicesServerUpdateParameters, + BaseResource, CheckServerNameAvailabilityParameters, CheckServerNameAvailabilityResult, + ErrorResponse, + ErrorResponseError, + GatewayDetails, + GatewayError, + GatewayListStatusError, + GatewayListStatusLive, + IPv4FirewallRule, + IPv4FirewallSettings, OperationStatus, - ErrorResponse + Resource, + ResourceSku, + ServerAdministrators, + SkuDetailsForExistingResource, + SkuEnumerationForExistingResourceResult, + SkuEnumerationForNewResourceResult } from "../models/mappers"; - diff --git a/sdk/analysisservices/arm-analysisservices/src/operations/index.ts b/sdk/analysisservices/arm-analysisservices/src/operations/index.ts index 57fb9a053e74..0dd948303f0b 100644 --- a/sdk/analysisservices/arm-analysisservices/src/operations/index.ts +++ b/sdk/analysisservices/arm-analysisservices/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/analysisservices/arm-analysisservices/src/operations/operations.ts b/sdk/analysisservices/arm-analysisservices/src/operations/operations.ts index accd15e90fb1..3eb096d2c23b 100644 --- a/sdk/analysisservices/arm-analysisservices/src/operations/operations.ts +++ b/sdk/analysisservices/arm-analysisservices/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts b/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts index 4229322d7bf1..adf78d65344f 100644 --- a/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -112,7 +111,7 @@ export class Servers { } /** - * Supends operation of the specified Analysis Services server instance. + * Suspends operation of the specified Analysis Services server instance. * @param resourceGroupName The name of the Azure Resource group of which a given Analysis Services * server is part. This name must be at least 1 character in length, and no more than 90. * @param serverName The name of the Analysis Services server. It must be at least 3 characters in @@ -492,7 +491,7 @@ export class Servers { } /** - * Supends operation of the specified Analysis Services server instance. + * Suspends operation of the specified Analysis Services server instance. * @param resourceGroupName The name of the Azure Resource group of which a given Analysis Services * server is part. This name must be at least 1 character in length, and no more than 90. * @param serverName The name of the Analysis Services server. It must be at least 3 characters in @@ -553,7 +552,7 @@ const getDetailsOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.AnalysisServicesServer }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -577,7 +576,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.AnalysisServicesServers }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -600,7 +599,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.AnalysisServicesServers }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -623,7 +622,7 @@ const listSkusForNewOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SkuEnumerationForNewResourceResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -648,7 +647,7 @@ const listSkusForExistingOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SkuEnumerationForExistingResourceResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -696,7 +695,7 @@ const dissociateGatewayOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -727,7 +726,7 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CheckServerNameAvailabilityResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -751,7 +750,7 @@ const listOperationResultsOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -779,7 +778,7 @@ const listOperationStatusesOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.OperationStatus }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -814,7 +813,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.AnalysisServicesServer }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -839,7 +838,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -874,7 +873,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.AnalysisServicesServer }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -898,7 +897,7 @@ const beginSuspendOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -922,7 +921,7 @@ const beginResumeOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/analysisservices/arm-analysisservices/tsconfig.json b/sdk/analysisservices/arm-analysisservices/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/analysisservices/arm-analysisservices/tsconfig.json +++ b/sdk/analysisservices/arm-analysisservices/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true