Share via


ModelDiscoverySettings Class

Definition

Settings for automatically discovering entities for the health model.

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

Constructors

ModelDiscoverySettings(String, DiscoveryRuleRecommendedSignalsBehavior)

Initializes a new instance of ModelDiscoverySettings.

Properties

AddRecommendedSignals

Whether to add all recommended signals to the discovered entities.

Identity

Which Managed Identity of the health model to use for discovery. Defaults to SystemAssigned, if not set. Can be set to 'SystemAssigned' or to the resource id of a user-assigned managed identity which is linked to the health model.

Scope

The scope from which entities should be automatically discovered. For example, the resource id of a Service Group.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ModelDiscoverySettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ModelDiscoverySettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ModelDiscoverySettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ModelDiscoverySettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ModelDiscoverySettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to