Share via


ArmMachineLearningComputeModelFactory.ContainerRegistryCredentials Method

Definition

Initializes a new instance of ContainerRegistryCredentials.

public static Azure.ResourceManager.MachineLearningCompute.Models.ContainerRegistryCredentials ContainerRegistryCredentials (string loginServer = default, string password = default, string password2 = default, string username = default);
static member ContainerRegistryCredentials : string * string * string * string -> Azure.ResourceManager.MachineLearningCompute.Models.ContainerRegistryCredentials
Public Shared Function ContainerRegistryCredentials (Optional loginServer As String = Nothing, Optional password As String = Nothing, Optional password2 As String = Nothing, Optional username As String = Nothing) As ContainerRegistryCredentials

Parameters

loginServer
String

The ACR login server name. User name is the first part of the FQDN.

password
String

The ACR primary password.

password2
String

The ACR secondary password.

username
String

The ACR login username.

Returns

A new ContainerRegistryCredentials instance for mocking.

Applies to