NetworkRuleSet Class
Network specific rules that determine how the Azure AI Search service may be reached.
Constructor
NetworkRuleSet(*, ip_rules: List[_models.IpRule] | None = None, bypass: str | _models.SearchBypass | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
ip_rules
|
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. Default value: None
|
|
bypass
|
str or
SearchBypass
Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. Known values are: "None" and "AzureServices". Default value: None
|
Variables
| Name | Description |
|---|---|
|
ip_rules
|
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. |
|
bypass
|
str or
SearchBypass
Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. Known values are: "None" and "AzureServices". |