You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/manage-costs.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,14 @@ Enabling capabilities such as sending data to Azure Monitor Logs and alerting in
58
58
59
59
You can pay for Azure OpenAI Service charges with your Azure Prepayment credit. However, you can't use Azure Prepayment credit to pay for charges for third party products and services including those products and services found in the Azure Marketplace.
60
60
61
+
### HTTP Error response code and billing status in Azure OpenAI Service
62
+
63
+
If the service performs processing, you may be charged even if the status code is not successful (not 200).
64
+
For example, a 400 error due to a content filter or input limit, or a 408 error due to a timeout.
65
+
66
+
If the service doesn't perform processing, you won't be charged.
67
+
For example, a 401 error due to authentication or a 429 error due to exceeding the Rate Limit.
68
+
61
69
## Monitor costs
62
70
63
71
As you use Azure resources with Azure OpenAI, you incur costs. Azure resource usage unit costs vary by time intervals, such as seconds, minutes, hours, and days, or by unit usage, such as bytes and megabytes. As soon as Azure OpenAI use starts, costs can be incurred and you can see the costs in the [cost analysis](../../../cost-management/quick-acm-cost-analysis.md?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn).
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/how-to-custom-speech-test-and-train.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,7 +270,7 @@ Use <a href="http://sox.sourceforge.net" target="_blank" rel="noopener">SoX</a>
270
270
271
271
### Custom display text formatting data for training
272
272
273
-
Learn more about [display text formatting with speech to text](./display-text-format.md).
273
+
Learn more about [preparing display text formatting data](./how-to-custom-speech-display-text-format.md) and [display text formatting with speech to text](./display-text-format.md).
274
274
275
275
Automatic Speech Recognition output display format is critical to downstream tasks and one-size doesn’t fit all. Adding Custom Display Format rules allows users to define their own lexical-to-display format rules to improve the speech recognition service quality on top of Microsoft Azure Custom Speech Service.
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/release-notes/release-notes-tts.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,40 @@ The custom voice API is available for creating and managing [professional](../..
16
16
17
17
The newly trained voice models now support 48 kHz sample rate, irrespective of the model version. For previously trained voice models, it's necessary to [upgrade the engine version](../../how-to-custom-voice-create-voice.md?tabs=neural#update-engine-version-for-your-voice-model) to at least **2023.11.13.0** version to enhance the sample rate to 48 kHz.
18
18
19
+
#### Prebuilt neural voice
20
+
- Introducing new multilingual voices for public preview:
21
+
22
+
| Locale (BCP-47) | Language | Text to speech voices |
23
+
| ----- | ----- | ----- |
24
+
|`de-DE`| German (Germany) |`de-DE-FlorianMultilingualNeural` (Male) |
25
+
|`en-US`| English (United States) |`en-US-AvaMultilingualNeural` (Female) |
26
+
|`en-US`| English (United States) |`en-US-EmmaMultilingualNeural` (Female) |
27
+
|`fr-FR`| French (France) |`fr-FR-RemyMultilingualNeural` (Male) |
28
+
|`en-US`| English (United States) |`en-US-BrianMultilingualNeural` (Male) |
29
+
|`en-US`| English (United States) |`en-US-AndrewMultilingualNeural` (Male) |
30
+
|`fr-FR`| French (France) |`fr-FR-SeraphinaMultilingualNeural` (Female) |
31
+
|`fr-FR`| French (France) |`fr-FR-VivienneMultilingualNeural` (Female) |
32
+
|`zh-CN`| Chinese (Mandarin, Simplified) |`zh-CN-XiaoxiaoMultilingualNeural` (Female) |
33
+
|`zh-CN`| Chinese (Mandarin, Simplified) |`zh-CN-XiaochenMultilingualNeural` (Female) |
34
+
|`zh-CN`| Chinese (Mandarin, Simplified) |`zh-CN-YunyiMultilingualNeural` (Male) |
35
+
36
+
- Introducing new `zh-CN-XiaoxiaoDialectsNeural` voices for public preview which support several Chinese dialects and accents:
37
+
38
+
| Voicename | Secondary language | Dialect/Accent |
39
+
| ----- | ----- | ----- |
40
+
|`zh-CN-XiaoxiaoDialectsNeural`|`zh-CN-shaanxi`| Chinese (Zhongyuan Mandarin Shaanxi, Simplified) |
41
+
||`zh-CN-sichuan`| Chinese (Southwestern Mandarin, Simplified) |
42
+
||`zh-CN-shanxi`| Chinese (Shanxi Accent Mandarin, Simplified) |
43
+
||`nan-CN`| Chinese (Southern Min, Simplified) |
44
+
||`zh-CN-anhui`| Chinese (Jianghuai Mandarin Anhui, Simplified) |
45
+
||`zh-CN-hunan`| Chinese (Hunan Accent Mandarin, Simplified) |
46
+
||`zh-CN-gansu`| Chinese (Lanyin Mandarin Gansu, Simplified) |
47
+
||`zh-CN-shandong`| Chinese (Jilu Mandarin, Simplified) |
48
+
||`zh-CN-henan`| Chinese (Zhongyuan Mandarin Henan, Simplified) |
49
+
||`zh-CN-liaoning`| Chinese (Northeastern Mandarin, Simplified) |
50
+
||`zh-TW`| Chinese (Taiwanese Mandarin, Traditional) |
Copy file name to clipboardExpand all lines: articles/aks/istio-upgrade.md
+112-4Lines changed: 112 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,119 @@ This article addresses upgrade experiences for Istio-based service mesh add-on f
12
12
13
13
## How Istio components are upgraded
14
14
15
-
**Minor version:** Currently the Istio add-on only has minor version 1.17 available. Minor version upgrade experiences are planned for when newer versions of Istio (1.18) are introduced.
15
+
### Minor version upgrade
16
16
17
-
**Patch version:**
17
+
Istio add-on allows upgrading the minor version using [canary upgrade process][istio-canary-upstream]. When an upgrade is initiated, the control plane of the new (canary) revision is deployed alongside the old (stable) revision's control plane. You can then manually roll over data plane workloads while using monitoring tools to track the health of workloads during this process. If you don't observe any issues with the health of your workloads, you can complete the upgrade so that only the new revision remains on the cluster. Else, you can roll back to the previous revision of Istio.
18
+
19
+
If the cluster is currently using a supported minor version of Istio, upgrades are only allowed one minor version at a time. If the cluster is using an unsupported version of Istio, you must upgrade to the lowest supported minor version of Istio for that Kubernetes version. After that, upgrades can again be done one minor version at a time.
20
+
21
+
The following example illustrates how to upgrade from revision `asm-1-17` to `asm-1-18`. The steps are the same for all minor upgrades.
22
+
23
+
1. Use the [az aks mesh get-upgrades](/cli/azure/aks/mesh#az-aks-mesh-get-upgrades) command to check which revisions are available for the cluster as upgrade targets:
24
+
25
+
```bash
26
+
az aks mesh get-upgrades --resource-group $RESOURCE_GROUP --name $CLUSTER
27
+
```
28
+
29
+
If you expect to see a newer revision not returned by this command, you may need to upgrade your AKS cluster first so that it's compatible with the newest revision.
30
+
31
+
1. Initiate a canary upgrade from revision `asm-1-17` to `asm-1-18` using [az aks mesh upgrade start](/cli/azure/aks/mesh#az-aks-mesh-upgrade-start):
32
+
33
+
```bash
34
+
az aks mesh upgrade start --resource-group $RESOURCE_GROUP --name $CLUSTER --revision asm-1-18
35
+
```
36
+
37
+
A canary upgrade means the 1.18 control plane is deployed alongside the 1.17 control plane. They continue to coexist until you either complete or roll back the upgrade.
38
+
39
+
1. Verify control plane pods corresponding to both `asm-1-17` and `asm-1-18` exist:
1. Check your monitoring tools and dashboards to determine whether your workloads are all running in a healthy state after the restart. Based on the outcome, you have two options:
94
+
95
+
* **Complete the canary upgrade**: If you're satisfied that the workloads are all running in a healthy state as expected, you can complete the canary upgrade. This will remove the previous revision's control plane and leave behind the new revision's control plane on the cluster. Run the following command to complete the canary upgrade:
96
+
97
+
```bash
98
+
az aks mesh upgrade complete --resource-group $RESOURCE_GROUP --name $CLUSTER
99
+
```
100
+
101
+
***Rollback the canary upgrade**: In case you observe any issues with the health of your workloads, you can roll back to the previous revision of Istio:
* Roll back the control plane to the previous revision:
116
+
117
+
```
118
+
az aks mesh upgrade rollback --resource-group $RESOURCE_GROUP --name $CLUSTER
119
+
```
120
+
121
+
> [!NOTE]
122
+
> Manually relabeling namespaces when moving them to a new revision can be tedious and error-prone. [Revision tags](https://istio.io/latest/docs/setup/upgrade/canary/#stable-revision-labels) solve this problem. Revision tags are stable identifiers that point to revisions and can be used to avoid relabeling namespaces. Rather than relabeling the namespace, a mesh operator can simply change the tag to point to a new revision. All namespaces labeled with that tag will be updated at the same time. However, note that you still need to restart the workloads to make sure the correct version of `istio-proxy` sidecars are injected.
123
+
124
+
### Patch version upgrade
18
125
19
126
* Istio add-on patch version availability information is published in [AKS weekly release notes][aks-release-notes].
20
-
* Patches are rolled out automatically for istiod and ingress pods as part of these AKS weekly releases.
127
+
* Patches are rolled out automatically for istiod and ingress pods as part of these AKS weekly releases, which respect the `default` [planned maintenance window](./planned-maintenance.md) set up for the cluster.
21
128
* User needs to initiate patches to Istio proxy in their workloads by restarting the pods for reinjection:
22
129
* Check the version of the Istio proxy intended for new or restarted pods. This version is the same as the version of the istiod and Istio ingress pods after they were patched:
23
130
@@ -66,4 +173,5 @@ This article addresses upgrade experiences for Istio-based service mesh add-on f
Copy file name to clipboardExpand all lines: articles/api-management/migrate-stv1-to-stv2.md
+8-24Lines changed: 8 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: dlepow
6
6
ms.service: api-management
7
7
ms.custom: devx-track-azurecli
8
8
ms.topic: how-to
9
-
ms.date: 10/18/2023
9
+
ms.date: 01/11/2024
10
10
ms.author: danlep
11
11
---
12
12
@@ -52,26 +52,17 @@ API Management platform migration from `stv1` to `stv2` involves updating the un
52
52
53
53
For an API Management instance that's not deployed in a VNet, migrate your instance using the **Platform migration** blade in the Azure portal, or invoke the Migrate to `stv2` REST API.
54
54
55
-
You can choose whether the virtual IP address of API Management will change, or whether the original VIP address is preserved.
55
+
During the migration, the VIP address of your API Management instance will be preserved.
56
56
57
-
***New virtual IP address (recommended)** - If you choose this mode, API requests remain responsive during migration. Infrastructure configuration (such as custom domains, locations, and CA certificates) will be locked for 30 minutes. After migration, you'll need to update any network dependencies including DNS, firewall rules, and VNets to use the new VIP address.
58
-
59
-
***Preserve IP address** - If you preserve the VIP address, API requests will be unresponsive for approximately 15 minutes while the IP address is migrated to the new infrastructure. Infrastructure configuration (such as custom domains, locations, and CA certificates) will be locked for 45 minutes. No further configuration is required after migration.
57
+
* API requests will be unresponsive for approximately 15 minutes while the IP address is migrated to the new infrastructure.
58
+
* Infrastructure configuration (such as custom domains, locations, and CA certificates) will be locked for 45 minutes.
59
+
* No further configuration is required after migration.
60
60
61
61
#### [Portal](#tab/portal)
62
62
63
63
1. In the [Azure portal](https://portal.azure.com), navigate to your API Management instance.
64
64
1. In the left menu, under **Settings**, select **Platform migration**.
65
-
1. On the **Platform migration** page, select one of the two migration options:
66
-
67
-
***New virtual IP address (recommended)**. The VIP address of your API Management instance will change automatically. Your service will have no downtime, but after migration you'll need to update any network dependencies including DNS, firewall rules, and VNets to use the new VIP address.
68
-
69
-
***Preserve IP address** - The VIP address of your API Management instance won't change. Your instance will have downtime for up to 15 minutes.
70
-
71
-
:::image type="content" source="media/migrate-stv1-to-stv2/platform-migration-portal.png" alt-text="Screenshot of API Management platform migration in the portal.":::
72
-
73
-
1. Review guidance for the migration process, and prepare your environment.
74
-
65
+
1. On the **Platform migration** page, review guidance for the migration process, and prepare your environment.
75
66
1. After you've completed preparation steps, select **I have read and understand the impact of the migration process.** Select **Migrate**.
76
67
77
68
#### [Azure CLI](#tab/cli)
@@ -102,22 +93,15 @@ RG_NAME={name of your resource group}
102
93
# Get resource ID of API Management instance
103
94
APIM_RESOURCE_ID=$(az apim show --name $APIM_NAME --resource-group $RG_NAME --query id --output tsv)
104
95
105
-
# Call REST API to migrate to stv2 and change VIP address
106
-
az rest --method post --uri "$APIM_RESOURCE_ID/migrateToStv2?api-version=2023-03-01-preview" --body '{"mode": "NewIp"}'
107
-
108
-
# Alternate call to migrate to stv2 and preserve VIP address
109
-
# az rest --method post --uri "$APIM_RESOURCE_ID/migrateToStv2?api-version=2023-03-01-preview" --body '{"mode": "PreserveIp"}'
96
+
# Call REST API to migrate to stv2 and preserve VIP address
97
+
az rest --method post --uri "$APIM_RESOURCE_ID/migrateToStv2?api-version=2023-03-01-preview" --body '{"mode": "PreserveIp"}'
110
98
```
111
99
---
112
100
113
101
### Verify migration
114
102
115
103
To verify that the migration was successful, when the status changes to `Online`, check the [platform version](compute-infrastructure.md#how-do-i-know-which-platform-hosts-my-api-management-instance) of your API Management instance. After successful migration, the value is `stv2`.
116
104
117
-
### Update network dependencies
118
-
119
-
On successful migration, update any network dependencies including DNS, firewall rules, and VNets to use the new VIP address.
120
-
121
105
## Scenario 2: Migrate a network-injected API Management instance
122
106
123
107
Trigger migration of a network-injected API Management instance to the `stv2` platform by updating the existing network configuration to use new network settings (see the following section). After that update completes, as an optional step, you can migrate back to the original VNet and subnet you used.
0 commit comments