You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -28,7 +32,7 @@ Install the Azure Microsoft Datadog client library for JavaScript with `npm`:
28
32
npm install @azure/arm-datadog
29
33
```
30
34
31
-
### Create and authenticate a `MicrosoftDatadogClient`
35
+
### Create and authenticate a `DatadogClient`
32
36
33
37
To create a client object to access the Azure Microsoft Datadog API, you will need the `endpoint` of your Azure Microsoft Datadog resource and a `credential`. The Azure Microsoft Datadog client can use Azure Active Directory credentials to authenticate.
34
38
You can find the endpoint for your Azure Microsoft Datadog resource in the [Azure Portal][azure_portal].
@@ -42,43 +46,41 @@ npm install @azure/identity
42
46
```
43
47
44
48
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).
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`.
46
49
47
50
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).
48
51
49
52
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
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).
76
78
77
79
## Key concepts
78
80
79
-
### MicrosoftDatadogClient
81
+
### DatadogClient
80
82
81
-
`MicrosoftDatadogClient` is the primary interface for developers using the Azure Microsoft Datadog client library. Explore the methods on this client object to understand the different features of the Azure Microsoft Datadog service that you can access.
83
+
`DatadogClient` is the primary interface for developers using the Azure Microsoft Datadog client library. Explore the methods on this client object to understand the different features of the Azure Microsoft Datadog service that you can access.
82
84
83
85
## Troubleshooting
84
86
@@ -96,7 +98,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
96
98
97
99
## Next steps
98
100
99
-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
101
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog/samples) directory for detailed examples on how to use this library.
100
102
101
103
## Contributing
102
104
@@ -106,10 +108,6 @@ If you'd like to contribute to this library, please read the [contributing guide
106
108
107
109
-[Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
0 commit comments