Skip to content

Commit d503963

Browse files
authored
Merge pull request #273709 from MicrosoftDocs/main
4/29/2024 AM Publish
2 parents d2a0af3 + 3094692 commit d503963

File tree

49 files changed

+170
-135
lines changed

Some content is hidden

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

49 files changed

+170
-135
lines changed

articles/ai-services/content-safety/concepts/jailbreak-detection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Currently, the Prompt Shields API supports the English language. While our API d
7171

7272
### Text length limitations
7373

74-
The maximum character limit for Prompt Shields is 10,000 characters per API call, between both the user prompts and documents combines. If your input (either user prompts or documents) exceeds these character limitations, you'll encounter an error.
74+
The maximum character limit for Prompt Shields allows for a user prompt of up to 10,000 characters, while the document array is restricted to a maximum of 5 documents with a combined total not exceeding 10,000 characters.
7575

7676
### TPS limitations
7777

articles/ai-services/content-safety/how-to/use-blocklist.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,18 @@ curl --location --request POST '<endpoint>/contentsafety/text/blocklists/<your_l
258258
> You can add multiple blocklistItems in one API call. Make the request body a JSON array of data groups:
259259
>
260260
> ```json
261-
> [{
262-
> "description": "string",
263-
> "text": "bleed"
264-
> },
265261
> {
266-
> "description": "string",
267-
> "text": "blood"
268-
> }]
262+
> "blocklistItems": [
263+
> {
264+
> "description": "string",
265+
> "text": "bleed"
266+
> },
267+
> {
268+
> "description": "string",
269+
> "text": "blood"
270+
> }
271+
> ]
272+
>}
269273
> ```
270274
271275

articles/ai-studio/concepts/rbac-ai-studio.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,18 @@ If your Azure AI hub is configured with a **user-assigned managed identity**, th
162162

163163
Within the key vault, the user or service principal must have create, get, delete, and purge access to the key through a key vault access policy. For more information, see [Azure Key Vault security](/azure/key-vault/general/security-features#controlling-access-to-key-vault-data).
164164

165+
## Scenario: Use Azure Container Registry
166+
167+
An Azure Container Registry instance is an optional dependency for Azure AI Studio hub. The following table lists the support matrix when authenticating a hub to Azure Container Registry, depending on the authentication method and the __Azure Container Registry's__ [public network access configuration](/azure/container-registry/container-registry-access-selected-networks).
168+
169+
| Authentication method | Public network access</br>disabled | Azure Container Registry</br>Public network access enabled |
170+
| ---- | :----: | :----: |
171+
| Admin user |||
172+
| AI Studio hub system-assigned managed identity |||
173+
| AI Studio hub user-assigned managed identity</br>with the **ACRPull** role assigned to the identity | ||
174+
175+
A system-assigned managed identity is automatically assigned to the correct roles when the Azure AI hub is created. If you're using a user-assigned managed identity, you must assign the **ACRPull** role to the identity.
176+
165177
## Next steps
166178

167179
- [How to create an Azure AI hub resource](../how-to/create-azure-ai-resource.md)

articles/aks/concepts-clusters-workloads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The control plane includes the following core Kubernetes components:
4040
| Component | Description |
4141
| ----------------- | ------------- |
4242
| *kube-apiserver* | The API server exposes the underlying Kubernetes APIs and provides the interaction for management tools, such as `kubectl` or the Kubernetes dashboard. |
43-
| *etcd* | etcd is a highly available key vault store within Kubernetes that helps maintain the state of your Kubernetes cluster and configuration. |
43+
| *etcd* | etcd is a highly available key-value store within Kubernetes that helps maintain the state of your Kubernetes cluster and configuration. |
4444
| *kube-scheduler* | When you create or scale applications, the scheduler determines what nodes can run the workload and starts the identified nodes. |
4545
| *kube-controller-manager* | The controller manager oversees a number of smaller controllers that perform actions such as replicating pods and handling node operations. |
4646

articles/aks/upgrade-aks-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ At times, you may have a long running workload on a certain pod and it can't be
244244
245245
```azurecli-interactive
246246
# Set drain timeout for a new node pool
247-
az aks nodepool add -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drainTimeoutInMinutes 100
247+
az aks nodepool add -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drain-timeout 100
248248
249249
# Update drain timeout for an existing node pool
250-
az aks nodepool update -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drainTimeoutInMinutes 45
250+
az aks nodepool update -n mynodepool -g MyResourceGroup --cluster-name MyManagedCluster --drain-timeout 45
251251
```
252252
253253
#### Set node soak time value

articles/aks/what-is-aks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 04/17/2024
99

1010
# What is Azure Kubernetes Service (AKS)?
1111

12-
Azure Kubernetes Service (AKS) is a managed Kubernetes service that you can use to deploy and manage containerized applications. You don't need container orchestration expertise to use AKS. AKS reduces the complexity and operational overhead of managing Kubernetes by offloading much of that responsibility to Azure. AKS is an ideal platform for deploying and managing containerized applications that require high availability, scalability, and portability, and for deploying applications to multiple regions, using open-source tools, and integrating with existing DevOps tools.
12+
Azure Kubernetes Service (AKS) is a managed Kubernetes service that you can use to deploy and manage containerized applications. You need minimal container orchestration expertise to use AKS. AKS reduces the complexity and operational overhead of managing Kubernetes by offloading much of that responsibility to Azure. AKS is an ideal platform for deploying and managing containerized applications that require high availability, scalability, and portability, and for deploying applications to multiple regions, using open-source tools, and integrating with existing DevOps tools.
1313

1414
This article is intended for platform administrators or developers who are looking for a scalable, automated, managed Kubernetes solution.
1515

articles/azure-arc/vmware-vsphere/enable-guest-management-at-scale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Ensure the following before you install Arc agents at scale for VMware VMs:
2525
- The user account must have permissions listed in Azure Arc VMware Administrator role.
2626
- All the target machines are:
2727
- Powered on and the resource bridge has network connectivity to the host running the VM.
28-
- Running a [supported operating system](../servers/prerequisites.md#supported-operating-systems).c
28+
- Running a [supported operating system](../servers/prerequisites.md#supported-operating-systems).
2929
- VMware tools are installed on the machines. If VMware tools aren't installed, enable guest management operation is grayed out in the portal.
3030
>[!Note]
3131
>You can use the [out-of-band method](./enable-guest-management-at-scale.md#approach-d-install-arc-agents-at-scale-using-out-of-band-approach) to install Arc agents if VMware tools aren't installed.

articles/azure-government/documentation-government-manage-marketplace-partners.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ Currently, Azure Government Marketplace supports only the following offer types:
3030
- Virtual Machines > Bring your own license
3131
- Virtual Machines > Pay-as-you-go
3232
- Azure Application > Solution template / Managed app
33-
- Azure containers (container images) > Bring your own license
34-
- IoT Edge modules > Bring your own license
35-
3633
## Publishing
3734

3835
> [!NOTE]

articles/azure-monitor/app/java-get-started-supplemental.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ For more information, see [Use Application Insights Java In-Process Agent in Azu
3333

3434
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.5.2.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
3535

36-
```
36+
```dockerfile
3737
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.5.2.jar", "-jar", "<myapp.jar>"]
3838
```
3939

4040
If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.5.2.jar"` somewhere before `-jar`, for example:
4141

42-
```
42+
```dockerfile
4343
ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.5.2.jar" -jar <myapp.jar>
4444
```
4545

@@ -48,7 +48,7 @@ ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.5.2.jar" -jar <m
4848

4949
A Dockerfile example:
5050

51-
```
51+
```dockerfile
5252
FROM ...
5353

5454
COPY target/*.jar app.jar
@@ -83,15 +83,15 @@ For information on setting up the Application Insights Java agent, see [Enabling
8383

8484
If you installed Tomcat via `apt-get` or `yum`, you should have a file `/etc/tomcat8/tomcat8.conf`. Add this line to the end of that file:
8585

86-
```
86+
```console
8787
JAVA_OPTS="$JAVA_OPTS -javaagent:path/to/applicationinsights-agent-3.5.2.jar"
8888
```
8989

9090
#### Tomcat installed via download and unzip
9191

9292
If you installed Tomcat via download and unzip from [https://tomcat.apache.org](https://tomcat.apache.org), you should have a file `<tomcat>/bin/catalina.sh`. Create a new file in the same directory named `<tomcat>/bin/setenv.sh` with the following content:
9393

94-
```
94+
```console
9595
CATALINA_OPTS="$CATALINA_OPTS -javaagent:path/to/applicationinsights-agent-3.5.2.jar"
9696
```
9797

@@ -103,13 +103,13 @@ If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-
103103

104104
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
105105

106-
```
106+
```console
107107
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.5.2.jar
108108
```
109109

110110
Quotes aren't necessary, but if you want to include them, the proper placement is:
111111

112-
```
112+
```console
113113
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.5.2.jar"
114114
```
115115

@@ -181,7 +181,7 @@ The specified `applicationinsights.agent.id` value must be unique. You use the v
181181

182182
Add these lines to `start.ini`:
183183

184-
```
184+
```console
185185
--exec
186186
-javaagent:path/to/applicationinsights-agent-3.5.2.jar
187187
```
@@ -209,7 +209,7 @@ Add `-javaagent:path/to/applicationinsights-agent-3.5.2.jar` to the existing `jv
209209

210210
1. In `Generic JVM arguments`, add the following JVM argument.
211211

212-
```
212+
```console
213213
-javaagent:path/to/applicationinsights-agent-3.5.2.jar
214214
```
215215

@@ -219,10 +219,10 @@ Add `-javaagent:path/to/applicationinsights-agent-3.5.2.jar` to the existing `jv
219219

220220
Create a new file `jvm.options` in the server directory (for example, `<openliberty>/usr/servers/defaultServer`), and add this line:
221221

222-
```
222+
```console
223223
-javaagent:path/to/applicationinsights-agent-3.5.2.jar
224224
```
225225

226226
### Others
227227

228-
See your application server documentation on how to add JVM args.
228+
See your application server documentation on how to add JVM args.

articles/azure-monitor/app/java-jmx-metrics-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Application Insights Java 3.x collects some of the Java Management Extensions (J
1414

1515
## How do I collect extra JMX metrics?
1616

17-
JMX metrics collection can be configured by adding a ```"jmxMetrics"``` section to the applicationinsights.json file. Enter a name for the metric as you want it to appear in Azure portal in application insights resource. Object name and attribute are required for each of the metrics you want collected.
17+
JMX metrics collection can be configured by adding a ```"jmxMetrics"``` section to the applicationinsights.json file. Enter a name for the metric as you want it to appear in Azure portal in application insights resource. Object name and attribute are required for each of the metrics you want collected. You may use `*` in object names for glob-style wildcard ([details](/azure/azure-monitor/app/java-standalone-config#java-management-extensions-metrics)).
1818

1919
## How do I know what metrics are available to configure?
2020

0 commit comments

Comments
 (0)