语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

MonitorWorkspacesExtensions.GetTraceAssociation Method

Definition

Gets an object representing a TraceAssociationResource along with the instance operations that can be performed on it in the ArmClient <item> Mocking. To mock this method, please mock GetTraceAssociation(ResourceIdentifier) instead. </item>

public static Azure.ResourceManager.Monitor.Workspaces.TraceAssociationResource GetTraceAssociation(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetTraceAssociation : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.Workspaces.TraceAssociationResource
<Extension()>
Public Function GetTraceAssociation (client As ArmClient, scope As ResourceIdentifier) As TraceAssociationResource

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a TraceAssociationResource object.

Exceptions

client is null.

Applies to