ServerVulnerabilityAssessmentsSettingInner Class

public class ServerVulnerabilityAssessmentsSettingInner
extends ProxyResource

A base vulnerability assessments setting on servers in the defined scope.

Constructor Summary

Constructor Description
ServerVulnerabilityAssessmentsSettingInner()

Creates an instance of ServerVulnerabilityAssessmentsSettingInner class.

Method Summary

Modifier and Type Method and Description
static ServerVulnerabilityAssessmentsSettingInner fromJson(JsonReader jsonReader)

Reads an instance of ServerVulnerabilityAssessmentsSettingInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ServerVulnerabilityAssessmentsSettingKind kind()

Get the kind property: The kind of the server vulnerability assessments setting.

String name()

Get the name property: The name of the resource.

ServerVulnerabilityAssessmentsSettingProperties properties()

Get the properties property: The resource-specific properties for this resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ServerVulnerabilityAssessmentsSettingInner withProperties(ServerVulnerabilityAssessmentsSettingProperties properties)

Set the properties property: The resource-specific properties for this resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ServerVulnerabilityAssessmentsSettingInner

public ServerVulnerabilityAssessmentsSettingInner()

Creates an instance of ServerVulnerabilityAssessmentsSettingInner class.

Method Details

fromJson

public static ServerVulnerabilityAssessmentsSettingInner fromJson(JsonReader jsonReader)

Reads an instance of ServerVulnerabilityAssessmentsSettingInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerVulnerabilityAssessmentsSettingInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ServerVulnerabilityAssessmentsSettingInner.id()

Returns:

the id value.

kind

public ServerVulnerabilityAssessmentsSettingKind kind()

Get the kind property: The kind of the server vulnerability assessments setting.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerVulnerabilityAssessmentsSettingInner.name()

Returns:

the name value.

properties

public ServerVulnerabilityAssessmentsSettingProperties properties()

Get the properties property: The resource-specific properties for this resource.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServerVulnerabilityAssessmentsSettingInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerVulnerabilityAssessmentsSettingInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public ServerVulnerabilityAssessmentsSettingInner withProperties(ServerVulnerabilityAssessmentsSettingProperties properties)

Set the properties property: The resource-specific properties for this resource.

Parameters:

properties - the properties value to set.

Returns:

the ServerVulnerabilityAssessmentsSettingInner object itself.

Applies to