Skip to content

Commit 3c9404c

Browse files
Merge pull request #247900 from laujan/145576-revision-update
add billing code table and updates to enable vnet
2 parents 7dbb888 + 0c5d9e7 commit 3c9404c

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

articles/ai-services/translator/custom-translator/how-to/enable-vnet-service-endpoint.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ The following table describes Custom Translator project accessibility per Transl
9191

9292
:::image type="content" source="../media/how-to/allow-network-access.png" alt-text="Screenshot of allowed network access section in the Azure portal.":::
9393

94-
> [!IMPORTANT]
95-
> If you configure **Selected Networks and Private Endpoints** via the **Networking****Firewalls and virtual networks** tab, you can't use the Custom Translator portal and your Translator resource. However, you can still use the Translator resource outside of the Custom Translator portal.
94+
> [!IMPORTANT]
95+
> If you configure **Selected Networks and Private Endpoints** via the **Networking****Firewalls and virtual networks** tab, you can't use the Custom Translator portal to create workspaces to train and publish models. However, you can still use the Translator resource with [Custom Translator non-interactive REST API](https://microsofttranslator.github.io/CustomTranslatorApiSamples/) to build and publish custom models.
9696
9797
| Translator resource network security setting | Custom Translator portal accessibility |
9898
|--|--|
9999
| All networks | • No restrictions |
100-
| Selected Networks and Private Endpoints | &bullet; Not accessible from allowed VNET IP addresses. </br>&#9679; Use [Custom Translator non-interactive REST API](https://microsofttranslator.github.io/CustomTranslatorApiSamples/) to build and publish custom models. |
101-
| Disabled | &#9679; Not accessible |
100+
| Selected Networks and Private Endpoints | &bullet; Not accessible. Use [Custom Translator non-interactive REST API](https://microsofttranslator.github.io/CustomTranslatorApiSamples/) to build and publish custom models. |
101+
| Disabled | &bullet; Not accessible |
102102

103103
To use Custom Translator without relaxing network access restrictions on your production Translator resource, consider this workaround:
104104

@@ -110,7 +110,15 @@ To use Custom Translator without relaxing network access restrictions on your pr
110110

111111
## Billing region codes
112112

113-
The following table lists the billing region code for each supported billing region:
113+
Use a billing region code, listed in the following table, with the 'Create a workspace' API for each supported billing region:
114+
115+
##### Create a workspace POST request
116+
117+
```bash
118+
curl -X POST "https://<resource-name>.cognitiveservices.azure.com/translator/customtranslator/api/texttranslator/v1.0/workspaces" --header "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key:<resource-key>" --data "{'Name': '<workspace-name>', 'Subscription': {'SubscriptionKey': '<resource-key>', 'BillingRegionCode': '<billing-region-code>' }}"
119+
```
120+
121+
##### Supported billing code regions and codes
114122

115123
|Billing Region Name|Billing Region Code|
116124
|:----|:----|

0 commit comments

Comments
 (0)