@azure/arm-datadog 3.1.0-alpha.20241213.1 → 3.1.0-alpha.20241217.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 +4 -6
- package/package.json +1 -1
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 Microsoft Datadog client.
|
4
4
|
|
5
|
-
|
6
|
-
|
7
5
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog) |
|
8
6
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-datadog) |
|
9
|
-
[API reference documentation](https://
|
7
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-datadog) |
|
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 Microsoft Datadog** 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 { MicrosoftDatadogClient } = require("@azure/arm-datadog");
|
@@ -64,8 +62,8 @@ const client = new MicrosoftDatadogClient(new DefaultAzureCredential(), subscrip
|
|
64
62
|
// const client = new MicrosoftDatadogClient(credential, subscriptionId);
|
65
63
|
```
|
66
64
|
|
67
|
-
|
68
65
|
### JavaScript Bundle
|
66
|
+
|
69
67
|
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
68
|
|
71
69
|
## Key concepts
|
@@ -101,7 +99,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
101
99
|
|
102
100
|

|
103
101
|
|
104
|
-
[azure_cli]: https://
|
102
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
105
103
|
[azure_sub]: https://azure.microsoft.com/free/
|
106
104
|
[azure_sub]: https://azure.microsoft.com/free/
|
107
105
|
[azure_portal]: https://portal.azure.com
|
package/package.json
CHANGED