ArmSqlModelFactory.VulnerabilityAssessmentScanRecordData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VulnerabilityAssessmentScanRecordData.
public static Azure.ResourceManager.Sql.VulnerabilityAssessmentScanRecordData VulnerabilityAssessmentScanRecordData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string scanId = default, Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanTriggerType? triggerType = default, Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanState? state = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanError> errors = default, string storageContainerPath = default, int? numberOfFailedSecurityChecks = default);
static member VulnerabilityAssessmentScanRecordData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanTriggerType> * Nullable<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentScanError> * string * Nullable<int> -> Azure.ResourceManager.Sql.VulnerabilityAssessmentScanRecordData
Public Shared Function VulnerabilityAssessmentScanRecordData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional scanId As String = Nothing, Optional triggerType As Nullable(Of VulnerabilityAssessmentScanTriggerType) = Nothing, Optional state As Nullable(Of VulnerabilityAssessmentScanState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional errors As IEnumerable(Of VulnerabilityAssessmentScanError) = Nothing, Optional storageContainerPath As String = Nothing, Optional numberOfFailedSecurityChecks As Nullable(Of Integer) = Nothing) As VulnerabilityAssessmentScanRecordData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- scanId
- String
The scan ID.
- triggerType
- Nullable<VulnerabilityAssessmentScanTriggerType>
The scan trigger type.
The scan status.
- startOn
- Nullable<DateTimeOffset>
The scan start time (UTC).
- endOn
- Nullable<DateTimeOffset>
The scan end time (UTC).
The scan errors.
- storageContainerPath
- String
The scan results storage container path.
Returns
A new VulnerabilityAssessmentScanRecordData instance for mocking.