Labs - List Vhds

Özel görüntü oluşturmak için kullanılabilen disk görüntülerini listeleyin.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/listVhds?api-version=2018-09-15

URI Parametreleri

Name İçinde Gerekli Tür Description
name
path True

string

Laboratuvarın adı.

resourceGroupName
path True

string

Kaynak grubunun adı.

subscriptionId
path True

string

Abonelik kimliği.

api-version
query True

string

İstemci API sürümü.

Yanıtlar

Name Tür Description
200 OK

LabVhdList

Tamam

Other Status Codes

CloudError

BadRequest

Güvenlik

azure_auth

OAuth2 Örtük Verme

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Microsoft Azure'a erişme

Örnekler

Labs_ListVhds

Sample Request

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/listVhds?api-version=2018-09-15

Sample Response

{
  "value": [
    {
      "id": "https://{labStorageAccountName}.blob.core.windows.net/vhds/vhd1"
    },
    {
      "id": "https://{labStorageAccountName}.blob.core.windows.net/vhds/vhd2"
    }
  ]
}

Tanımlar

Name Description
CloudError

REST isteğinden hata.

CloudErrorBody

REST isteğindeki bir hatanın gövdesi.

LabVhd

Laboratuvardaki bir VHD'nin özellikleri.

LabVhdList

Bir liste işleminin yanıtı.

CloudError

REST isteğinden hata.

Name Tür Description
error

CloudErrorBody

Oluşan bulut hatası

CloudErrorBody

REST isteğindeki bir hatanın gövdesi.

Name Tür Description
code

string

Hata kodu.

details

CloudErrorBody[]

İç hatalar.

message

string

Hata iletisi.

target

string

Hata hedefi.

LabVhd

Laboratuvardaki bir VHD'nin özellikleri.

Name Tür Description
id

string

VHD için URI.

LabVhdList

Bir liste işleminin yanıtı.

Name Tür Description
nextLink

string

Sonraki sonuç kümesinin bağlantısı.

value

LabVhd[]

Liste işleminin sonuçları.