Class SqlPoolVulnerabilityAssessmentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.synapse.fluent.models.SqlPoolVulnerabilityAssessmentInner
public final class SqlPoolVulnerabilityAssessmentInner
extends com.azure.core.management.ProxyResource
A Sql pool vulnerability assessment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SqlPoolVulnerabilityAssessmentInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the recurringScans property: The recurring scans settings.Get the storageAccountAccessKey property: Specifies the identifier key of the storage account for vulnerability assessment scan results.Get the storageContainerPath property: A blob storage container path to hold the scan results (e.g.Get the storageContainerSasKey property: A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter.void
validate()
Validates the instance.withRecurringScans
(VulnerabilityAssessmentRecurringScansProperties recurringScans) Set the recurringScans property: The recurring scans settings.withStorageAccountAccessKey
(String storageAccountAccessKey) Set the storageAccountAccessKey property: Specifies the identifier key of the storage account for vulnerability assessment scan results.withStorageContainerPath
(String storageContainerPath) Set the storageContainerPath property: A blob storage container path to hold the scan results (e.g.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SqlPoolVulnerabilityAssessmentInner
public SqlPoolVulnerabilityAssessmentInner()Creates an instance of SqlPoolVulnerabilityAssessmentInner class.
-
-
Method Details
-
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:
- the storageContainerPath value.
-
withStorageContainerPath
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:
storageContainerPath
- the storageContainerPath value to set.- Returns:
- the SqlPoolVulnerabilityAssessmentInner object itself.
-
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.- Returns:
- the storageContainerSasKey value.
-
withStorageContainerSasKey
public SqlPoolVulnerabilityAssessmentInner 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.- Parameters:
storageContainerSasKey
- the storageContainerSasKey value to set.- Returns:
- the SqlPoolVulnerabilityAssessmentInner object itself.
-
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.- Returns:
- the storageAccountAccessKey value.
-
withStorageAccountAccessKey
public SqlPoolVulnerabilityAssessmentInner 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.- Parameters:
storageAccountAccessKey
- the storageAccountAccessKey value to set.- Returns:
- the SqlPoolVulnerabilityAssessmentInner object itself.
-
recurringScans
Get the recurringScans property: The recurring scans settings.- Returns:
- the recurringScans value.
-
withRecurringScans
public SqlPoolVulnerabilityAssessmentInner withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans) Set the recurringScans property: The recurring scans settings.- Parameters:
recurringScans
- the recurringScans value to set.- Returns:
- the SqlPoolVulnerabilityAssessmentInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-