en-US/PSCloudFlare-help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml">
 
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Add-CFFirewallRule</command:name>
<command:verb>Add</command:verb>
<command:noun>CFFirewallRule</command:noun>
<maml:description><maml:para>Adds a cloudflare firewall rule.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Adds a cloudflare firewall rule.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Add-CFFirewallRule</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Item</maml:name>
<maml:Description><maml:para>This can be an IP, IP range (Cidr notation), ASN (AS####), or 2 letter Country code
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Target</maml:name>
<maml:Description><maml:para>Are you adding an IP, IP_Range, ASN, or Country?
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Ip</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Mode</maml:name>
<maml:Description><maml:para>What is this rule going to do? Options include whitelist, block, challenge, js_challenge. Default is to whitelist.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Whitelist</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="5" aliases="none"><maml:name>Notes</maml:name>
<maml:Description><maml:para>Any additional notes for the added firewall rule
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Item</maml:name>
<maml:Description><maml:para>This can be an IP, IP range (Cidr notation), ASN (AS####), or 2 letter Country code
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Target</maml:name>
<maml:Description><maml:para>Are you adding an IP, IP_Range, ASN, or Country?
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Ip</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Mode</maml:name>
<maml:Description><maml:para>What is this rule going to do? Options include whitelist, block, challenge, js_challenge. Default is to whitelist.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Whitelist</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="5" aliases="none"><maml:name>Notes</maml:name>
<maml:Description><maml:para>Any additional notes for the added firewall rule
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Add-CFFirewallRule -ZoneID $ZoneID -Item '96.9.128.0/24' -Notes 'Load Balancer Ip Block - 4.1' -Target 'ip_range' -Mode:challenge -Verbose</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Connect-CFClientAPI</command:name>
<command:verb>Connect</command:verb>
<command:noun>CFClientAPI</command:noun>
<maml:description><maml:para>Connects to the CloudFlare API for future requests.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Connects to the CloudFlare API for future requests.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Connect-CFClientAPI</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>APIToken</maml:name>
<maml:Description><maml:para>The Cloudflare API token.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>EmailAddress</maml:name>
<maml:Description><maml:para>The associated email address with this Cloudflare API token.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>APIToken</maml:name>
<maml:Description><maml:para>The Cloudflare API token.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>EmailAddress</maml:name>
<maml:Description><maml:para>The associated email address with this Cloudflare API token.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Connect-CFClientAPI -APIToken xxxxxxxxxxxxxxxxxxxxx -EmailAddress 'jdoe@contoso.com'</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Get-CFCurrentZone</command:name>
<command:verb>Get</command:verb>
<command:noun>CFCurrentZone</command:noun>
<maml:description><maml:para>Gets the currently targeted ZoneID.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Gets the currently targeted ZoneID.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Get-CFCurrentZone</maml:name>
</command:syntaxItem>
</command:syntax>
<command:parameters></command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Get-CFRequestData</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Get-CFCurrentZoneID</command:name>
<command:verb>Get</command:verb>
<command:noun>CFCurrentZoneID</command:noun>
<maml:description><maml:para>Gets the currently targeted ZoneID.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Gets the currently targeted ZoneID.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Get-CFCurrentZoneID</maml:name>
</command:syntaxItem>
</command:syntax>
<command:parameters></command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Get-CFRequestData</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Get-CFFirewallRule</command:name>
<command:verb>Get</command:verb>
<command:noun>CFFirewallRule</command:noun>
<maml:description><maml:para>List Cloudflare firewall rules.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>List Cloudflare firewall rules.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Get-CFFirewallRule</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>MatchItem</maml:name>
<maml:Description><maml:para>This can be an IP, IP range (Cidr notation), ASN (AS####), or 2 letter Country code if matching by Target in your search. Default is null (match all items).
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>MatchTarget</maml:name>
<maml:Description><maml:para>Are you matching an IP, IP_Range, ASN, or Country?
</maml:para>
</maml:Description>
<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">ip</command:parameterValue>
<command:parameterValue required="false" variableLength="false">ip_range</command:parameterValue>
<command:parameterValue required="false" variableLength="false">country</command:parameterValue>
<command:parameterValue required="false" variableLength="false">asn</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">CFFirewallTarget</command:parameterValue>
<dev:type><maml:name>CFFirewallTarget</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>MatchMode</maml:name>
<maml:Description><maml:para>Matches only firewall rules with this mode. Options include whitelist, block, challenge, js_challenge. Default is null (match all modes)
</maml:para>
</maml:Description>
<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">whitelist</command:parameterValue>
<command:parameterValue required="false" variableLength="false">block</command:parameterValue>
<command:parameterValue required="false" variableLength="false">challenge</command:parameterValue>
<command:parameterValue required="false" variableLength="false">js_challenge</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">CFFirewallMode</command:parameterValue>
<dev:type><maml:name>CFFirewallMode</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="5" aliases="none"><maml:name>OrderBy</maml:name>
<maml:Description><maml:para>Order the results by configuration_target, configuration_value, or mode. Default is configuration_value
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Configuration_value</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="6" aliases="none"><maml:name>Direction</maml:name>
<maml:Description><maml:para>Return results in asc (ascending) or dec (decending) order. Default is asc.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Asc</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="7" aliases="none"><maml:name>MatchScope</maml:name>
<maml:Description><maml:para>Match either 'any' or 'all' the supplied matching parameters passed to this function. Default is all.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>All</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="8" aliases="none"><maml:name>PageLimit</maml:name>
<maml:Description><maml:para>Maximum results returned per page. Default is 50.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
<dev:type><maml:name>Int32</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>50</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>MatchItem</maml:name>
<maml:Description><maml:para>This can be an IP, IP range (Cidr notation), ASN (AS####), or 2 letter Country code if matching by Target in your search. Default is null (match all items).
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>MatchTarget</maml:name>
<maml:Description><maml:para>Are you matching an IP, IP_Range, ASN, or Country?
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">CFFirewallTarget</command:parameterValue>
<dev:type><maml:name>CFFirewallTarget</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>MatchMode</maml:name>
<maml:Description><maml:para>Matches only firewall rules with this mode. Options include whitelist, block, challenge, js_challenge. Default is null (match all modes)
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">CFFirewallMode</command:parameterValue>
<dev:type><maml:name>CFFirewallMode</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="5" aliases="none"><maml:name>OrderBy</maml:name>
<maml:Description><maml:para>Order the results by configuration_target, configuration_value, or mode. Default is configuration_value
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Configuration_value</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="6" aliases="none"><maml:name>Direction</maml:name>
<maml:Description><maml:para>Return results in asc (ascending) or dec (decending) order. Default is asc.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Asc</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="7" aliases="none"><maml:name>MatchScope</maml:name>
<maml:Description><maml:para>Match either 'any' or 'all' the supplied matching parameters passed to this function. Default is all.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>All</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="8" aliases="none"><maml:name>PageLimit</maml:name>
<maml:Description><maml:para>Maximum results returned per page. Default is 50.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
<dev:type><maml:name>Int32</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>50</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Get-CFFirewallRule</dev:code>
<dev:remarks><maml:para>Shows all cloudflare firewall rules at the top of the organization
</maml:para>
</dev:remarks>
</command:example>
<command:example><maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
<dev:code>Set-CFCurrentZone 'contoso.org'</dev:code>
<dev:remarks><maml:para>PS&gt; Get-CFFirewallRule
</maml:para>
<maml:para>Shows all cloudflare firewall rules for the contoso.org zone.
</maml:para>
</dev:remarks>
</command:example>
<command:example><maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title>
<dev:code>Get-CFFirewallRule -MatchMode whitelist</dev:code>
<dev:remarks><maml:para>Shows only whitelist firewall items
</maml:para>
</dev:remarks>
</command:example>
<command:example><maml:title>-------------------------- EXAMPLE 4 --------------------------</maml:title>
<dev:code>Get-CFFirewallRule -MatchMode whitelist -MatchItem '4.2.2.2' -MatchScope any</dev:code>
<dev:remarks><maml:para>Returns any whitelisted item that matches 4.2.2.2
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Get-CFRequestData</command:name>
<command:verb>Get</command:verb>
<command:noun>CFRequestData</command:noun>
<maml:description><maml:para>Gets the parameters for a request to the Cloudflare API.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Gets the parameters for a request to the Cloudflare API.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Get-CFRequestData</maml:name>
</command:syntaxItem>
</command:syntax>
<command:parameters></command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>TBD</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Get-CFZoneID</command:name>
<command:verb>Get</command:verb>
<command:noun>CFZoneID</command:noun>
<maml:description><maml:para>Returns the ZoneID of the passed zone name (if it exists)
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Returns the ZoneID of the passed zone name (if it exists)
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Get-CFZoneID</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Zone</maml:name>
<maml:Description><maml:para>Zone name.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Zone</maml:name>
<maml:Description><maml:para>Zone name.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>System.String</maml:name>
</dev:type>
<maml:description><maml:para>
</maml:para>
</maml:description>
</command:returnValue>
</command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Get-CFZoneID -Zone 'contoso.com'</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Invoke-CFAPI4Request</command:name>
<command:verb>Invoke</command:verb>
<command:noun>CFAPI4Request</command:noun>
<maml:description><maml:para>Send REST request to Cloudflare URI.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Send REST request to Cloudflare URI.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Invoke-CFAPI4Request</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Uri</maml:name>
<maml:Description><maml:para>Target URI to send request to.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Uri</command:parameterValue>
<dev:type><maml:name>Uri</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).URI</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>Headers</maml:name>
<maml:Description><maml:para>All the headers in hashtable format you will be sending.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).Headers</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Body</maml:name>
<maml:Description><maml:para>The body of the REST request
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).Body</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Method</maml:name>
<maml:Description><maml:para>REST method to send. Can be Head, Get, Put, Patch, Post, or Delete. Default is Get.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).Method</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Uri</maml:name>
<maml:Description><maml:para>Target URI to send request to.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Uri</command:parameterValue>
<dev:type><maml:name>Uri</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).URI</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>Headers</maml:name>
<maml:Description><maml:para>All the headers in hashtable format you will be sending.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).Headers</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Body</maml:name>
<maml:Description><maml:para>The body of the REST request
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).Body</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Method</maml:name>
<maml:Description><maml:para>REST method to send. Can be Head, Get, Put, Patch, Post, or Delete. Default is Get.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>($Script:RESTParams).Method</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>TBD</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Remove-CFFirewallRule</command:name>
<command:verb>Remove</command:verb>
<command:noun>CFFirewallRule</command:noun>
<maml:description><maml:para>Removes a Cloudflare firewall rule.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Removes a Cloudflare firewall rule.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Remove-CFFirewallRule</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>RuleID</maml:name>
<maml:Description><maml:para>RuleID to remove
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>RuleID</maml:name>
<maml:Description><maml:para>RuleID to remove
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>TBD</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Set-CFCurrentZone</command:name>
<command:verb>Set</command:verb>
<command:noun>CFCurrentZone</command:noun>
<maml:description><maml:para>Sets the currently targeted zone for other functions
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Sets the currently targeted zone for other functions
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Set-CFCurrentZone</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Zone</maml:name>
<maml:Description><maml:para>The zone domain name
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>Zone</maml:name>
<maml:Description><maml:para>The zone domain name
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Set-CFCurrentZone -Zone 'contoso.com'</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Set-CFFirewallRule</command:name>
<command:verb>Set</command:verb>
<command:noun>CFFirewallRule</command:noun>
<maml:description><maml:para>Modifies a cloudflare firewall rule.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Modifies a cloudflare firewall rule.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Set-CFFirewallRule</maml:name>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="2" aliases="none"><maml:name>ID</maml:name>
<maml:Description><maml:para>The firewall ID you would like to modify.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String[]</command:parameterValue>
<dev:type><maml:name>String[]</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Item</maml:name>
<maml:Description><maml:para>This can be an IP, IP range (Cidr notation), ASN (AS####), or 2 letter Country code
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Target</maml:name>
<maml:Description><maml:para>Are you adding an IP, IP_Range, ASN, or Country?
</maml:para>
</maml:Description>
<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">ip</command:parameterValue>
<command:parameterValue required="false" variableLength="false">ip_range</command:parameterValue>
<command:parameterValue required="false" variableLength="false">country</command:parameterValue>
<command:parameterValue required="false" variableLength="false">asn</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">CFFirewallTarget</command:parameterValue>
<dev:type><maml:name>CFFirewallTarget</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="5" aliases="none"><maml:name>Mode</maml:name>
<maml:Description><maml:para>What is this rule going to do? Options include whitelist, block, challenge, js_challenge. Default is to whitelist.
</maml:para>
</maml:Description>
<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">whitelist</command:parameterValue>
<command:parameterValue required="false" variableLength="false">block</command:parameterValue>
<command:parameterValue required="false" variableLength="false">challenge</command:parameterValue>
<command:parameterValue required="false" variableLength="false">js_challenge</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">CFFirewallMode</command:parameterValue>
<dev:type><maml:name>CFFirewallMode</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="6" aliases="none"><maml:name>Notes</maml:name>
<maml:Description><maml:para>Any additional notes for the added firewall rule
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>ZoneID</maml:name>
<maml:Description><maml:para>You apply firewall rules to individual zones or to the whole organization. If you pass ZoneID it will be targeted otherwise the currently loaded zone from Set-CFCurrentZone is targeted.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="2" aliases="none"><maml:name>ID</maml:name>
<maml:Description><maml:para>The firewall ID you would like to modify.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String[]</command:parameterValue>
<dev:type><maml:name>String[]</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Item</maml:name>
<maml:Description><maml:para>This can be an IP, IP range (Cidr notation), ASN (AS####), or 2 letter Country code
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Target</maml:name>
<maml:Description><maml:para>Are you adding an IP, IP_Range, ASN, or Country?
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">CFFirewallTarget</command:parameterValue>
<dev:type><maml:name>CFFirewallTarget</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="5" aliases="none"><maml:name>Mode</maml:name>
<maml:Description><maml:para>What is this rule going to do? Options include whitelist, block, challenge, js_challenge. Default is to whitelist.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">CFFirewallMode</command:parameterValue>
<dev:type><maml:name>CFFirewallMode</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="6" aliases="none"><maml:name>Notes</maml:name>
<maml:Description><maml:para>Any additional notes for the added firewall rule
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>Set-CFFirewallRule -ZoneID $ZoneID -Item '96.9.128.0/24' -Notes 'Load Balancer Ip Block - 4.1' -Target 'ip_range' -Mode:challenge -Verbose</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details><command:name>Set-CFRequestData</command:name>
<command:verb>Set</command:verb>
<command:noun>CFRequestData</command:noun>
<maml:description><maml:para>Sets the parameters for a request to the Cloudflare API.
</maml:para>
</maml:description>
</command:details>
<maml:description><maml:para>Sets the parameters for a request to the Cloudflare API.
</maml:para>
</maml:description>
<command:syntax><command:syntaxItem><maml:name>Set-CFRequestData</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>URI</maml:name>
<maml:Description><maml:para>Target URI to send request to.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>Headers</maml:name>
<maml:Description><maml:para>All the headers in hashtable format you will be sending.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>$Script:Headers</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Body</maml:name>
<maml:Description><maml:para>The body of the REST request
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Method</maml:name>
<maml:Description><maml:para>REST method to send. Can be Head, Get, Put, Patch, Post, or Delete. Default is Get.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Get</dev:defaultValue>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters><command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"><maml:name>URI</maml:name>
<maml:Description><maml:para>Target URI to send request to.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none"><maml:name>Headers</maml:name>
<maml:Description><maml:para>All the headers in hashtable format you will be sending.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>$Script:Headers</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none"><maml:name>Body</maml:name>
<maml:Description><maml:para>The body of the REST request
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue>
<dev:type><maml:name>Hashtable</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="4" aliases="none"><maml:name>Method</maml:name>
<maml:Description><maml:para>REST method to send. Can be Head, Get, Put, Patch, Post, or Delete. Default is Get.
</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type><maml:name>String</maml:name>
<maml:uri /></dev:type>
<dev:defaultValue>Get</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes></command:inputTypes>
<command:returnValues></command:returnValues>
<maml:alertSet><maml:alert><maml:para>Author: Zachary Loeber
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples><command:example><maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
<dev:code>TBD</dev:code>
<dev:remarks><maml:para>
</maml:para>
</dev:remarks>
</command:example>
</command:examples>
<command:relatedLinks><maml:navigationLink><maml:linkText>https://github.com/zloeber/PSCloudFlare</maml:linkText>
<maml:uri>https://github.com/zloeber/PSCloudFlare</maml:uri>
</maml:navigationLink>
</command:relatedLinks>
</command:command>
</helpItems>