ArmContainerInstanceModelFactory.ContainerGroupImageRegistryCredential Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential ContainerGroupImageRegistryCredential(string server = default, string username = default, string password = default, string passwordReference = default, string identity = default, Uri identityUri = default);
static member ContainerGroupImageRegistryCredential : string * string * string * string * string * Uri -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential
Public Shared Function ContainerGroupImageRegistryCredential (Optional server As String = Nothing, Optional username As String = Nothing, Optional password As String = Nothing, Optional passwordReference As String = Nothing, Optional identity As String = Nothing, Optional identityUri As Uri = Nothing) As ContainerGroupImageRegistryCredential

Parameters

server
String

The Docker image registry server without a protocol such as "http" and "https".

username
String

The username for the private registry.

password
String

The password for the private registry.

passwordReference
String

The reference for the private registry password.

identity
String

The identity for the private registry.

identityUri
Uri

The identity URL for the private registry.

Returns

A new ContainerGroupImageRegistryCredential instance for mocking.

Applies to