@azure/arm-connectedcache 1.0.0-alpha.20250109.1 → 1.0.0-alpha.20250110.1
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 +3 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Microsoft Connected Cache Rest Api version 2023-05-01-preview
|
|
|
7
7
|
Key links:
|
|
8
8
|
|
|
9
9
|
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-connectedcache)
|
|
10
|
-
- [API reference documentation](https://
|
|
10
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-connectedcache?view=azure-node-preview)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
13
13
|
|
|
@@ -46,7 +46,7 @@ npm install @azure/identity
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure ConnectedCache** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
48
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
50
|
|
|
51
51
|
```javascript
|
|
52
52
|
const { ConnectedCacheClient } = require("@azure/arm-connectedcache");
|
|
@@ -64,8 +64,8 @@ const client = new ConnectedCacheClient(new DefaultAzureCredential(), subscripti
|
|
|
64
64
|
// const client = new ConnectedCacheClient(credential, subscriptionId);
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
|
|
68
67
|
### JavaScript Bundle
|
|
68
|
+
|
|
69
69
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
70
70
|
|
|
71
71
|
## Key concepts
|
|
@@ -87,7 +87,6 @@ setLogLevel("info");
|
|
|
87
87
|
|
|
88
88
|
For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
|
|
89
89
|
|
|
90
|
-
|
|
91
90
|
## Contributing
|
|
92
91
|
|
|
93
92
|
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-connectedcache",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20250110.1",
|
|
4
4
|
"description": "A generated SDK for ConnectedCacheClient.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"azure"
|
|
115
115
|
],
|
|
116
116
|
"disableDocsMs": true,
|
|
117
|
-
"apiRefLink": "https://
|
|
117
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-connectedcache?view=azure-node-preview"
|
|
118
118
|
},
|
|
119
119
|
"exports": {
|
|
120
120
|
"./package.json": "./package.json",
|