共用方式為


MockableOperationalInsightsArmClient.GetLogAnalyticsQueryPackResource Method

Definition

Gets an object representing a LogAnalyticsQueryPackResource 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 LogAnalyticsQueryPackResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LogAnalyticsQueryPackResource object.

Applies to