Code Versions - List
Listaverziók.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions?api-version=2023-10-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions?api-version=2023-10-01&$orderBy={$orderBy}&$top={$top}&$skip={$skip}&hash={hash}&hashVersion={hashVersion}
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
name
|
path | True |
string |
Tároló neve. Ez a kis- és nagybetűk megkülönböztetése. |
resource
|
path | True |
string |
Az erőforráscsoport neve. A név megkülönbözteti a kis- és nagybetűket. |
subscription
|
path | True |
string |
A cél-előfizetés azonosítója. |
workspace
|
path | True |
string |
Az Azure Machine Learning-munkaterület neve. Regex pattern: |
api-version
|
query | True |
string |
A művelethez használandó API-verzió. |
$order
|
query |
string |
A lista sorrendje. |
|
$skip
|
query |
string |
Folytatási jogkivonat lapozáshoz. |
|
$top
|
query |
integer int32 |
A visszaadandó rekordok maximális száma. |
|
hash
|
query |
string |
Ha meg van adva, adja vissza a megadott tartalomkivonat-értékkel rendelkező CodeVersion-objektumokat, névtől függetlenül |
|
hash
|
query |
string |
Kivonat algoritmus verziója kivonat alapján történő listázáskor |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
Hiba |
Példák
List Workspace Code Version.
Sample Request
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/codes/string/versions?api-version=2023-10-01&$orderBy=string&$top=1
Sample Response
{
"value": [
{
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"properties": {
"string": "string"
},
"isAnonymous": false,
"codeUri": "https://blobStorage/folderName"
},
"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 |
---|---|
Asset |
A beállításjegyzék-objektum kiépítési állapota. |
Code |
Kódeszköz verziójának részletei. |
Code |
Azure Resource Manager erőforrás-boríték. |
Code |
A CodeVersion-entitások lapszámozott listája. |
created |
Az erőforrást létrehozó identitás típusa. |
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Error |
Hibaválasz |
system |
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.
Name | Típus | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |
CodeVersion
Kódeszköz verziójának részletei.
Name | Típus | Alapértelmezett érték | Description |
---|---|---|---|
codeUri |
string |
Uri, ahol a kód található |
|
description |
string |
Az eszköz leírásának szövege. |
|
isAnonymous |
boolean |
False |
Ha a név verziója rendszer jön létre (névtelen regisztráció). |
isArchived |
boolean |
False |
Archiválva van az eszköz? |
properties |
object |
Az eszköztulajdonság szótára. |
|
provisioningState |
A kódverzió 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. |
CodeVersionResource
Azure Resource Manager erőforrás-borí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 |
[Kötelező] Az entitás további attribútumai. |
|
systemData |
Az Azure Resource Manager createdBy és modifiedBy adatokat tartalmazó metaadatok. |
|
type |
string |
Az erőforrás típusa. Például "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts" |
CodeVersionResourceArmPaginatedResult
A CodeVersion-entitások lapszámozott listája.
Name | Típus | Description |
---|---|---|
nextLink |
string |
A CodeVersion-objektumok következő oldalára mutató hivatkozás. Null érték esetén nincsenek további lapok. |
value |
CodeVersion típusú objektumok tömbje. |
createdByType
Az erőforrást létrehozó identitás típusa.
Name | Típus | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
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 |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hibacél. |
ErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
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 |
Az erőforrás-létrehozás időbélyege (UTC). |
createdBy |
string |
Az erőforrást létrehozó identitás. |
createdByType |
Az erőforrást létrehozó identitás típusa. |
|
lastModifiedAt |
string |
Az erőforrás utolsó módosításának időbélyege (UTC) |
lastModifiedBy |
string |
Az az identitás, amely legutóbb módosította az erőforrást. |
lastModifiedByType |
Az erőforrást legutóbb módosító identitás típusa. |