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 |
|
static
On |
fromJson(JsonReader jsonReader)
Reads an instance of On |
| String |
serverName()
Get the server |
| Source |
source()
Get the source property: The platform where the assessed resource resides. |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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:
fromJson
public static OnPremiseSqlResourceDetails fromJson(JsonReader jsonReader)
Reads an instance of OnPremiseSqlResourceDetails from the JsonReader.
Parameters:
Returns:
Throws:
serverName
public String serverName()
Get the serverName property: The Sql server name installed on the machine.
Returns:
source
public Source source()
Get the source property: The platform where the assessed resource resides.
Overrides:
OnPremiseSqlResourceDetails.source()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OnPremiseSqlResourceDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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: