Skip to content

Commit 912c045

Browse files
authored
Merge branch 'main' into sthapliyal/addClientAppIdToAppDef
2 parents d6630c8 + ddef90e commit 912c045

39 files changed

+718
-267
lines changed

api-reference/beta/api/educationassignment-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ Choose the permission or permissions marked as least privileged for this API. Us
3333
GET /education/classes/{id}/assignments/{id}
3434
```
3535
## Optional query parameters
36-
This method supports the `$select` and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
36+
This method supports the `$select`, `$orderby`, and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
37+
38+
You can use `$orderby` with the following properties of the [educationAssignment](../resources/educationassignment.md) resource: **assignDateTime**, **assignedDateTime**, **closeDateTime**, **createdDateTime**, **displayName**, **dueDateTime**, **lastModifiedDateTime**, **moduleUrl**, and **status**.
3739

3840
The following `$expand` options are available for this method: `categories`, `resources`, `rubric`, `submissions`, `gradingScheme`, `gradingCategory`, and `*`. `*` specifies all the previous options.
3941

api-reference/beta/api/educationassignment-post-categories.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,44 +36,38 @@ POST /education/classes/{id}/assignments/{id}/categories/$ref
3636
| Content-Type | application/json |
3737

3838
## Request body
39-
In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object(s) to add to this assignment.
40-
39+
In the request body, supply the **odata.id** of an existing [educationCategory](../resources/educationcategory.md) object to add to this assignment.
4140

4241
## Response
4342
If successful, this method returns a `204 No Content` response code.
4443

4544
## Example
46-
##### Request
45+
### Request
4746
The following example shows a request.
4847
<!-- {
49-
"blockType": "ignored",
50-
"name": "add_educationcategory_to_educationassignment",
51-
"sampleKeys": ["11021", "19002"]
48+
"blockType": "request",
49+
"name": "add_educationcategory_to_educationassignment"
5250
}-->
5351
```http
54-
POST https://graph.microsoft.com/beta/education/classes/11021/assignments/19002/categories/$ref
52+
POST https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/70b7077c-7c1c-4e56-9b3b-2365411900c6/categories/$ref
5553
Content-type: application/json
5654
5755
{
58-
"@odata.id": "https://graph.microsoft.com/v1.0/education/classes/11021/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac"
56+
"@odata.id": "https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignmentCategories/39e3d9dc-7244-42d7-8b4d-1071aae5eb41"
5957
}
60-
6158
```
62-
In the request body, supply the odata.id of the existing [educationCategory](../resources/educationcategory.md) object to add to this assignment.
63-
##### Response
64-
The following example shows the response.
65-
66-
>**Note:** The response object shown here might be shortened for readability.
6759

60+
### Response
61+
The following example shows the response.
6862

6963
<!-- {
70-
"blockType": "ignored",
71-
"truncated": true,
72-
"@odata.type": "microsoft.graph.educationAssignmentResource"
64+
"blockType": "response",
65+
"truncated": true
7366
} -->
7467
```http
7568
HTTP/1.1 204 No Content
7669
```
70+
7771
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
7872
2015-10-25 14:57:30 UTC -->
7973
<!--
@@ -86,5 +80,3 @@ HTTP/1.1 204 No Content
8680
"suppressions": []
8781
}
8882
-->
89-
90-

api-reference/beta/api/educationassignment-remove-category.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,19 @@ If successful, this method returns a `204 No Content` response code.
4444
### Request
4545
The following example shows a request.
4646
<!-- {
47-
"blockType": "ignored",
48-
"name": "add_educationcategory_to_educationassignment",
49-
"sampleKeys": ["11021", "19002", "ec98f158-341d-4fea-9f8c-14a250d489ac"]
47+
"blockType": "request",
48+
"name": "remove_educationcategory_from_educationassignment"
5049
}-->
5150
```http
52-
DELETE https://graph.microsoft.com/beta/education/classes/11021/assignments/19002/categories/ec98f158-341d-4fea-9f8c-14a250d489ac/$ref
51+
DELETE https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/e98aaae1-7c98-4e65-bb62-1994fe410552/categories/39e3d9dc-7244-42d7-8b4d-1071aae5eb41/$ref
5352
```
5453

5554
### Response
5655
The following example shows the response.
5756

5857
<!-- {
59-
"blockType": "ignored",
60-
"truncated": true,
61-
"@odata.type": "microsoft.graph.educationAssignmentResource"
58+
"blockType": "response",
59+
"truncated": true
6260
} -->
6361
```http
6462
HTTP/1.1 204 No Content

api-reference/beta/api/educationcategory-delete.md

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -52,52 +52,15 @@ If successful, this method returns a `204 No Content` response code. It doesn't
5252

5353
The following example shows a request.
5454

55-
56-
# [HTTP](#tab/http)
5755
<!-- {
5856
"blockType": "request",
59-
"name": "delete_educationassignment_2",
60-
"sampleKeys": ["11014", "19002"]
57+
"name": "delete_educationassignment_2"
6158
}-->
6259

6360
```http
64-
DELETE https://graph.microsoft.com/beta/education/classes/11014/assignmentCategories/19002
61+
DELETE https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignmentCategories/39e3d9dc-7244-42d7-8b4d-1071aae5eb41
6562
```
6663

67-
# [C#](#tab/csharp)
68-
[!INCLUDE [sample-code](../includes/snippets/csharp/delete-educationassignment-2-csharp-snippets.md)]
69-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
70-
71-
# [CLI](#tab/cli)
72-
[!INCLUDE [sample-code](../includes/snippets/cli/delete-educationassignment-2-cli-snippets.md)]
73-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74-
75-
# [Go](#tab/go)
76-
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignment-2-go-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Java](#tab/java)
80-
[!INCLUDE [sample-code](../includes/snippets/java/delete-educationassignment-2-java-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [JavaScript](#tab/javascript)
84-
[!INCLUDE [sample-code](../includes/snippets/javascript/delete-educationassignment-2-javascript-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [PHP](#tab/php)
88-
[!INCLUDE [sample-code](../includes/snippets/php/delete-educationassignment-2-php-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PowerShell](#tab/powershell)
92-
[!INCLUDE [sample-code](../includes/snippets/powershell/delete-educationassignment-2-powershell-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [Python](#tab/python)
96-
[!INCLUDE [sample-code](../includes/snippets/python/delete-educationassignment-2-python-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
99-
---
100-
10164
### Response
10265

10366
The following example shows the response.

api-reference/beta/api/educationcategory-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ GET /education/classes/{id}/assignmentCategories/{id}
3333

3434
## Optional query parameters
3535

36-
This method supports the `$select` OData query parameter to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
36+
This method supports the `$select` and `$orderby` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
37+
38+
You can use `$orderby` with the **displayName** property of the [educationCategory](../resources/educationcategory.md) resource.
3739

3840
## Request headers
3941
| Header | Value |

api-reference/beta/api/educationsubmission-get.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ GET /education/classes/{class-id}/assignments/{assignment-id}/submissions/{submi
3939

4040
## Optional query parameters
4141

42-
This method supports the `$select` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
42+
This method supports the `$select` and `$orderby` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
43+
44+
You can use `$orderby` with the following properties of the [educationSubmission](../resources/educationsubmission.md) resource: **excusedDateTime**, **reassignedDateTime**, **returnedDateTime**, **status**, **submittedDateTime**, and **unsubmittedDateTime**.
4345

4446
## Request headers
4547
| Header | Value |

api-reference/beta/api/educationsubmission-reassign.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ The following is an example of the response when `Prefer: include-unknown-enum-m
102102

103103
<!-- {
104104
"blockType": "response",
105+
"truncated": true,
105106
"@odata.type": "microsoft.graph.educationSubmission"
106107
} -->
107108
```http
@@ -213,7 +214,8 @@ Prefer: include-unknown-enum-members
213214
The following is an example of the response when `Prefer: include-unknown-enum-members` is provided in the request header and the submission hasn't been returned before.
214215

215216
<!-- {
216-
"blockType": "response",
217+
"blockType": "response",
218+
"truncated": true,
217219
"@odata.type": "microsoft.graph.educationSubmission"
218220
} -->
219221
```http

api-reference/beta/api/educationuser-list-assignments.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ This method supports the `$top`, `$filter`, `$orderby`, and `$select` OData quer
4545

4646
The following `$expand` options are available for this method: `categories`, `resources`, `gradingCategory`, `rubric`, `submissions`, and `*`, which includes all the previous options.
4747

48-
All [properties](../resources/educationassignment.md#properties) are supported for the query parameters `$filter` and `$orderby`.
48+
All [properties](../resources/educationassignment.md#properties) are supported by the `$filter` query parameter.
49+
50+
You can use `$orderby` with the following properties of the [educationAssignment](../resources/educationassignment.md) resource: **assignDateTime**, **assignedDateTime**, **closeDateTime**, **createdDateTime**, **displayName**, **dueDateTime**, **lastModifiedDateTime**, and **status**.
4951

5052
## Request headers
5153

api-reference/beta/api/teamsapp-publish.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Choose the permission or permissions marked as least privileged for this API. Us
2929
[!INCLUDE [permissions-table](../includes/permissions/teamsapp-publish-permissions.md)]
3030

3131
> [!NOTE]
32-
> The Directory.ReadWrite.All permission is supported only for backward compatibility. We recommend that you update your solutions to use an alternative permission listed in the previous table and avoid using these permissions going forward.
32+
>
33+
> * The `Directory.ReadWrite.All` permission is supported only for backward compatibility. We recommend that you update your solutions to use an alternative permission listed in the previous table and avoid using these permissions going forward.
34+
> * The `AppCatalog.Submit` permission allows you to submit apps for review only, not to publish them to the catalog.
3335
3436
## HTTP request
3537

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "cloudPcCrossRegionDisasterRecoverySetting resource type"
3+
description: "Represents the settings for cross-region disaster recovery on a Cloud PC."
4+
author: "Guoan-Tang"
5+
ms.localizationpriority: medium
6+
ms.subservice: "cloud-pc"
7+
doc_type: resourcePageType
8+
toc.title: Cloud PC cross-region disaster recovery setting
9+
---
10+
11+
# cloudPcCrossRegionDisasterRecoverySetting resource type
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Represents the settings for cross-region disaster recovery on a Cloud PC.
18+
19+
## Properties
20+
21+
|Property|Type|Description|
22+
|:---|:---|:---|
23+
|crossRegionDisasterRecoveryEnabled|Boolean|`True` if an end user is allowed to set up cross-region disaster recovery for Cloud PC; otherwise, `false`. The default value is `false`.|
24+
|disasterRecoveryNetworkSetting|[cloudPcDisasterRecoveryNetworkSetting](../resources/cloudpcdisasterrecoverynetworksetting.md)|Indicates the network settings of the Cloud PC during a cross-region disaster recovery operation.|
25+
|maintainCrossRegionRestorePointEnabled|Boolean|Indicates whether Windows 365 maintain the cross-region disaster recovery function generated restore points. If `true`, the Windows 365 stored restore points; `false` indicates that Windows 365 doesn't generate or keep the restore point from the original Cloud PC. If a disaster occurs, the new Cloud PC can only be provisioned using the initial image. This limitation can result in the loss of some user data on the original Cloud PC. The default value is `false`.|
26+
27+
## Relationships
28+
29+
None.
30+
31+
## JSON representation
32+
33+
The following JSON representation shows the resource type.
34+
<!-- {
35+
"blockType": "resource",
36+
"@odata.type": "microsoft.graph.cloudPcCrossRegionDisasterRecoverySetting"
37+
}
38+
-->
39+
40+
``` json
41+
{
42+
"@odata.type": "#microsoft.graph.cloudPcRestorePointSetting",
43+
"crossRegionDisasterRecoveryEnabled": "Boolean",
44+
"disasterRecoveryNetworkSetting": {"@odata.type": "microsoft.graph.cloudPcDisasterRecoveryNetworkSetting"},
45+
"maintainCrossRegionRestorePointEnabled": "Boolean"
46+
}
47+
```

0 commit comments

Comments
 (0)