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

package com.azure.resourcemanager.paloaltonetworks.ngfw.models;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.paloaltonetworks.ngfw.fluent.models.PreRulesResourceInner;
import java.util.List;

/** An immutable client-side representation of PreRulesResource. */
public interface PreRulesResource {
    /**
     * 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 systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
     *
     * @return the systemData value.
     */
    SystemData systemData();

    /**
     * Gets the etag property: etag info.
     *
     * @return the etag value.
     */
    String etag();

    /**
     * Gets the ruleName property: rule name.
     *
     * @return the ruleName value.
     */
    String ruleName();

    /**
     * Gets the priority property: The priority property.
     *
     * @return the priority value.
     */
    Integer priority();

    /**
     * Gets the description property: rule description.
     *
     * @return the description value.
     */
    String description();

    /**
     * Gets the ruleState property: state of this rule.
     *
     * @return the ruleState value.
     */
    StateEnum ruleState();

    /**
     * Gets the source property: source address.
     *
     * @return the source value.
     */
    SourceAddr source();

    /**
     * Gets the negateSource property: cidr should not be 'any'.
     *
     * @return the negateSource value.
     */
    BooleanEnum negateSource();

    /**
     * Gets the destination property: destination address.
     *
     * @return the destination value.
     */
    DestinationAddr destination();

    /**
     * Gets the negateDestination property: cidr should not be 'any'.
     *
     * @return the negateDestination value.
     */
    BooleanEnum negateDestination();

    /**
     * Gets the applications property: array of rule applications.
     *
     * @return the applications value.
     */
    List<String> applications();

    /**
     * Gets the category property: rule category.
     *
     * @return the category value.
     */
    Category category();

    /**
     * Gets the protocol property: any, application-default, TCP:number, UDP:number.
     *
     * @return the protocol value.
     */
    String protocol();

    /**
     * Gets the protocolPortList property: prot port list.
     *
     * @return the protocolPortList value.
     */
    List<String> protocolPortList();

    /**
     * Gets the inboundInspectionCertificate property: inbound Inspection Certificate.
     *
     * @return the inboundInspectionCertificate value.
     */
    String inboundInspectionCertificate();

    /**
     * Gets the auditComment property: rule comment.
     *
     * @return the auditComment value.
     */
    String auditComment();

    /**
     * Gets the actionType property: rule action.
     *
     * @return the actionType value.
     */
    ActionEnum actionType();

    /**
     * Gets the enableLogging property: enable or disable logging.
     *
     * @return the enableLogging value.
     */
    StateEnum enableLogging();

    /**
     * Gets the decryptionRuleType property: enable or disable decryption.
     *
     * @return the decryptionRuleType value.
     */
    DecryptionRuleTypeEnum decryptionRuleType();

    /**
     * Gets the tags property: tag for rule.
     *
     * @return the tags value.
     */
    List<TagInfo> tags();

    /**
     * Gets the provisioningState property: Provisioning state of the resource.
     *
     * @return the provisioningState value.
     */
    ProvisioningState provisioningState();

    /**
     * Gets the inner com.azure.resourcemanager.paloaltonetworks.ngfw.fluent.models.PreRulesResourceInner object.
     *
     * @return the inner object.
     */
    PreRulesResourceInner innerModel();
}
