Share via


SftpLocation Class

Definition

The location of SFTP dataset.

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

Constructors

SftpLocation()

Initializes a new instance of SftpLocation.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from DatasetLocation)
FileName

Specify the file name of dataset. Type: string (or Expression with resultType string).

(Inherited from DatasetLocation)
FolderPath

Specify the folder path of dataset. Type: string (or Expression with resultType string).

(Inherited from DatasetLocation)

Methods

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

Explicit Interface Implementations

IJsonModel<DatasetLocation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from DatasetLocation)
IJsonModel<SftpLocation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SftpLocation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatasetLocation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from DatasetLocation)
IPersistableModel<SftpLocation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SftpLocation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SftpLocation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to