|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "meraki_network_group_policy Data Source - terraform-provider-meraki" |
| 4 | +subcategory: "Networks" |
| 5 | +description: |- |
| 6 | + This data source can read the Network Group Policy configuration. |
| 7 | +--- |
| 8 | + |
| 9 | +# meraki_network_group_policy (Data Source) |
| 10 | + |
| 11 | +This data source can read the `Network Group Policy` configuration. |
| 12 | + |
| 13 | +## Example Usage |
| 14 | + |
| 15 | +```terraform |
| 16 | +data "meraki_network_group_policy" "example" { |
| 17 | + id = "12345678" |
| 18 | + network_id = "" |
| 19 | +} |
| 20 | +``` |
| 21 | + |
| 22 | +<!-- schema generated by tfplugindocs --> |
| 23 | +## Schema |
| 24 | + |
| 25 | +### Required |
| 26 | + |
| 27 | +- `network_id` (String) |
| 28 | + |
| 29 | +### Optional |
| 30 | + |
| 31 | +- `id` (String) The id of the object |
| 32 | +- `name` (String) The name for your group policy. |
| 33 | + |
| 34 | +### Read-Only |
| 35 | + |
| 36 | +- `bandwidth_bandwidth_limits_limit_down` (Number) The maximum download limit (integer, in Kbps). null indicates no limit |
| 37 | +- `bandwidth_bandwidth_limits_limit_up` (Number) The maximum upload limit (integer, in Kbps). null indicates no limit |
| 38 | +- `bandwidth_settings` (String) How bandwidth limits are enforced. Can be 'network default', 'ignore' or 'custom'. |
| 39 | +- `bonjour_forwarding_rules` (Attributes List) A list of the Bonjour forwarding rules for your group policy. If 'settings' is set to 'custom', at least one rule must be specified. (see [below for nested schema](#nestedatt--bonjour_forwarding_rules)) |
| 40 | +- `bonjour_forwarding_settings` (String) How Bonjour rules are applied. Can be 'network default', 'ignore' or 'custom'. |
| 41 | +- `content_filtering_allowed_url_patterns_patterns` (List of String) A list of URL patterns that are allowed |
| 42 | +- `content_filtering_allowed_url_patterns_settings` (String) How URL patterns are applied. Can be 'network default', 'append' or 'override'. |
| 43 | +- `content_filtering_blocked_url_categories_categories` (List of String) A list of URL categories to block |
| 44 | +- `content_filtering_blocked_url_categories_settings` (String) How URL categories are applied. Can be 'network default', 'append' or 'override'. |
| 45 | +- `content_filtering_blocked_url_patterns_patterns` (List of String) A list of URL patterns that are blocked |
| 46 | +- `content_filtering_blocked_url_patterns_settings` (String) How URL patterns are applied. Can be 'network default', 'append' or 'override'. |
| 47 | +- `firewall_and_traffic_shaping_l3_firewall_rules` (Attributes List) An ordered array of the L3 firewall rules (see [below for nested schema](#nestedatt--firewall_and_traffic_shaping_l3_firewall_rules)) |
| 48 | +- `firewall_and_traffic_shaping_l7_firewall_rules` (Attributes List) An ordered array of L7 firewall rules (see [below for nested schema](#nestedatt--firewall_and_traffic_shaping_l7_firewall_rules)) |
| 49 | +- `firewall_and_traffic_shaping_settings` (String) How firewall and traffic shaping rules are enforced. Can be 'network default', 'ignore' or 'custom'. |
| 50 | +- `firewall_and_traffic_shaping_traffic_shaping_rules` (Attributes List) An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules. (see [below for nested schema](#nestedatt--firewall_and_traffic_shaping_traffic_shaping_rules)) |
| 51 | +- `scheduling_enabled` (Boolean) Whether scheduling is enabled (true) or disabled (false). Defaults to false. If true, the schedule objects for each day of the week (monday - sunday) are parsed. |
| 52 | +- `scheduling_friday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 53 | +- `scheduling_friday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 54 | +- `scheduling_friday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 55 | +- `scheduling_monday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 56 | +- `scheduling_monday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 57 | +- `scheduling_monday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 58 | +- `scheduling_saturday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 59 | +- `scheduling_saturday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 60 | +- `scheduling_saturday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 61 | +- `scheduling_sunday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 62 | +- `scheduling_sunday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 63 | +- `scheduling_sunday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 64 | +- `scheduling_thursday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 65 | +- `scheduling_thursday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 66 | +- `scheduling_thursday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 67 | +- `scheduling_tuesday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 68 | +- `scheduling_tuesday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 69 | +- `scheduling_tuesday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 70 | +- `scheduling_wednesday_active` (Boolean) Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true. |
| 71 | +- `scheduling_wednesday_from` (String) The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed. |
| 72 | +- `scheduling_wednesday_to` (String) The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed. |
| 73 | +- `splash_auth_settings` (String) Whether clients bound to your policy will bypass splash authorization or behave according to the network's rules. Can be one of 'network default' or 'bypass'. Only available if your network has a wireless configuration. |
| 74 | +- `vlan_tagging_settings` (String) How VLAN tagging is applied. Can be 'network default', 'ignore' or 'custom'. |
| 75 | +- `vlan_tagging_vlan_id` (String) The ID of the vlan you want to tag. This only applies if 'settings' is set to 'custom'. |
| 76 | + |
| 77 | +<a id="nestedatt--bonjour_forwarding_rules"></a> |
| 78 | +### Nested Schema for `bonjour_forwarding_rules` |
| 79 | + |
| 80 | +Read-Only: |
| 81 | + |
| 82 | +- `description` (String) A description for your Bonjour forwarding rule. Optional. |
| 83 | +- `services` (List of String) A list of Bonjour services. At least one service must be specified. Available services are 'All Services', 'AirPlay', 'AFP', 'BitTorrent', 'FTP', 'iChat', 'iTunes', 'Printers', 'Samba', 'Scanners' and 'SSH' |
| 84 | +- `vlan_id` (String) The ID of the service VLAN. Required. |
| 85 | + |
| 86 | + |
| 87 | +<a id="nestedatt--firewall_and_traffic_shaping_l3_firewall_rules"></a> |
| 88 | +### Nested Schema for `firewall_and_traffic_shaping_l3_firewall_rules` |
| 89 | + |
| 90 | +Read-Only: |
| 91 | + |
| 92 | +- `comment` (String) Description of the rule (optional) |
| 93 | +- `dest_cidr` (String) Destination IP address (in IP or CIDR notation), a fully-qualified domain name (FQDN, if your network supports it) or 'any'. |
| 94 | +- `dest_port` (String) Destination port (integer in the range 1-65535), a port range (e.g. 8080-9090), or 'any' |
| 95 | +- `policy` (String) 'allow' or 'deny' traffic specified by this rule |
| 96 | +- `protocol` (String) The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any') |
| 97 | + |
| 98 | + |
| 99 | +<a id="nestedatt--firewall_and_traffic_shaping_l7_firewall_rules"></a> |
| 100 | +### Nested Schema for `firewall_and_traffic_shaping_l7_firewall_rules` |
| 101 | + |
| 102 | +Read-Only: |
| 103 | + |
| 104 | +- `policy` (String) The policy applied to matching traffic. Must be 'deny'. |
| 105 | +- `type` (String) Type of the L7 Rule. Must be 'application', 'applicationCategory', 'host', 'port' or 'ipRange' |
| 106 | +- `value` (String) The 'value' of what you want to block. If 'type' is 'host', 'port' or 'ipRange', 'value' must be a string matching either a hostname (e.g. somewhere.com), a port (e.g. 8080), or an IP range (e.g. 192.1.0.0/16). If 'type' is 'application' or 'applicationCategory', then 'value' must be an object with an ID for the application. |
| 107 | + |
| 108 | + |
| 109 | +<a id="nestedatt--firewall_and_traffic_shaping_traffic_shaping_rules"></a> |
| 110 | +### Nested Schema for `firewall_and_traffic_shaping_traffic_shaping_rules` |
| 111 | + |
| 112 | +Read-Only: |
| 113 | + |
| 114 | +- `definitions` (Attributes List) A list of objects describing the definitions of your traffic shaping rule. At least one definition is required. (see [below for nested schema](#nestedatt--firewall_and_traffic_shaping_traffic_shaping_rules--definitions)) |
| 115 | +- `dscp_tag_value` (Number) The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint. |
| 116 | +- `pcp_tag_value` (Number) The PCP tag applied by your rule. Can be 0 (lowest priority) through 7 (highest priority). null means 'Do not set PCP tag'. |
| 117 | +- `per_client_bandwidth_limits_bandwidth_limits_limit_down` (Number) The maximum download limit (integer, in Kbps). |
| 118 | +- `per_client_bandwidth_limits_bandwidth_limits_limit_up` (Number) The maximum upload limit (integer, in Kbps). |
| 119 | +- `per_client_bandwidth_limits_settings` (String) How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'. |
| 120 | +- `priority` (String) A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'. |
| 121 | + |
| 122 | +<a id="nestedatt--firewall_and_traffic_shaping_traffic_shaping_rules--definitions"></a> |
| 123 | +### Nested Schema for `firewall_and_traffic_shaping_traffic_shaping_rules.definitions` |
| 124 | + |
| 125 | +Read-Only: |
| 126 | + |
| 127 | +- `type` (String) The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'. |
| 128 | +- `value` (String) If 'type' is 'host', 'port', 'ipRange' or 'localNet', then 'value' must be a string, matching either a hostname (e.g. 'somesite.com'), a port (e.g. 8080), or an IP range ('192.1.0.0', '192.1.0.0/16', or '10.1.0.0/16:80'). 'localNet' also supports CIDR notation, excluding custom ports. If 'type' is 'application' or 'applicationCategory', then 'value' must be an object with the structure { 'id': 'meraki:layer7/...' }, where 'id' is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint). |
0 commit comments