Partilhar via


ComputeBatchModelFactory.BatchSupportedImage Method

Definition

Initializes a new instance of BatchSupportedImage.

public static Azure.Compute.Batch.BatchSupportedImage BatchSupportedImage (string nodeAgentSkuId = default, Azure.Compute.Batch.ImageReference imageReference = default, Azure.Compute.Batch.OSType osType = default, System.Collections.Generic.IEnumerable<string> capabilities = default, DateTimeOffset? batchSupportEndOfLife = default, Azure.Compute.Batch.ImageVerificationType verificationType = default);
static member BatchSupportedImage : string * Azure.Compute.Batch.ImageReference * Azure.Compute.Batch.OSType * seq<string> * Nullable<DateTimeOffset> * Azure.Compute.Batch.ImageVerificationType -> Azure.Compute.Batch.BatchSupportedImage
Public Shared Function BatchSupportedImage (Optional nodeAgentSkuId As String = Nothing, Optional imageReference As ImageReference = Nothing, Optional osType As OSType = Nothing, Optional capabilities As IEnumerable(Of String) = Nothing, Optional batchSupportEndOfLife As Nullable(Of DateTimeOffset) = Nothing, Optional verificationType As ImageVerificationType = Nothing) As BatchSupportedImage

Parameters

nodeAgentSkuId
String

The ID of the Compute Node agent SKU which the Image supports.

imageReference
ImageReference

The reference to the Azure Virtual Machine's Marketplace Image.

osType
OSType

The type of operating system (e.g. Windows or Linux) of the Image.

capabilities
IEnumerable<String>

The capabilities or features which the Image supports. Not every capability of the Image is listed. Capabilities in this list are considered of special interest and are generally related to integration with other features in the Azure Batch service.

batchSupportEndOfLife
Nullable<DateTimeOffset>

The time when the Azure Batch service will stop accepting create Pool requests for the Image.

verificationType
ImageVerificationType

Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU.

Returns

A new BatchSupportedImage instance for mocking.

Applies to