Partilhar via


MockableMonitorArmClient.GetDataCollectionRuleAssociationResource Method

Definition

Gets an object representing a DataCollectionRuleAssociationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DataCollectionRuleAssociationResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource GetDataCollectionRuleAssociationResource (Azure.Core.ResourceIdentifier id);
abstract member GetDataCollectionRuleAssociationResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource
override this.GetDataCollectionRuleAssociationResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource
Public Overridable Function GetDataCollectionRuleAssociationResource (id As ResourceIdentifier) As DataCollectionRuleAssociationResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataCollectionRuleAssociationResource object.

Applies to