BusinessMetadataOptions Class

Definition

Business metadata to send to the service.

public class BusinessMetadataOptions : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Purview.DataMap.BusinessMetadataOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Purview.DataMap.BusinessMetadataOptions>
type BusinessMetadataOptions = class
    interface IJsonModel<BusinessMetadataOptions>
    interface IPersistableModel<BusinessMetadataOptions>
Public Class BusinessMetadataOptions
Implements IJsonModel(Of BusinessMetadataOptions), IPersistableModel(Of BusinessMetadataOptions)
Inheritance
BusinessMetadataOptions
Implements

Constructors

BusinessMetadataOptions(BinaryData)

Initializes a new instance of BusinessMetadataOptions.

Properties

File

InputStream of file

To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string.

Examples:

  • BinaryData.FromBytes(new byte[] { 1, 2, 3 }): Creates a payload of "AQID".

Explicit Interface Implementations

IJsonModel<BusinessMetadataOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BusinessMetadataOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BusinessMetadataOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BusinessMetadataOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BusinessMetadataOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to