class Azure::BatchAI::Mgmt::V2018_05_01::Models::ImageReference
The OS image reference.
Attributes
@return [String] Offer. Offer of the image.
@return [String] Publisher. Publisher of the image.
@return [String] SKU. SKU of the image.
@return [String] Version. Version of the image.
@return [String] Custom VM image resource ID. 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 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.
Private Class Methods
Mapper for ImageReference
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-05-01/generated/azure_mgmt_batchai/models/image_reference.rb, line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { name: 'Composite', class_name: 'ImageReference', model_properties: { publisher: { client_side_validation: true, required: true, serialized_name: 'publisher', type: { name: 'String' } }, offer: { client_side_validation: true, required: true, serialized_name: 'offer', type: { name: 'String' } }, sku: { client_side_validation: true, required: true, serialized_name: 'sku', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } }, virtual_machine_image_id: { client_side_validation: true, required: false, serialized_name: 'virtualMachineImageId', type: { name: 'String' } } } } } end