Skip to content

Commit 3247875

Browse files
authored
Merge pull request #273671 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents c0044c3 + 5ab739c commit 3247875

File tree

13 files changed

+38
-30
lines changed

13 files changed

+38
-30
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/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-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

articles/azure-monitor/app/java-spring-boot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ There are two options for enabling Application Insights Java with Spring Boot: J
1818

1919
Add the JVM arg `-javaagent:"path/to/applicationinsights-agent-3.5.2.jar"` somewhere before `-jar`, for example:
2020

21-
```
21+
```console
2222
java -javaagent:"path/to/applicationinsights-agent-3.5.2.jar" -jar <myapp.jar>
2323
```
2424

articles/event-grid/event-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ For custom topics, the event publisher determines the data object. The top-level
101101

102102
When publishing events to custom topics, create subjects for your events that make it easy for subscribers to know whether they're interested in the event. Subscribers use the subject to filter and route events. Consider providing the path for where the event happened, so subscribers can filter by segments of that path. The path enables subscribers to narrowly or broadly filter events. For example, if you provide a three segment path like `/A/B/C` in the subject, subscribers can filter by the first segment `/A` to get a broad set of events. Those subscribers get events with subjects like `/A/B/C` or `/A/D/E`. Other subscribers can filter by `/A/B` to get a narrower set of events.
103103

104-
Sometimes your subject needs more detail about what happened. For example, the **Storage Accounts** publisher provides the subject `/blobServices/default/containers/<container-name>/blobs/<file>` when a file is added to a container. A subscriber could filter by the path `/blobServices/default/containers/testcontainer` to get all events for that container but not other containers in the storage account. A subscriber could also filter or route by the suffix `.txt` to only work with text files.
104+
Sometimes your subject needs more detail about what happened. For example, the **Storage Accounts** publisher provides the subject `/blobServices/default/containers/<container-name>/blobs/<file>` when a file is added to a container. A subscriber could filter by the path `/blobServices/default/containers/<container-name>/` to get all events for that container but not other containers in the storage account. A subscriber could also filter or route by the suffix `.txt` to only work with text files.
105105

106106
## CloudEvents
107107
CloudEvents is the recommended event format to use. Azure Event Grid continues investing in features related to at least [CloudEvents JSON](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md) format. Given the fact that some event sources like Azure services use the Event Grid format, the following table is provided to help you understand the transformation supported when using CloudEvents and Event Grid formats as an input schema in topics and as an output schema in event subscriptions. An Event Grid output schema can't be used when using CloudEvents as an input schema because CloudEvents supports [extension attributes](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/primer.md#cloudevent-attribute-extensions) that aren't supported by the Event Grid schema.

0 commit comments

Comments
 (0)