Class DataCollectionRuleAssociation
java.lang.Object
com.azure.resourcemanager.monitor.models.DataCollectionRuleAssociation
- Direct Known Subclasses:
DataCollectionRuleAssociationProxyOnlyResourceProperties
Definition of association of a data collection rule with a monitored Azure resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataCollectionRuleAssociation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.Get the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.Get the description property: Description of the association.metadata()Get the metadata property: Metadata about the resource.Get the provisioningState property: The resource provisioning state.voidvalidate()Validates the instance.withDataCollectionEndpointId(String dataCollectionEndpointId) Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.withDataCollectionRuleId(String dataCollectionRuleId) Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.withDescription(String description) Set the description property: Description of the association.
-
Constructor Details
-
DataCollectionRuleAssociation
public DataCollectionRuleAssociation()Creates an instance of DataCollectionRuleAssociation class.
-
-
Method Details
-
description
Get the description property: Description of the association.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the association.- Parameters:
description- the description value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
dataCollectionRuleId
Get the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.- Returns:
- the dataCollectionRuleId value.
-
withDataCollectionRuleId
Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.- Parameters:
dataCollectionRuleId- the dataCollectionRuleId value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
dataCollectionEndpointId
Get the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.- Returns:
- the dataCollectionEndpointId value.
-
withDataCollectionEndpointId
Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.- Parameters:
dataCollectionEndpointId- the dataCollectionEndpointId value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
provisioningState
Get the provisioningState property: The resource provisioning state.- Returns:
- the provisioningState value.
-
metadata
Get the metadata property: Metadata about the resource.- Returns:
- the metadata value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-