SqlVulnerabilityAssessmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SqlVulnerabilityAssessmentInner
- com.
- com.
public final class SqlVulnerabilityAssessmentInner
extends ProxyResource
A SQL Vulnerability Assessment.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlVulnerabilityAssessmentInner() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Sql |
state()
Get the state property: Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Sql |
withState(SqlVulnerabilityAssessmentState state)
Set the state property: Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SqlVulnerabilityAssessmentInner
public SqlVulnerabilityAssessmentInner()
Creates an instance of SqlVulnerabilityAssessmentInner class.
Method Details
fromJson
public static SqlVulnerabilityAssessmentInner fromJson(JsonReader jsonReader)
Reads an instance of SqlVulnerabilityAssessmentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlVulnerabilityAssessmentInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlVulnerabilityAssessmentInner.name()Returns:
state
public SqlVulnerabilityAssessmentState state()
Get the state property: Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server.
Returns:
systemData
public SystemData systemData()
Get the systemData property: SystemData of SqlVulnerabilityAssessmentResource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlVulnerabilityAssessmentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlVulnerabilityAssessmentInner.type()Returns:
validate
public void validate()
Validates the instance.
withState
public SqlVulnerabilityAssessmentInner withState(SqlVulnerabilityAssessmentState state)
Set the state property: Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server.
Parameters:
Returns: