Snowflake · Schema

NetworkPolicy

A Snowflake network policy

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
name string Name of the network policy
allowed_network_rule_list array List of names of allowed network rules in a network policy
blocked_network_rule_list array List of names of blocked network rules in a network policy
allowed_ip_list array List of allowed IPs in a network policy
blocked_ip_list array List of blocked IPs in a network policy
comment string user comment associated to an object in the dictionary
created_on string Date and time when the network policy was created.
owner string Role that owns the network policy
owner_role_type string The type of role that owns the network policy
View JSON Schema on GitHub

JSON Schema

network-policy-network-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NetworkPolicy",
  "type": "object",
  "description": "A Snowflake network policy",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the network policy"
    },
    "allowed_network_rule_list": {
      "type": "array",
      "description": "List of names of allowed network rules in a network policy"
    },
    "blocked_network_rule_list": {
      "type": "array",
      "description": "List of names of blocked network rules in a network policy"
    },
    "allowed_ip_list": {
      "type": "array",
      "description": "List of allowed IPs in a network policy"
    },
    "blocked_ip_list": {
      "type": "array",
      "description": "List of blocked IPs in a network policy"
    },
    "comment": {
      "type": "string",
      "description": "user comment associated to an object in the dictionary"
    },
    "created_on": {
      "type": "string",
      "description": "Date and time when the network policy was created."
    },
    "owner": {
      "type": "string",
      "description": "Role that owns the network policy"
    },
    "owner_role_type": {
      "type": "string",
      "description": "The type of role that owns the network policy"
    }
  }
}