Partager via


DataCollectionRuleAssociation Class

Definition

Definition of association of a data collection rule with a monitored Azure resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataCollectionRuleAssociationTypeConverter))]
public class DataCollectionRuleAssociation : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleAssociation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataCollectionRuleAssociationTypeConverter))>]
type DataCollectionRuleAssociation = class
    interface IDataCollectionRuleAssociation
    interface IJsonSerializable
Public Class DataCollectionRuleAssociation
Implements IDataCollectionRuleAssociation
Inheritance
DataCollectionRuleAssociation
Attributes
Implements

Constructors

DataCollectionRuleAssociation()

Creates an new DataCollectionRuleAssociation instance.

Properties

DataCollectionEndpointId

The resource ID of the data collection endpoint that is to be associated.

DataCollectionRuleId

The resource ID of the data collection rule that is to be associated.

Description

Description of the association.

MetadataProvisionedBy

Azure offering managing this resource on-behalf-of customer.

MetadataProvisionedByResourceId

Resource Id of azure offering managing this resource on-behalf-of customer.

ProvisioningState

The resource provisioning state.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataCollectionRuleAssociation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataCollectionRuleAssociation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleAssociation.

FromJsonString(String)

Creates a new instance of DataCollectionRuleAssociation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataCollectionRuleAssociation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to