ImageReference Class
The OS image reference.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ImageReference
Constructor
ImageReference(*, publisher: str, offer: str, sku: str, version: Optional[str] = None, virtual_machine_image_id: Optional[str] = None, **kwargs)
Parameters
- virtual_machine_image_id
- str
The ARM resource identifier of the virtual machine image for the compute nodes. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}. The virtual machine image must be in the same region and subscription as the cluster. 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. Note, you need to provide publisher, offer and sku of the base OS image of which the custom image has been derived from.
Feedback
Submit and view feedback for