ArmBatchModelFactory.BatchVmContainerConfiguration Method

Definition

The configuration for container-enabled pools.

public static Azure.ResourceManager.Batch.Models.BatchVmContainerConfiguration BatchVmContainerConfiguration(Azure.ResourceManager.Batch.Models.BatchVmContainerType containerType = default, System.Collections.Generic.IEnumerable<string> containerImageNames = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchVmContainerRegistry> containerRegistries = default);
static member BatchVmContainerConfiguration : Azure.ResourceManager.Batch.Models.BatchVmContainerType * seq<string> * seq<Azure.ResourceManager.Batch.Models.BatchVmContainerRegistry> -> Azure.ResourceManager.Batch.Models.BatchVmContainerConfiguration
Public Shared Function BatchVmContainerConfiguration (Optional containerType As BatchVmContainerType = Nothing, Optional containerImageNames As IEnumerable(Of String) = Nothing, Optional containerRegistries As IEnumerable(Of BatchVmContainerRegistry) = Nothing) As BatchVmContainerConfiguration

Parameters

containerType
BatchVmContainerType

The container technology to be used.

containerImageNames
IEnumerable<String>

This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.

containerRegistries
IEnumerable<BatchVmContainerRegistry>

If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

Returns

A new BatchVmContainerConfiguration instance for mocking.

Applies to