Skip to content

Commit 338cb6b

Browse files
2 parents 6e4cc5c + 9c54fba commit 338cb6b

25 files changed

+241
-12
lines changed

articles/ai-services/openai/includes/dall-e-studio.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: cognitive-services
88
ms.subservice: openai
99
ms.topic: include
10-
ms.date: 04/04/2023
10+
ms.date: 08/04/2023
1111
keywords:
1212
---
1313

@@ -27,19 +27,19 @@ Use this guide to get started generating images with Azure OpenAI in your browse
2727

2828
Navigate to Azure OpenAI Studio at <a href="https://oai.azure.com/" target="_blank">https://oai.azure.com/</a> and sign in with the credentials associated with your OpenAI resource. During or after the sign-in workflow, select the appropriate directory, Azure subscription, and Azure OpenAI resource.
2929

30-
From the Azure OpenAI Studio landing page, select **DALL·E 2 playground** to use the image generation APIs.
30+
From the Azure OpenAI Studio landing page, select **DALL·E (Preview) playground** to use the image generation APIs.
3131

3232
## Try out image generation
3333

34-
Start exploring Azure OpenAI capabilities with a no-code approach through the DALL-E 2 playground. Enter your image prompt into the text box and select **Generate**. When the AI-generated image is ready, it will appear on the page.
34+
Start exploring Azure OpenAI capabilities with a no-code approach through the DALL·E (Preview) playground. Enter your image prompt into the text box and select **Generate**. When the AI-generated image is ready, it will appear on the page.
3535

3636
> [!NOTE]
3737
> The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it won't return a generated image. For more information, see the [content filter](../concepts/content-filter.md) guide.
3838
3939
:::image type="content" source="../media/quickstarts/dall-e-studio.png" alt-text="Screenshot of the Azure OpenAI Studio landing page." lightbox="../media/quickstarts/dall-e-studio.png":::
4040

4141

42-
In the DALL-E 2 playground, you can also view Python and cURL code samples, which are pre-filled according to your settings. Select **View code** near the top of the page. You can use this code to write an application that completes the same task.
42+
In the DALL·E (Preview) playground, you can also view Python and cURL code samples, which are pre-filled according to your settings. Select **View code** near the top of the page. You can use this code to write an application that completes the same task.
4343

4444
## Clean up resources
4545

137 KB
Loading
51.6 KB
Loading
1.35 MB
Loading
-45.1 KB
Loading
54.4 KB
Loading

articles/ai-services/openai/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ items:
2020
href: faq.yml
2121
- name: Quickstarts
2222
items:
23-
- name: GPT-3
23+
- name: Completions
2424
href: quickstart.md
25-
- name: GPT-35-Turbo & GPT-4
25+
- name: Chat
2626
href: chatgpt-quickstart.md
2727
displayName: ChatGPT, chatgpt
2828
- name: DALL-E (preview)

articles/api-management/api-management-howto-ip-addresses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ For information about when this file is updated and when the IP addresses change
125125
In the Developer, Basic, Standard, and Premium tiers of API Management, the public IP address or addresses (VIP) and private VIP addresses (if configured in the internal VNet mode) are static for the lifetime of a service, with the following exceptions:
126126

