AzureServersSetting Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. ServerVulnerabilityAssessmentsSettingInner - com.
azure. resourcemanager. security. models. AzureServersSetting
- com.
- com.
- com.
public final class AzureServersSetting
extends ServerVulnerabilityAssessmentsSettingInner
A vulnerability assessments setting on Azure servers in the defined scope.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureServersSetting() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Server |
kind()
Get the kind property: The kind of the server vulnerability assessments setting. |
| String |
name()
Get the name property: The name of the resource. |
|
Server |
selectedProvider()
Get the selected |
|
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. |
|
Azure |
withSelectedProvider(ServerVulnerabilityAssessmentsAzureSettingSelectedProvider selectedProvider)
Set the selected |
Methods inherited from ServerVulnerabilityAssessmentsSettingInner
Methods inherited from java.lang.Object
Constructor Details
AzureServersSetting
public AzureServersSetting()
Creates an instance of AzureServersSetting class.
Method Details
fromJson
public static AzureServersSetting fromJson(JsonReader jsonReader)
Reads an instance of AzureServersSetting from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AzureServersSetting.id()Returns:
kind
public ServerVulnerabilityAssessmentsSettingKind kind()
Get the kind property: The kind of the server vulnerability assessments setting.
Overrides:
AzureServersSetting.kind()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AzureServersSetting.name()Returns:
selectedProvider
public ServerVulnerabilityAssessmentsAzureSettingSelectedProvider selectedProvider()
Get the selectedProvider property: The selected vulnerability assessments provider on Azure servers in the defined scope.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
AzureServersSetting.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureServersSetting.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AzureServersSetting.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
AzureServersSetting.validate()withSelectedProvider
public AzureServersSetting withSelectedProvider(ServerVulnerabilityAssessmentsAzureSettingSelectedProvider selectedProvider)
Set the selectedProvider property: The selected vulnerability assessments provider on Azure servers in the defined scope.
Parameters:
Returns: