ArmContainerRegistryModelFactory.ContainerRegistryGenerateCredentialsResult 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 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
Parameters
- username
- String
The username for a container registry.
- passwords
- IEnumerable<ContainerRegistryTokenPassword>
The list of passwords for a container registry.
Returns
A new ContainerRegistryGenerateCredentialsResult instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET