Virtual Machine Images - List Offers

Belirtilen konum ve yayımcı için sanal makine görüntüsü tekliflerinin listesini alır.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers?api-version=2024-03-01

URI Parametreleri

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

string

Desteklenen bir Azure bölgesinin adı.

publisherName
path True

string

Geçerli bir görüntü yayımcısı.

subscriptionId
path True

string

Microsoft Azure aboneliğini benzersiz olarak tanımlayan abonelik kimlik bilgileri. Abonelik kimliği, her hizmet çağrısı için URI'nin bir parçasını oluşturur.

api-version
query True

string

İstemci Api Sürümü.

Yanıtlar

Name Tür Description
200 OK

VirtualMachineImageResource[]

Tamam

Other Status Codes

CloudError

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

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

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

VirtualMachineImage_ListOffers_MaximumSet_Gen
VirtualMachineImage_ListOffers_MinimumSet_Gen

VirtualMachineImage_ListOffers_MaximumSet_Gen

Sample Request

GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/locations/aaaaaaa/publishers/aaaaaaaa/artifacttypes/vmimage/offers?api-version=2024-03-01

Sample Response

[
  {
    "name": "aaaaaaaa",
    "location": "aaaaaaaaaaaaaaaaaa",
    "tags": {
      "key7868": "aaaaa"
    },
    "extendedLocation": {
      "name": "aaaaaaaaaaaaaaaaaaaaa",
      "type": "EdgeZone"
    },
    "id": "aaaaaaaaaaa"
  }
]

VirtualMachineImage_ListOffers_MinimumSet_Gen

Sample Request

GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/locations/aaaaaaaaaaaaaaaaa/publishers/aaaaaaaaaaaaaaaaaaaaaaaaaaaa/artifacttypes/vmimage/offers?api-version=2024-03-01

Sample Response

[
  {
    "name": "aaaaaaaa",
    "location": "aaaaaaaaaaaaaaaaaa",
    "id": "aaaaaaaaaaa"
  }
]

Tanımlar

Name Description
ApiError

Api hatası.

ApiErrorBase

Api hata tabanı.

CloudError

İşlem hizmetinden bir hata yanıtı.

ExtendedLocation

Genişletilmiş konumun karmaşık türü.

ExtendedLocationTypes

Genişletilmiş konumun türü.

InnerError

İç hata ayrıntıları.

VirtualMachineImageResource

Sanal makine görüntüsü kaynak bilgileri.

ApiError

Api hatası.

Name Tür Description
code

string

Hata kodu.

details

ApiErrorBase[]

Api hata ayrıntıları

innererror

InnerError

Api iç hatası

message

string

Hata iletisi.

target

string

Belirli bir hatanın hedefi.

ApiErrorBase

Api hata tabanı.

Name Tür Description
code

string

Hata kodu.

message

string

Hata iletisi.

target

string

Belirli bir hatanın hedefi.

CloudError

İşlem hizmetinden bir hata yanıtı.

Name Tür Description
error

ApiError

Api hatası.

ExtendedLocation

Genişletilmiş konumun karmaşık türü.

Name Tür Description
name

string

Genişletilmiş konumun adı.

type

ExtendedLocationTypes

Genişletilmiş konumun türü.

ExtendedLocationTypes

Genişletilmiş konumun türü.

Name Tür Description
EdgeZone

string

InnerError

İç hata ayrıntıları.

Name Tür Description
errordetail

string

İç hata iletisi veya özel durum dökümü.

exceptiontype

string

Özel durum türü.

VirtualMachineImageResource

Sanal makine görüntüsü kaynak bilgileri.

Name Tür Description
extendedLocation

ExtendedLocation

Sanal Makinenin genişletilmiş konumu.

id

string

Kaynak Kimliği

location

string

Kaynağın desteklenen Azure konumu.

name

string

Kaynağın adı.

tags

object

Sanal makineye atanan etiketleri belirtir. Etiketleri kullanma hakkında daha fazla bilgi için bkz. Azure kaynaklarınızı düzenlemek için etiketleri kullanma.