Udostępnij za pośrednictwem


OnPremiseSqlResourceDetails Constructor

Definition

Initializes a new instance of OnPremiseSqlResourceDetails.

public OnPremiseSqlResourceDetails (Azure.Core.ResourceIdentifier workspaceId, Guid vmUuid, string sourceComputerId, string machineName, string serverName, string databaseName);
new Azure.ResourceManager.SecurityCenter.Models.OnPremiseSqlResourceDetails : Azure.Core.ResourceIdentifier * Guid * string * string * string * string -> Azure.ResourceManager.SecurityCenter.Models.OnPremiseSqlResourceDetails
Public Sub New (workspaceId As ResourceIdentifier, vmUuid As Guid, sourceComputerId As String, machineName As String, serverName As String, databaseName 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.

serverName
String

The Sql server name installed on the machine.

databaseName
String

The Sql database name installed on the machine.

Exceptions

workspaceId, sourceComputerId, machineName, serverName or databaseName is null.

Applies to