Class ServerVulnerabilityAssessmentInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.fluent.models.ServerVulnerabilityAssessmentInner
-
public final class ServerVulnerabilityAssessmentInner extends com.azure.core.management.ProxyResource
A server vulnerability assessment.
-
-
Constructor Summary
Constructors Constructor Description ServerVulnerabilityAssessmentInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VulnerabilityAssessmentRecurringScansProperties
recurringScans()
Get the recurringScans property: The recurring scans settings.String
storageAccountAccessKey()
Get the storageAccountAccessKey property: Specifies the identifier key of the storage account for vulnerability assessment scan results.String
storageContainerPath()
Get the storageContainerPath property: A blob storage container path to hold the scan results (e.g.String
storageContainerSasKey()
Get the storageContainerSasKey property: A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter.void
validate()
Validates the instance.ServerVulnerabilityAssessmentInner
withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans)
Set the recurringScans property: The recurring scans settings.ServerVulnerabilityAssessmentInner
withStorageAccountAccessKey(String storageAccountAccessKey)
Set the storageAccountAccessKey property: Specifies the identifier key of the storage account for vulnerability assessment scan results.ServerVulnerabilityAssessmentInner
withStorageContainerPath(String storageContainerPath)
Set the storageContainerPath property: A blob storage container path to hold the scan results (e.g.ServerVulnerabilityAssessmentInner
withStorageContainerSasKey(String storageContainerSasKey)
Set the storageContainerSasKey property: A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter.
-
-
-
Method Detail
-
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/).- Returns:
- the storageContainerPath value.
-
withStorageContainerPath
public ServerVulnerabilityAssessmentInner 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/).- Parameters:
storageContainerPath
- the storageContainerPath value to set.- Returns:
- the ServerVulnerabilityAssessmentInner object itself.
-
storageContainerSasKey
public String storageContainerSasKey()
Get the storageContainerSasKey property: A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.- Returns:
- the storageContainerSasKey value.
-
withStorageContainerSasKey
public ServerVulnerabilityAssessmentInner withStorageContainerSasKey(String storageContainerSasKey)
Set the storageContainerSasKey property: A shared access signature (SAS Key) that has read and 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 ServerVulnerabilityAssessmentInner object itself.
-
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.- Returns:
- the storageAccountAccessKey value.
-
withStorageAccountAccessKey
public ServerVulnerabilityAssessmentInner 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 ServerVulnerabilityAssessmentInner object itself.
-
recurringScans
public VulnerabilityAssessmentRecurringScansProperties recurringScans()
Get the recurringScans property: The recurring scans settings.- Returns:
- the recurringScans value.
-
withRecurringScans
public ServerVulnerabilityAssessmentInner withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans)
Set the recurringScans property: The recurring scans settings.- Parameters:
recurringScans
- the recurringScans value to set.- Returns:
- the ServerVulnerabilityAssessmentInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-