Skip to content

Commit 131c540

Browse files
authored
Merge pull request #259924 from MicrosoftDocs/main
11/30/2023 AM Publish
2 parents 36bb7b3 + 24dbec5 commit 131c540

File tree

42 files changed

+307
-278
lines changed

Some content is hidden

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

42 files changed

+307
-278
lines changed

.openpublishing.redirection.virtual-desktop.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,11 @@
234234
"source_path_from_root": "/articles/virtual-desktop/required-url-check-tool.md",
235235
"redirect_url": "/azure/virtual-desktop/check-access-validate-required-fqdn-endpoint",
236236
"redirect_document_id": true
237+
},
238+
{
239+
"source_path_from_root": "/articles/virtual-desktop/troubleshoot-statuses-checks.md",
240+
"redirect_url": "/azure/virtual-desktop/session-host-status-health-checks",
241+
"redirect_document_id": true
237242
}
238243
]
239244
}

articles/ai-services/document-intelligence/toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ items:
1313
displayName: get started
1414
href: studio-overview.md
1515
- name: Document Intelligence SDKs
16+
expanded: true
1617
items:
1718
- name: Changelog and release history
1819
displayName: latest, update, beta, package, preview, version

articles/aks/operator-best-practices-advanced-scheduler.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ spec:
160160
cpu: 4.0
161161
memory: 16Gi
162162
nodeSelector:
163-
hardware:
164-
values: highmem
163+
hardware: highmem
165164
```
166165

167166
When you use these scheduler options, work with your application developers and owners to allow them to correctly define their pod specifications.
@@ -247,4 +246,4 @@ This article focused on advanced Kubernetes scheduler features. For more informa
247246
[aks-best-practices-isolation]: operator-best-practices-cluster-isolation.md
248247
[use-multiple-node-pools]: create-node-pools.md
249248
[taint-node-pool]: manage-node-pools.md#specify-a-taint-label-or-tag-for-a-node-pool
250-
[use-gpus-aks]: gpu-cluster.md
249+
[use-gpus-aks]: gpu-cluster.md

articles/azure-arc/resource-bridge/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ Arc resource bridge typically releases a new version on a monthly cadence, at th
144144
## Next steps
145145

146146
* Learn how [Azure Arc-enabled VMware vSphere extends Azure's governance and management capabilities to VMware vSphere infrastructure](../vmware-vsphere/overview.md).
147-
* Learn how [Azure Arc-enabled SCVMM extends Azure's governance and management capabilities to System Center managed infrastructure(../system-center-virtual-machine-manager/overview.md).
147+
* Learn how [Azure Arc-enabled SCVMM extends Azure's governance and management capabilities to System Center managed infrastructure](../system-center-virtual-machine-manager/overview.md).
148148
* Learn about [provisioning and managing on-premises Windows and Linux VMs running on Azure Stack HCI clusters](/azure-stack/hci/manage/azure-arc-enabled-virtual-machines).
149149
* Review the [system requirements](system-requirements.md) for deploying and managing Arc resource bridge.

articles/azure-functions/functions-bindings-warmup.md

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,9 @@ public void warmup( @WarmupTrigger Object warmupContext, ExecutionContext contex
8484

8585
# [Model v4](#tab/nodejs-v4)
8686

87-
The following example shows a warmup trigger [JavaScript function](functions-reference-node.md) that runs on each new instance when added to your app.
87+
The following example shows a [JavaScript function](functions-reference-node.md) with a warmup trigger that runs on each new instance when added to your app:
8888

89-
```javascript
90-
import { app } from "@azure/functions";
91-
92-
app.warmup('warmupTrigger1', {
93-
handler: (warmupContext, context) => {
94-
context.log('Function App instance is warm.');
95-
},
96-
});
97-
```
89+
:::code language="javascript" source="~/azure-functions-nodejs-v4/js/src/functions/warmupTrigger1.js" :::
9890

9991
# [Model v3](#tab/nodejs-v3)
10092

@@ -124,27 +116,21 @@ module.exports = async function (warmupContext, context) {
124116
};
125117
```
126118

119+
---
120+
127121
::: zone-end
128122
::: zone pivot="programming-language-typescript"
129123
# [Model v4](#tab/nodejs-v4)
130124

131-
The following example shows a warmup trigger [JavaScript function](functions-reference-node.md) that runs on each new instance when added to your app.
125+
The following example shows a [TypeScript function](functions-reference-node.md) with a warmup trigger that runs on each new instance when added to your app:
132126

133-
```TypeScript
134-
import { app, InvocationContext, WarmupContextOptions } from "@azure/functions";
135-
136-
export async function warmupFunction(warmupContext: WarmupContextOptions, context: InvocationContext): Promise<void> {
137-
context.log('Function App instance is warm.');
138-
}
139-
140-
app.warmup('warmup', {
141-
handler: warmupFunction,
142-
});
143-
```
127+
:::code language="typescript" source="~/azure-functions-nodejs-v4/ts/src/functions/warmupTrigger1.ts" :::
144128

145129
# [Model v3](#tab/nodejs-v3)
146130
TypeScript samples aren't documented for model v3.
147131

132+
---
133+
148134
::: zone-end
149135
::: zone pivot="programming-language-powershell"
150136
Here's the *function.json* file:

articles/azure-monitor/app/java-standalone-telemetry-processors-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ Let's assume the input log message body is `User account with userId 123456xx fa
534534
"body": {
535535
"toAttributes": {
536536
"rules": [
537-
"^User account with userId (?<redactedUserId>\\d+) .*"
537+
"^User account with userId (?<redactedUserId>[\\da-zA-Z]+)[\\w\\s]+"
538538
]
539539
}
540540
}

articles/azure-monitor/app/opentelemetry-add-modify.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,13 +1196,13 @@ The simplest way to add your own spans is by using OpenTelemetry's `@WithSpan` a
11961196

11971197
Spans populate the `requests` and `dependencies` tables in Application Insights.
11981198

1199-
1. Add `opentelemetry-instrumentation-annotations-1.21.0.jar` (or later) to your application:
1199+
1. Add `opentelemetry-instrumentation-annotations-1.32.0.jar` (or later) to your application:
12001200

12011201
```xml
12021202
<dependency>
12031203
<groupId>io.opentelemetry.instrumentation</groupId>
12041204
<artifactId>opentelemetry-instrumentation-annotations</artifactId>
1205-
<version>1.21.0</version>
1205+
<version>1.32.0</version>
12061206
</dependency>
12071207
```
12081208

@@ -1398,7 +1398,7 @@ Not available in .NET.
13981398
<dependency>
13991399
<groupId>com.microsoft.azure</groupId>
14001400
<artifactId>applicationinsights-core</artifactId>
1401-
<version>3.4.14</version>
1401+
<version>3.4.18</version>
14021402
</dependency>
14031403
```
14041404

articles/azure-monitor/logs/log-analytics-overview.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ If you want to start with an empty script and write it yourself, close the examp
3535

3636
## Log Analytics interface
3737

38-
The following image identifies four Log Analytics components.
38+
The following image identifies four Log Analytics components. These four Log Analytics components are:
39+
40+
1. [Top action bar](#top-action-bar)
41+
1. [Left sidebar](#left-sidebar)
42+
1. [Query window](#query-window)
43+
1. [Results window](#results-window)
3944

4045
:::image type="content" source="media/log-analytics-overview/log-analytics.png" lightbox="media/log-analytics-overview/log-analytics.png" alt-text="Screenshot that shows the Log Analytics interface with four features identified.":::
4146

articles/backup/azure-kubernetes-service-backup-overview.md

Lines changed: 65 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.topic: conceptual
55
ms.service: backup
66
ms.custom:
77
- ignite-2023
8-
ms.date: 11/14/2023
8+
ms.date: 11/30/2023
99
author: AbhishekMallick-MS
1010
ms.author: v-abhmallick
1111
---
@@ -69,9 +69,6 @@ You can now use the Custom Hooks capability available in Azure Backup for AKS.
6969

7070
Azure Backup for AKS enables you to execute Custom Hooks as part of the backup and restore operation. Hooks are commands configured to run one or more commands to execute in a pod under a container during the backup operation or after restore. They allow you to define these hooks as a custom resource and deploy in the AKS cluster to be backed up or restored. Once the custom resource is deployed in the AKS cluster in the required Namespace, you need to provide the details as input for the Configure Backup/Restore flow, and the Backup extension runs the hooks as defined in the YAML file.
7171

72-
>[!Note]
73-
>Hooks aren't executed in a *shell* on the containers.
74-
7572
There are two types of hooks:
7673

7774
### Backup Hooks
@@ -88,43 +85,45 @@ metadata:
8885
name: bkphookname0
8986
namespace: default
9087
spec:
91-
# BackupHook Name. This is the name of the hook that will be executed during backup.
92-
# compulsory
93-
name: hook1
94-
# Namespaces where this hook will be executed.
95-
includedNamespaces:
96-
- hrweb
97-
excludedNamespaces:
98-
labelSelector:
99-
# PreHooks is a list of BackupResourceHooks to execute prior to backing up an item.
100-
preHooks:
101-
- exec:
102-
# Container is the container in the pod where the command should be executed.
103-
container: webcontainer
104-
# Command is the command and arguments to execute.
105-
command:
106-
- /bin/uname
107-
- -a
108-
# OnError specifies how Velero should behave if it encounters an error executing this hook
109-
onError: Continue
110-
# Timeout is the amount of time to wait for the hook to complete before considering it failed.
111-
timeout: 10s
112-
- exec:
113-
command:
114-
- /bin/bash
115-
- -c
116-
- echo hello > hello.txt && echo goodbye > goodbye.txt
117-
container: webcontainer
118-
onError: Continue
119-
# PostHooks is a list of BackupResourceHooks to execute after backing up an item.
120-
postHooks:
121-
- exec:
122-
container: webcontainer
123-
command:
124-
- /bin/uname
125-
- -a
126-
onError: Continue
127-
timeout: 10s
88+
# BackupHook is a list of hooks to execute before and after backing up a resource.
89+
backupHook:
90+
# BackupHook Name. This is the name of the hook that will be executed during backup.
91+
# compulsory
92+
- name: hook1
93+
# Namespaces where this hook will be executed.
94+
includedNamespaces:
95+
- hrweb
96+
excludedNamespaces:
97+
labelSelector:
98+
# PreHooks is a list of BackupResourceHooks to execute prior to backing up an item.
99+
preHooks:
100+
- exec:
101+
# Container is the container in the pod where the command should be executed.
102+
container: webcontainer
103+
# Command is the command and arguments to execute.
104+
command:
105+
- /bin/uname
106+
- -a
107+
# OnError specifies how Velero should behave if it encounters an error executing this hook
108+
onError: Continue
109+
# Timeout is the amount of time to wait for the hook to complete before considering it failed.
110+
timeout: 10s
111+
- exec:
112+
command:
113+
- /bin/bash
114+
- -c
115+
- echo hello > hello.txt && echo goodbye > goodbye.txt
116+
container: webcontainer
117+
onError: Continue
118+
# PostHooks is a list of BackupResourceHooks to execute after backing up an item.
119+
postHooks:
120+
- exec:
121+
container: webcontainer
122+
command:
123+
- /bin/uname
124+
- -a
125+
onError: Continue
126+
timeout: 10s
128127

129128
```
130129

