Megosztás a következőn keresztül:


Registry Component Versions - List

Listaverziók.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions?api-version=2024-10-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions?api-version=2024-10-01&$orderBy={$orderBy}&$top={$top}&$skip={$skip}

URI-paraméterek

Name In Kötelező Típus Description
componentName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$

Tároló neve.

registryName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]{2,32}$

Az Azure Machine Learning beállításjegyzékének neve. Ez nem érzékeny a kis- és nagybetűkre

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket.

subscriptionId
path True

string

minLength: 1

A cél-előfizetés azonosítója.

api-version
query True

string

minLength: 1

A művelethez használni kívánt API-verzió.

$orderBy
query

string

A lista sorrendje.

$skip
query

string

Folytatási jogkivonat lapozáshoz.

$top
query

integer (int32)

A visszaadandó rekordok maximális száma.

Válaszok

Name Típus Description
200 OK

ComponentVersionResourceArmPaginatedResult

Siker

Other Status Codes

ErrorResponse

Hiba

Példák

List Registry Component Version.

Mintakérelem

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/registries/my-aml-registry/components/string/versions?api-version=2024-10-01&$orderBy=string&$top=1

Mintaválasz

{
  "value": [
    {
      "id": "string",
      "name": "string",
      "type": "string",
      "properties": {
        "description": "string",
        "tags": {
          "string": "string"
        },
        "properties": {
          "string": "string"
        },
        "isAnonymous": false,
        "componentSpec": {
          "50acbce5-cccc-475a-8ac6-c4da402afbd8": null
        }
      },
      "systemData": {
        "createdAt": "2020-01-01T12:34:56.999Z",
        "createdBy": "string",
        "createdByType": "User",
        "lastModifiedAt": "2020-01-01T12:34:56.999Z",
        "lastModifiedBy": "string",
        "lastModifiedByType": "User"
      }
    }
  ],
  "nextLink": "string"
}

Definíciók

Name Description
AssetProvisioningState

A beállításjegyzék-objektum kiépítési állapota.

ComponentVersion

Az összetevőverzió definíciója: az összetevők típusaira kiterjedő erőforrásokat határoz meg.

ComponentVersionResource

Azure Resource Manager-erőforrásboríték.

ComponentVersionResourceArmPaginatedResult

A ComponentVersion-entitások lapszámozott listája.

createdByType

Az erőforrást létrehozó identitás típusa.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

AssetProvisioningState

A beállításjegyzék-objektum kiépítési állapota.

Érték Description
Canceled
Creating
Deleting
Failed
Succeeded
Updating

ComponentVersion

Az összetevőverzió definíciója: az összetevők típusaira kiterjedő erőforrásokat határoz meg.

Name Típus Alapértelmezett érték Description
componentSpec

object

Meghatározza az összetevődefiníció részleteit.

description

string

Az eszköz leírásának szövege.

isAnonymous

boolean

False

Ha a név verziója rendszer generálva van (névtelen regisztráció).

isArchived

boolean

False

Archiválva van az objektum?

properties

object

Az eszköztulajdonság szótára.

provisioningState

AssetProvisioningState

Az összetevő verziójának kiépítési állapota.

tags

object

Címkeszótár. A címkék hozzáadhatók, eltávolíthatók és frissíthetők.

ComponentVersionResource

Azure Resource Manager-erőforrásboríték.

Name Típus Description
id

string

Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Az erőforrás neve

properties

ComponentVersion

[Kötelező] Az entitás további attribútumai.

systemData

systemData

A createdBy és a modifiedBy adatokat tartalmazó Azure Resource Manager-metaadatok.

type

string

Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

ComponentVersionResourceArmPaginatedResult

A ComponentVersion-entitások lapszámozott listája.

Name Típus Description
nextLink

string

A ComponentVersion-objektumok következő oldalára mutató hivatkozás. Null érték esetén nincsenek további lapok.

value

ComponentVersionResource[]

ComponentVersion típusú objektumok tömbje.

createdByType

Az erőforrást létrehozó identitás típusa.

Érték Description
Application
Key
ManagedIdentity
User

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Name Típus Description
createdAt

string (date-time)

Az erőforrás-létrehozás időbélyege (UTC).

createdBy

string

Az erőforrást létrehozó identitás.

createdByType

createdByType

Az erőforrást létrehozó identitás típusa.

lastModifiedAt

string (date-time)

Az erőforrás utolsó módosításának időbélyege (UTC)

lastModifiedBy

string

Az erőforrást legutóbb módosító identitás.

lastModifiedByType

createdByType

Az erőforrást legutóbb módosító identitás típusa.