127127
* The API Management service is deleted and then re-created.
128-
* The service subscription is [suspended](https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/subscription-lifecycle-api-reference.md#subscription-states) or [warned](https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/subscription-lifecycle-api-reference.md#subscription-states) (for example, for nonpayment) and then reinstated.
128+
* The service subscription is disabled or warned (for example, for nonpayment) and then reinstated. [Learn more about subscription states](/azure/cost-management-billing/manage/subscription-states)
129129
* (Developer and Premium tiers) Azure Virtual Network is added to or removed from the service.
130130
* (Developer and Premium tiers) API Management service is switched between external and internal VNet deployment mode.
131131
* (Developer and Premium tiers) API Management service is moved to a different subnet.

articles/azure-app-configuration/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@
138138
items:
139139
- name: Keys and values
140140
href: concept-key-value.md
141+
- name: Snapshots
142+
href: concept-snapshots.md
141143
- name: Point-in-time key-values
142144
href: concept-point-time-snapshot.md
143145
- name: Feature management
@@ -176,6 +178,8 @@
176178
items:
177179
- name: Use labels for per-environment configuration
178180
href: howto-labels-aspnet-core.md
181+
- name: Create and manage Snapshots
182+
href: howto-create-snapshots.md
179183
- name: Import or export configuration data
180184
href: howto-import-export-data.md
181185
- name: Use JSON content-type for key-values
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
title: Snapshots in Azure App Configuration (preview)
3+
description: Details of Snapshots in Azure App Configuration
4+
author: Muksvso
5+
ms.author: mubatra
6+
ms.service: azure-app-configuration
7+
ms.topic: conceptual
8+
ms.date: 05/16/2023
9+
---
10+
11+
# Snapshots (preview)
12+
13+
A snapshot is a named, immutable subset of an App Configuration store's key-values. The key-values that make up a snapshot are chosen during creation time through the usage of key and label filters. Once a snapshot is created, the key-values within are guaranteed to remain unchanged.
14+
15+
## Deploy safely with snapshots
16+
17+
Snapshots are designed to safely deploy configuration changes. Deploying faulty configuration changes into a running environment can cause issues such as service disruption and data loss. In order to avoid such issues, it's important to be able to vet configuration changes before moving into production environments. If such an issue does occur, it's important to be able to roll back any faulty configuration changes in order to restore service. Snapshots are created for managing these scenarios.
18+
19+
Configuration changes should be deployed in a controlled, consistent way. Developers can use snapshots to perform controlled rollout. The only change needed in an application to begin a controlled rollout is to update the name of the snapshot the application is referencing. As the application moves into production, there's a guarantee that the configuration in the referenced snapshot remains unchanged. This guarantee against any change in a snapshot protects against unexpected settings making their way into production. The immutability and ease-of-reference of snapshots make it simple to ensure that the right set of configuration changes are rolled out safely.
20+
21+
## Scenarios for using snapshots
22+
23+
* **Controlled rollout**: Snapshots are well suited for supporting controlled rollout due to their immutable nature. When developers utilize snapshots for configuration, they can be confident that the configuration remains unchanged as the release progresses through different phases of the rollout.
24+
25+
* **Last Known Good (LKG) configuration**: Snapshots can be used to support safe deployment practices for Configuration. With snapshots, developers can ensure that a Last known Good (LKG) configuration is available for rollback if there was any issue during deployment.
26+
27+
* **Configuration versioning**: Snapshots can be used to create a version history of configuration settings to sync with release versions. Settings captured in each snapshot can be compared to identify changes between versions.
28+
29+
* **Auditing**: Snapshots can be used for auditing and compliance purposes. Developers can maintain a record of configuration changes in between releases by using the snapshots for the releases.
30+
31+
* **Testing and Staging environments**: Snapshots can be used to create consistent testing and staging environments. Developers can ensure that the same configuration is used across different environments, by using the same snapshot, which can help with debugging and testing.
32+
33+
* **Simplified Client Configuration composition**: Usually, the clients of App Configuration need a subset of the key-values from the App Configuration instance. To get the set of required key-values, they need to have query logic written in code. As Snapshots support providing filters during creation time, it helps simplify client composition because clients can now refer to the set of key-values they require by name.
34+
35+
## Snapshot operations
36+
37+
As snapshots are immutable entities, snapshots can only be created and archived. No deleting, purging or editing is possible.
38+
39+
* **Create snapshot**: Snapshots can be created by defining the key and label filters to capture the required key-values from App Configuration instance. The filtered key-values are stored as a snapshot with the name provided during creation.
40+
41+
* **Archive snapshot**: Archiving a snapshot puts it in an archived state. While a snapshot is archived, it's still fully functional. When the snapshot is archived, an expiration time is set based on the retention period configured during the snapshot's creation. If the snapshot remains in the archived state up until the expiration time, then it automatically disappears from the system when the expiration time passes. Archival is used for phasing out snapshots that are no longer in use.
42+
43+
* **Recover snapshot**: Recovering a snapshot puts it back in an active state. At this point, the snapshot is no longer subject to expiration based on its configured retention period. Recovery is only possible in the retention period after archival.
44+
45+
> [!NOTE]
46+
> The retention period can only be set during the creation of a snapshot. The default value for retention period is 30 days for Standard stores and 7 days for Free stores.
47+
48+
## Requirements for snapshot operations
49+
50+
The following sections detail the permissions required to perform snapshot related operations with Azure AD and HMAC authentication.
51+
52+
### Create a snapshot
53+
54+
To create a snapshot in stores using Azure Active Directory (Azure AD) authentication, the following permissions are required. The App Configuration Data Owner role already has these permissions.
55+
- `Microsoft.AppConfiguration/configurationStores/keyvalues/read`
56+
- `Microsoft.AppConfiguration/configurationStores/snapshots/write`
57+
58+
To archive and/or recover a snapshot using HMAC authentication, a read-write access key must be used.
59+
60+
### Archive and recover a snapshot
61+
62+
To archive and/or recover a snapshot using Azure AD authentication, the following permission is needed. The App Configuration Data Owner role already has this permission.
63+
- `Microsoft.AppConfiguration/configurationStores/snapshots/archive/action`
64+
65+
To archive and/or recover a snapshot using HMAC authentication, a read-write access key must be used.
66+
67+
### Read and list snapshots
68+
69+
To list all snapshots, or get all the key-values in an individual snapshot by name the following permission is needed for stores utilizing Azure AD authentication. The built-in Data Owner and Data Reader roles already have this permission.
70+
- `Microsoft.AppConfiguration/configurationStores/snapshots/read`
71+
72+
For stores that use HMAC authentication, both the "read snapshot" operation (to read the key-values from a snapshot) and the "list snapshots" operation can be performed using either the read-write access keys or the read-only access keys.
73+
74+
## Billing considerations and limits
75+
76+
The storage quota for snapshots is detailed in the "storage per resource section" of the [App Configuration pricing page](https://azure.microsoft.com/pricing/details/app-configuration/) There's no extra charge for snapshots before the included snapshot storage quota is exhausted.
77+
78+
App Configuration has two tiers, Free and Standard. Check the following details for snapshot quotas in each tier.
79+
80+
* **Free tier**: This tier has a snapshot storage quota of 10 MB. One can create as many snapshots as possible as long as the total storage size of all active and archived snapshots is less than 10 MB.
81+
82+
* **Standard tier**: This tier has a snapshot storage quota of 1 GB. One can create as many snapshots as possible as long as the total storage size of all active and archived snapshots is less than 1 GB.
83+
84+
The maximum size for a snapshot is 1 MB.
85+
86+
## Next steps
87+
88+
> [!div class="nextstepaction"]
89+
> [Create a snapshot](./howto-create-snapshots.md)

0 commit comments

Comments
 (0)