MockableMonitorArmClient.GetDataCollectionRuleResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataCollectionRuleResource object.

Applies to