This commit is contained in:
Ramya Rao 2021-12-14 16:01:27 -08:00 коммит произвёл GitHub
Родитель eb5cd42d19
Коммит 17cb52fdbd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -4,15 +4,15 @@ The `@azure/ms-rest-nodeauth` package provides different authentication mechanis
There is no active development for `@azure/ms-rest-nodeauth` other than critical bug fixes. Please refer to the below table to find suggested alternatives for each Azure service for which you have been using credentials from `@azure/ms-rest-nodeauth`.
| Azure service | Package | Alternative to @azure/ms-rest-nodeauth |
| ---------------------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Azure Resource Manager | Packages with names starting with `@azure/arm-` | Use `@azure/identity`. Please note that new major versions of all packages targetting the Azure Resource Manager from 2022 will drop support for credentials from `@azure/ms-rest-nodeauth`. |
| Application Insights | @azure/applicationinsights-query | Not planned as this package will be deprecated in favor of `@azure/monitor-query` in early 2022. |
| Application Insights | @azure/loganalytics | Not planned as this package will be deprecated in favor of `@azure/monitor-query` in early 2022. |
| Batch | @azure/batch | No alternatives yet |
| Graph | @azure/graph | Not planned as this service will be deprecated in June 2022. |
| Service Fabric | @azure/servicefabric | Not planned as there is no active development for this package. |
| Storage Data Lake | @azure/storage-datalake | Not planned as there is no active development for this package. |
| Azure service | Package | Alternative to @azure/ms-rest-nodeauth |
| ---------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Azure Resource Manager | Packages with names starting with `@azure/arm-` | As of December 2021, new major versions of all packages targetting the Azure Resource Manager will drop support for credentials from `@azure/ms-rest-nodeauth`. Refer to the [migration guide to use @azure/identity](https://github.com/Azure/ms-rest-nodeauth/blob/master/migrate-to-identity-v2.md) instead. |
| Application Insights | @azure/applicationinsights-query | Not planned as this package will be deprecated in favor of `@azure/monitor-query` in early 2022. |
| Application Insights | @azure/loganalytics | Not planned as this package will be deprecated in favor of `@azure/monitor-query` in early 2022. |
| Batch | @azure/batch | No alternatives yet |
| Graph | @azure/graph | Not planned as this service will be deprecated in June 2022. |
| Service Fabric | @azure/servicefabric | Not planned as there is no active development for this package. |
| Storage Data Lake | @azure/storage-datalake | Not planned as there is no active development for this package. |
All the authentication methods support callbacks as well as promises. If they are called within an async method in your application then you can use the async/await pattern as well.