ManagedInstanceVulnerabilityAssessmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ManagedInstanceVulnerabilityAssessmentInner
- com.
- com.
public final class ManagedInstanceVulnerabilityAssessmentInner
extends ProxyResource
A managed instance vulnerability assessment.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceVulnerabilityAssessmentInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Vulnerability |
recurringScans()
Get the recurring |
String |
storageAccountAccessKey()
Get the storage |
String |
storageContainerPath()
Get the storage |
String |
storageContainerSasKey()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Managed |
withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans)
Set the recurring |
Managed |
withStorageAccountAccessKey(String storageAccountAccessKey)
Set the storage |
Managed |
withStorageContainerPath(String storageContainerPath)
Set the storage |
Managed |
withStorageContainerSasKey(String storageContainerSasKey)
Set the storage |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceVulnerabilityAssessmentInner
public ManagedInstanceVulnerabilityAssessmentInner()
Creates an instance of ManagedInstanceVulnerabilityAssessmentInner class.
Method Details
fromJson
public static ManagedInstanceVulnerabilityAssessmentInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceVulnerabilityAssessmentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedInstanceVulnerabilityAssessmentInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedInstanceVulnerabilityAssessmentInner.name()Returns:
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/).
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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedInstanceVulnerabilityAssessmentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedInstanceVulnerabilityAssessmentInner.type()Returns:
validate
public void validate()
Validates the instance.
withRecurringScans
public ManagedInstanceVulnerabilityAssessmentInner withRecurringScans(VulnerabilityAssessmentRecurringScansProperties recurringScans)
Set the recurringScans property: The recurring scans settings.
Parameters:
Returns:
withStorageAccountAccessKey
public ManagedInstanceVulnerabilityAssessmentInner 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 ManagedInstanceVulnerabilityAssessmentInner 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:
Returns:
withStorageContainerSasKey
public ManagedInstanceVulnerabilityAssessmentInner 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:
Applies to
Azure SDK for Java