Compartilhar via


ArmMachineLearningModelFactory.DockerCredential(String, String) Method

Definition

Initializes a new instance of DockerCredential.

public static Azure.ResourceManager.MachineLearning.Models.DockerCredential DockerCredential (string userName = default, string password = default);
static member DockerCredential : string * string -> Azure.ResourceManager.MachineLearning.Models.DockerCredential
Public Shared Function DockerCredential (Optional userName As String = Nothing, Optional password As String = Nothing) As DockerCredential

Parameters

userName
String

DockerCredential user name.

password
String

DockerCredential user password.

Returns

A new DockerCredential instance for mocking.

Applies to