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
@@ -22,27 +26,26 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
22
26
23
27
### Install the `@azure/arm-datadog` package
24
28
25
-
Install the Azure Microsoft Datadog client library for JavaScript with `npm`:
29
+
Install the Azure MicrosoftDatadog client library for JavaScript with `npm`:
26
30
27
31
```bash
28
32
npm install @azure/arm-datadog
29
33
```
30
34
31
35
### Create and authenticate a `MicrosoftDatadogClient`
32
36
33
-
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
-
You can find the endpoint for your Azure Microsoft Datadog resource in the [Azure Portal][azure_portal].
37
+
To create a client object to access the Azure MicrosoftDatadog API, you will need the `endpoint` of your Azure MicrosoftDatadog resource and a `credential`. The Azure MicrosoftDatadog client can use Azure Active Directory credentials to authenticate.
38
+
You can find the endpoint for your Azure MicrosoftDatadog resource in the [Azure Portal][azure_portal].
35
39
36
-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40
+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
37
41
38
42
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
39
43
40
44
```bash
41
45
npm install @azure/identity
42
46
```
43
47
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).
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
+
You will also need to **register a new AAD application and grant access to Azure MicrosoftDatadog** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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
@@ -62,23 +65,23 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
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
79
77
80
## Key concepts
78
81
79
82
### MicrosoftDatadogClient
80
83
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.
84
+
`MicrosoftDatadogClient` is the primary interface for developers using the Azure MicrosoftDatadog client library. Explore the methods on this client object to understand the different features of the Azure MicrosoftDatadog service that you can access.
82
85
83
86
## Troubleshooting
84
87
@@ -96,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
96
99
97
100
## Next steps
98
101
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.
102
+
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
103
101
104
## Contributing
102
105
@@ -106,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
106
109
107
110
-[Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
0 commit comments