Delen via


Collection Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CollectionTypeConverter))]
public class Collection : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICollection
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CollectionTypeConverter))>]
type Collection = class
    interface ICollection
    interface IJsonSerializable
Public Class Collection
Implements ICollection
Inheritance
Collection
Attributes
Implements

Constructors

Collection()

Creates an new Collection instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Collection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Collection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICollection.

FromJsonString(String)

Creates a new instance of Collection, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Collection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to