Code Containers - List

Tárolók listázása.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes?api-version=2023-10-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes?api-version=2023-10-01&$skip={$skip}

URI-paraméterek

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

string

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

subscriptionId
path True

string

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

workspaceName
path True

string

Az Azure Machine Learning-munkaterület neve.

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

api-version
query True

string

A művelethez használandó API-verzió.

$skip
query

string

Folytatási jogkivonat a tördeléshez.

Válaszok

Name Típus Description
200 OK

CodeContainerResourceArmPaginatedResult

Success

Other Status Codes

ErrorResponse

Hiba

Példák

List Workspace Code Container.

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes?api-version=2023-10-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer",
      "name": "testContainer",
      "type": "Microsoft.MachineLearningServices/workspaces/codes",
      "properties": {
        "description": "string",
        "tags": {
          "property1": "string",
          "property2": "string"
        }
      },
      "systemData": {
        "createdAt": "2020-08-01T12:00:00.000Z",
        "createdBy": "John Smith",
        "createdByType": "User",
        "lastModifiedAt": "2020-08-01T12:00:00.000Z",
        "lastModifiedBy": "John Smith",
        "lastModifiedByType": "User"
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer2",
      "name": "testContainer2",
      "type": "Microsoft.MachineLearningServices/workspaces/codes",
      "properties": {
        "description": "string",
        "tags": {
          "property1": "string",
          "property2": "string"
        }
      },
      "systemData": {
        "createdAt": "2020-08-01T12:00:00.000Z",
        "createdBy": "John Smith",
        "createdByType": "User",
        "lastModifiedAt": "2020-08-01T12:00:00.000Z",
        "lastModifiedBy": "John Smith",
        "lastModifiedByType": "User"
      }
    }
  ],
  "nextLink": "string"
}

Definíciók

Name Description
AssetProvisioningState

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

CodeContainer

Kódobjektum-verziók tárolója.

CodeContainerResource

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

CodeContainerResourceArmPaginatedResult

A CodeContainer-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.

Name Típus Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

CodeContainer

Kódobjektum-verziók tárolója.

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

string

Az objektum leírásának szövege.

isArchived

boolean

False

Archiválva van az eszköz?

latestVersion

string

A tárolóban található legújabb verzió.

nextVersion

string

A következő automatikus növekményes verzió

properties

object

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

provisioningState

AssetProvisioningState

A kódtároló 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.

CodeContainerResource

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. Például : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Az erőforrás neve

properties

CodeContainer

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

systemData

systemData

Az Azure Resource Manager createdBy és modifiedBy adatokat tartalmazó metaadatokat.

type

string

Az erőforrás típusa. Például"Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

CodeContainerResourceArmPaginatedResult

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

Name Típus Description
nextLink

string

A CodeContainer-objektumok következő oldalára mutató hivatkozás. Ha null, nincsenek további lapok.

value

CodeContainerResource[]

A CodeContainer 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 adattí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 hiba célja.

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

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

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

lastModifiedBy

string

Az erőforrást utoljára módosító identitás.

lastModifiedByType

createdByType

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