Sdílet prostřednictvím


MonitorExtensions.GetVmInsightsOnboardingStatus Method

Definition

Gets an object representing a VmInsightsOnboardingStatusResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetVmInsightsOnboardingStatus(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a VmInsightsOnboardingStatusResource object.

Exceptions

client is null.

Applies to