OnPremiseSqlResourceDetails Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ResourceDetails - com.
azure. resourcemanager. security. models. OnPremiseResourceDetails - com.
azure. resourcemanager. security. models. OnPremiseSqlResourceDetails
- com.
- com.
- com.
public final class OnPremiseSqlResourceDetails
extends OnPremiseResourceDetails
Details of the On Premise Sql resource that was assessed.
Constructor Summary
Constructor | Description |
---|---|
OnPremiseSqlResourceDetails() |
Creates an instance of On |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseName()
Get the database |
String |
serverName()
Get the server |
void |
validate()
Validates the instance. |
On |
withDatabaseName(String databaseName)
Set the database |
On |
withMachineName(String machineName)
Set the machine |
On |
withServerName(String serverName)
Set the server |
On |
withSourceComputerId(String sourceComputerId)
Set the source |
On |
withVmuuid(String vmuuid)
Set the vmuuid property: The unique Id of the machine. |
On |
withWorkspaceId(String workspaceId)
Set the workspace |
Methods inherited from OnPremiseResourceDetails
Methods inherited from java.lang.Object
Constructor Details
OnPremiseSqlResourceDetails
public OnPremiseSqlResourceDetails()
Creates an instance of OnPremiseSqlResourceDetails class.
Method Details
databaseName
public String databaseName()
Get the databaseName property: The Sql database name installed on the machine.
Returns:
serverName
public String serverName()
Get the serverName property: The Sql server name installed on the machine.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
OnPremiseSqlResourceDetails.validate()withDatabaseName
public OnPremiseSqlResourceDetails withDatabaseName(String databaseName)
Set the databaseName property: The Sql database name installed on the machine.
Parameters:
Returns:
withMachineName
public OnPremiseSqlResourceDetails withMachineName(String machineName)
Set the machineName property: The name of the machine.
Overrides:
OnPremiseSqlResourceDetails.withMachineName(String machineName)Parameters:
withServerName
public OnPremiseSqlResourceDetails withServerName(String serverName)
Set the serverName property: The Sql server name installed on the machine.
Parameters:
Returns:
withSourceComputerId
public OnPremiseSqlResourceDetails withSourceComputerId(String sourceComputerId)
Set the sourceComputerId property: The oms agent Id installed on the machine.
Overrides:
OnPremiseSqlResourceDetails.withSourceComputerId(String sourceComputerId)Parameters:
withVmuuid
public OnPremiseSqlResourceDetails withVmuuid(String vmuuid)
Set the vmuuid property: The unique Id of the machine.
Overrides:
OnPremiseSqlResourceDetails.withVmuuid(String vmuuid)Parameters:
withWorkspaceId
public OnPremiseSqlResourceDetails withWorkspaceId(String workspaceId)
Set the workspaceId property: Azure resource Id of the workspace the machine is attached to.
Overrides:
OnPremiseSqlResourceDetails.withWorkspaceId(String workspaceId)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for