语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmMachineLearningModelFactory.ImageSetting Method

Definition

The ImageSetting.

public static Azure.ResourceManager.MachineLearning.Models.ImageSetting ImageSetting(Azure.ResourceManager.MachineLearning.Models.ImageType? type = default, string reference = default, string version = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member ImageSetting : Nullable<Azure.ResourceManager.MachineLearning.Models.ImageType> * string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.MachineLearning.Models.ImageSetting
Public Shared Function ImageSetting (Optional type As Nullable(Of ImageType) = Nothing, Optional reference As String = Nothing, Optional version As String = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As ImageSetting

Parameters

type
Nullable<ImageType>

Type of the image. Possible values are: docker - For docker images. azureml - For AzureML Environment images (custom and curated).

reference
String

Image reference URL if type is docker. Environment name if type is azureml.

version
String

Version of image being used. If latest then skip this field.

additionalProperties
IDictionary<String,BinaryData>

Returns

A new ImageSetting instance for mocking.

Applies to