@azure/arm-storsimple8000series 2.1.1-alpha.20250108.1 → 2.1.1-alpha.20250109.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 +8 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure StorSimple8000SeriesManagement client.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
5
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storsimple8000series/arm-storsimple8000series) |
|
|
8
6
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-storsimple8000series) |
|
|
9
|
-
[API reference documentation](https://
|
|
7
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-storsimple8000series) |
|
|
10
8
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
9
|
|
|
12
10
|
## Getting started
|
|
@@ -46,7 +44,7 @@ npm install @azure/identity
|
|
|
46
44
|
You will also need to **register a new AAD application and grant access to Azure StorSimple8000SeriesManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
45
|
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
46
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
47
|
+
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
48
|
|
|
51
49
|
```javascript
|
|
52
50
|
const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series");
|
|
@@ -54,7 +52,10 @@ const { DefaultAzureCredential } = require("@azure/identity");
|
|
|
54
52
|
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
|
|
55
53
|
|
|
56
54
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
|
-
const client = new StorSimple8000SeriesManagementClient(
|
|
55
|
+
const client = new StorSimple8000SeriesManagementClient(
|
|
56
|
+
new DefaultAzureCredential(),
|
|
57
|
+
subscriptionId,
|
|
58
|
+
);
|
|
58
59
|
|
|
59
60
|
// For client-side applications running in the browser, use this code instead:
|
|
60
61
|
// const credential = new InteractiveBrowserCredential({
|
|
@@ -64,8 +65,8 @@ const client = new StorSimple8000SeriesManagementClient(new DefaultAzureCredenti
|
|
|
64
65
|
// const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId);
|
|
65
66
|
```
|
|
66
67
|
|
|
67
|
-
|
|
68
68
|
### JavaScript Bundle
|
|
69
|
+
|
|
69
70
|
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
71
|
|
|
71
72
|
## Key concepts
|
|
@@ -101,7 +102,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
101
102
|
|
|
102
103
|

|
|
103
104
|
|
|
104
|
-
[azure_cli]: https://
|
|
105
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
106
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
107
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
108
|
[azure_portal]: https://portal.azure.com
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for StorSimple8000SeriesManagementClient.",
|
|
6
|
-
"version": "2.1.1-alpha.
|
|
6
|
+
"version": "2.1.1-alpha.20250109.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
@@ -107,6 +107,6 @@
|
|
|
107
107
|
"azure"
|
|
108
108
|
],
|
|
109
109
|
"disableDocsMs": true,
|
|
110
|
-
"apiRefLink": "https://
|
|
110
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storsimple8000series?view=azure-node-preview"
|
|
111
111
|
}
|
|
112
112
|
}
|