Partilhar via


DataCollectionConfiguration Class

Definition

The DataCollectionConfiguration.

public class DataCollectionConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.DataCollectionConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.DataCollectionConfiguration>
public class DataCollectionConfiguration
type DataCollectionConfiguration = class
    interface IJsonModel<DataCollectionConfiguration>
    interface IPersistableModel<DataCollectionConfiguration>
type DataCollectionConfiguration = class
Public Class DataCollectionConfiguration
Implements IJsonModel(Of DataCollectionConfiguration), IPersistableModel(Of DataCollectionConfiguration)
Public Class DataCollectionConfiguration
Inheritance
DataCollectionConfiguration
Implements

Constructors

DataCollectionConfiguration()

Initializes a new instance of DataCollectionConfiguration.

Properties

ClientId

The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.

DataCollectionMode

Enable or disable data collection.

DataId

The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage.

SamplingRate

The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.

Explicit Interface Implementations

IJsonModel<DataCollectionConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataCollectionConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataCollectionConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataCollectionConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataCollectionConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to