다음을 통해 공유


MonitorExtensions.GetVmInsightsOnboardingStatusResource Method

Definition

Gets an object representing a VmInsightsOnboardingStatusResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a VmInsightsOnboardingStatusResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVmInsightsOnboardingStatusResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VmInsightsOnboardingStatusResource object.

Exceptions

client is null.

Applies to