class Azure::Batch::Mgmt::V2019_08_01::Models::ImageReference
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.
Attributes
@return [String] The ARM resource identifier of the Virtual Machine Image or Shared Image Gallery Image. Compute Nodes of the Pool
will be created using this Image Id. This is of either the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName} for Virtual Machine Image or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId} for SIG image. This property is mutually exclusive with other properties. For Virtual Machine Image it must be in the same region and subscription as the Azure
Batch
account. For SIG image it 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 docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
@return [String] The offer type of the Azure
Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
@return [String] The publisher of the Azure
Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
@return [String] The SKU of the Azure
Virtual Machines Marketplace image. For example, 18.04-LTS or 2019-Datacenter.
@return [String] The version of the Azure
Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
Private Class Methods
Mapper for ImageReference
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01/generated/azure_mgmt_batch/models/image_reference.rb, line 56 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: false, serialized_name: 'publisher', type: { name: 'String' } }, offer: { client_side_validation: true, required: false, serialized_name: 'offer', type: { name: 'String' } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } } } } } end