ArmContainerRegistryModelFactory.ContainerRegistryListCredentialsResult 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 ContainerRegistryListCredentialsResult.
public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryListCredentialsResult ContainerRegistryListCredentialsResult (string username = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPassword> passwords = default);
static member ContainerRegistryListCredentialsResult : string * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPassword> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryListCredentialsResult
Public Shared Function ContainerRegistryListCredentialsResult (Optional username As String = Nothing, Optional passwords As IEnumerable(Of ContainerRegistryPassword) = Nothing) As ContainerRegistryListCredentialsResult
Parameters
- username
- String
The username for a container registry.
- passwords
- IEnumerable<ContainerRegistryPassword>
The list of passwords for a container registry.
Returns
A new ContainerRegistryListCredentialsResult instance for mocking.