Skip to content

Commit 1d02834

Browse files
authored
Merge pull request #25947 from microsoftgraph/user/vasanthaleti/EnhancedRestoreMailboxTypeSupport
Mailbox Type Support Enhanced Restore
2 parents 1b8b1d0 + cfc8689 commit 1d02834

File tree

4 files changed

+42
-4
lines changed

4 files changed

+42
-4
lines changed

api-reference/beta/api/backuprestoreroot-list-mailboxprotectionunits.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ HTTP/1.1 200 OK
128128
"directoryObjectId": "384974e2-72cd-48de-a6e8-6985d7c5db90",
129129
"displayName": "Jefferson Lee", // Newly Added
130130
"email": "lee@contoso.com", // Newly Added
131+
"mailboxType": "user",
131132
"status": "unprotectRequested",
132133
"createdBy": {
133134
"application": {
@@ -163,6 +164,7 @@ HTTP/1.1 200 OK
163164
"displayName": "Mastura Ibrahim", // Newly Added
164165
"email": "mastura@contoso.com", // Newly Added
165166
"status": "unprotected",
167+
"mailboxType": "shared",
166168
"createdBy": {
167169
"application": {
168170
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -196,6 +198,7 @@ HTTP/1.1 200 OK
196198
"directoryObjectId": "2d1d9337-d8f0-456e-92cd-00a3abdd2093",
197199
"displayName": "Ahmad Hakiki", // Newly Added
198200
"email": "ahmad@contoso.com", // Newly Added
201+
"mailboxType": "user",
199202
"status": "protectRequested",
200203
"createdBy": {
201204
"application": {
@@ -230,6 +233,7 @@ HTTP/1.1 200 OK
230233
"directoryObjectId": "2e1d9337-d8f0-456e-92cd-00a3abdd2093",
231234
"displayName": "Jeffry Goh", // Newly Added
232235
"email": "jeffry@contoso.com", // Newly Added
236+
"mailboxType": "user",
233237
"status": "protected",
234238
"createdBy": {
235239
"application": {
@@ -264,6 +268,7 @@ HTTP/1.1 200 OK
264268
"displayName": "Suresh Pasupuleti", // Newly Added
265269
"email": "suresh@contoso.com", // Newly Added
266270
"status": "unprotected",
271+
"mailboxType": "shared",
267272
"createdBy": {
268273
"application": {
269274
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -331,6 +336,7 @@ HTTP/1.1 200 OK
331336
"displayName": "Jefferson Lee", // Newly Added
332337
"email": "lee@contoso.com", // Newly Added
333338
"status": "protectRequested",
339+
"mailboxType": "user",
334340
"createdBy": {
335341
"application": {
336342
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -364,6 +370,7 @@ HTTP/1.1 200 OK
364370
"directoryObjectId": "184d9337-d8f0-456e-92cd-00a3abdd2093",
365371
"displayName": "Mastura Ibrahim", // Newly Added
366372
"email": "mastura@contoso.com", // Newly Added
373+
"mailboxType": "shared",
367374
"status": "protectRequested",
368375
"createdBy": {
369376
"application": {
@@ -399,6 +406,7 @@ HTTP/1.1 200 OK
399406
"displayName": "Esmira Musayeva", // Newly Added
400407
"email": "esmira@contoso.com", // Newly Added
401408
"status": "protectRequested",
409+
"mailboxType": "user",
402410
"createdBy": {
403411
"application": {
404412
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -433,6 +441,7 @@ HTTP/1.1 200 OK
433441
"displayName": "Ahmad Hakiki", // Newly Added
434442
"email": "ahmad@contoso.com", // Newly Added
435443
"status": "protectRequested",
444+
"mailboxType": "user",
436445
"createdBy": {
437446
"application": {
438447
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -467,6 +476,7 @@ HTTP/1.1 200 OK
467476
"displayName": "Rashmi Mishra ", // Newly Added
468477
"email": "rashmi@contoso.com", // Newly Added
469478
"status": "protectRequested",
479+
"mailboxType": "shared",
470480
"createdBy": {
471481
"application": {
472482
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",

api-reference/beta/resources/enums.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5104,4 +5104,13 @@ Possible values for user account types (group membership), per Windows definitio
51045104
|:---|
51055105
|standard|
51065106
|bulk|
5107-
|unknownFutureValue|
5107+
|unknownFutureValue|
5108+
5109+
### mailboxType values
5110+
5111+
|Member|
5112+
|:---|
5113+
|unknown|
5114+
|user|
5115+
|shared|
5116+
|unknownFutureValue|

api-reference/beta/resources/mailboxprotectionunit.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Inherits from [protectionUnitBase](../resources/protectionunitbase.md).
3636
|id|String|Unique identifier of the protection policy associated with this protection unit.|
3737
|lastModifiedBy|[identitySet](../resources/identityset.md)|The identity of person who last modified the protection unit. Inherited from [protectionUnitBase](../resources/protectionunitbase.md).|
3838
|lastModifiedDateTime|DateTimeOffset|The time the protection unit was last modified. Inherited from [protectionUnitBase](../resources/protectionunitbase.md).|
39+
|mailboxType|[mailboxType](../resources/enums.md#mailboxtype-values)|The type of mailbox which is assigned to the user with id: `directoryObjectId`.The possible values are: `unknown`, `user`, `shared`, `unknownFutureValue`.|
3940
|policyId|String|Unique identifier of the protection policy associated with this protection unit. Inherited from [protectionUnitBase](../resources/protectionunitbase.md).|
4041
|status|[protectionUnitStatus](../resources/mailboxprotectionunit.md#protectionunitstatus-values)|The individual enable, disable, or removal status of the protection unit. Inherited from [protectionUnitBase](../resources/protectionunitbase.md).The possible values are: `protectRequested`, `protected`, `unprotectRequested`, `unprotected`, `removeRequested`, `unknownFutureValue`.|
4142

@@ -49,7 +50,6 @@ Inherits from [protectionUnitBase](../resources/protectionunitbase.md).
4950
|removeRequested |A user requested removal of the protected unit from the policy. |
5051
|unknownFutureValue | Evolvable enumeration sentinel value. Do not use.|
5152

52-
5353
## Relationships
5454
None.
5555

@@ -82,7 +82,8 @@ The following JSON representation shows the resource type.
8282
},
8383
"directoryObjectId": "String",
8484
"displayName": "String",
85-
"email": "String"
85+
"email": "String",
86+
"mailboxType": "String"
8687
}
8788
```
8889

changelog/Microsoft.EnhancedRestore.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
{
22
"changelog": [
3+
{
4+
"ChangeList": [
5+
{
6+
"Id": "9ddaec40-375d-4557-9c2c-b31b99520210",
7+
"ApiChange": "Enumeration",
8+
"ChangedApiName": "mailboxType",
9+
"ChangeType": "Addition",
10+
"Description": "Added the **mailboxType** enumeration type.",
11+
"Target": "mailboxType"
12+
}
13+
],
14+
"Id": "9ddaec40-375d-4557-9c2c-b31b99520210",
15+
"Cloud": "Review",
16+
"Version": "beta",
17+
"CreatedDateTime": "2024-11-13T06:06:47.9890636Z",
18+
"WorkloadArea": "EnhancedRestore",
19+
"SubArea": "Backup and Restore"
20+
},
321
{
422
"ChangeList": [
523
{
@@ -47,7 +65,7 @@
4765
"ApiChange": "Resource",
4866
"ChangedApiName": "restoreArtifactsBulkRequestBase",
4967
"ChangeType": "Addition",
50-
"Description": "Added the [restoreArtifactsBulkRequestBase](https://learn.microsoft.com/en-us/graph/api/resources/restoreArtifactsBulkRequestBase?view=graph-rest-beta) resource.",
68+
"Description": "Added the [restoreArtifactsBulkRequestBase](https://learn.microsoft.com/en-us/graph/api/resources/restoreartifactsbulkrequestbase?view=graph-rest-beta) resource.",
5169
"Target": "restoreArtifactsBulkRequestBase"
5270
},
5371
{

0 commit comments

Comments
 (0)