Language

ArmAppContainersModelFactory.ContainerAppRegistryCredentials Method

Definition

Container App Private Registry.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppRegistryCredentials ContainerAppRegistryCredentials(string server = default, string username = default, string passwordSecretRef = default, string identity = default);
static member ContainerAppRegistryCredentials : string * string * string * string -> Azure.ResourceManager.AppContainers.Models.ContainerAppRegistryCredentials
Public Shared Function ContainerAppRegistryCredentials (Optional server As String = Nothing, Optional username As String = Nothing, Optional passwordSecretRef As String = Nothing, Optional identity As String = Nothing) As ContainerAppRegistryCredentials

Parameters

server
String

Container Registry Server.

username
String

Container Registry Username.

passwordSecretRef
String

The name of the Secret that contains the registry login password.

identity
String

A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'.

Returns

A new ContainerAppRegistryCredentials instance for mocking.

Applies to