共用方式為


ArmContainerRegistryModelFactory.ContainerRegistryListCredentialsResult Method

Definition

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.

Applies to