Compartilhar via


ArmContainerRegistryModelFactory.ContainerRegistryGenerateCredentialsResult Método

Definição

Inicializa uma nova instância de ContainerRegistryGenerateCredentialsResult.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryGenerateCredentialsResult ContainerRegistryGenerateCredentialsResult (string username = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPassword> passwords = default);
static member ContainerRegistryGenerateCredentialsResult : string * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPassword> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryGenerateCredentialsResult
Public Shared Function ContainerRegistryGenerateCredentialsResult (Optional username As String = Nothing, Optional passwords As IEnumerable(Of ContainerRegistryTokenPassword) = Nothing) As ContainerRegistryGenerateCredentialsResult

Parâmetros

username
String

O nome de usuário de um registro de contêiner.

passwords
IEnumerable<ContainerRegistryTokenPassword>

A lista de senhas de um registro de contêiner.

Retornos

Uma nova ContainerRegistryGenerateCredentialsResult instância para zombar.

Aplica-se a