Share via


ArmContainerInstanceModelFactory.CachedImages(String, String) Method

Definition

Initializes a new instance of CachedImages.

public static Azure.ResourceManager.ContainerInstance.Models.CachedImages CachedImages (string osType = default, string image = default);
static member CachedImages : string * string -> Azure.ResourceManager.ContainerInstance.Models.CachedImages
Public Shared Function CachedImages (Optional osType As String = Nothing, Optional image As String = Nothing) As CachedImages

Parameters

osType
String

The OS type of the cached image.

image
String

The cached image name.

Returns

A new CachedImages instance for mocking.

Exceptions

osType or image is null.

Applies to