DatabaseVulnerabilityAssessmentPropertiesAutoGenerated Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. DatabaseVulnerabilityAssessmentPropertiesAutoGenerated
- com.
Implements
public final class DatabaseVulnerabilityAssessmentPropertiesAutoGenerated
implements JsonSerializable<DatabaseVulnerabilityAssessmentPropertiesAutoGenerated>
Properties of a database Vulnerability Assessment.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseVulnerabilityAssessmentPropertiesAutoGenerated() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
|
Vulnerability |
recurringScans()
Get the recurring |
| String |
storageAccountAccessKey()
Get the storage |
| String |
storageContainerPath()
Get the storage |
| String |
storageContainerSasKey()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Database |
withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans)
Set the recurring |
|
Database |
withStorageAccountAccessKey(String storageAccountAccessKey)
Set the storage |
|
Database |
withStorageContainerPath(String storageContainerPath)
Set the storage |
|
Database |
withStorageContainerSasKey(String storageContainerSasKey)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
DatabaseVulnerabilityAssessmentPropertiesAutoGenerated
public DatabaseVulnerabilityAssessmentPropertiesAutoGenerated()
Creates an instance of DatabaseVulnerabilityAssessmentPropertiesAutoGenerated class.
Method Details
fromJson
public static DatabaseVulnerabilityAssessmentPropertiesAutoGenerated fromJson(JsonReader jsonReader)
Reads an instance of DatabaseVulnerabilityAssessmentPropertiesAutoGenerated from the JsonReader.
Parameters:
Returns:
Throws:
recurringScans
public VulnerabilityAssessmentRecurringScansProperties recurringScans()
Get the recurringScans property: The recurring scans settings.
Returns:
storageAccountAccessKey
public String storageAccountAccessKey()
Get the storageAccountAccessKey property: Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall.
Returns:
storageContainerPath
public String storageContainerPath()
Get the storageContainerPath property: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set.
Returns:
storageContainerSasKey
public String storageContainerSasKey()
Get the storageContainerSasKey property: A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRecurringScans
public DatabaseVulnerabilityAssessmentPropertiesAutoGenerated withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans)
Set the recurringScans property: The recurring scans settings.
Parameters:
Returns:
withStorageAccountAccessKey
public DatabaseVulnerabilityAssessmentPropertiesAutoGenerated withStorageAccountAccessKey(String storageAccountAccessKey)
Set the storageAccountAccessKey property: Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall.
Parameters:
Returns:
withStorageContainerPath
public DatabaseVulnerabilityAssessmentPropertiesAutoGenerated withStorageContainerPath(String storageContainerPath)
Set the storageContainerPath property: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set.
Parameters:
Returns:
withStorageContainerSasKey
public DatabaseVulnerabilityAssessmentPropertiesAutoGenerated withStorageContainerSasKey(String storageContainerSasKey)
Set the storageContainerSasKey property: A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall.
Parameters:
Returns: