共用方式為


SamplingSettings Class

Definition

Sampling settings for Diagnostic.

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

Constructors

SamplingSettings()

Initializes a new instance of SamplingSettings.

Properties

Percentage

Rate of sampling for fixed-rate sampling.

SamplingType

Sampling type.

Explicit Interface Implementations

IJsonModel<SamplingSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SamplingSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SamplingSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SamplingSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SamplingSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to