@@ -141,31 +140,31 @@ metadata:
141140
name: restorehookname0
142141
namespace: default
143142
spec:
144-
# Name is the name of this hook.
145-
name: myhook-1
146-
# Restored Namespaces where this hook will be executed.
147-
includedNamespaces:
148-
excludedNamespaces:
149-
labelSelector:
150-
# PostHooks is a list of RestoreResourceHooks to execute during and after restoring a resource.
151-
postHooks:
152-
- exec:
153-
# Container is the container in the pod where the command should be executed.
154-
container: webcontainer
155-
# Command is the command and arguments to execute from within a container after a pod has been restored.
156-
command:
157-
- /bin/bash
158-
- -c
159-
- echo hello > hello.txt && echo goodbye > goodbye.txt
160-
# OnError specifies how Velero should behave if it encounters an error executing this hook
161-
# default value is Continue
162-
onError: Continue
163-
# Timeout is the amount of time to wait for the hook to complete before considering it failed.
164-
execTimeout: 30s
165-
# WaitTimeout defines the maximum amount of time Velero should wait for the container to be ready before attempting to run the command.
166-
waitTimeout: 5m
167-
168-
143+
# RestoreHook is a list of hooks to execute after restoring a resource.
144+
restoreHook:
145+
# Name is the name of this hook.
146+
- name: myhook-1
147+
# Restored Namespaces where this hook will be executed.
148+
includedNamespaces:
149+
excludedNamespaces:
150+
labelSelector:
151+
# PostHooks is a list of RestoreResourceHooks to execute during and after restoring a resource.
152+
postHooks:
153+
- exec:
154+
# Container is the container in the pod where the command should be executed.
155+
container: webcontainer
156+
# Command is the command and arguments to execute from within a container after a pod has been restored.
157+
command:
158+
- /bin/bash
159+
- -c
160+
- echo hello > hello.txt && echo goodbye > goodbye.txt
161+
# OnError specifies how Velero should behave if it encounters an error executing this hook
162+
# default value is Continue
163+
onError: Continue
164+
# Timeout is the amount of time to wait for the hook to complete before considering it failed.
165+
execTimeout: 30s
166+
# WaitTimeout defines the maximum amount of time Velero should wait for the container to be ready before attempting to run the command.
167+
waitTimeout: 5m
169168

170169
```
171170

articles/backup/azure-kubernetes-service-cluster-manage-backups.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ To enable Trusted Access between Backup vault and AKS cluster, use the following
130130

131131
```azurecli-interactive
132132
az aks trustedaccess rolebinding create \
133-
-g $myResourceGroup \ 
134-
--cluster-name $myAKSCluster 
135-
-n <randomRoleBindingName> \ 
136-
--source-resource-id <vaultID> \ 
133+
-g <aksclusterrg> \
134+
--cluster-name <aksclustername> \
135+
-n <randomRoleBindingName> \
136+
--source-resource-id $(az dataprotection backup-vault show -g <vaultrg> -v <VaultName> --query id -o tsv) \
137137
--roles Microsoft.DataProtection/backupVaults/backup-operator
138138
```
139139

0 commit comments

Comments
 (0)