### YamlMime:JavaType uid: "com.azure.resourcemanager.network.models.SingleQueryResult" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult" name: "SingleQueryResult" nameWithType: "SingleQueryResult" summary: "The SingleQueryResult model." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **SingleQueryResult**
implements <>" constructors: - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.SingleQueryResult()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.SingleQueryResult()" name: "SingleQueryResult()" nameWithType: "SingleQueryResult.SingleQueryResult()" summary: "Creates an instance of SingleQueryResult class." syntax: "public SingleQueryResult()" desc: "Creates an instance of SingleQueryResult class." methods: - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.description()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.description()" name: "description()" nameWithType: "SingleQueryResult.description()" summary: "Get the description property: Describes what is the signature enforces." syntax: "public String description()" desc: "Get the description property: Describes what is the signature enforces." returns: description: "the description value." type: "String" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.destinationPorts()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.destinationPorts()" name: "destinationPorts()" nameWithType: "SingleQueryResult.destinationPorts()" summary: "Get the destinationPorts property: Describes the list of destination ports related to this signature." syntax: "public List destinationPorts()" desc: "Get the destinationPorts property: Describes the list of destination ports related to this signature." returns: description: "the destinationPorts value." type: "List<String>" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.direction()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.direction()" name: "direction()" nameWithType: "SingleQueryResult.direction()" summary: "Get the direction property: Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound." syntax: "public FirewallPolicyIdpsSignatureDirection direction()" desc: "Get the direction property: Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound." returns: description: "the direction value." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "SingleQueryResult.fromJson(JsonReader jsonReader)" summary: "Reads an instance of SingleQueryResult from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static SingleQueryResult fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the SingleQueryResult." type: "IOException" desc: "Reads an instance of SingleQueryResult from the JsonReader." returns: description: "An instance of SingleQueryResult if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.group()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.group()" name: "group()" nameWithType: "SingleQueryResult.group()" summary: "Get the group property: Describes the groups the signature belongs to." syntax: "public String group()" desc: "Get the group property: Describes the groups the signature belongs to." returns: description: "the group value." type: "String" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.inheritedFromParentPolicy()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.inheritedFromParentPolicy()" name: "inheritedFromParentPolicy()" nameWithType: "SingleQueryResult.inheritedFromParentPolicy()" summary: "Get the inheritedFromParentPolicy property: Describes if this override is inherited from base policy or not." syntax: "public Boolean inheritedFromParentPolicy()" desc: "Get the inheritedFromParentPolicy property: Describes if this override is inherited from base policy or not." returns: description: "the inheritedFromParentPolicy value." type: "Boolean" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.lastUpdated()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.lastUpdated()" name: "lastUpdated()" nameWithType: "SingleQueryResult.lastUpdated()" summary: "Get the lastUpdated property: Describes the last updated time of the signature (provided from 3rd party vendor)." syntax: "public String lastUpdated()" desc: "Get the lastUpdated property: Describes the last updated time of the signature (provided from 3rd party vendor)." returns: description: "the lastUpdated value." type: "String" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.mode()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.mode()" name: "mode()" nameWithType: "SingleQueryResult.mode()" summary: "Get the mode property: The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny." syntax: "public FirewallPolicyIdpsSignatureMode mode()" desc: "Get the mode property: The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny." returns: description: "the mode value." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.protocol()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.protocol()" name: "protocol()" nameWithType: "SingleQueryResult.protocol()" summary: "Get the protocol property: Describes the protocol the signatures is being enforced in." syntax: "public String protocol()" desc: "Get the protocol property: Describes the protocol the signatures is being enforced in." returns: description: "the protocol value." type: "String" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.severity()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.severity()" name: "severity()" nameWithType: "SingleQueryResult.severity()" summary: "Get the severity property: Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low." syntax: "public FirewallPolicyIdpsSignatureSeverity severity()" desc: "Get the severity property: Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low." returns: description: "the severity value." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.signatureId()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.signatureId()" name: "signatureId()" nameWithType: "SingleQueryResult.signatureId()" summary: "Get the signatureId property: The ID of the signature." syntax: "public Integer signatureId()" desc: "Get the signatureId property: The ID of the signature." returns: description: "the signatureId value." type: "Integer" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.sourcePorts()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.sourcePorts()" name: "sourcePorts()" nameWithType: "SingleQueryResult.sourcePorts()" summary: "Get the sourcePorts property: Describes the list of source ports related to this signature." syntax: "public List sourcePorts()" desc: "Get the sourcePorts property: Describes the list of source ports related to this signature." returns: description: "the sourcePorts value." type: "List<String>" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "SingleQueryResult.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.validate()" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.validate()" name: "validate()" nameWithType: "SingleQueryResult.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withDescription(java.lang.String)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withDescription(String description)" name: "withDescription(String description)" nameWithType: "SingleQueryResult.withDescription(String description)" summary: "Set the description property: Describes what is the signature enforces." parameters: - description: "the description value to set." name: "description" type: "String" syntax: "public SingleQueryResult withDescription(String description)" desc: "Set the description property: Describes what is the signature enforces." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withDestinationPorts(java.util.List)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withDestinationPorts(List destinationPorts)" name: "withDestinationPorts(List destinationPorts)" nameWithType: "SingleQueryResult.withDestinationPorts(List destinationPorts)" summary: "Set the destinationPorts property: Describes the list of destination ports related to this signature." parameters: - description: "the destinationPorts value to set." name: "destinationPorts" type: "List<String>" syntax: "public SingleQueryResult withDestinationPorts(List destinationPorts)" desc: "Set the destinationPorts property: Describes the list of destination ports related to this signature." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withDirection(com.azure.resourcemanager.network.models.FirewallPolicyIdpsSignatureDirection)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withDirection(FirewallPolicyIdpsSignatureDirection direction)" name: "withDirection(FirewallPolicyIdpsSignatureDirection direction)" nameWithType: "SingleQueryResult.withDirection(FirewallPolicyIdpsSignatureDirection direction)" summary: "Set the direction property: Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound." parameters: - description: "the direction value to set." name: "direction" type: "" syntax: "public SingleQueryResult withDirection(FirewallPolicyIdpsSignatureDirection direction)" desc: "Set the direction property: Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withGroup(java.lang.String)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withGroup(String group)" name: "withGroup(String group)" nameWithType: "SingleQueryResult.withGroup(String group)" summary: "Set the group property: Describes the groups the signature belongs to." parameters: - description: "the group value to set." name: "group" type: "String" syntax: "public SingleQueryResult withGroup(String group)" desc: "Set the group property: Describes the groups the signature belongs to." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withInheritedFromParentPolicy(java.lang.Boolean)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withInheritedFromParentPolicy(Boolean inheritedFromParentPolicy)" name: "withInheritedFromParentPolicy(Boolean inheritedFromParentPolicy)" nameWithType: "SingleQueryResult.withInheritedFromParentPolicy(Boolean inheritedFromParentPolicy)" summary: "Set the inheritedFromParentPolicy property: Describes if this override is inherited from base policy or not." parameters: - description: "the inheritedFromParentPolicy value to set." name: "inheritedFromParentPolicy" type: "Boolean" syntax: "public SingleQueryResult withInheritedFromParentPolicy(Boolean inheritedFromParentPolicy)" desc: "Set the inheritedFromParentPolicy property: Describes if this override is inherited from base policy or not." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withLastUpdated(java.lang.String)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withLastUpdated(String lastUpdated)" name: "withLastUpdated(String lastUpdated)" nameWithType: "SingleQueryResult.withLastUpdated(String lastUpdated)" summary: "Set the lastUpdated property: Describes the last updated time of the signature (provided from 3rd party vendor)." parameters: - description: "the lastUpdated value to set." name: "lastUpdated" type: "String" syntax: "public SingleQueryResult withLastUpdated(String lastUpdated)" desc: "Set the lastUpdated property: Describes the last updated time of the signature (provided from 3rd party vendor)." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withMode(com.azure.resourcemanager.network.models.FirewallPolicyIdpsSignatureMode)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withMode(FirewallPolicyIdpsSignatureMode mode)" name: "withMode(FirewallPolicyIdpsSignatureMode mode)" nameWithType: "SingleQueryResult.withMode(FirewallPolicyIdpsSignatureMode mode)" summary: "Set the mode property: The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny." parameters: - description: "the mode value to set." name: "mode" type: "" syntax: "public SingleQueryResult withMode(FirewallPolicyIdpsSignatureMode mode)" desc: "Set the mode property: The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withProtocol(java.lang.String)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withProtocol(String protocol)" name: "withProtocol(String protocol)" nameWithType: "SingleQueryResult.withProtocol(String protocol)" summary: "Set the protocol property: Describes the protocol the signatures is being enforced in." parameters: - description: "the protocol value to set." name: "protocol" type: "String" syntax: "public SingleQueryResult withProtocol(String protocol)" desc: "Set the protocol property: Describes the protocol the signatures is being enforced in." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withSeverity(com.azure.resourcemanager.network.models.FirewallPolicyIdpsSignatureSeverity)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withSeverity(FirewallPolicyIdpsSignatureSeverity severity)" name: "withSeverity(FirewallPolicyIdpsSignatureSeverity severity)" nameWithType: "SingleQueryResult.withSeverity(FirewallPolicyIdpsSignatureSeverity severity)" summary: "Set the severity property: Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low." parameters: - description: "the severity value to set." name: "severity" type: "" syntax: "public SingleQueryResult withSeverity(FirewallPolicyIdpsSignatureSeverity severity)" desc: "Set the severity property: Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withSignatureId(java.lang.Integer)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withSignatureId(Integer signatureId)" name: "withSignatureId(Integer signatureId)" nameWithType: "SingleQueryResult.withSignatureId(Integer signatureId)" summary: "Set the signatureId property: The ID of the signature." parameters: - description: "the signatureId value to set." name: "signatureId" type: "Integer" syntax: "public SingleQueryResult withSignatureId(Integer signatureId)" desc: "Set the signatureId property: The ID of the signature." returns: description: "the SingleQueryResult object itself." type: "" - uid: "com.azure.resourcemanager.network.models.SingleQueryResult.withSourcePorts(java.util.List)" fullName: "com.azure.resourcemanager.network.models.SingleQueryResult.withSourcePorts(List sourcePorts)" name: "withSourcePorts(List sourcePorts)" nameWithType: "SingleQueryResult.withSourcePorts(List sourcePorts)" summary: "Set the sourcePorts property: Describes the list of source ports related to this signature." parameters: - description: "the sourcePorts value to set." name: "sourcePorts" type: "List<String>" syntax: "public SingleQueryResult withSourcePorts(List sourcePorts)" desc: "Set the sourcePorts property: Describes the list of source ports related to this signature." returns: description: "the SingleQueryResult object itself." type: "" type: "class" desc: "The SingleQueryResult model." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.network.models" artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0