Skip to content

Commit

Permalink
Update docs metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk committed Dec 20, 2022
1 parent 058cc01 commit 7ac95ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
28 changes: 13 additions & 15 deletions docs-ref-services/latest/arm-cdn-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,31 @@ title: Azure CdnManagement client library for JavaScript
keywords: Azure, javascript, SDK, API, @azure/arm-cdn, cdn
author: qiaozha
ms.author: qiaozha
ms.date: 04/26/2022
ms.date: 12/20/2022
ms.topic: reference
ms.prod: azure
ms.technology: azure
ms.devlang: javascript
ms.service: cdn
---
# Azure CdnManagement client library for JavaScript - version 7.0.1
# Azure CdnManagement client library for JavaScript - version 8.0.0


This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure CdnManagement client.

Cdn Management Client

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/@azure/arm-cdn_7.0.1/sdk/cdn/arm-cdn) |
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/@azure/arm-cdn_8.0.0/sdk/cdn/arm-cdn) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-cdn) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-cdn) |
[API reference documentation](/javascript/api/@azure/arm-cdn) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started

### Currently supported environments

- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/@azure/arm-cdn_7.0.1/SUPPORT.md) for more details.
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/@azure/arm-cdn_8.0.0/SUPPORT.md) for more details.

### Prerequisites

Expand All @@ -48,7 +46,7 @@ npm install @azure/arm-cdn
To create a client object to access the Azure CdnManagement API, you will need the `endpoint` of your Azure CdnManagement resource and a `credential`. The Azure CdnManagement client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure CdnManagement resource in the [Azure Portal][azure_portal].

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/@azure/arm-cdn_7.0.1/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
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/@azure/arm-cdn_8.0.0/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:

Expand All @@ -59,7 +57,7 @@ npm install @azure/identity
You will also need to **register a new AAD application and grant access to Azure CdnManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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`.

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).
For more information about how to create an Azure AD Application check out [this guide](/azure/active-directory/develop/howto-create-service-principal-portal).

```javascript
const { CdnManagementClient } = require("@azure/arm-cdn");
Expand Down Expand Up @@ -98,26 +96,26 @@ const { setLogLevel } = require("@azure/logger");
setLogLevel("info");
```

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/@azure/arm-cdn_7.0.1/sdk/core/logger).
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/@azure/arm-cdn_8.0.0/sdk/core/logger).

## Next steps

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.

## Contributing

If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/@azure/arm-cdn_7.0.1/CONTRIBUTING.md) to learn more about how to build and test the code.
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/@azure/arm-cdn_8.0.0/CONTRIBUTING.md) to learn more about how to build and test the code.

## Related projects

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcdn%2Farm-cdn%2FREADME.png)

[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_cli]: /cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/@azure/arm-cdn_7.0.1/sdk/identity/identity
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/@azure/arm-cdn_7.0.1/sdk/identity/identity#defaultazurecredential
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/@azure/arm-cdn_8.0.0/sdk/identity/identity
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/@azure/arm-cdn_8.0.0/sdk/identity/identity#defaultazurecredential

4 changes: 2 additions & 2 deletions metadata/latest/azure-arm-cdn.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Name": "@azure/arm-cdn",
"Version": "7.0.1",
"Version": "8.0.0",
"DevVersion": null,
"DirectoryPath": "sdk/cdn/arm-cdn",
"ServiceDirectory": "cdn",
Expand All @@ -10,5 +10,5 @@
"SdkType": "mgmt",
"IsNewSdk": true,
"ArtifactName": "azure-arm-cdn",
"ReleaseStatus": "2022-04-21"
"ReleaseStatus": "2022-11-17"
}

0 comments on commit 7ac95ce

Please sign in to comment.