VmScannersBase Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. VmScannersBase
- com.
Implements
public class VmScannersBase
implements JsonSerializable<VmScannersBase>
A VM scanning configuration for a security offering of a given environment.
Constructor Summary
| Constructor | Description |
|---|---|
| VmScannersBase() |
Creates an instance of Vm |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Vm |
configuration()
Get the configuration property: Configuration for VM scanning. |
| Boolean |
enabled()
Get the enabled property: Is VM scanning enabled. |
|
static
Vm |
fromJson(JsonReader jsonReader)
Reads an instance of Vm |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Vm |
withConfiguration(VmScannersBaseConfiguration configuration)
Set the configuration property: Configuration for VM scanning. |
|
Vm |
withEnabled(Boolean enabled)
Set the enabled property: Is VM scanning enabled. |
Methods inherited from java.lang.Object
Constructor Details
VmScannersBase
public VmScannersBase()
Creates an instance of VmScannersBase class.
Method Details
configuration
public VmScannersBaseConfiguration configuration()
Get the configuration property: Configuration for VM scanning.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Is VM scanning enabled.
Returns:
fromJson
public static VmScannersBase fromJson(JsonReader jsonReader)
Reads an instance of VmScannersBase from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withConfiguration
public VmScannersBase withConfiguration(VmScannersBaseConfiguration configuration)
Set the configuration property: Configuration for VM scanning.
Parameters:
Returns:
withEnabled
public VmScannersBase withEnabled(Boolean enabled)
Set the enabled property: Is VM scanning enabled.
Parameters:
Returns: