Skip to content

Commit ee96828

Browse files
authored
Merge pull request #25899 from microsoftgraph/ur
[Cloud PC][Beta]deprecated crossRegionDisasterRecoveryEnabled AND add userInitiatedDisasterRecoveryAllowed in cloudPcUsersetting
2 parents ec3ec78 + c056cb5 commit ee96828

7 files changed

+55
-18
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,14 @@ Content-Type: application/json
130130
"userRestoreEnabled": true
131131
},
132132
"crossRegionDisasterRecoverySetting": {
133-
"crossRegionDisasterRecoveryEnabled": true,
133+
"crossRegionDisasterRecoveryEnabled": false,
134134
"maintainCrossRegionRestorePointEnabled": true,
135135
"disasterRecoveryNetworkSetting": {
136136
"regionName": "westus",
137137
"regionGroup": "usEast"
138138
},
139-
"disasterRecoveryType": "premium"
139+
"disasterRecoveryType": "premium",
140+
"userInitiatedDisasterRecoveryAllowed": true
140141
},
141142
"lastModifiedDateTime": "2021-02-01T10:29:57Z",
142143
"createdDateTime": "2021-02-01T10:29:57Z"
@@ -220,13 +221,14 @@ Content-Type: application/json
220221
"userRestoreEnabled": true
221222
},
222223
"crossRegionDisasterRecoverySetting": {
223-
"crossRegionDisasterRecoveryEnabled": true,
224+
"crossRegionDisasterRecoveryEnabled": false,
224225
"maintainCrossRegionRestorePointEnabled": true,
225226
"disasterRecoveryNetworkSetting": {
226227
"regionName": "westus",
227228
"regionGroup": "usEast"
228229
},
229-
"disasterRecoveryType": "premium"
230+
"disasterRecoveryType": "premium",
231+
"userInitiatedDisasterRecoveryAllowed": true
230232
},
231233
"lastModifiedDateTime": "2021-02-01T10:29:57Z",
232234
"createdDateTime": "2021-02-01T10:29:57Z",

api-reference/beta/api/cloudpcusersetting-update.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The following table shows the properties that are required when you update the [
6161

6262
## Response
6363

64-
If successful, this method returns a `204 No Content` response code and an updated [cloudPcUserSetting](../resources/cloudpcusersetting.md) object in the response body.
64+
If successful, this method returns a `204 No Content` response code.
6565

6666
## Examples
6767

@@ -88,13 +88,14 @@ Content-Type: application/json
8888
"userRestoreEnabled": true
8989
},
9090
"crossRegionDisasterRecoverySetting": {
91-
"crossRegionDisasterRecoveryEnabled": true,
91+
"crossRegionDisasterRecoveryEnabled": false,
9292
"maintainCrossRegionRestorePointEnabled": true,
9393
"disasterRecoveryNetworkSetting": {
9494
"regionName": "westus",
9595
"regionGroup": "usEast"
9696
},
97-
"disasterRecoveryType": "premium"
97+
"disasterRecoveryType": "premium",
98+
"userInitiatedDisasterRecoveryAllowed": true
9899
},
99100
"localAdminEnabled": false,
100101
"resetEnabled": true

api-reference/beta/api/virtualendpoint-list-usersettings.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ If successful, this method returns a `200 OK` response code and a collection of
5757
## Examples
5858

5959
### Request
60-
60+
The following example shows a request.
6161
# [HTTP](#tab/http)
6262
<!-- {
6363
"blockType": "request",
@@ -103,6 +103,7 @@ GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettin
103103
---
104104

105105
### Response
106+
The following example shows the response.
106107
>**Note:** The response object shown here might be shortened for readability.
107108
<!-- {
108109
"blockType": "response",
@@ -128,13 +129,14 @@ Content-Type: application/json
128129
"userRestoreEnabled": true
129130
},
130131
"crossRegionDisasterRecoverySetting": {
131-
"crossRegionDisasterRecoveryEnabled": true,
132+
"crossRegionDisasterRecoveryEnabled": false,
132133
"maintainCrossRegionRestorePointEnabled": true,
133134
"disasterRecoveryNetworkSetting": {
134135
"regionName": "westus",
135136
"regionGroup": "usEast"
136137
},
137-
"disasterRecoveryType": "premium"
138+
"disasterRecoveryType": "premium",
139+
"userInitiatedDisasterRecoveryAllowed": true
138140
},
139141
"lastModifiedDateTime": "2021-02-01T10:29:57Z",
140142
"createdDateTime": "2021-02-01T10:29:57Z"

api-reference/beta/api/virtualendpoint-post-usersettings.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Create cloudPcUserSetting"
3-
description: "Create a new cloudPcUserSetting ."
3+
description: "Create a new cloudPcUserSetting object."
44
author: "AshleyYangSZ"
55
ms.localizationpriority: medium
66
ms.subservice: "cloud-pc"
@@ -83,13 +83,14 @@ Content-Type: application/json
8383
"selfServiceEnabled": false,
8484
"localAdminEnabled": true,
8585
"crossRegionDisasterRecoverySetting": {
86-
"crossRegionDisasterRecoveryEnabled": true,
86+
"crossRegionDisasterRecoveryEnabled": false,
8787
"maintainCrossRegionRestorePointEnabled": true,
8888
"disasterRecoveryNetworkSetting": {
8989
"regionName": "westus",
9090
"regionGroup": "usEast"
9191
},
92-
"disasterRecoveryType": "premium"
92+
"disasterRecoveryType": "premium",
93+
"userInitiatedDisasterRecoveryAllowed": true
9394
},
9495
"restorePointSetting": {
9596
"frequencyInHours": 16,
@@ -119,13 +120,14 @@ Content-Type: application/json
119120
"selfServiceEnabled": false,
120121
"localAdminEnabled": true,
121122
"crossRegionDisasterRecoverySetting": {
122-
"crossRegionDisasterRecoveryEnabled": true,
123+
"crossRegionDisasterRecoveryEnabled": false,
123124
"maintainCrossRegionRestorePointEnabled": true,
124125
"disasterRecoveryNetworkSetting": {
125126
"regionName": "westus",
126127
"regionGroup": "usEast"
127128
},
128-
"disasterRecoveryType": "premium"
129+
"disasterRecoveryType": "premium",
130+
"userInitiatedDisasterRecoveryAllowed": true
129131
},
130132
"restorePointSetting": {
131133
"frequencyInHours": 16,

api-reference/beta/resources/cloudpccrossregiondisasterrecoverysetting.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ Represents the settings for cross-region disaster recovery on a Cloud PC.
2121

2222
|Property|Type|Description|
2323
|:---|:---|:---|
24-
|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`.|
2524
|disasterRecoveryNetworkSetting|[cloudPcDisasterRecoveryNetworkSetting](../resources/cloudpcdisasterrecoverynetworksetting.md)|Indicates the network settings of the Cloud PC during a cross-region disaster recovery operation.|
2625
|disasterRecoveryType|[cloudPcDisasterRecoveryType](#cloudpcdisasterrecoverytype-values)|Indicates the type of disaster recovery to perform when a disaster occurs on the user's Cloud PC. The possible values are: `notConfigured`, `crossRegion`, `premium`, `unknownFutureValue`. The default value is `notConfigured`.|
2726
|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`.|
27+
|userInitiatedDisasterRecoveryAllowed|Boolean|Indicates whether the client allows the end user to initiate a disaster recovery activation. `True` indicates that the client includes the option for the end user to activate Backup Cloud PC. When `false`, the end user doesn't have the option to activate disaster recovery. The default value is `false`. Currently, only premium disaster recovery is supported.|
28+
|crossRegionDisasterRecoveryEnabled (deprecated)|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`. This property is deprecated and will no longer be supported effective February 11, 2025. For scenarios where **crossRegionDisasterRecoveryEnabled** is `true`, set **disasterRecoveryType** to `crossRegion`. For scenarios where **crossRegionDisasterRecoveryEnabled** is `false`, set **disasterRecoveryType** to `notconfigured`.|
2829

2930
### cloudPcDisasterRecoveryType values
3031

@@ -54,6 +55,7 @@ The following JSON representation shows the resource type.
5455
"crossRegionDisasterRecoveryEnabled": "Boolean",
5556
"disasterRecoveryNetworkSetting": {"@odata.type": "microsoft.graph.cloudPcDisasterRecoveryNetworkSetting"},
5657
"disasterRecoveryType": "String",
57-
"maintainCrossRegionRestorePointEnabled": "Boolean"
58+
"maintainCrossRegionRestorePointEnabled": "Boolean",
59+
"userInitiatedDisasterRecoveryAllowed": "Boolean"
5860
}
5961
```

changelog/Microsoft.CloudManagedDesktop.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
{
22
"changelog": [
3+
{
4+
"ChangeList": [
5+
{
6+
"Id": "d2fbdff0-4da3-4e94-829b-fcee62ccbb58",
7+
"ApiChange": "Property",
8+
"ChangedApiName": "userInitiatedDisasterRecoveryAllowed",
9+
"ChangeType": "Addition",
10+
"Description": "Added the **userInitiatedDisasterRecoveryAllowed** property to the [cloudPcCrossRegionDisasterRecoverySetting](https://learn.microsoft.com/en-us/graph/api/resources/cloudPcCrossRegionDisasterRecoverySetting?view=graph-rest-beta) resource.",
11+
"Target": "cloudPcCrossRegionDisasterRecoverySetting"
12+
},
13+
{
14+
"Id": "d2fbdff0-4da3-4e94-829b-fcee62ccbb58",
15+
"ApiChange": "Property",
16+
"ChangedApiName": "crossRegionDisasterRecoveryEnabled",
17+
"ChangeType": "Deprecation",
18+
"Description": "Deprecated the **crossRegionDisasterRecoveryEnabled** property of the [cloudPcCrossRegionDisasterRecoverySetting](https://learn.microsoft.com/en-us/graph/api/resources/cloudPcCrossRegionDisasterRecoverySetting?view=graph-rest-beta) resource. The **crossRegionDisasterRecoveryEnabled** property is deprecated and will no longer be supported effective February 11, 2025. For scenarios where **crossRegionDisasterRecoveryEnabled** is `true`, set **disasterRecoveryType** to `crossRegion`. For scenarios where **crossRegionDisasterRecoveryEnabled** is `false`, set **disasterRecoveryType** to `notconfigured`.",
19+
"Target": "cloudPcCrossRegionDisasterRecoverySetting"
20+
}
21+
],
22+
"Id": "d2fbdff0-4da3-4e94-829b-fcee62ccbb58",
23+
"Cloud": "Prod",
24+
"Version": "beta",
25+
"CreatedDateTime": "2024-12-08T06:09:33.7283612Z",
26+
"WorkloadArea": "Device and app management",
27+
"SubArea": "Cloud PC"
28+
},
329
{
430
"ChangeList": [
531
{

concepts/whats-new-overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ Enabled the **description**, **displayName**, and **severity** properties as sup
3232

3333
### Device and app management | Cloud PC
3434

35-
- Enabled `endpointConnectivityCheckVMAgentEndPointCommunicationError` as a supported error type in the **errorType** property of the [cloudPcOnPremisesConnectionHealthCheck](/graph/api/resources/cloudpconpremisesconnectionhealthcheck?view=graph-rest-beta&preserve-view=true) resource.
3635
- Use the **disasterRecoveryType** property on [cloudPcCrossRegionDisasterRecoverySetting](/graph/api/resources/cloudpccrossregiondisasterrecoverysetting?view=graph-rest-beta&preserve-view=true) to get or set the type of disaster recovery to perform when a disaster occurs on a user's Cloud PC.
36+
- Use the **userInitiatedDisasterRecoveryAllowed** property on [cloudPcCrossRegionDisasterRecoverySetting](/graph/api/resources/cloudpccrossregiondisasterrecoverysetting?view=graph-rest-beta&preserve-view=true) to get or set whether the client allows the end user to initiate a disaster recovery activation.
37+
- Deprecated the **crossRegionDisasterRecoveryEnabled** property of the [cloudPcCrossRegionDisasterRecoverySetting](/graph/api/resources/cloudpccrossregiondisasterrecoverysetting?view=graph-rest-beta&preserve-view=true) resource. Going forward use the **disasterRecoveryType** property.
38+
- Enabled `endpointConnectivityCheckVMAgentEndPointCommunicationError` as a supported error type in the **errorType** property of the [cloudPcOnPremisesConnectionHealthCheck](/graph/api/resources/cloudpconpremisesconnectionhealthcheck?view=graph-rest-beta&preserve-view=true) resource.
3739

3840
### Reports | Identity and access reports
3941

0 commit comments

Comments
 (0)