Delen via


WebBasicAuthentication(Object, Object, SecretBase) Constructor

Definition

Initializes a new instance of WebBasicAuthentication.

public WebBasicAuthentication (object url, object username, Azure.Analytics.Synapse.Artifacts.Models.SecretBase password);
new Azure.Analytics.Synapse.Artifacts.Models.WebBasicAuthentication : obj * obj * Azure.Analytics.Synapse.Artifacts.Models.SecretBase -> Azure.Analytics.Synapse.Artifacts.Models.WebBasicAuthentication
Public Sub New (url As Object, username As Object, password As SecretBase)

Parameters

url
Object

The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).

username
Object

User name for Basic authentication. Type: string (or Expression with resultType string).

password
SecretBase

The password for Basic authentication. Please note SecretBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureKeyVaultSecretReference and SecureString.

Exceptions

url, username or password is null.

Applies to