@azure/arm-privatedns 1.0.0 → 3.0.0-alpha.20220124.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -100
  5. package/dist/index.js +2295 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +5 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +12 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/lroImpl.d.ts +16 -0
  14. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  15. package/dist-esm/src/lroImpl.js +29 -0
  16. package/dist-esm/src/lroImpl.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +470 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +24 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +22 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/{esm → dist-esm/src}/models/mappers.js +234 -205
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +20 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/parameters.js +91 -77
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  30. package/dist-esm/src/operations/index.d.ts.map +1 -0
  31. package/{esm → dist-esm/src}/operations/index.js +3 -5
  32. package/dist-esm/src/operations/index.js.map +1 -0
  33. package/dist-esm/src/operations/privateZones.d.ts +114 -0
  34. package/dist-esm/src/operations/privateZones.d.ts.map +1 -0
  35. package/dist-esm/src/operations/privateZones.js +516 -0
  36. package/dist-esm/src/operations/privateZones.js.map +1 -0
  37. package/dist-esm/src/operations/recordSets.d.ts +105 -0
  38. package/dist-esm/src/operations/recordSets.d.ts.map +1 -0
  39. package/dist-esm/src/operations/recordSets.js +451 -0
  40. package/dist-esm/src/operations/recordSets.js.map +1 -0
  41. package/dist-esm/src/operations/virtualNetworkLinks.d.ts +103 -0
  42. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
  43. package/dist-esm/src/operations/virtualNetworkLinks.js +442 -0
  44. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
  45. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  46. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  47. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  48. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/privateZones.d.ts +78 -0
  50. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +1 -0
  51. package/dist-esm/src/operationsInterfaces/privateZones.js +9 -0
  52. package/dist-esm/src/operationsInterfaces/privateZones.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/recordSets.d.ts +61 -0
  54. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/recordSets.js +9 -0
  56. package/dist-esm/src/operationsInterfaces/recordSets.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  58. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  61. package/dist-esm/src/privateDnsManagementClient.d.ts +21 -0
  62. package/dist-esm/src/privateDnsManagementClient.d.ts.map +1 -0
  63. package/dist-esm/src/privateDnsManagementClient.js +54 -0
  64. package/dist-esm/src/privateDnsManagementClient.js.map +1 -0
  65. package/dist-esm/test/sampleTest.d.ts +2 -0
  66. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  67. package/dist-esm/test/sampleTest.js +40 -0
  68. package/dist-esm/test/sampleTest.js.map +1 -0
  69. package/package.json +85 -25
  70. package/review/arm-privatedns.api.md +435 -0
  71. package/rollup.config.js +181 -30
  72. package/src/index.ts +12 -0
  73. package/src/lroImpl.ts +34 -0
  74. package/src/models/index.ts +567 -0
  75. package/{lib → src}/models/mappers.ts +248 -214
  76. package/src/models/parameters.ts +201 -0
  77. package/{lib → src}/operations/index.ts +3 -5
  78. package/src/operations/privateZones.ts +686 -0
  79. package/src/operations/recordSets.ts +602 -0
  80. package/src/operations/virtualNetworkLinks.ts +624 -0
  81. package/src/operationsInterfaces/index.ts +11 -0
  82. package/src/operationsInterfaces/privateZones.ts +145 -0
  83. package/src/operationsInterfaces/recordSets.ts +117 -0
  84. package/src/operationsInterfaces/virtualNetworkLinks.ts +150 -0
  85. package/src/privateDnsManagementClient.ts +88 -0
  86. package/tsconfig.json +20 -7
  87. package/types/arm-privatedns.d.ts +768 -0
  88. package/types/tsdoc-metadata.json +11 -0
  89. package/dist/arm-privatedns.js +0 -1944
  90. package/dist/arm-privatedns.js.map +0 -1
  91. package/dist/arm-privatedns.min.js +0 -1
  92. package/dist/arm-privatedns.min.js.map +0 -1
  93. package/esm/models/index.d.ts +0 -1031
  94. package/esm/models/index.d.ts.map +0 -1
  95. package/esm/models/index.js +0 -8
  96. package/esm/models/index.js.map +0 -1
  97. package/esm/models/mappers.d.ts +0 -22
  98. package/esm/models/mappers.d.ts.map +0 -1
  99. package/esm/models/mappers.js.map +0 -1
  100. package/esm/models/parameters.d.ts +0 -15
  101. package/esm/models/parameters.d.ts.map +0 -1
  102. package/esm/models/parameters.js.map +0 -1
  103. package/esm/models/privateZonesMappers.d.ts +0 -2
  104. package/esm/models/privateZonesMappers.d.ts.map +0 -1
  105. package/esm/models/privateZonesMappers.js +0 -9
  106. package/esm/models/privateZonesMappers.js.map +0 -1
  107. package/esm/models/recordSetsMappers.d.ts +0 -2
  108. package/esm/models/recordSetsMappers.d.ts.map +0 -1
  109. package/esm/models/recordSetsMappers.js +0 -9
  110. package/esm/models/recordSetsMappers.js.map +0 -1
  111. package/esm/models/virtualNetworkLinksMappers.d.ts +0 -2
  112. package/esm/models/virtualNetworkLinksMappers.d.ts.map +0 -1
  113. package/esm/models/virtualNetworkLinksMappers.js +0 -9
  114. package/esm/models/virtualNetworkLinksMappers.js.map +0 -1
  115. package/esm/operations/index.d.ts.map +0 -1
  116. package/esm/operations/index.js.map +0 -1
  117. package/esm/operations/privateZones.d.ts +0 -165
  118. package/esm/operations/privateZones.d.ts.map +0 -1
  119. package/esm/operations/privateZones.js +0 -347
  120. package/esm/operations/privateZones.js.map +0 -1
  121. package/esm/operations/recordSets.d.ts +0 -229
  122. package/esm/operations/recordSets.d.ts.map +0 -1
  123. package/esm/operations/recordSets.js +0 -304
  124. package/esm/operations/recordSets.js.map +0 -1
  125. package/esm/operations/virtualNetworkLinks.d.ts +0 -139
  126. package/esm/operations/virtualNetworkLinks.d.ts.map +0 -1
  127. package/esm/operations/virtualNetworkLinks.js +0 -305
  128. package/esm/operations/virtualNetworkLinks.js.map +0 -1
  129. package/esm/privateDnsManagementClient.d.ts +0 -21
  130. package/esm/privateDnsManagementClient.d.ts.map +0 -1
  131. package/esm/privateDnsManagementClient.js +0 -36
  132. package/esm/privateDnsManagementClient.js.map +0 -1
  133. package/esm/privateDnsManagementClientContext.d.ts +0 -17
  134. package/esm/privateDnsManagementClientContext.d.ts.map +0 -1
  135. package/esm/privateDnsManagementClientContext.js +0 -57
  136. package/esm/privateDnsManagementClientContext.js.map +0 -1
  137. package/lib/models/index.ts +0 -1123
  138. package/lib/models/parameters.ts +0 -162
  139. package/lib/models/privateZonesMappers.ts +0 -28
  140. package/lib/models/recordSetsMappers.ts +0 -28
  141. package/lib/models/virtualNetworkLinksMappers.ts +0 -28
  142. package/lib/operations/privateZones.ts +0 -490
  143. package/lib/operations/recordSets.ts +0 -568
  144. package/lib/operations/virtualNetworkLinks.ts +0 -410
  145. package/lib/privateDnsManagementClient.ts +0 -47
  146. package/lib/privateDnsManagementClientContext.ts +0 -63
package/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Release History
2
+
3
+ ## 3.0.0 (2022-01-24)
4
+
5
+ The package of @azure/arm-privatedns is using our next generation design principles since version 3.0.0, which contains breaking changes.
6
+
7
+ To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
8
+
9
+ To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
10
+
11
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Microsoft
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2019 Microsoft
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Microsoft
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,100 +1,98 @@
1
- ## Azure PrivateDnsManagementClient SDK for JavaScript
2
-
3
- This package contains an isomorphic SDK for PrivateDnsManagementClient.
4
-
5
- ### Currently supported environments
6
-
7
- - Node.js version 6.x.x or higher
8
- - Browser JavaScript
9
-
10
- ### How to Install
11
-
12
- ```bash
13
- npm install @azure/arm-privatedns
14
- ```
15
-
16
- ### How to use
17
-
18
- #### nodejs - Authentication, client creation and get privateZones as an example written in TypeScript.
19
-
20
- ##### Install @azure/ms-rest-nodeauth
21
-
22
- ```bash
23
- npm install @azure/ms-rest-nodeauth
24
- ```
25
-
26
- ##### Sample code
27
-
28
- ```typescript
29
- import * as msRest from "@azure/ms-rest-js";
30
- import * as msRestAzure from "@azure/ms-rest-azure-js";
31
- import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
32
- import { PrivateDnsManagementClient, PrivateDnsManagementModels, PrivateDnsManagementMappers } from "@azure/arm-privatedns";
33
- const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
34
-
35
- msRestNodeAuth.interactiveLogin().then((creds) => {
36
- const client = new PrivateDnsManagementClient(creds, subscriptionId);
37
- const resourceGroupName = "testresourceGroupName";
38
- const privateZoneName = "testprivateZoneName";
39
- client.privateZones.get(resourceGroupName, privateZoneName).then((result) => {
40
- console.log("The result is:");
41
- console.log(result);
42
- });
43
- }).catch((err) => {
44
- console.error(err);
45
- });
46
- ```
47
-
48
- #### browser - Authentication, client creation and get privateZones as an example written in JavaScript.
49
-
50
- ##### Install @azure/ms-rest-browserauth
51
-
52
- ```bash
53
- npm install @azure/ms-rest-browserauth
54
- ```
55
-
56
- ##### Sample code
57
-
58
- See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
59
-
60
- - index.html
61
- ```html
62
- <!DOCTYPE html>
63
- <html lang="en">
64
- <head>
65
- <title>@azure/arm-privatedns sample</title>
66
- <script src="node_modules/@azure/ms-rest-js/dist/msRest.browser.js"></script>
67
- <script src="node_modules/@azure/ms-rest-azure-js/dist/msRestAzure.js"></script>
68
- <script src="node_modules/@azure/ms-rest-browserauth/dist/msAuth.js"></script>
69
- <script src="node_modules/@azure/arm-privatedns/dist/arm-privatedns.js"></script>
70
- <script type="text/javascript">
71
- const subscriptionId = "<Subscription_Id>";
72
- const authManager = new msAuth.AuthManager({
73
- clientId: "<client id for your Azure AD app>",
74
- tenant: "<optional tenant for your organization>"
75
- });
76
- authManager.finalizeLogin().then((res) => {
77
- if (!res.isLoggedIn) {
78
- // may cause redirects
79
- authManager.login();
80
- }
81
- const client = new Azure.ArmPrivatedns.PrivateDnsManagementClient(res.creds, subscriptionId);
82
- const resourceGroupName = "testresourceGroupName";
83
- const privateZoneName = "testprivateZoneName";
84
- client.privateZones.get(resourceGroupName, privateZoneName).then((result) => {
85
- console.log("The result is:");
86
- console.log(result);
87
- }).catch((err) => {
88
- console.log("An error occurred:");
89
- console.error(err);
90
- });
91
- });
92
- </script>
93
- </head>
94
- <body></body>
95
- </html>
96
- ```
97
-
98
- ## Related projects
99
-
100
- - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
1
+ # Azure PrivateDnsManagement client library for JavaScript
2
+
3
+ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PrivateDnsManagement client.
4
+
5
+ The Private DNS Management Client.
6
+
7
+ [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/privatedns/arm-privatedns) |
8
+ [Package (NPM)](https://www.npmjs.com/package/@azure/arm-privatedns) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-privatedns) |
10
+ [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
+
12
+ ## Getting started
13
+
14
+ ### Currently supported environments
15
+
16
+ - [LTS versions of Node.js](https://nodejs.org/about/releases/)
17
+ - Latest versions of Safari, Chrome, Edge and Firefox.
18
+
19
+ ### Prerequisites
20
+
21
+ - An [Azure subscription][azure_sub].
22
+
23
+ ### Install the `@azure/arm-privatedns` package
24
+
25
+ Install the Azure PrivateDnsManagement client library for JavaScript with `npm`:
26
+
27
+ ```bash
28
+ npm install @azure/arm-privatedns
29
+ ```
30
+
31
+ ### Create and authenticate a `PrivateDnsManagementClient`
32
+
33
+ To create a client object to access the Azure PrivateDnsManagement API, you will need the `endpoint` of your Azure PrivateDnsManagement resource and a `credential`. The Azure PrivateDnsManagement client can use Azure Active Directory credentials to authenticate.
34
+ You can find the endpoint for your Azure PrivateDnsManagement resource in the [Azure Portal][azure_portal].
35
+
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).
37
+
38
+ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
39
+
40
+ ```bash
41
+ npm install @azure/identity
42
+ ```
43
+
44
+ You will also need to **register a new AAD application and grant access to Azure PrivateDnsManagement** 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
+
47
+ For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
+
49
+ ```javascript
50
+ const { PrivateDnsManagementClient } = require("@azure/arm-privatedns");
51
+ const { DefaultAzureCredential } = require("@azure/identity");
52
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
53
+ const client = new PrivateDnsManagementClient(new DefaultAzureCredential(), subscriptionId);
54
+ ```
55
+
56
+
57
+ ### JavaScript Bundle
58
+ 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).
59
+
60
+ ## Key concepts
61
+
62
+ ### PrivateDnsManagementClient
63
+
64
+ `PrivateDnsManagementClient` is the primary interface for developers using the Azure PrivateDnsManagement client library. Explore the methods on this client object to understand the different features of the Azure PrivateDnsManagement service that you can access.
65
+
66
+ ## Troubleshooting
67
+
68
+ ### Logging
69
+
70
+ Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
71
+
72
+ ```javascript
73
+ const { setLogLevel } = require("@azure/logger");
74
+ setLogLevel("info");
75
+ ```
76
+
77
+ 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).
78
+
79
+ ## Next steps
80
+
81
+ 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.
82
+
83
+ ## Contributing
84
+
85
+ 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.
86
+
87
+ ## Related projects
88
+
89
+ - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
90
+
91
+ ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fprivatedns%2Farm-privatedns%2FREADME.png)
92
+
93
+ [azure_cli]: https://docs.microsoft.com/cli/azure
94
+ [azure_sub]: https://azure.microsoft.com/free/
95
+ [azure_sub]: https://azure.microsoft.com/free/
96
+ [azure_portal]: https://portal.azure.com
97
+ [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
98
+ [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential