ImageReference Class

A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.

Inheritance
ImageReference

Constructor

ImageReference(*, publisher: str = None, offer: str = None, sku: str = None, version: str = None, id: str = None, **kwargs) -> None

Parameters

publisher
str

For example, Canonical or MicrosoftWindowsServer.

offer
str

For example, UbuntuServer or WindowsServer.

sku
str

For example, 18.04-LTS or 2019-Datacenter.

version
str

A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.

id
str

This property is mutually exclusive with other properties. The Shared Image Gallery image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.