Skip to content

Commit c5dc5c2

Browse files
authored
Merge pull request #237360 from MicrosoftDocs/repo_sync_working_branch
Resolve syncing conflicts from repo_sync_working_branch to main
2 parents a0cd942 + c3ac9e0 commit c5dc5c2

File tree

7 files changed

+65
-44
lines changed

7 files changed

+65
-44
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
*.c text
77
*.h text
88

9+
# Include Markdown in the GitHub language breakdown statistics
10+
*.md linguist-detectable
11+
912
# Denote all files that are truly binary and should not be modified.
1013
*.gif binary
1114
*.ico binary

articles/active-directory/develop/reply-url.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ The Azure Active Directory (Azure AD) application model specifies these restrict
3535
* `https://contoso.com/abc` is returned as `https://contoso.com/abc`
3636
* `https://contoso.com/abc/response-oidc` is returned as `https://contoso.com/abc/response-oidc`
3737

38+
* Redirect URIs do not support special characters - `! $ ' ( ) , ;`
39+
3840
## Maximum number of redirect URIs
3941

4042
This table shows the maximum number of redirect URIs you can add to an app registration in the Microsoft identity platform.

articles/batch/create-pool-ephemeral-os-disk.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,23 @@ The `EphemeralOSDiskSettings` property isn't set by default. You must set this p
3737
3838
The following example shows how to create a Batch pool where the nodes use ephemeral OS disks and not managed disks.
3939

40-
### Batch .NET API
40+
### Code examples
41+
42+
This code snippet shows how to create a pool with ephemeral OS disks using Azure Batch Python SDK with the Ephemeral OS disk using the temporary disk (cache).
43+
44+
```python
45+
virtual_machine_configuration=batch.models.VirtualMachineConfiguration(
46+
image_reference=image_ref_to_use,
47+
node_agent_sku_id=node_sku_id,
48+
os_disk=batch.models.OSDisk(
49+
ephemeral_os_disk_settings=batch.models.DiffDiskSettings(
50+
placement=batch.models.DiffDiskPlacement.cache_disk
51+
)
52+
)
53+
)
54+
```
55+
56+
This is the same code snippet but for creating a pool with ephemeral OS disks using the Azure Batch .NET SDK and C#.
4157

