HealthModelDiscoveryRuleProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Discovery rule properties.
public class HealthModelDiscoveryRuleProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CloudHealth.Models.HealthModelDiscoveryRuleProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CloudHealth.Models.HealthModelDiscoveryRuleProperties>
type HealthModelDiscoveryRuleProperties = class
interface IJsonModel<HealthModelDiscoveryRuleProperties>
interface IPersistableModel<HealthModelDiscoveryRuleProperties>
Public Class HealthModelDiscoveryRuleProperties
Implements IJsonModel(Of HealthModelDiscoveryRuleProperties), IPersistableModel(Of HealthModelDiscoveryRuleProperties)
- Inheritance
-
HealthModelDiscoveryRuleProperties
- Implements
Constructors
Properties
AddRecommendedSignals |
Whether to add all recommended signals to the discovered entities. |
AuthenticationSetting |
Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities. |
DeletedOn |
Date when the discovery rule was (soft-)deleted. |
DiscoverRelationships |
Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted. |
DisplayName |
Display name. |
EntityName |
Name of the entity which represents the discovery rule. Note: It might take a few minutes after creating the discovery rule until the entity is created. |
ErrorMessage |
Error message if the last discovery operation failed. |
NumberOfDiscoveredEntities |
Number of discovered entities in the last discovery operation. |
ProvisioningState |
The status of the last operation. |
ResourceGraphQuery |
Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<HealthModelDiscoveryRuleProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<HealthModelDiscoveryRuleProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<HealthModelDiscoveryRuleProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<HealthModelDiscoveryRuleProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<HealthModelDiscoveryRuleProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |