DiscoveryRuleSpecification 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.
Base model for discovery rule specifications
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryRuleSpecificationTypeConverter))]
public class DiscoveryRuleSpecification : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryRuleSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryRuleSpecificationTypeConverter))>]
type DiscoveryRuleSpecification = class
interface IDiscoveryRuleSpecification
interface IJsonSerializable
Public Class DiscoveryRuleSpecification
Implements IDiscoveryRuleSpecification
- Inheritance
-
DiscoveryRuleSpecification
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DiscoveryRuleSpecification() |
Creates an new DiscoveryRuleSpecification instance. |
Properties
| Name | Description |
|---|---|
| Kind |
Kind of the discovery rule specification |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DiscoveryRuleSpecification. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DiscoveryRuleSpecification. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryRuleSpecification. Note: the Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryRuleSpecification interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. |
| FromJsonString(String) |
Creates a new instance of DiscoveryRuleSpecification, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DiscoveryRuleSpecification into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |