Skip to content

Commit 0ef9c74

Browse files
authored
Merge pull request #284743 from MicrosoftDocs/main
8/15 11:00 AM IST Publish
2 parents 2c0a45d + 16c3c84 commit 0ef9c74

File tree

110 files changed

+1442
-2083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1442
-2083
lines changed

.openpublishing.redirection.virtual-machines.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"source_path_from_root": "/articles/virtual-machines/security-recommendations.md",
55
"redirect_url": "/security/benchmark/azure/baselines/virtual-machines-windows-virtual-machines-security-baseline",
66
"redirect_document_id": false
7-
}
7+
}
88
]
99
}

articles/ai-services/openai/api-version-deprecation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ This version contains support for the latest GA features like Whisper, DALL-E 3,
6969

7070
We recommend first testing the upgrade to new API versions to confirm there's no impact to your application from the API update before making the change globally across your environment.
7171

72-
If you're using the OpenAI Python client library or the REST API, you'll need to update your code directly to the latest preview API version.
72+
If you're using the OpenAI Python or JavaScript client libraries, or the REST API, you'll need to update your code directly to the latest preview API version.
7373

74-
If you're using one of the Azure OpenAI SDKs for C#, Go, Java, or JavaScript you'll instead need to update to the latest version of the SDK. Each SDK release is hardcoded to work with specific versions of the Azure OpenAI API.
74+
If you're using one of the Azure OpenAI SDKs for C#, Go, or Java, you'll instead need to update to the latest version of the SDK. Each SDK release is hardcoded to work with specific versions of the Azure OpenAI API.
7575

7676
## Next steps
7777

articles/ai-services/translator/containers/translate-text-parameters.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77

88
ms.service: azure-ai-translator
99
ms.topic: reference
10-
ms.date: 04/29/2024
10+
ms.date: 08/14/2024
1111
ms.author: lajanuar
1212
---
1313

@@ -90,7 +90,7 @@ The body of the request is a JSON array. Each array element is a JSON object wit
9090
The following limitations apply:
9191

9292
* The array can have at most 100 elements.
93-
* The entire text included in the request can't exceed 10,000 characters including spaces.
93+
* The entire text included in the request can't exceed 50,000 characters including spaces.
9494

9595
## Response body
9696

@@ -380,13 +380,13 @@ This feature works the same way with `textType=text` or with `textType=html`. Th
380380

381381
## Request limits
382382

383-
Each translate request is limited to 10,000 characters, across all the target languages you're translating to. For example, sending a translate request of 3,000 characters to translate to three different languages results in a request size of 3000x3 = 9,000 characters, which satisfy the request limit. You're charged per character, not by the number of requests. We recommended sending shorter requests.
383+
Each translate request is limited to 50,000 characters, across all the target languages you're translating to. For example, sending a translate request of 3,000 characters to translate to three different languages results in a request size of 3000x3 = 9,000 characters, which satisfy the request limit. You're charged per character, not by the number of requests. We recommended sending shorter requests.
384384

385385
The following table lists array element and character limits for the Translator **translation** operation.
386386

387387
| Operation | Maximum size of array element | Maximum number of array elements | Maximum request size (characters) |
388388
|:----|:----|:----|:----|
389-
| translate | 10,000 | 100 | 10,000 |
389+
| translate | 10,000 | 100 | 50,000 |
390390

391391
## Use docker compose: Translator with supporting containers
392392

articles/ai-studio/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ items:
104104
href: how-to/deploy-models-cohere-command.md
105105
- name: Cohere Embed models
106106
href: how-to/deploy-models-cohere-embed.md
107+
- name: Cohere Rerank models
108+
href: how-to/deploy-models-cohere-rerank.md
107109
- name: Meta Llama models
108110
items:
109111
- name: Meta Llama family models

articles/app-service/webjobs-create.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,23 @@ adobe-target-content: ./webjobs-create-ieux
1717

1818
# Run background tasks with WebJobs in Azure App Service
1919

20-
=======
21-
> [!NOTE]
22-
> WebJobs for **Windows container**, **Linux code**, and **Linux container** is in preview. WebJobs for Windows code is generally available and not in preview.
23-
24-
25-
[!INCLUDE [regionalization-note](./includes/regionalization-note.md)]
26-
2720
Deploy WebJobs by using the [Azure portal](https://portal.azure.com) to upload an executable or script. You can run background tasks in the Azure App Service.
2821

2922
If instead of the Azure App Service, you're using Visual Studio to develop and deploy WebJobs, see [Deploy WebJobs using Visual Studio](webjobs-dotnet-deploy-vs.md).
3023

24+
> [!NOTE]
25+
> WebJobs for **Windows container**, **Linux code**, and **Linux container** is in preview. WebJobs for Windows code is generally available and not in preview.
26+
3127
## Overview
3228

3329
WebJobs is a feature of [Azure App Service](index.yml) that enables you to run a program or script in the same instance as a web app. All app service plans support WebJobs. There's no extra cost to use WebJobs.
3430

31+
[!INCLUDE [regionalization-note](./includes/regionalization-note.md)]
32+
3533
You can use the Azure WebJobs SDK with WebJobs to simplify many programming tasks. For more information, see [What is the WebJobs SDK](https://github.com/Azure/azure-webjobs-sdk/wiki).
3634

3735
Azure Functions provides another way to run programs and scripts. For a comparison between WebJobs and Functions, see [Choose between Flow, Logic Apps, Functions, and WebJobs](../azure-functions/functions-compare-logic-apps-ms-flow-webjobs.md).
3836

39-
40-
4137
## WebJob types
4238

4339
### <a name="acceptablefiles"></a>Supported file types for scripts or programs

articles/azure-arc/kubernetes/azure-rbac.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ For a conceptual overview of this feature, see [Azure RBAC on Azure Arc-enabled
3333
- [Upgrade your agents](agent-upgrade.md#manually-upgrade-agents) to the latest version.
3434
3535
> [!NOTE]
36-
> You can't set up this feature for Red Hat OpenShift, or for managed Kubernetes offerings of cloud providers like Elastic Kubernetes Service or Google Kubernetes Engine where the user doesn't have access to the API server of the cluster. For Azure Kubernetes Service (AKS) clusters, this [feature is available natively](/azure/aks/manage-azure-rbac) and doesn't require the AKS cluster to be connected to Azure Arc.
37-
36+
> Azure RBAC is not available for Red Hat OpenShift or managed Kubernetes offerings where user access to the API server is restricted (ex: Amazon Elastic Kubernetes Service (EKS), Google Kubernetes Engine (GKE)).
37+
>
38+
> Azure RBAC does not currently support Kubernetes clusters operating on ARM64 architecture. Please use [Kubernetes RBAC](identity-access-overview.md#kubernetes-rbac-authorization) to manage access control for ARM64-based Kubernetes clusters.
39+
>
40+
> For Azure Kubernetes Service (AKS) clusters, this [feature is available natively](/azure/aks/manage-azure-rbac) and doesn't require the AKS cluster to be connected to Azure Arc.
3841
## Enable Azure RBAC on the cluster
3942
4043
1. Get the cluster MSI identity by running the following command:

articles/azure-fluid-relay/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
href: how-tos/container-recovery.md
5151
- name: 'How to: Use audience features in the Fluid Framework'
5252
href: how-tos/use-audience-in-fluid.md
53+
- name: 'How to: Rotate Azure Fluid Relay access keys'
54+
href: how-tos/rotate-fluid-relay-access-keys.md
5355
- name: Reference
5456
items:
5557
- name: Service limits
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
description: Learn how to rotate Azure Fluid Relay access keys.
3+
title: Rotate Azure Fluid Relay access keys
4+
ms.date: 08/13/2024
5+
ms.service: azure-fluid
6+
ms.topic: reference
7+
---
8+
9+
# How to rotate Fluid Relay Server access keys
10+
This article provides an overview of managing access keys (tenant keys) in Azure Fluid Relay Service. Microsoft recommends that you regularly rotate your keys for better security.
11+
12+
## Primary / Secondary keys
13+
Customers use the access keys to sign the access tokens that are used to access Azure Fluid Relay Services. Azure Fluid Relay uses the keys to validate the tokens.
14+
15+
Two keys are associated with each Azure Fluid Relay Service: a primary key and secondary key. The purpose of dual keys is to let you regenerate, or roll, keys, providing continuous access to your account and data.
16+
17+
## View your access keys
18+
19+
### [Azure portal](#tab/azure-portal)
20+
To see your access keys, search for your Azure Fluid Relay Service in the Azure portal. On the left menu of Azure Fluid Relay Service page, select **Settings**. Then, select **Access Keys**. Select the **Copy** button to copy the selected key.
21+
22+
[![Screenshot that shows the Access Keys page.](../images/rotate-tenant-keys.png)](../images/rotate-tenant-keys.png#lightbox)
23+
24+
### [PowerShell](#tab/azure-powershell)
25+
To retrieve your access keys with PowerShell, you need to install [Azure Fluid Relay module](/powershell/module/az.fluidrelay) first.
26+
27+
```azurepowershell
28+
Install-Module Az.FluidRelay
29+
```
30+
31+
Then call the [Get-AzFluidRelayServerKey](/powershell/module/az.fluidrelay/get-azfluidrelayserverkey) command.
32+
33+
```azurepowershell
34+
Get-AzFluidRelayServerKey -FluidRelayServerName <Fluid Relay Service name> -ResourceGroup <resource group> -SubscriptionId <subscription id>
35+
```
36+
37+
### [Azure CLI](#tab/azure-cli)
38+
To retrieve your access keys with Azure CLI, you need to install [fluid-relay](/cli/azure/fluid-relay) extension first. See [instructions](/cli/azure/azure-cli-extensions-overview).
39+
40+
Then use [az fluid-relay server list-key](/cli/azure/fluid-relay/server?view=azure-cli-latest&preserve-view=true#az-fluid-relay-server-list-key) command to list access keys.
41+
42+
```azurecli
43+
az fluid-relay server list-key --resource-group <resource group> --server-name <Fluid Relay Service name>
44+
```
45+
46+
---
47+
48+
## Rotate your access keys
49+
Two access keys are assigned so that your Azure Fluid Relay Service does not have to be taken offline when you rotate a key. Having two keys ensures that your application maintains access to Azure Fluid Relay throughout the process. You should rotate one of two keys at one time to avoid service interruptions.
50+
51+
The process of rotating primary and secondary keys is the same. The following steps are for primary keys.
52+
53+
### [Azure portal](#tab/azure-portal)
54+
To rotate your Azure Fluid Relay primary key in the Azure portal:
55+
56+
1. Update the access keys in your application code to use the secondary access key for the Azure Fluid Relay.
57+
58+
2. Navigate to your Fluid Relay Service in the Azure portal.
59+
60+
3. Under **Settings**, select **Access key**.
61+
62+
4. To regenerate the primary access key for your Azure Fluid Relay Service, select the **Regenerate Primary Key** button above the Access Information.
63+
64+
5. Update the primary key in your code to reference the new primary access key.
65+
66+
### [PowerShell](#tab/azure-powershell)
67+
To rotate your Fluid Relay primary key with PowerShell, you need to install [Azure Fluid Relay module](/powershell/module/az.fluidrelay) first.
68+
69+
```azurepowershell
70+
Install-Module Az.FluidRelay
71+
```
72+
73+
Then follow steps below:
74+
75+
1. Update the access keys in your application code to use the secondary access key for the Azure Fluid Relay.
76+
77+
2. Call the [New-AzFluidRelayServerKey](/powershell/module/az.fluidrelay/new-azfluidrelayserverkey) command to regenerate the primary access key, as shown in the following example:
78+
79+
80+
```azurepowershell
81+
New-AzFluidRelayServerKey -FluidRelayServerName <Fluid Relay Service name> -ResourceGroup <resource group> -KeyName <key name>
82+
```
83+
84+
3. Update the primary key in your code to reference the new primary access key.
85+
86+
### [Azure CLI](#tab/azure-cli)
87+
To rotate your Fluid Relay primary key with Azure CLI, you need to install [fluid-relay](/cli/azure/fluid-relay) extension first. See [instructions](/cli/azure/azure-cli-extensions-overview).
88+
89+
Then follow steps below:
90+
91+
1. Update the access keys in your application code to use the secondary access key for the Azure Fluid Relay.
92+
93+
2. Call the [az fluid-relay server regenerate-key](/cli/azure/fluid-relay/server?view=azure-cli-latest&preserve-view=true#az-fluid-relay-server-regenerate-key) command to regenerate the primary access key, as shown in the following example:
94+
95+
```azurecli
96+
az fluid-relay server regenerate-key --resource-group <resource group>--server-name <Fluid Relay Service name>--key-name <key name>
97+
```
98+
99+
3. Update the primary key in your code to reference the new primary access key.
100+
101+
---
56.1 KB
Loading

articles/azure-functions/functions-bindings-storage-queue-output.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ public static class QueueFunctions
5555

5656
---
5757

58+
For an end-to-end example of how to configure an output binding to Queue storage, see one of these articles:
59+
60+
+ [Connect functions to Azure Storage using Visual Studio](functions-add-output-binding-storage-queue-vs.md)
61+
+ [Connect functions to Azure Storage using Visual Studio Code](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-csharp)
62+
+ [Connect functions to Azure Storage using command line tools](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-csharp)
5863
::: zone-end
5964
::: zone pivot="programming-language-java"
6065

@@ -74,6 +79,10 @@ The following example shows a Java function that creates a queue message for whe
7479

7580
In the [Java functions runtime library](/java/api/overview/azure/functions/runtime), use the `@QueueOutput` annotation on parameters whose value would be written to Queue storage. The parameter type should be `OutputBinding<T>`, where `T` is any native Java type of a POJO.
7681

82+
For an end-to-end example of how to configure an output binding to Queue storage, see one of these articles:
83+
84+
+ [Connect functions to Azure Storage using Visual Studio Code](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-java)
85+
+ [Connect functions to Azure Storage using command line tools](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-java)
7786
::: zone-end
7887
::: zone pivot="programming-language-typescript"
7988

@@ -106,6 +115,11 @@ To output multiple messages, return an array instead of a single object. For exa
106115

107116
:::code language="javascript" source="~/azure-functions-nodejs-v4/js/src/functions/storageQueueOutput2.js" id="displayInDocs" :::
108117

118+
For an end-to-end example of how to configure an output binding to Queue storage, see one of these articles:
119+
120+
+ [Connect functions to Azure Storage using Visual Studio Code](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-javascript)
121+
+ [Connect functions to Azure Storage using command line tools](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-javascript)
122+
109123
# [Model v3](#tab/nodejs-v3)
110124

111125
The following example shows an HTTP trigger binding in a *function.json* file and a [JavaScript function](functions-reference-node.md) that uses the binding. The function creates a queue item for each HTTP request received.
@@ -231,6 +245,10 @@ Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{
231245
})
232246
```
233247

248+
For an end-to-end example of how to configure an output binding to Queue storage, see one of these articles:
249+
250+
+ [Connect functions to Azure Storage using Visual Studio Code](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-powershell)
251+
+ [Connect functions to Azure Storage using command line tools](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-powershell)
234252
::: zone-end
235253
::: zone pivot="programming-language-python"
236254

@@ -258,6 +276,12 @@ def main(req: func.HttpRequest, msg: func.Out[str]) -> func.HttpResponse:
258276
logging.info(f'name: {name}')
259277
return 'OK'
260278
```
279+
280+
For an end-to-end example of how to configure an output binding to Queue storage, see one of these articles:
281+
282+
+ [Connect functions to Azure Storage using Visual Studio Code](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-python)
283+
+ [Connect functions to Azure Storage using command line tools](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-python)
284+
261285
# [v1](#tab/python-v1)
262286

263287
A Storage queue binding is defined in *function.json* where *type* is set to `queue`.

0 commit comments

Comments
 (0)