共用方式為


WebBasicAuthentication Class

Definition

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

public class WebBasicAuthentication : Azure.ResourceManager.DataFactory.Models.WebLinkedServiceTypeProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.WebBasicAuthentication>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.WebBasicAuthentication>
public class WebBasicAuthentication : Azure.ResourceManager.DataFactory.Models.WebLinkedServiceTypeProperties
type WebBasicAuthentication = class
    inherit WebLinkedServiceTypeProperties
    interface IJsonModel<WebBasicAuthentication>
    interface IPersistableModel<WebBasicAuthentication>
type WebBasicAuthentication = class
    inherit WebLinkedServiceTypeProperties
Public Class WebBasicAuthentication
Inherits WebLinkedServiceTypeProperties
Implements IJsonModel(Of WebBasicAuthentication), IPersistableModel(Of WebBasicAuthentication)
Public Class WebBasicAuthentication
Inherits WebLinkedServiceTypeProperties
Inheritance
WebBasicAuthentication
Implements

Constructors

WebBasicAuthentication(DataFactoryElement<String>, DataFactoryElement<String>, DataFactorySecret)

Initializes a new instance of WebBasicAuthentication.

WebBasicAuthentication(DataFactoryElement<String>, DataFactoryElement<String>, DataFactorySecretBaseDefinition)

Initializes a new instance of WebBasicAuthentication.

Properties

Password

The password for Basic authentication.

Uri

The URL of the web service endpoint, e.g. https://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).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from WebLinkedServiceTypeProperties)

Explicit Interface Implementations

IJsonModel<WebBasicAuthentication>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WebBasicAuthentication>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<WebLinkedServiceTypeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from WebLinkedServiceTypeProperties)
IJsonModel<WebLinkedServiceTypeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from WebLinkedServiceTypeProperties)
IPersistableModel<WebBasicAuthentication>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebBasicAuthentication>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WebBasicAuthentication>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<WebLinkedServiceTypeProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from WebLinkedServiceTypeProperties)
IPersistableModel<WebLinkedServiceTypeProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from WebLinkedServiceTypeProperties)
IPersistableModel<WebLinkedServiceTypeProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from WebLinkedServiceTypeProperties)

Applies to