question

matsujirushi avatar image
1 Vote"
matsujirushi asked ·

UpdatePolicy value of DeviceGroup

Hi,
I create Azure Sphere tool. -> Azure Sphere Explorer

My tool is showing the wrong UpdatePolicy for DeviceGroup.

The following numbers are mapped to a string, is that a mistake?

0 -> No3rdParty
1 -> AppUpdates
2 -> NoUpdates
3 -> UpdateAll

Links:
List of Device Group API doc
Code of my tool
Issue

azure-sphere
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @matsujirushi , Yes, I do have the same experience, so please stay tuned on this issue. I am checking with my team.

41611-image.png

The document shows these values as enums, so we want to know the exact enum being returned for each UpdatePolicy?

41400-image.png



1 Vote 1 ·
image.png (114.1 KiB)
image.png (58.1 KiB)

Hello @matsujirushi , Thanks for posting this over here,

We are currently investigating this. Please stay tuned.

0 Votes 0 ·

1 Answer

SatishBoddu-MSFT avatar image
1 Vote"
SatishBoddu-MSFT answered ·

Hello @matsujirushi , Thanks for reaching out to us on this document.

It appears the documentation needs to be updated, I have reached out to the engineering team and will have an update soon next week.

Please stay tuned to this post for further updates.

Update:11/24/2020

Below is the mapping of the enum to the exact UpdatePolicy string:
0 = UpdateAll
1 = No3rdPartyAppUpdates
2 = NoUpdates

Please note that there are only 3 enum values as of now, we will soon update the REST API document.

Thanks,
Satish.

· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The doc is fixed now:

78107-image.png


1 Vote 1 ·
image.png (59.1 KiB)

Hello @matsujirushi , I have updated the response with the latest information, please review and let me know if that helps to unblock your query.

0 Votes 0 ·