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


Images - List By Dev Center

Egy devcenter rendszerképeinek listája.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/images?api-version=2024-02-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/images?api-version=2024-02-01&$top={$top}

URI-paraméterek

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

string

minLength: 3
maxLength: 26
pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$

A devcenter neve.

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ó.

$top
query

integer (int32)

A műveletből visszatérni kívánt erőforrások maximális száma. Példa: "$top=10".

Válaszok

Name Típus Description
200 OK

ImageListResult

OKÉ. A kérés sikeres volt.

Other Status Codes

ErrorResponse

Hibaválasz, amely leírja, hogy miért nem sikerült a művelet.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

Images_ListByDevCenter

Mintakérelem

GET https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/images?api-version=2024-02-01

Mintaválasz

{
  "value": [
    {
      "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage",
      "name": "ContosoBaseImage",
      "type": "Microsoft.DevCenter/devcenters/galleries/images",
      "properties": {
        "description": "Windows 10 Enterprise + OS Optimizations 1909",
        "publisher": "MicrosoftWindowsDesktop",
        "offer": "windows-ent-cpc",
        "sku": "19h2-ent-cpc-os-g2",
        "recommendedMachineConfiguration": {
          "memory": {
            "min": 128,
            "max": 256
          },
          "vCPUs": {
            "min": 2,
            "max": 4
          }
        },
        "provisioningState": "Succeeded"
      },
      "systemData": {
        "createdBy": "user1",
        "createdByType": "User",
        "createdAt": "2020-11-18T18:00:36.993Z",
        "lastModifiedBy": "user1",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2020-11-18T18:30:36.993Z"
      }
    },
    {
      "id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/DevGallery/images/ContosoBaseImage2",
      "name": "ContosoBaseImage2",
      "type": "Microsoft.DevCenter/devcenters/galleries/images",
      "properties": {
        "description": "Standard Windows Dev/Test image.",
        "publisher": "Contoso",
        "offer": "Finance",
        "sku": "Backend",
        "recommendedMachineConfiguration": {
          "memory": {
            "min": 256,
            "max": 512
          },
          "vCPUs": {
            "min": 4,
            "max": 8
          }
        }
      },
      "systemData": {
        "createdBy": "user1",
        "createdByType": "User",
        "createdAt": "2020-11-18T18:00:36.993Z",
        "lastModifiedBy": "user1",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2020-11-18T18:30:36.993Z"
      }
    }
  ]
}

Definíciók

Name Description
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

HibernateSupport

Azt jelzi, hogy a hibernálás engedélyezve vagy letiltva van-e.

Image

Egy képet jelöl.

ImageListResult

A képlista művelet eredményei.

ProvisioningState

Az erőforrás kiépítési állapota.

RecommendedMachineConfiguration

Az ajánlott gépkonfiguráció tulajdonságai.

ResourceRange

Egy értéktartomány tulajdonságai.

systemData

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

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.

HibernateSupport

Azt jelzi, hogy a hibernálás engedélyezve vagy letiltva van-e.

Érték Description
Disabled
Enabled

Image

Egy képet jelöl.

Name Típus Description
id

string (arm-id)

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.description

string

A kép leírása.

properties.hibernateSupport

HibernateSupport

Azt jelzi, hogy engedélyezve van-e a kép hibernálása. Nem minden kép képes támogatni a hibernálást. További információ: https://aka.ms/devbox/hibernate

properties.offer

string

A képajánlat neve.

properties.provisioningState

ProvisioningState

Az erőforrás kiépítési állapota.

properties.publisher

string

A kép közzétevője.

properties.recommendedMachineConfiguration

RecommendedMachineConfiguration

A rendszerképhez ajánlott gépkonfiguráció.

properties.sku

string

A kép termékváltozatának neve.

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"

ImageListResult

A képlista művelet eredményei.

Name Típus Description
nextLink

string

URL-cím a következő találatkészlet lekéréséhez, ha vannak ilyenek.

value

Image[]

Az eredmények aktuális lapja.

ProvisioningState

Az erőforrás kiépítési állapota.

Érték Description
Accepted
Canceled
Created
Creating
Deleted
Deleting
Failed
MovingResources
NotSpecified
RolloutInProgress
Running
StorageProvisioningFailed
Succeeded
TransientFailure
Updated
Updating

RecommendedMachineConfiguration

Az ajánlott gépkonfiguráció tulajdonságai.

Name Típus Description
memory

ResourceRange

Ajánlott memóriatartomány.

vCPUs

ResourceRange

Ajánlott vCPU-tartomány.

ResourceRange

Egy értéktartomány tulajdonságai.

Name Típus Description
max

integer (int32)

Maximális érték.

min

integer (int32)

Minimális érték.

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.