4258
```csharp
4359
VirtualMachineConfiguration virtualMachineConfiguration = new VirtualMachineConfiguration(

articles/cosmos-db/how-to-migrate-desktop-tool.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Next, create a target database and container on the Azure Cosmos DB for NoSQL ac
161161
162162
Now, migrate data from a JSON array to the newly created Azure Cosmos DB for NoSQL container.
163163
164-
1. Navigate to an empty directory on your local machine. Within that directory, create a new file named **migration-settings.json**.
164+
1. Navigate to an empty directory on your local machine. Within that directory, create a new file named **migrationsettings.json**.
165165
166166
1. Within the JSON file, create a new empty JSON object:
167167
@@ -236,9 +236,9 @@ Now, migrate data from a JSON array to the newly created Azure Cosmos DB for NoS
236236
}
237237
```
238238
239-
1. **Save** the **migration-settings.json** file.
239+
1. **Save** the **migrationsettings.json** file.
240240
241-
1. Open a new terminal
241+
1. Open a new terminal and navigate to the directory containing your **migrationsettings.json** file.
242242
243243
1. Run the desktop data migration tool using the `dmt` command.
244244
@@ -249,12 +249,6 @@ Now, migrate data from a JSON array to the newly created Azure Cosmos DB for NoS
249249
> [!NOTE]
250250
> If you did not add the installation path to your `PATH` environment variable, you may need to specify the full path to the `dmt` executable.
251251
252-
1. The tool asks for the path to the settings file. Enter the **migration-settings.json** filename here.
253-
254-
```output
255-
Path to settings file? (leave empty to skip):
256-
```
257-
258252
1. The tool now outputs the sources and sinks used by the migration.
259253
260254
```output

articles/cosmos-db/partial-document-update-getting-started.md

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -335,34 +335,46 @@ this.patchDocument = function (documentLink, patchSpec, options, callback) {
335335
> [!NOTE]
336336
> Find the definition of `validateOptionsAndCallback` in the [.js DocDbWrapperScript](https://github.com/Azure/azure-cosmosdb-js-server/blob/1dbe69893d09a5da29328c14ec087ef168038009/utils/DocDbWrapperScript.js#L289) on GitHub.
337337
338-
Sample parameter for patch operation:
338+
Sample stored procedure for patch operation:
339339

340340
```javascript
341-
function () {
341+
function patchDemo() {
342342
var doc = {
343-
"id": "exampleDoc",
344-
"field1": {
345-
"field2": 10,
346-
"field3": 20
347-
}
348-
};
349-
var isAccepted = __.createDocument(__.getSelfLink(), doc, (err, doc) => {
350-
if (err) throw err;
351-
var patchSpec = [
352-
{"op": "add", "path": "/field1/field2", "value": 20},
353-
{"op": "remove", "path": "/field1/field3"}
354-
];
355-
isAccepted = __.patchDocument(doc._self, patchSpec, (err, doc) => {
356-
if (err) throw err;
357-
else {
358-
getContext().getResponse().setBody(docPatched);
359-
}
360-
}
361-
}
362-
if(!isAccepted) throw new Error("patch was't accepted")
363-
}
364-
}
365-
if(!isAccepted) throw new Error("create wasn't accepted")
343+
"id": "exampleDoc",
344+
"fields": {
345+
"field1": "exampleString",
346+
"field2": 20,
347+
"field3": 40
348+
}
349+
};
350+
351+
var isAccepted = __.createDocument(__.getSelfLink(), doc, (err, doc) => {
352+
if (err) {
353+
throw err;
354+
}
355+
else {
356+
getContext().getResponse().setBody("Example document successfully created.");
357+
358+
var patchSpec = [
359+
{ "op": "add", "path": "/fields/field1", "value": "newExampleString" },
360+
{ "op": "remove", "path": "/fields/field2" },
361+
{ "op": "incr", "path": "/fields/field3", "value": 10 }
362+
];
363+
364+
var isAccepted = __.patchDocument(doc._self, patchSpec, (err, doc) => {
365+
if (err) {
366+
throw err;
367+
}
368+
else {
369+
getContext().getResponse().appendBody(" Example document successfully patched.");
370+
}
371+
});
372+
373+
if (!isAccepted) throw new Error("Patch wasn't accepted");
374+
}
375+
});
376+
377+
if (!isAccepted) throw new Error("Create wasn't accepted.");
366378
}
367379
```
368380

articles/sentinel/sap/deploy-sap-btp-solution.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ This article describes how to deploy the Microsoft Sentinel Solution for SAP® B
1616
1717
## Prerequisites
1818

19-
### Fill in the sign-up form
20-
21-
To get started, **first [complete the sign-up form](https://forms.microsoft.com/pages/responsepage.aspx?id=v4j5cvGGr0GRqy180BHbR5CavmNiVgxCqhcQeRrOyvxUM0Q3NVdHU1hWNjMzQkM3RVNNNldTR1hYOS4u)** so that we can provision your subscription with access to the preview. We’ll send a confirmation email once your subscription is active.
22-
23-
### Additional prerequisites
24-
2519
Before you begin, verify that:
2620

2721
- The Microsoft Sentinel solution is enabled.
@@ -55,7 +49,7 @@ Before you begin, verify that:
5549
- **uaa.clientsecret**: `682323d2-42a0-45db-a939-74639efde986$gR3x3ohHTB8iyYSKHW0SNIWG4G0tQkkMdBwO7lKhwcQ=`
5650
- **uaa.url**: `https://915a0312trial.authentication.us10.hana.ondemand.com`
5751

58-
1. Log into the Azure portal with the [solution preview feature flag](https://portal.azure.com/?feature.loadTemplateSolutions=true).
52+
1. Log into the [Azure portal](https://portal.azure.com/).
5953
1. Navigate to the **Microsoft Sentinel** service.
6054
1. Select **Content hub**, and in the search bar, search for *BTP*.
6155
1. Select **Sentinel Solution for SAP BTP**.
@@ -106,4 +100,4 @@ However, while this guide explains how to enable the audit log retrieval using t
106100
In this article, you learned how to deploy the Microsoft Sentinel Solution® for SAP BTP.
107101
>
108102
> - [Learn how to enable the security content](../sentinel-solutions-deploy.md#analytics-rule)
109-
> - [Review the solution's security content](sap-btp-security-content.md)
103+
> - [Review the solution's security content](sap-btp-security-content.md)

articles/virtual-machines/windows/run-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Invoke-AzVMRunCommand -ResourceGroupName '<myResourceGroup>' -Name '<myVMName>'
127127

128128
Listing the run commands or showing the details of a command requires the `Microsoft.Compute/locations/runCommands/read` permission on Subscription Level. The built-in [Reader](../../role-based-access-control/built-in-roles.md#reader) role and higher levels have this permission.
129129

130-
Running a command requires the `Microsoft.Compute/virtualMachines/runCommand/write` permission. The [Virtual Machine Contributor](../../role-based-access-control/built-in-roles.md#virtual-machine-contributor) role and higher levels have this permission.
130+
Running a command requires the `Microsoft.Compute/virtualMachines/runCommands/write` permission. The [Virtual Machine Contributor](../../role-based-access-control/built-in-roles.md#virtual-machine-contributor) role and higher levels have this permission.
131131

132132
You can use one of the [built-in roles](../../role-based-access-control/built-in-roles.md) or create a [custom role](../../role-based-access-control/custom-roles.md) to use Run Command.
133133

0 commit comments

Comments
 (0)