你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Images - List By Catalog

按目录列出图像资源

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images?api-version=2024-04-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images?api-version=2024-04-01&$filter={$filter}&$top={$top}&$skip={$skip}&$maxpagesize={$maxpagesize}

URI 参数

名称 必需 类型 说明
catalogName
path True

string

pattern: ^[A-Za-z0-9_-]{1,50}$

目录名称

resourceGroupName
path True

string

minLength: 1
maxLength: 90

资源组的名称。 名称不区分大小写。

subscriptionId
path True

string

minLength: 1

目标订阅的 ID。

api-version
query True

string

minLength: 1

用于此作的 API 版本。

$filter
query

string

使用给定表达式筛选结果列表

$maxpagesize
query

integer (int32)

每个页面的结果项的最大数目。

$skip
query

integer (int32)

要跳过的结果项数。

$top
query

integer (int32)

要返回的结果项数。

响应

名称 类型 说明
200 OK

ImageListResult

Azure作已成功完成。

Other Status Codes

ErrorResponse

意外的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
user_impersonation 模拟用户帐户

示例

Images_ListByCatalog

示例请求

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/images?api-version=2024-04-01

示例响应

{
  "value": [
    {
      "id": "00000000-0000-0000-0000-000000000001",
      "name": "MyImage1"
    },
    {
      "id": "00000000-0000-0000-0000-000000000002",
      "name": "MyImage2"
    }
  ]
}

定义

名称 说明
createdByType

创建资源的标识的类型。

ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

Image

属于目录资源的图像资源。

ImageListResult

图像列表作的响应。

ImageType

图像类型值。

ProvisioningState

资源预配状态。

RegionalDataBoundary

区域数据边界值。

systemData

与创建和上次修改资源相关的元数据。

createdByType

创建资源的标识的类型。

说明
Application
Key
ManagedIdentity
User

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

其他信息。

type

string

其他信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

Image

属于目录资源的图像资源。

名称 类型 说明
id

string

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

资源的名称

properties.componentId

string

映像组件 ID。

properties.description

string

图像说明。

properties.image

string

图像创建时显示为 UTF-8 编码的 base 64 字符串。 此字段包含图像读取时的图像 URI。

properties.imageId

string

图像 ID

properties.imageName

string

映像名称

properties.imageType

ImageType

图像类型。

properties.provisioningState

ProvisioningState

上次作的状态。

properties.regionalDataBoundary

RegionalDataBoundary

图像的区域数据边界

properties.uri

string

将图像定位

systemData

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

type

string

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

ImageListResult

图像列表作的响应。

名称 类型 说明
nextLink

string (uri)

指向下一页项的链接

value

Image[]

此页上的图像项

ImageType

图像类型值。

说明
Applications

应用程序映像类型

BaseSystemUpdateManifest

基本系统更新清单映像类型

BootManifest

启动清单映像类型

CustomerBoardConfig

客户板配置映像类型

CustomerUpdateManifest

客户更新清单映像类型

FirmwareUpdateManifest

固件更新清单映像类型

FwConfig

FW 配置映像类型

InvalidImageType

无效图像。

ManifestSet

清单集映像类型

NormalWorldDtb

普通世界 dtb 图像类型

NormalWorldKernel

普通世界内核映像类型

NormalWorldLoader

普通世界加载程序图像类型

Nwfs

Nwfs 图像类型

OneBl

一个 Bl 图像类型

Other

其他图像类型

PlutonRuntime

冥王星图像类型

Policy

策略映像类型

RecoveryManifest

恢复清单映像类型

RootFs

根 FS 映像类型

SecurityMonitor

安全监视器映像类型

Services

服务映像类型

TrustedKeystore

受信任的密钥存储映像类型

UpdateCertStore

更新证书存储映像类型

WifiFirmware

Wifi 固件映像类型

ProvisioningState

资源预配状态。

说明
Accepted

已接受资源创建请求

Canceled

资源创建已取消。

Deleting

正在删除资源

Failed

资源创建失败。

Provisioning

正在预配资源

Succeeded

已创建资源。

Updating

正在更新资源

RegionalDataBoundary

区域数据边界值。

说明
EU

欧盟数据边界

None

无数据边界

systemData

与创建和上次修改资源相关的元数据。

名称 类型 说明
createdAt

string (date-time)

资源创建时间戳(UTC)。

createdBy

string

创建资源的标识。

createdByType

createdByType

创建资源的标识的类型。

lastModifiedAt

string (date-time)

上次修改的资源时间戳(UTC)

lastModifiedBy

string

上次修改资源的标识。

lastModifiedByType

createdByType

上次修改资源的标识的类型。