ArmSecurityCenterModelFactory.OnPremiseSqlResourceDetails Method

Definition

public static Azure.ResourceManager.SecurityCenter.Models.OnPremiseSqlResourceDetails OnPremiseSqlResourceDetails(Azure.Core.ResourceIdentifier workspaceId = default, Guid vmUuid = default, string sourceComputerId = default, string machineName = default, string serverName = default, string databaseName = default);
static member OnPremiseSqlResourceDetails : Azure.Core.ResourceIdentifier * Guid * string * string * string * string -> Azure.ResourceManager.SecurityCenter.Models.OnPremiseSqlResourceDetails
Public Shared Function OnPremiseSqlResourceDetails (Optional workspaceId As ResourceIdentifier = Nothing, Optional vmUuid As Guid = Nothing, Optional sourceComputerId As String = Nothing, Optional machineName As String = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing) As OnPremiseSqlResourceDetails

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.

Returns

A new OnPremiseSqlResourceDetails instance for mocking.

Applies to