Skip to content

Commit 89a629e

Browse files
author
SDKAuto
committed
CodeGen from PR 16160 in Azure/azure-rest-api-specs
Merge 15183d7e25ed653944554eb3cc3f850a4d41464b into 60fcb275cbce38d343f9c35411786e672aba154e
1 parent 008ed54 commit 89a629e

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

sdk/changeanalysis/arm-changeanalysis/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Azure AzureChangeAnalysisManagementClient SDK for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureChangeAnalysisManagementClient.
3+
This package contains an isomorphic SDK (runs both in node.js and in browsers) for AzureChangeAnalysisManagementClient.
44

55
### Currently supported environments
66

77
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
8-
- Latest versions of Safari, Chrome, Edge, and Firefox.
8+
- Latest versions of Safari, Chrome, Edge and Firefox.
99

1010
### Prerequisites
1111

@@ -21,7 +21,6 @@ Install both packages using the below command:
2121
```bash
2222
npm install --save @azure/arm-changeanalysis @azure/identity
2323
```
24-
2524
> **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.
2625
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.
2726

@@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/
3736

3837
In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
3938
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.
40-
4139
#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript.
4240

4341
##### Sample code
@@ -86,7 +84,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
8684
const credential = new InteractiveBrowserCredential(
8785
{
8886
clientId: "<client id for your Azure AD app>",
89-
tenantId: "<optional tenant for your organization>"
87+
tenant: "<optional tenant for your organization>"
9088
});
9189
const client = new Azure.ArmChangeanalysis.AzureChangeAnalysisManagementClient(creds, subscriptionId);
9290
const skipToken = "testskipToken";

sdk/changeanalysis/arm-changeanalysis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/changeanalysis/arm-changeanalysis",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/changeanalysis/arm-changeanalysis",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClientContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
import * as Models from "./models";
1111
import * as msRest from "@azure/ms-rest-js";
12-
import { TokenCredential } from "@azure/core-auth";
1312
import * as msRestAzure from "@azure/ms-rest-azure-js";
13+
import { TokenCredential } from "@azure/core-auth";
1414

1515
const packageName = "@azure/arm-changeanalysis";
1616
const packageVersion = "1.1.1";

sdk/changeanalysis/arm-changeanalysis/src/models/parameters.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export const resourceGroupName: msRest.OperationURLParameter = {
6060
serializedName: "resourceGroupName",
6161
constraints: {
6262
MaxLength: 90,
63-
MinLength: 1,
64-
Pattern: /^[-\w\._\(\)]+$/
63+
MinLength: 1
6564
},
6665
type: {
6766
name: "String"

0 commit comments

Comments
 (0)