你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebBasicAuthentication Class

Definition

A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.WebBasicAuthentication+WebBasicAuthenticationConverter))]
public class WebBasicAuthentication : Azure.Analytics.Synapse.Artifacts.Models.WebLinkedServiceTypeProperties
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.WebBasicAuthentication+WebBasicAuthenticationConverter))>]
type WebBasicAuthentication = class
    inherit WebLinkedServiceTypeProperties
Public Class WebBasicAuthentication
Inherits WebLinkedServiceTypeProperties
Inheritance
WebBasicAuthentication
Attributes

Constructors

WebBasicAuthentication(Object, Object, SecretBase)

Initializes a new instance of WebBasicAuthentication.

Properties

Password

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.

Url

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

(Inherited from WebLinkedServiceTypeProperties)
Username

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

Applies to