MonitorWorkspacesExtensions.GetTraceAssociation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- scope
- ResourceIdentifier
The scope that the resource will apply against.
Returns
Returns a TraceAssociationResource object.
Exceptions
client is null.