Delen via


IWithCredentials.WithCredentials(String, String) Methode

Definitie

Hiermee geeft u de gebruikersnaam en het wachtwoord voor Docker Hub of het docker-register.

public Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithStartUpCommand WithCredentials(string username, string password);
abstract member WithCredentials : string * string -> Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithStartUpCommand
Public Function WithCredentials (username As String, password As String) As IWithStartUpCommand

Parameters

username
String

De gebruikersnaam voor Docker Hub of het docker-register.

password
String

Het wachtwoord voor Docker Hub of het docker-register.

Retouren

Van toepassing op