ArmMachineLearningComputeModelFactory.ContainerRegistryCredentials Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET