ArmAppContainersModelFactory.SessionRegistryCredentials 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.
Session pool private registry credentials.
public static Azure.ResourceManager.AppContainers.Models.SessionRegistryCredentials SessionRegistryCredentials(string server = default, string username = default, string passwordSecretRef = default, string identity = default);
static member SessionRegistryCredentials : string * string * string * string -> Azure.ResourceManager.AppContainers.Models.SessionRegistryCredentials
Public Shared Function SessionRegistryCredentials (Optional server As String = Nothing, Optional username As String = Nothing, Optional passwordSecretRef As String = Nothing, Optional identity As String = Nothing) As SessionRegistryCredentials
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 SessionRegistryCredentials instance for mocking.