Share via


OnPremiseResourceDetails(ResourceIdentifier, Guid, String, String) Constructor

Definition

Initializes a new instance of OnPremiseResourceDetails.

public OnPremiseResourceDetails (Azure.Core.ResourceIdentifier workspaceId, Guid vmUuid, string sourceComputerId, string machineName);
new Azure.ResourceManager.SecurityCenter.Models.OnPremiseResourceDetails : Azure.Core.ResourceIdentifier * Guid * string * string -> Azure.ResourceManager.SecurityCenter.Models.OnPremiseResourceDetails
Public Sub New (workspaceId As ResourceIdentifier, vmUuid As Guid, sourceComputerId As String, machineName As String)

Parameters

workspaceId
ResourceIdentifier

Azure resource Id of the workspace the machine is attached to.

vmUuid
Guid

The unique Id of the machine.

sourceComputerId
String

The oms agent Id installed on the machine.

machineName
String

The name of the machine.

Exceptions

workspaceId, sourceComputerId or machineName is null.

Applies to