共用方式為


Device Group - List

取得所有 DeviceGroups。

GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/devicegroups
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/devicegroups?maxPageSize={maxPageSize}

URI 參數

名稱 位於 必要 類型 Description
tenantId
path True

string

uuid

Azure Sphere 租使用者識別碼。

maxPageSize
query

integer

int32

回應中應包含的結果數目上限。

要求標頭

名稱 必要 類型 Description
Sphere-Continuation

string

用來繼續上一頁結果的接續權杖。

回應

名稱 類型 Description
200 OK

DeviceGroupV2ItemCollectionResponse

成功。

定義

名稱 Description
Deployment
DeviceGroupV2
DeviceGroupV2ItemCollectionResponse

Deployment

名稱 類型 Description
DeployedImages

string[]

目前在此部署中的映射識別碼。

DeploymentDateUtc

string

部署建立的 DateTime。

Id

string

部署的唯一識別碼。

TenantId

string

擁有部署之租使用者的唯一識別碼。

DeviceGroupV2

名稱 類型 Description
AllowCrashDumpsCollection

boolean

啟用指定裝置群組的損毀傾印收集

CurrentDeployment

Deployment

Description

string

裝置群組的描述。

Id

string

裝置群組的唯一識別碼。

Name

string

裝置群組的名稱。

OsFeedType enum:
  • 0 - Retail
  • 1 - RetailEval

此裝置群組用於 OS 更新的 osfeed 類型。

ProductId

string

此裝置群組所屬產品的唯一識別碼。

TenantId

string

擁有裝置群組之租使用者的唯一識別碼。

UpdatePolicy enum:
  • 0 - UpdateAll
  • 1 - No3rdPartyAppUpdates

決定更新軟體的更新原則。

DeviceGroupV2ItemCollectionResponse

名稱 類型 Description
ContinuationToken

string

可用來取得下一組專案的接續權杖。

Items

DeviceGroupV2[]

專案清單。