diff --git a/sdk/visualstudio/arm-visualstudio/LICENSE.txt b/sdk/visualstudio/arm-visualstudio/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/visualstudio/arm-visualstudio/LICENSE.txt +++ b/sdk/visualstudio/arm-visualstudio/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 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/visualstudio/arm-visualstudio/README.md b/sdk/visualstudio/arm-visualstudio/README.md index 49220368f049..89ca4bc5b134 100644 --- a/sdk/visualstudio/arm-visualstudio/README.md +++ b/sdk/visualstudio/arm-visualstudio/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for VisualStudioResourceProviderClient. ### How to Install -``` +```bash npm install @azure/arm-visualstudio ``` @@ -19,13 +19,13 @@ npm install @azure/arm-visualstudio ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [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/sdk/visualstudio/arm-visualstudio/README.png) diff --git a/sdk/visualstudio/arm-visualstudio/package.json b/sdk/visualstudio/arm-visualstudio/package.json index c5b6bd6ba5f1..89ba3dd12ca0 100644 --- a/sdk/visualstudio/arm-visualstudio/package.json +++ b/sdk/visualstudio/arm-visualstudio/package.json @@ -4,8 +4,8 @@ "description": "VisualStudioResourceProviderClient Library with typescript type definitions for node.js and browser.", "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/visualstudio/arm-visualstudio", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/visualstudio/arm-visualstudio/rollup.config.js b/sdk/visualstudio/arm-visualstudio/rollup.config.js index f8a3b90a0bbe..a15aa25fa639 100644 --- a/sdk/visualstudio/arm-visualstudio/rollup.config.js +++ b/sdk/visualstudio/arm-visualstudio/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/visualStudioResourceProviderClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/visualStudioResourceProviderClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-visualstudio.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/visualstudio/arm-visualstudio/src/models/accountsMappers.ts b/sdk/visualstudio/arm-visualstudio/src/models/accountsMappers.ts index 5393c150241e..4e5b5c2912f7 100644 --- a/sdk/visualstudio/arm-visualstudio/src/models/accountsMappers.ts +++ b/sdk/visualstudio/arm-visualstudio/src/models/accountsMappers.ts @@ -1,25 +1,22 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - CheckNameAvailabilityParameter, - CheckNameAvailabilityResult, - CloudError, - AccountResourceListResult, AccountResource, - Resource, - BaseResource, + AccountResourceListResult, AccountResourceRequest, AccountTagRequest, + BaseResource, + CheckNameAvailabilityParameter, + CheckNameAvailabilityResult, + CloudError, ExtensionResource, ExtensionResourcePlan, - ProjectResource + ProjectResource, + Resource } from "../models/mappers"; - diff --git a/sdk/visualstudio/arm-visualstudio/src/models/extensionsMappers.ts b/sdk/visualstudio/arm-visualstudio/src/models/extensionsMappers.ts index beb9357b265e..399304d14de4 100644 --- a/sdk/visualstudio/arm-visualstudio/src/models/extensionsMappers.ts +++ b/sdk/visualstudio/arm-visualstudio/src/models/extensionsMappers.ts @@ -1,22 +1,19 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ExtensionResourceListResult, - ExtensionResource, - Resource, + AccountResource, BaseResource, - ExtensionResourcePlan, CloudError, + ExtensionResource, + ExtensionResourceListResult, + ExtensionResourcePlan, ExtensionResourceRequest, - AccountResource, - ProjectResource + ProjectResource, + Resource } from "../models/mappers"; - diff --git a/sdk/visualstudio/arm-visualstudio/src/models/index.ts b/sdk/visualstudio/arm-visualstudio/src/models/index.ts index 2764474b175e..b1bf20753e0a 100644 --- a/sdk/visualstudio/arm-visualstudio/src/models/index.ts +++ b/sdk/visualstudio/arm-visualstudio/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. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * 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,389 +11,295 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing Resource. * A generic Azure Resource Manager resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] Unique identifier of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Unique identifier of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [location] Resource location. + * Resource location. */ location?: string; /** - * @member {string} [name] Resource name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. + * Resource tags. */ tags?: { [propertyName: string]: string }; /** - * @member {string} [type] Resource type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing AccountResource. * The response to an account resource GET request. - * - * @extends Resource */ export interface AccountResource extends Resource { /** - * @member {{ [propertyName: string]: string }} [properties] Resource - * properties. + * Resource properties. */ properties?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing AccountResourceListResult. * The response to an account resource list GET request. - * */ export interface AccountResourceListResult { /** - * @member {AccountResource[]} [value] Array of resource details. + * Array of resource details. */ value?: AccountResource[]; } /** - * @interface - * An interface representing AccountTagRequest. * The body of a Patch request to add tags to a Visual Studio account resource. - * */ export interface AccountTagRequest { /** - * @member {{ [propertyName: string]: string }} [tags] The custom tags of the - * resource. + * The custom tags of the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing AccountResourceRequest. * The body of a PUT request to modify a Visual Studio account resource. - * */ export interface AccountResourceRequest { /** - * @member {string} [accountName] The account name. + * The account name. */ accountName?: string; /** - * @member {string} [location] The Azure instance location. + * The Azure instance location. */ location?: string; /** - * @member {any} [operationType] The type of the operation. + * The type of the operation. */ operationType?: any; /** - * @member {{ [propertyName: string]: string }} [properties] The custom - * properties of the resource. + * The custom properties of the resource. */ properties?: { [propertyName: string]: string }; /** - * @member {{ [propertyName: string]: string }} [tags] The custom tags of the - * resource. + * The custom tags of the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing CheckNameAvailabilityParameter. * The body of a POST request to check name availability. - * */ export interface CheckNameAvailabilityParameter { /** - * @member {string} [resourceName] The name of the resource to check - * availability for. + * The name of the resource to check availability for. */ resourceName?: string; /** - * @member {string} [resourceType] The type of resource to check availability - * for. + * The type of resource to check availability for. */ resourceType?: string; } /** - * @interface - * An interface representing CheckNameAvailabilityResult. * The response to a name availability request. - * */ export interface CheckNameAvailabilityResult { /** - * @member {string} [message] The message describing the detailed reason. + * The message describing the detailed reason. */ message?: string; /** - * @member {boolean} [nameAvailable] The value which indicates whether the - * provided name is available. + * The value which indicates whether the provided name is available. */ nameAvailable?: boolean; } /** - * @interface - * An interface representing ExtensionResourcePlan. * Plan data for an extension resource. - * */ export interface ExtensionResourcePlan { /** - * @member {string} [name] Name of the plan. + * Name of the plan. */ name?: string; /** - * @member {string} [product] Product name. + * Product name. */ product?: string; /** - * @member {string} [promotionCode] Optional: the promotion code associated - * with the plan. + * Optional: the promotion code associated with the plan. */ promotionCode?: string; /** - * @member {string} [publisher] Name of the extension publisher. + * Name of the extension publisher. */ publisher?: string; /** - * @member {string} [version] A string that uniquely identifies the plan - * version. + * A string that uniquely identifies the plan version. */ version?: string; } /** - * @interface - * An interface representing ExtensionResource. * The response to an extension resource GET request. - * - * @extends Resource */ export interface ExtensionResource extends Resource { /** - * @member {ExtensionResourcePlan} [plan] The extension plan that was - * purchased. + * The extension plan that was purchased. */ plan?: ExtensionResourcePlan; /** - * @member {{ [propertyName: string]: string }} [properties] Resource - * properties. + * Resource properties. */ properties?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ExtensionResourceListResult. * The response to an extension resource list GET request. - * */ export interface ExtensionResourceListResult { /** - * @member {ExtensionResource[]} [value] Array of extension resource details. + * Array of extension resource details. */ value?: ExtensionResource[]; } /** - * @interface - * An interface representing ExtensionResourceRequest. * The body of an extension resource PUT request. - * */ export interface ExtensionResourceRequest { /** - * @member {string} [location] The Azure region of the Visual Studio account - * associated with this request (i.e 'southcentralus'.) + * The Azure region of the Visual Studio account associated with this request (i.e + * 'southcentralus'.) */ location?: string; /** - * @member {ExtensionResourcePlan} [plan] Extended information about the plan - * being purchased for this extension resource. + * Extended information about the plan being purchased for this extension resource. */ plan?: ExtensionResourcePlan; /** - * @member {{ [propertyName: string]: string }} [properties] A dictionary of - * extended properties. This property is currently unused. + * A dictionary of extended properties. This property is currently unused. */ properties?: { [propertyName: string]: string }; /** - * @member {{ [propertyName: string]: string }} [tags] A dictionary of - * user-defined tags to be stored with the extension resource. + * A dictionary of user-defined tags to be stored with the extension resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing OperationProperties. * Properties of an operation supported by the resource provider. - * */ export interface OperationProperties { /** - * @member {string} [description] The description of the resource operation. + * The description of the resource operation. */ description?: string; /** - * @member {string} [operation] The operation name. + * The operation name. */ operation?: string; /** - * @member {string} [provider] The provider name. + * The provider name. */ provider?: string; /** - * @member {string} [resource] The resource name. + * The resource name. */ resource?: string; } /** - * @interface - * An interface representing Operation. * Properties of an operation supported by the resource provider. - * */ export interface Operation { /** - * @member {OperationProperties} [display] The properties of the resource - * operation. + * The properties of the resource operation. */ display?: OperationProperties; /** - * @member {string} [name] The name of the resource operation. + * The name of the resource operation. */ name?: string; } /** - * @interface - * An interface representing OperationListResult. * Container for a list of operations supported by a resource provider. - * */ export interface OperationListResult { /** - * @member {Operation[]} [value] A list of operations supported by a resource - * provider. + * A list of operations supported by a resource provider. */ value?: Operation[]; } /** - * @interface - * An interface representing ProjectResource. * A Visual Studio Team Services project resource. - * - * @extends Resource */ export interface ProjectResource extends Resource { /** - * @member {{ [propertyName: string]: string }} [properties] Key/value pair - * of resource properties. + * Key/value pair of resource properties. */ properties?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ProjectResourceListResult. - * The response to a request to list Team Services project resources in a - * resource group/account. - * + * The response to a request to list Team Services project resources in a resource group/account. */ export interface ProjectResourceListResult { /** - * @member {ProjectResource[]} [value] List of project resource details. + * List of project resource details. */ value?: ProjectResource[]; } /** - * @interface - * An interface representing ProjectsCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ProjectsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [validating] This parameter is ignored and should be set - * to an empty string. + * This parameter is ignored and should be set to an empty string. */ validating?: string; } /** - * @interface - * An interface representing ProjectsGetJobStatusOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ProjectsGetJobStatusOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [jobId] The job identifier. + * The job identifier. */ jobId?: string; } /** - * @interface - * An interface representing ProjectsBeginCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ProjectsBeginCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [validating] This parameter is ignored and should be set - * to an empty string. + * This parameter is ignored and should be set to an empty string. */ validating?: string; } /** - * @interface * An interface representing VisualStudioResourceProviderClientOptions. - * @extends AzureServiceClientOptions */ export interface VisualStudioResourceProviderClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * Contains response data for the list operation. */ @@ -408,6 +312,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -427,6 +332,7 @@ export type AccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -446,6 +352,7 @@ export type AccountsListByResourceGroupResponse = AccountResourceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -465,6 +372,7 @@ export type AccountsCreateOrUpdateResponse = AccountResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -484,6 +392,7 @@ export type AccountsGetResponse = AccountResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -503,6 +412,7 @@ export type AccountsUpdateResponse = AccountResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -522,6 +432,7 @@ export type ExtensionsListByAccountResponse = ExtensionResourceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -541,6 +452,7 @@ export type ExtensionsCreateResponse = ExtensionResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -560,6 +472,7 @@ export type ExtensionsGetResponse = ExtensionResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -579,6 +492,7 @@ export type ExtensionsUpdateResponse = ExtensionResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -598,6 +512,7 @@ export type ProjectsListByResourceGroupResponse = ProjectResourceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -617,6 +532,7 @@ export type ProjectsCreateResponse = ProjectResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -636,6 +552,7 @@ export type ProjectsGetResponse = ProjectResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -655,6 +572,7 @@ export type ProjectsUpdateResponse = ProjectResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -674,6 +592,7 @@ export type ProjectsGetJobStatusResponse = ProjectResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -693,6 +612,7 @@ export type ProjectsBeginCreateResponse = ProjectResource & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/visualstudio/arm-visualstudio/src/models/mappers.ts b/sdk/visualstudio/arm-visualstudio/src/models/mappers.ts index 53bdfc0a1f0c..fb084189d7af 100644 --- a/sdk/visualstudio/arm-visualstudio/src/models/mappers.ts +++ b/sdk/visualstudio/arm-visualstudio/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. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; diff --git a/sdk/visualstudio/arm-visualstudio/src/models/operationsMappers.ts b/sdk/visualstudio/arm-visualstudio/src/models/operationsMappers.ts index 57d796e7cf0d..74fb38cc78b1 100644 --- a/sdk/visualstudio/arm-visualstudio/src/models/operationsMappers.ts +++ b/sdk/visualstudio/arm-visualstudio/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationListResult, + CloudError, Operation, - OperationProperties, - CloudError + OperationListResult, + OperationProperties } from "../models/mappers"; - diff --git a/sdk/visualstudio/arm-visualstudio/src/models/projectsMappers.ts b/sdk/visualstudio/arm-visualstudio/src/models/projectsMappers.ts index 1db89b6e585d..c120d40f13ac 100644 --- a/sdk/visualstudio/arm-visualstudio/src/models/projectsMappers.ts +++ b/sdk/visualstudio/arm-visualstudio/src/models/projectsMappers.ts @@ -1,21 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ProjectResourceListResult, - ProjectResource, - Resource, + AccountResource, BaseResource, CloudError, - AccountResource, ExtensionResource, - ExtensionResourcePlan + ExtensionResourcePlan, + ProjectResource, + ProjectResourceListResult, + Resource } from "../models/mappers"; - diff --git a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts index 92491e79696f..8c646c5fe6c1 100644 --- a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts +++ b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-visualstudio"; -const packageVersion = "0.1.0"; +const packageVersion = "2.2.0"; export class VisualStudioResourceProviderClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials;