Compartir a través de


Image - List Images For Tenant

Enumere imágenes para el identificador de inquilino de Azure Sphere especificado.

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

Parámetros de identificador URI

Nombre En Requerido Tipo Description
tenantId
path True

string

uuid

Identificador de inquilino de Azure Sphere.

maxPageSize
query

integer

int32

Número máximo de resultados que se deben incluir en la respuesta.

Encabezado de la solicitud

Nombre Requerido Tipo Description
Sphere-Continuation

string

Token de continuación que se usa para continuar desde una página anterior de resultados.

Respuestas

Nombre Tipo Description
200 OK

ImageMetadataItemCollectionResponse

Correcto.

Ejemplos

List all images for the specified tenant

Sample Request

GET https://prod.core.sphere.azure.net/v2/tenants/768c2cd6-1bf0-4521-9f53-084a331d81cb/images

Sample Response

{
  "Items": [
    {
      "Id": "583d37d2-dc16-441f-b927-933edd4c1085",
      "Name": "RefrigeratorRealTimeApp",
      "ComponentId": "005180bc-402f-4cb3-a662-72937dbcde47",
      "Description": null,
      "ImageType": 10,
      "Type": 10
    },
    {
      "Id": "a43206c8-f384-44a2-84ad-c86ce2937a3e",
      "Name": "RefrigeratorHighLevelApp",
      "ComponentId": "25025d2c-66da-4448-bae1-ac26fcdd3627",
      "Description": null,
      "ImageType": 10,
      "Type": 10
    },
    {
      "Id": "985453bb-eb5c-4ff2-8e06-aef4786ac445",
      "Name": "DishwasherHighLevelApp",
      "ComponentId": "45f4d635-1ac8-4fc3-b386-ffb74f13331f",
      "Description": null,
      "ImageType": 10,
      "Type": 10
    }
  ],
  "ContinuationToken": null
}

Definiciones

Nombre Description
ImageMetadata
ImageMetadataItemCollectionResponse

ImageMetadata

Nombre Tipo Description
ComponentId

string

Obtiene o establece el identificador del componente.

Description

string

Obtiene o establece la información que describe la imagen.

Id

string

Obtiene o establece el identificador de imagen.

ImageType

integer

Esta propiedad está desusada. Use ImageMetadata.Type.

Name

string

Obtiene o establece el nombre de la imagen.

Type enum:
  • 0 - InvalidImageType
  • 1 - OneBl
  • 10 - Applications
  • 13 - FwConfig
  • 16 - BootManifest
  • 17 - Nwfs
  • 19 - TrustedKeystore
  • 2 - PlutonRuntime
  • 20 - Policy
  • 21 - CustomerBoardConfig
  • 22 - UpdateCertStore
  • 23 - BaseSystemUpdateManifest
  • 24 - FirmwareUpdateManifest
  • 25 - CustomerUpdateManifest
  • 26 - RecoveryManifest
  • 27 - ManifestSet
  • 28 - Other
  • 3 - WifiFirmware
  • 4 - SecurityMonitor
  • 5 - NormalWorldLoader
  • 6 - NormalWorldDtb
  • 7 - NormalWorldKernel
  • 8 - RootFs
  • 9 - Services

Obtiene o establece el tipo de la imagen.

ImageMetadataItemCollectionResponse

Nombre Tipo Description
ContinuationToken

string

Token de continuación que se puede usar para obtener el siguiente conjunto de elementos.

Items

ImageMetadata[]

Lista de elementos.