Share via


Virtual Machine Images - List Publishers

Gets a list of virtual machine image publishers for the specified Azure location.

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

URI Parameters

Name In Required Typ Description
location
path True

string

The name of a supported Azure region.

subscriptionId
path True

string

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Client Api Version.

Responses

Name Typ Description
200 OK

VirtualMachineImageResource[]

OK

Other Status Codes

CloudError

Error response describing why the operation failed.

Sicherheit

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 impersonate your user account

Examples

VirtualMachineImage_ListPublishers_MaximumSet_Gen
VirtualMachineImage_ListPublishers_MinimumSet_Gen

VirtualMachineImage_ListPublishers_MaximumSet_Gen

Sample request

GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/locations/aaaaa/publishers?api-version=2024-07-01

Sample response

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

VirtualMachineImage_ListPublishers_MinimumSet_Gen

Sample request

GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/locations/aaaaaaaaaaaaaaaaaaaaaaaaaaa/publishers?api-version=2024-07-01

Sample response

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

Definitions

Name Description
ApiError

Api error.

ApiErrorBase

Api error base.

CloudError

An error response from the Compute service.

ExtendedStandort

The complex type of the extended location.

ExtendedStandortTypes

The type of the extended location.

InnerError

Inner error details.

VirtualMachineImageResource

Virtual machine image resource information.

ApiError

Api error.

Name Typ Description
code

string

The error code.

details

ApiErrorBase[]

The Api error details

innererror

InnerError

The Api inner error

message

string

The error message.

target

string

The target of the particular error.

ApiErrorBase

Api error base.

Name Typ Description
code

string

The error code.

message

string

The error message.

target

string

The target of the particular error.

CloudError

An error response from the Compute service.

Name Typ Description
error

ApiError

Api error.

ExtendedStandort

The complex type of the extended location.

Name Typ Description
name

string

The name of the extended location.

type

ExtendedStandortTypes

The type of the extended location.

ExtendedStandortTypes

The type of the extended location.

Name Typ Description
EdgeZone

string

InnerError

Inner error details.

Name Typ Description
errordetail

string

The internal error message or exception dump.

exceptiontype

string

The exception type.

VirtualMachineImageResource

Virtual machine image resource information.

Name Typ Description
extendedLocation

ExtendedStandort

The extended location of the Virtual Machine.

id

string

Resource Id

location

string

The supported Azure location of the resource.

name

string

The name of the resource.

tags

object

Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.