// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.synapse.models;

import com.azure.resourcemanager.synapse.fluent.models.VulnerabilityAssessmentScanRecordInner;
import java.time.OffsetDateTime;
import java.util.List;

/** An immutable client-side representation of VulnerabilityAssessmentScanRecord. */
public interface VulnerabilityAssessmentScanRecord {
    /**
     * Gets the id property: Fully qualified resource Id for the resource.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: The name of the resource.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: The type of the resource.
     *
     * @return the type value.
     */
    String type();

    /**
     * Gets the scanId property: The scan ID.
     *
     * @return the scanId value.
     */
    String scanId();

    /**
     * Gets the triggerType property: The scan trigger type.
     *
     * @return the triggerType value.
     */
    VulnerabilityAssessmentScanTriggerType triggerType();

    /**
     * Gets the state property: The scan status.
     *
     * @return the state value.
     */
    VulnerabilityAssessmentScanState state();

    /**
     * Gets the startTime property: The scan start time (UTC).
     *
     * @return the startTime value.
     */
    OffsetDateTime startTime();

    /**
     * Gets the endTime property: The scan end time (UTC).
     *
     * @return the endTime value.
     */
    OffsetDateTime endTime();

    /**
     * Gets the errors property: The scan errors.
     *
     * @return the errors value.
     */
    List<VulnerabilityAssessmentScanError> errors();

    /**
     * Gets the storageContainerPath property: The scan results storage container path.
     *
     * @return the storageContainerPath value.
     */
    String storageContainerPath();

    /**
     * Gets the numberOfFailedSecurityChecks property: The number of failed security checks.
     *
     * @return the numberOfFailedSecurityChecks value.
     */
    Integer numberOfFailedSecurityChecks();

    /**
     * Gets the inner com.azure.resourcemanager.synapse.fluent.models.VulnerabilityAssessmentScanRecordInner object.
     *
     * @return the inner object.
     */
    VulnerabilityAssessmentScanRecordInner innerModel();
}
