You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-reference/beta/api/cloudpcdeviceimage-getsourceimages.md
+69-4Lines changed: 69 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,10 @@ Choose the permission or permissions marked as least privileged for this API. Us
36
36
GET /deviceManagement/virtualEndpoint/deviceImages/getSourceImages
37
37
```
38
38
39
+
## Optional query parameters
40
+
41
+
This method supports the `$filter` OData query parameter to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
42
+
39
43
## Request headers
40
44
41
45
|Name|Description|
@@ -48,11 +52,15 @@ Don't supply a request body for this method.
48
52
49
53
## Response
50
54
51
-
If successful, this function returns a `200 OK` response code and a [cloudPcSourceDeviceImage](../resources/cloudpcsourcedeviceimage.md)collection in the response body.
55
+
If successful, this function returns a `200 OK` response code and a collection of [cloudPcSourceDeviceImage](../resources/cloudpcsourcedeviceimage.md)objects in the response body.
52
56
53
57
## Examples
54
58
55
-
### Request
59
+
### Example 1: Get cloudPcSourceDeviceImage objects without any query parameters
60
+
61
+
The following example shows how to get **cloudPcSourceDeviceImage** objects without any query parameters.
62
+
63
+
#### Request
56
64
57
65
The following example shows a request.
58
66
@@ -93,7 +101,63 @@ GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImag
93
101
94
102
---
95
103
96
-
### Response
104
+
#### Response
105
+
106
+
The following example shows the response.
107
+
108
+
>**Note:** The response object shown here might be shortened for readability.
Copy file name to clipboardExpand all lines: api-reference/beta/resources/cloudpcsourcedeviceimage.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,21 @@ Represents the source image associated with your Azure subscription.
20
20
21
21
|Property|Type|Description|
22
22
|:---|:---|:---|
23
+
|category|[cloudPcSourceImageCategory](#cloudpcsourceimagecategory-values)|The category of the source image that is requested. Possible values are: `managedImage`, `azureComputeGallery`, `unknownFutureValue`. The default value is `managedImage`. Read-only.|
23
24
|displayName|String|The display name for the source image. Read-only.|
24
25
|resourceId|String| The fully qualified unique identifier (ID) of the source image resource in Azure. The ID format is: "/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}". Read-only.|
25
26
|subscriptionDisplayName|String|The display name of the subscription that hosts the source image. Read-only.|
26
27
|subscriptionId|String|The unique identifier (ID) of the subscription that hosts the source image. Read-only.|
27
28
|id (deprecated)|String|The unique identifier (ID) of the source image. Read-only. The **id** property is deprecated and will stop returning data on January 31, 2024. Going forward, use the **resourceId** property.|
28
29
30
+
### cloudPcSourceImageCategory values
31
+
32
+
|Member|Description|
33
+
|:---|:---|
34
+
|managedImage|Indicates that the source image is from a managed image.|
35
+
|azureComputeGallery|Indicates that the source image is from an Azure compute gallery.|
Copy file name to clipboardExpand all lines: changelog/Microsoft.CloudManagedDesktop.json
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,31 @@
1
1
{
2
2
"changelog": [
3
+
{
4
+
"ChangeList": [
5
+
{
6
+
"Id": "b88cc6c6-4eff-4a61-9835-9086446bdcb6",
7
+
"ApiChange": "Enumeration",
8
+
"ChangedApiName": "cloudPcSourceImageCategory",
9
+
"ChangeType": "Addition",
10
+
"Description": "Added the **cloudPcSourceImageCategory** enumeration type.",
11
+
"Target": "cloudPcSourceImageCategory"
12
+
},
13
+
{
14
+
"Id": "b88cc6c6-4eff-4a61-9835-9086446bdcb6",
15
+
"ApiChange": "Property",
16
+
"ChangedApiName": "category",
17
+
"ChangeType": "Addition",
18
+
"Description": "Added the **category** property to the [cloudPcSourceDeviceImage](https://learn.microsoft.com/en-us/graph/api/resources/cloudPcSourceDeviceImage?view=graph-rest-beta) resource.",
Copy file name to clipboardExpand all lines: concepts/whats-new-overview.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ The `TeamsAppInstallation.ManageSelectedForTeam.All` is the least privileged app
44
44
45
45
- Added `mexico` as a new supported value for the **cloudPcGeographicLocationType** enumeration type. This enum is the return type for the **geographicLocationType** property on [cloudPcDomainJoinConfiguration](/graph/api/resources/cloudpcdomainjoinconfiguration?view=graph-rest-beta&preserve-view=true) and [cloudPcSupportedRegion](/graph/api/resources/cloudpcsupportedregion?view=graph-rest-beta&preserve-view=true).
46
46
- Added the `cloudPCInventoryReport` member to the **cloudPcReportName** enumeration type. This enum is the return type for the **reportName** property on [cloudPcExportJob](/graph/api/resources/cloudPcExportJob?view=graph-rest-beta&preserve-view=true), [getFrontlineReport action](/graph/api/resources/cloudpcreports-getfrontlinereport?view=graph-rest-beta&preserve-view=true), and [getCloudPcRecommendationReports action](/graph/api/resources/cloudpcreports-getcloudpcrecommendationreports?view=graph-rest-beta&preserve-view=true).
47
+
- Use the **category** property on [cloudPcSourceDeviceImage](/graph/api/resources/cloudpcsourcedeviceimage?view=graph-rest-beta&preserve-view=true) to get the category of the source image that is requested. For more information, see [Get cloudPcSourceDeviceImage objects with a specific category](/graph/api/cloudpcdeviceimage-getsourceimages?view=graph-rest-beta&preserve-view=true#example-2-get-cloudpcsourcedeviceimage-objects-with-a-specific-category).
0 commit comments