次の方法で共有


Device Group - Get In Product

指定した名前の Product 内の指定した名前を持つ DeviceGroup を取得します。

GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/products/name/{productName}/deviceGroups/name/{deviceGroupName}

URI パラメーター

名前 / 必須 説明
deviceGroupName
path True

string

DeviceGroup の名前。

productName
path True

string

デバイス グループが存在する Product の名前。

tenantId
path True

string

uuid

Azure Sphere テナント ID。

応答

名前 説明
200 OK

DeviceGroupV2

成功しました。

Get device group in product

Sample Request

GET https://prod.core.sphere.azure.net/v2/tenants/768c2cd6-1bf0-4521-9f53-084a331d81cb/products/name/Dishwasher/deviceGroups/name/US region

Sample Response

{
  "Id": "c4b1067f-10be-479a-85e9-d062dae189e1",
  "TenantId": "768c2cd6-1bf0-4521-9f53-084a331d81cb",
  "OsFeedType": 0,
  "ProductId": "b0ba65bc-648f-4213-a910-cbeb6024c744",
  "Name": "US region",
  "Description": "United States marketing region",
  "CurrentDeployment": null,
  "UpdatePolicy": 0,
  "AllowCrashDumpsCollection": false
}

定義

名前 説明
Deployment
DeviceGroupV2

Deployment

名前 説明
DeployedImages

string[]

現在このデプロイ中のイメージの ID。

DeploymentDateUtc

string

デプロイが作成された DateTime。

Id

string

デプロイの一意の ID。

TenantId

string

デプロイを所有するテナントの一意の ID。

DeviceGroupV2

名前 説明
AllowCrashDumpsCollection

boolean

特定のデバイス グループのクラッシュ ダンプ コレクションを有効にします

CurrentDeployment

Deployment

Description

string

デバイス グループの説明。

Id

string

デバイス グループの一意の ID。

Name

string

デバイス グループの名前。

OsFeedType enum:
  • 0 - Retail
  • 1 - RetailEval

このデバイス グループが OS 更新プログラムに使用する osfeed の種類。

ProductId

string

このデバイス グループが属している製品の一意の ID。

TenantId

string

デバイス グループを所有するテナントの一意の ID。

UpdatePolicy enum:
  • 0 - UpdateAll
  • 1 - No3rdPartyAppUpdates

更新するソフトウェアを決定する更新ポリシー。