ArmDataBoxEdgeModelFactory.ImageRepositoryCredential 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.
public static Azure.ResourceManager.DataBoxEdge.Models.ImageRepositoryCredential ImageRepositoryCredential(Uri imageRepositoryUri = default, string userName = default, Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret password = default);
static member ImageRepositoryCredential : Uri * string * Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret -> Azure.ResourceManager.DataBoxEdge.Models.ImageRepositoryCredential
Public Shared Function ImageRepositoryCredential (Optional imageRepositoryUri As Uri = Nothing, Optional userName As String = Nothing, Optional password As AsymmetricEncryptedSecret = Nothing) As ImageRepositoryCredential
Parameters
- imageRepositoryUri
- Uri
Image repository url (e.g.: mcr.microsoft.com).
- userName
- String
Repository user name.
- password
- AsymmetricEncryptedSecret
Repository user password.
Returns
A new ImageRepositoryCredential instance for mocking.