DiscoveryRuleProperties 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
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryRulePropertiesTypeConverter))]
public class DiscoveryRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryRuleProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryRulePropertiesTypeConverter))>]
type DiscoveryRuleProperties = class
interface IDiscoveryRuleProperties
interface IJsonSerializable
Public Class DiscoveryRuleProperties
Implements IDiscoveryRuleProperties
- Inheritance
-
DiscoveryRuleProperties
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DiscoveryRuleProperties() |
Creates an new DiscoveryRuleProperties instance. |
Properties
| Name | Description |
|---|---|
| AddRecommendedSignal |
Whether to add all recommended signals to the discovered entities. |
| AddResourceHealthSignal |
Whether to automatically add a signal for the Azure resource's availability state from Azure Resource Health to the discovered
entities. Defaults to |
| 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. |
| Context |
Additional context information, like resource IDs or query details |
| DiscoverRelationship |
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. |
| Message |
Error message |
| ProvisioningState |
The status of the last operation. |
| Specification |
Specification of the discovery rule defining how entities are discovered. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DiscoveryRuleProperties. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DiscoveryRuleProperties. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryRuleProperties. |
| FromJsonString(String) |
Creates a new instance of DiscoveryRuleProperties, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DiscoveryRuleProperties into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |