@azure/arm-hybridconnectivity 2.0.0-alpha.20250410.1 → 2.0.0-alpha.20250417.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -52,24 +52,25 @@ For more information about how to create an Azure AD Application check out [this
52
52
  Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
53
53
 
54
54
  ```ts snippet:ReadmeSampleCreateClient_Node
55
- import { HybridConnectivityClient } from "@azure/arm-hybridconnectivity";
55
+ import { HybridConnectivityManagementAPI } from "@azure/arm-hybridconnectivity";
56
56
  import { DefaultAzureCredential } from "@azure/identity";
57
57
 
58
58
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
59
- const client = new HybridConnectivityClient(new DefaultAzureCredential(), subscriptionId);
59
+ const client = new HybridConnectivityManagementAPI(new DefaultAzureCredential(), subscriptionId);
60
60
  ```
61
61
 
62
62
  For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
63
63
 
64
64
  ```ts snippet:ReadmeSampleCreateClient_Browser
65
65
  import { InteractiveBrowserCredential } from "@azure/identity";
66
- import { HybridConnectivityClient } from "@azure/arm-hybridconnectivity";
66
+ import { HybridConnectivityManagementAPI } from "@azure/arm-hybridconnectivity";
67
67
 
68
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
69
  const credential = new InteractiveBrowserCredential({
69
70
  tenantId: "<YOUR_TENANT_ID>",
70
- clientId: "<YOUR_CLIENT_ID>"
71
- });
72
- const client = new HybridConnectivityClient(credential, subscriptionId);
71
+ clientId: "<YOUR_CLIENT_ID>",
72
+ });
73
+ const client = new HybridConnectivityManagementAPI(credential, subscriptionId);
73
74
  ```
74
75
 
75
76
 
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.3"
8
+ "packageVersion": "7.52.4"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/arm-hybridconnectivity",
3
- "version": "2.0.0-alpha.20250410.1",
3
+ "version": "2.0.0-alpha.20250417.2",
4
4
  "description": "A generated SDK for HybridConnectivityClient.",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -107,9 +107,9 @@
107
107
  "integration-test:node": "dev-tool run test:vitest --esm",
108
108
  "lint": "echo skipped",
109
109
  "lint:fix": "echo skipped",
110
- "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
110
+ "minify": "echo skipped",
111
111
  "pack": "npm pack 2>&1",
112
- "test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
112
+ "test": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run unit-test:browser && npm run integration-test",
113
113
  "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
114
114
  "test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node",
115
115
  "unit-test": "npm run unit-test:node && npm run unit-test:browser",