Share via


MockableOperationalInsightsArmClient.GetLogAnalyticsQueryResource Method

Definition

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

public virtual Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource GetLogAnalyticsQueryResource (Azure.Core.ResourceIdentifier id);
abstract member GetLogAnalyticsQueryResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource
override this.GetLogAnalyticsQueryResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryResource
Public Overridable Function GetLogAnalyticsQueryResource (id As ResourceIdentifier) As LogAnalyticsQueryResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LogAnalyticsQueryResource object.

Applies to