Skip to content

Commit 6f841ce

Browse files
Merge pull request #310463 from zhiyuanliang-ms/zhiyuanliang/js-ss-ref
[Azure App Configuration] - Add snapshot reference doc for JS provider
2 parents 5821b38 + 12df8cb commit 6f841ce

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

articles/azure-app-configuration/configuration-provider-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Snapshots | [GA](./reference-dotnet-provider.md#snapshot) | GA | GA | WIP | [GA]
7272
Distributed Tracing | [GA](./reference-dotnet-provider.md#distributed-tracing) | WIP | WIP | WIP | WIP | N/A
7373
Health Check | [GA](./reference-dotnet-provider.md#health-check) | GA | WIP | WIP | WIP | N/A
7474
Select by Tag Filters | [GA](./reference-dotnet-provider.md#load-specific-key-values-using-selectors) | WIP | GA | GA | [GA](./reference-javascript-provider.md#tag-filters) | [GA](./reference-go-provider.md#tag-filters)
75-
Snapshot Reference | [GA](./reference-dotnet-provider.md#snapshot-reference) | WIP | WIP | WIP | WIP | WIP
75+
Snapshot Reference | [GA](./reference-dotnet-provider.md#snapshot-reference) | WIP | WIP | WIP | [GA](./reference-javascript-provider.md#snapshot-reference) | WIP
7676
Load from Azure Front Door | [Preview](./reference-dotnet-provider.md#connect-to-azure-front-door) | WIP | WIP | WIP | [Preview](./reference-javascript-provider.md#connect-to-azure-front-door) | WIP
7777

7878

articles/azure-app-configuration/reference-dotnet-provider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,8 @@ For information about using snapshots, go to [Create and use snapshots](./howto-
651651

652652
A snapshot reference is a configuration setting that references a snapshot in the same App Configuration store. When loaded, the provider resolves it and adds all key-values from that snapshot. Using snapshot references enables switching between snapshots at runtime, unlike `SelectSnapshot("...")`, which requires code changes and/or restarts to switch to a new snapshot.
653653

654+
For more information about creating a snapshot reference, go to [snapshot reference concept](./concept-snapshot-references.md).
655+
654656
> [!NOTE]
655657
> To use snapshot references, use the version *8.4.0* or later of `Microsoft.Extensions.Configuration.AzureAppConfiguration`.
656658

articles/azure-app-configuration/reference-javascript-provider.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,15 @@ const appConfig = await load(endpoint, credential, {
461461
});
462462
```
463463
464+
### Snapshot reference
465+
466+
A snapshot reference is a configuration setting that references a snapshot in the same App Configuration store. When loaded, the provider resolves it and adds all key-values from that snapshot. Using snapshot references enables switching between snapshots at runtime, unlike adding a snapshot selector, which requires code changes and/or restarts to switch to a new snapshot.
467+
468+
For more information about creating a snapshot reference, go to [snapshot reference concept](./concept-snapshot-references.md).
469+
470+
> [!NOTE]
471+
> To use snapshot references, use the version *2.3.0* or later of `@azure/app-configuration-provider`.
472+
464473
## Startup retry
465474
466475
Configuration loading is a critical path operation during application startup. To ensure reliability, the Azure App Configuration provider implements a robust retry mechanism during the initial configuration load. This helps protect your application from transient network issues that might otherwise prevent successful startup.

0 commit comments

Comments
 (0)