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 |
---|---|---|---|---|
dev
|
path | True |
string minLength: 3maxLength: 26 pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{2,25}$ |
A devcenter neve. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
subscription
|
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 |
OKÉ. A kérés sikeres volt. |
|
Other Status Codes |
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 |
---|---|
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 |
Hibernate |
Azt jelzi, hogy a hibernálás engedélyezve vagy letiltva van-e. |
Image |
Egy képet jelöl. |
Image |
A képlista művelet eredményei. |
Provisioning |
Az erőforrás kiépítési állapota. |
Recommended |
Az ajánlott gépkonfiguráció tulajdonságai. |
Resource |
Egy értéktartomány tulajdonságai. |
system |
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 |
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. |
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 |
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 |
Az erőforrás kiépítési állapota. |
|
properties.publisher |
string |
A kép közzétevője. |
properties.recommendedMachineConfiguration |
A rendszerképhez ajánlott gépkonfiguráció. |
|
properties.sku |
string |
A kép termékváltozatának neve. |
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 |
Ajánlott memóriatartomány. |
|
vCPUs |
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 |
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 |
Az erőforrást legutóbb módosító identitás típusa. |