Language

IDiscoveryRule Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryRuleTypeConverter))]
public interface IDiscoveryRule : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IProxyResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryRuleTypeConverter))>]
type IDiscoveryRule = interface
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
Public Interface IDiscoveryRule
Implements IProxyResource
Derived
Attributes
Implements

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 Enabled: discovery rules updated via this API version without setting this field will begin emitting a Resource Health availability signal. Pass Disabled to preserve pre-2026-05-01-preview behavior.

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from IResource)
Message

Error message

Name

The name of the resource

(Inherited from IResource)
ProvisioningState

The status of the last operation.

Specification

Specification of the discovery rule defining how entities are discovered.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

(Inherited from IResource)
SystemDataCreatedBy

The identity that created the resource.

(Inherited from IResource)
SystemDataCreatedByType

The type of identity that created the resource.

(Inherited from IResource)
SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

(Inherited from IResource)
SystemDataLastModifiedBy

The identity that last modified the resource.

(Inherited from IResource)
SystemDataLastModifiedByType

The type of identity that last modified the resource.

(Inherited from IResource)
Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from IResource)

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to