NetworkRuleSet Class

Definition

Network specific rules that determine how the Azure Cognitive Search service may be reached.

public class NetworkRuleSet
type NetworkRuleSet = class
Public Class NetworkRuleSet
Inheritance
NetworkRuleSet

Constructors

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet(IList<IpRule>)

Initializes a new instance of the NetworkRuleSet class.

Properties

IpRules

Gets or sets a list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method.

Applies to