cloudflare.TeamsRule
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
exampleZeroTrustGatewayPolicy:
type: cloudflare:ZeroTrustGatewayPolicy
name: example_zero_trust_gateway_policy
properties:
accountId: 699d98642c564d2e855e9661899b7252
action: allow
name: block bad websites
description: Block bad websites based on their host name.
devicePosture: any(device_posture.checks.passed[*] in {"1308749e-fcfb-4ebc-b051-fe022b632644"})
enabled: true
expiration:
expires_at: 2014-01-01T05:20:20Z
duration: 10
filters:
- http
identity: any(identity.groups.name[*] in {"finance"})
precedence: 0
ruleSettings:
add_headers:
my-Next-Header:
- foo
- bar
x-Custom-Header-Name:
- somecustomvalue
allow_child_bypass: false
audit_ssh:
commandLogging: false
biso_admin_controls:
copy: remote_only
dcp: true
dd: true
dk: true
download: enabled
dp: false
du: true
keyboard: enabled
paste: enabled
printing: enabled
upload: enabled
version: v1
block_page:
targetUri: https://example.com
includeContext: true
block_page_enabled: true
block_reason: This website is a security risk
bypass_parent_rule: false
check_session:
duration: 300s
enforce: true
dns_resolvers:
ipv4:
- ip: 2.2.2.2
port: 5053
routeThroughPrivateNetwork: true
vnetId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
ipv6:
- ip: '2001:DB8::'
port: 5053
routeThroughPrivateNetwork: true
vnetId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
egress:
ipv4: 192.0.2.2
ipv4Fallback: 192.0.2.3
ipv6: 2001:DB8::/64
ignore_cname_category_matches: true
insecure_disable_dnssec_validation: false
ip_categories: true
ip_indicator_feeds: true
l4override:
ip: 1.1.1.1
port: 0
notification_settings:
enabled: true
includeContext: true
msg: msg
supportUrl: support_url
override_host: example.com
override_ips:
- 1.1.1.1
- 2.2.2.2
payload_log:
enabled: true
quarantine:
fileTypes:
- exe
redirect:
targetUri: https://example.com
includeContext: true
preservePathAndQuery: true
resolve_dns_internally:
fallback: none
viewId: view_id
resolve_dns_through_cloudflare: true
untrusted_cert:
action: error
schedule:
fri: 08:00-12:30,13:30-17:00
mon: 08:00-12:30,13:30-17:00
sat: 08:00-12:30,13:30-17:00
sun: 08:00-12:30,13:30-17:00
thu: 08:00-12:30,13:30-17:00
time_zone: America/New York
tue: 08:00-12:30,13:30-17:00
wed: 08:00-12:30,13:30-17:00
traffic: http.request.uri matches ".*a/partial/uri.*" and http.request.host in $01302951-49f9-47c9-a400-0297e60b6a10
Create TeamsRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeamsRule(name: string, args: TeamsRuleArgs, opts?: CustomResourceOptions);@overload
def TeamsRule(resource_name: str,
args: TeamsRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeamsRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
action: Optional[str] = None,
description: Optional[str] = None,
device_posture: Optional[str] = None,
enabled: Optional[bool] = None,
expiration: Optional[TeamsRuleExpirationArgs] = None,
filters: Optional[Sequence[str]] = None,
identity: Optional[str] = None,
name: Optional[str] = None,
precedence: Optional[int] = None,
rule_settings: Optional[TeamsRuleRuleSettingsArgs] = None,
schedule: Optional[TeamsRuleScheduleArgs] = None,
traffic: Optional[str] = None)func NewTeamsRule(ctx *Context, name string, args TeamsRuleArgs, opts ...ResourceOption) (*TeamsRule, error)public TeamsRule(string name, TeamsRuleArgs args, CustomResourceOptions? opts = null)
public TeamsRule(String name, TeamsRuleArgs args)
public TeamsRule(String name, TeamsRuleArgs args, CustomResourceOptions options)
type: cloudflare:TeamsRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TeamsRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeamsRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeamsRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamsRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamsRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TeamsRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeamsRule resource accepts the following input properties:
- Account
Id string - Action string
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - Name string
- Specify the rule name.
- Description string
- Specify the rule description.
- Device
Posture string - Enabled bool
- Specify whether the rule is enabled.
- Expiration
Teams
Rule Expiration - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - Filters List<string>
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- Identity string
- Precedence int
- Rule
Settings TeamsRule Rule Settings - Schedule
Teams
Rule Schedule - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - Traffic string
- Account
Id string - Action string
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - Name string
- Specify the rule name.
- Description string
- Specify the rule description.
- Device
Posture string - Enabled bool
- Specify whether the rule is enabled.
- Expiration
Teams
Rule Expiration Args - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - Filters []string
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- Identity string
- Precedence int
- Rule
Settings TeamsRule Rule Settings Args - Schedule
Teams
Rule Schedule Args - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - Traffic string
- account
Id String - action String
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - name String
- Specify the rule name.
- description String
- Specify the rule description.
- device
Posture String - enabled Boolean
- Specify whether the rule is enabled.
- expiration
Teams
Rule Expiration - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters List<String>
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity String
- precedence Integer
- rule
Settings TeamsRule Rule Settings - schedule
Teams
Rule Schedule - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - traffic String
- account
Id string - action string
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - name string
- Specify the rule name.
- description string
- Specify the rule description.
- device
Posture string - enabled boolean
- Specify whether the rule is enabled.
- expiration
Teams
Rule Expiration - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters string[]
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity string
- precedence number
- rule
Settings TeamsRule Rule Settings - schedule
Teams
Rule Schedule - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - traffic string
- account_
id str - action str
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - name str
- Specify the rule name.
- description str
- Specify the rule description.
- device_
posture str - enabled bool
- Specify whether the rule is enabled.
- expiration
Teams
Rule Expiration Args - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters Sequence[str]
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity str
- precedence int
- rule_
settings TeamsRule Rule Settings Args - schedule
Teams
Rule Schedule Args - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - traffic str
- account
Id String - action String
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - name String
- Specify the rule name.
- description String
- Specify the rule description.
- device
Posture String - enabled Boolean
- Specify whether the rule is enabled.
- expiration Property Map
- Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters List<String>
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity String
- precedence Number
- rule
Settings Property Map - schedule Property Map
- Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - traffic String
Outputs
All input properties are implicitly available as output properties. Additionally, the TeamsRule resource produces the following output properties:
- Created
At string - Deleted
At string - Indicate the date of deletion, if any.
- Id string
- The provider-assigned unique ID for this managed resource.
- Read
Only bool - Indicate that this rule is shared via the Orgs API and read only.
- bool
- Indicate that this rule is sharable via the Orgs API.
- Source
Account string - Provide the account tag of the account that created the rule.
- Updated
At string - Version int
- Indicate the version number of the rule(read-only).
- Warning
Status string - Indicate a warning for a misconfigured rule, if any.
- Created
At string - Deleted
At string - Indicate the date of deletion, if any.
- Id string
- The provider-assigned unique ID for this managed resource.
- Read
Only bool - Indicate that this rule is shared via the Orgs API and read only.
- bool
- Indicate that this rule is sharable via the Orgs API.
- Source
Account string - Provide the account tag of the account that created the rule.
- Updated
At string - Version int
- Indicate the version number of the rule(read-only).
- Warning
Status string - Indicate a warning for a misconfigured rule, if any.
- created
At String - deleted
At String - Indicate the date of deletion, if any.
- id String
- The provider-assigned unique ID for this managed resource.
- read
Only Boolean - Indicate that this rule is shared via the Orgs API and read only.
- Boolean
- Indicate that this rule is sharable via the Orgs API.
- source
Account String - Provide the account tag of the account that created the rule.
- updated
At String - version Integer
- Indicate the version number of the rule(read-only).
- warning
Status String - Indicate a warning for a misconfigured rule, if any.
- created
At string - deleted
At string - Indicate the date of deletion, if any.
- id string
- The provider-assigned unique ID for this managed resource.
- read
Only boolean - Indicate that this rule is shared via the Orgs API and read only.
- boolean
- Indicate that this rule is sharable via the Orgs API.
- source
Account string - Provide the account tag of the account that created the rule.
- updated
At string - version number
- Indicate the version number of the rule(read-only).
- warning
Status string - Indicate a warning for a misconfigured rule, if any.
- created_
at str - deleted_
at str - Indicate the date of deletion, if any.
- id str
- The provider-assigned unique ID for this managed resource.
- read_
only bool - Indicate that this rule is shared via the Orgs API and read only.
- bool
- Indicate that this rule is sharable via the Orgs API.
- source_
account str - Provide the account tag of the account that created the rule.
- updated_
at str - version int
- Indicate the version number of the rule(read-only).
- warning_
status str - Indicate a warning for a misconfigured rule, if any.
- created
At String - deleted
At String - Indicate the date of deletion, if any.
- id String
- The provider-assigned unique ID for this managed resource.
- read
Only Boolean - Indicate that this rule is shared via the Orgs API and read only.
- Boolean
- Indicate that this rule is sharable via the Orgs API.
- source
Account String - Provide the account tag of the account that created the rule.
- updated
At String - version Number
- Indicate the version number of the rule(read-only).
- warning
Status String - Indicate a warning for a misconfigured rule, if any.
Look up Existing TeamsRule Resource
Get an existing TeamsRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeamsRuleState, opts?: CustomResourceOptions): TeamsRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
action: Optional[str] = None,
created_at: Optional[str] = None,
deleted_at: Optional[str] = None,
description: Optional[str] = None,
device_posture: Optional[str] = None,
enabled: Optional[bool] = None,
expiration: Optional[TeamsRuleExpirationArgs] = None,
filters: Optional[Sequence[str]] = None,
identity: Optional[str] = None,
name: Optional[str] = None,
precedence: Optional[int] = None,
read_only: Optional[bool] = None,
rule_settings: Optional[TeamsRuleRuleSettingsArgs] = None,
schedule: Optional[TeamsRuleScheduleArgs] = None,
sharable: Optional[bool] = None,
source_account: Optional[str] = None,
traffic: Optional[str] = None,
updated_at: Optional[str] = None,
version: Optional[int] = None,
warning_status: Optional[str] = None) -> TeamsRulefunc GetTeamsRule(ctx *Context, name string, id IDInput, state *TeamsRuleState, opts ...ResourceOption) (*TeamsRule, error)public static TeamsRule Get(string name, Input<string> id, TeamsRuleState? state, CustomResourceOptions? opts = null)public static TeamsRule get(String name, Output<String> id, TeamsRuleState state, CustomResourceOptions options)resources: _: type: cloudflare:TeamsRule get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Action string
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - Created
At string - Deleted
At string - Indicate the date of deletion, if any.
- Description string
- Specify the rule description.
- Device
Posture string - Enabled bool
- Specify whether the rule is enabled.
- Expiration
Teams
Rule Expiration - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - Filters List<string>
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- Identity string
- Name string
- Specify the rule name.
- Precedence int
- Read
Only bool - Indicate that this rule is shared via the Orgs API and read only.
- Rule
Settings TeamsRule Rule Settings - Schedule
Teams
Rule Schedule - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - Sharable bool
- Indicate that this rule is sharable via the Orgs API.
- Source
Account string - Provide the account tag of the account that created the rule.
- Traffic string
- Updated
At string - Version int
- Indicate the version number of the rule(read-only).
- Warning
Status string - Indicate a warning for a misconfigured rule, if any.
- Account
Id string - Action string
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - Created
At string - Deleted
At string - Indicate the date of deletion, if any.
- Description string
- Specify the rule description.
- Device
Posture string - Enabled bool
- Specify whether the rule is enabled.
- Expiration
Teams
Rule Expiration Args - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - Filters []string
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- Identity string
- Name string
- Specify the rule name.
- Precedence int
- Read
Only bool - Indicate that this rule is shared via the Orgs API and read only.
- Rule
Settings TeamsRule Rule Settings Args - Schedule
Teams
Rule Schedule Args - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - Sharable bool
- Indicate that this rule is sharable via the Orgs API.
- Source
Account string - Provide the account tag of the account that created the rule.
- Traffic string
- Updated
At string - Version int
- Indicate the version number of the rule(read-only).
- Warning
Status string - Indicate a warning for a misconfigured rule, if any.
- account
Id String - action String
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - created
At String - deleted
At String - Indicate the date of deletion, if any.
- description String
- Specify the rule description.
- device
Posture String - enabled Boolean
- Specify whether the rule is enabled.
- expiration
Teams
Rule Expiration - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters List<String>
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity String
- name String
- Specify the rule name.
- precedence Integer
- read
Only Boolean - Indicate that this rule is shared via the Orgs API and read only.
- rule
Settings TeamsRule Rule Settings - schedule
Teams
Rule Schedule - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - sharable Boolean
- Indicate that this rule is sharable via the Orgs API.
- source
Account String - Provide the account tag of the account that created the rule.
- traffic String
- updated
At String - version Integer
- Indicate the version number of the rule(read-only).
- warning
Status String - Indicate a warning for a misconfigured rule, if any.
- account
Id string - action string
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - created
At string - deleted
At string - Indicate the date of deletion, if any.
- description string
- Specify the rule description.
- device
Posture string - enabled boolean
- Specify whether the rule is enabled.
- expiration
Teams
Rule Expiration - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters string[]
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity string
- name string
- Specify the rule name.
- precedence number
- read
Only boolean - Indicate that this rule is shared via the Orgs API and read only.
- rule
Settings TeamsRule Rule Settings - schedule
Teams
Rule Schedule - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - sharable boolean
- Indicate that this rule is sharable via the Orgs API.
- source
Account string - Provide the account tag of the account that created the rule.
- traffic string
- updated
At string - version number
- Indicate the version number of the rule(read-only).
- warning
Status string - Indicate a warning for a misconfigured rule, if any.
- account_
id str - action str
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - created_
at str - deleted_
at str - Indicate the date of deletion, if any.
- description str
- Specify the rule description.
- device_
posture str - enabled bool
- Specify whether the rule is enabled.
- expiration
Teams
Rule Expiration Args - Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters Sequence[str]
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity str
- name str
- Specify the rule name.
- precedence int
- read_
only bool - Indicate that this rule is shared via the Orgs API and read only.
- rule_
settings TeamsRule Rule Settings Args - schedule
Teams
Rule Schedule Args - Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - sharable bool
- Indicate that this rule is sharable via the Orgs API.
- source_
account str - Provide the account tag of the account that created the rule.
- traffic str
- updated_
at str - version int
- Indicate the version number of the rule(read-only).
- warning_
status str - Indicate a warning for a misconfigured rule, if any.
- account
Id String - action String
- Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to
true. Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", <span pulumi-lang-nodejs=""l4Override"" pulumi-lang-dotnet=""L4Override"" pulumi-lang-go=""l4Override"" pulumi-lang-python=""l4_override"" pulumi-lang-yaml=""l4Override"" pulumi-lang-java=""l4Override"">"l4_override", "egress", "resolve", "quarantine", "redirect". - created
At String - deleted
At String - Indicate the date of deletion, if any.
- description String
- Specify the rule description.
- device
Posture String - enabled Boolean
- Specify whether the rule is enabled.
- expiration Property Map
- Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's
scheduleconfiguration, if any. This does not apply to HTTP or network policies. Settable only fordnsrules. - filters List<String>
- Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
- identity String
- name String
- Specify the rule name.
- precedence Number
- read
Only Boolean - Indicate that this rule is shared via the Orgs API and read only.
- rule
Settings Property Map - schedule Property Map
- Defines the schedule for activating DNS policies. Settable only for
dnsanddns_resolverrules. - sharable Boolean
- Indicate that this rule is sharable via the Orgs API.
- source
Account String - Provide the account tag of the account that created the rule.
- traffic String
- updated
At String - version Number
- Indicate the version number of the rule(read-only).
- warning
Status String - Indicate a warning for a misconfigured rule, if any.
Supporting Types
TeamsRuleExpiration, TeamsRuleExpirationArgs
- Expires
At string - Show the timestamp when the policy expires and stops applying. The value must follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets but converts them to the equivalent UTC+00:00 value and returns timestamps with a trailing Z. Expiration policies ignore client timezones and expire globally at the specified expires_at time.
- Duration int
- Defines the default duration a policy active in minutes. Must set in order to use the
reset_expirationendpoint on this rule. - Expired bool
- Indicates whether the policy is expired.
- Expires
At string - Show the timestamp when the policy expires and stops applying. The value must follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets but converts them to the equivalent UTC+00:00 value and returns timestamps with a trailing Z. Expiration policies ignore client timezones and expire globally at the specified expires_at time.
- Duration int
- Defines the default duration a policy active in minutes. Must set in order to use the
reset_expirationendpoint on this rule. - Expired bool
- Indicates whether the policy is expired.
- expires
At String - Show the timestamp when the policy expires and stops applying. The value must follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets but converts them to the equivalent UTC+00:00 value and returns timestamps with a trailing Z. Expiration policies ignore client timezones and expire globally at the specified expires_at time.
- duration Integer
- Defines the default duration a policy active in minutes. Must set in order to use the
reset_expirationendpoint on this rule. - expired Boolean
- Indicates whether the policy is expired.
- expires
At string - Show the timestamp when the policy expires and stops applying. The value must follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets but converts them to the equivalent UTC+00:00 value and returns timestamps with a trailing Z. Expiration policies ignore client timezones and expire globally at the specified expires_at time.
- duration number
- Defines the default duration a policy active in minutes. Must set in order to use the
reset_expirationendpoint on this rule. - expired boolean
- Indicates whether the policy is expired.
- expires_
at str - Show the timestamp when the policy expires and stops applying. The value must follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets but converts them to the equivalent UTC+00:00 value and returns timestamps with a trailing Z. Expiration policies ignore client timezones and expire globally at the specified expires_at time.
- duration int
- Defines the default duration a policy active in minutes. Must set in order to use the
reset_expirationendpoint on this rule. - expired bool
- Indicates whether the policy is expired.
- expires
At String - Show the timestamp when the policy expires and stops applying. The value must follow RFC 3339 and include a UTC offset. The system accepts non-zero offsets but converts them to the equivalent UTC+00:00 value and returns timestamps with a trailing Z. Expiration policies ignore client timezones and expire globally at the specified expires_at time.
- duration Number
- Defines the default duration a policy active in minutes. Must set in order to use the
reset_expirationendpoint on this rule. - expired Boolean
- Indicates whether the policy is expired.
TeamsRuleRuleSettings, TeamsRuleRuleSettingsArgs
- Add
Headers Dictionary<string, ImmutableArray<string>> - Add custom headers to allowed requests as key-value pairs. Use header names as keys that map to arrays of header values. Settable only for
httprules with the action set toallow. - Allow
Child boolBypass - Set to enable MSP children to bypass this rule. Only parent MSP accounts can set this. this rule. Settable for all types of rules.
- Audit
Ssh TeamsRule Rule Settings Audit Ssh - Define the settings for the Audit SSH action. Settable only for
l4rules withaudit_sshaction. - Biso
Admin TeamsControls Rule Rule Settings Biso Admin Controls - Configure browser isolation behavior. Settable only for
httprules with the action set toisolate. - Block
Page TeamsRule Rule Settings Block Page - Configure custom block page settings. If missing or null, use the account settings. Settable only for
httprules with the action set toblock. - Block
Page boolEnabled - Enable the custom block page. Settable only for
dnsrules with actionblock. - Block
Reason string - Explain why the rule blocks the request. The custom block page shows this text (if enabled). Settable only for
dns,l4, andhttprules when the action set toblock. - Bypass
Parent boolRule - Set to enable MSP accounts to bypass their parent's rules. Only MSP child accounts can set this. Settable for all types of rules.
- Check
Session TeamsRule Rule Settings Check Session - Configure session check behavior. Settable only for
l4andhttprules with the action set toallow. - Dns
Resolvers TeamsRule Rule Settings Dns Resolvers - Configure custom resolvers to route queries that match the resolver policy. Unused with 'resolvednsthroughcloudflare' or 'resolvedns*internally' settings. DNS queries get routed to the address closest to their origin. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - Egress
Teams
Rule Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs. Settable only for
egressrules. - Ignore
Cname boolCategory Matches - Ignore category matches at CNAME domains in a response. When off, evaluate categories in this rule against all CNAME domain categories in the response. Settable only for
dnsanddns_resolverrules. - Insecure
Disable boolDnssec Validation - Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE]. Settable only for
dnsrules. - Ip
Categories bool - Enable IPs in DNS resolver category blocks. The system blocks only domain name categories unless you enable this setting. Settable only for
dnsanddns_resolverrules. - Ip
Indicator boolFeeds - Indicates whether to include IPs in DNS resolver indicator feed blocks. Default, indicator feeds block only domain names. Settable only for
dnsanddns_resolverrules. - L4override
Teams
Rule Rule Settings L4override - Send matching traffic to the supplied destination IP address and port. Settable only for
l4rules with the action set tol4_override. - Notification
Settings TeamsRule Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule matched. Settable for all types of rules with the action set to
block. - Override
Host string - Defines a hostname for override, for the matching DNS queries. Settable only for
dnsrules with the action set tooverride. - Override
Ips List<string> - Defines a an IP or set of IPs for overriding matched DNS queries. Settable only for
dnsrules with the action set tooverride. - Payload
Log TeamsRule Rule Settings Payload Log - Configure DLP payload logging. Settable only for
httprules. - Quarantine
Teams
Rule Rule Settings Quarantine - Configure settings that apply to quarantine rules. Settable only for
httprules. - Redirect
Teams
Rule Rule Settings Redirect - Apply settings to redirect rules. Settable only for
httprules with the action set toredirect. - Resolve
Dns TeamsInternally Rule Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Not used when 'dnsresolvers' is specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - Resolve
Dns boolThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot set when 'dnsresolvers' specified or 'resolvedns_internally' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - Untrusted
Cert TeamsRule Rule Settings Untrusted Cert - Configure behavior when an upstream certificate is invalid or an SSL error occurs. Settable only for
httprules with the action set toallow.
- Add
Headers map[string][]string - Add custom headers to allowed requests as key-value pairs. Use header names as keys that map to arrays of header values. Settable only for
httprules with the action set toallow. - Allow
Child boolBypass - Set to enable MSP children to bypass this rule. Only parent MSP accounts can set this. this rule. Settable for all types of rules.
- Audit
Ssh TeamsRule Rule Settings Audit Ssh - Define the settings for the Audit SSH action. Settable only for
l4rules withaudit_sshaction. - Biso
Admin TeamsControls Rule Rule Settings Biso Admin Controls - Configure browser isolation behavior. Settable only for
httprules with the action set toisolate. - Block
Page TeamsRule Rule Settings Block Page - Configure custom block page settings. If missing or null, use the account settings. Settable only for
httprules with the action set toblock. - Block
Page boolEnabled - Enable the custom block page. Settable only for
dnsrules with actionblock. - Block
Reason string - Explain why the rule blocks the request. The custom block page shows this text (if enabled). Settable only for
dns,l4, andhttprules when the action set toblock. - Bypass
Parent boolRule - Set to enable MSP accounts to bypass their parent's rules. Only MSP child accounts can set this. Settable for all types of rules.
- Check
Session TeamsRule Rule Settings Check Session - Configure session check behavior. Settable only for
l4andhttprules with the action set toallow. - Dns
Resolvers TeamsRule Rule Settings Dns Resolvers - Configure custom resolvers to route queries that match the resolver policy. Unused with 'resolvednsthroughcloudflare' or 'resolvedns*internally' settings. DNS queries get routed to the address closest to their origin. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - Egress
Teams
Rule Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs. Settable only for
egressrules. - Ignore
Cname boolCategory Matches - Ignore category matches at CNAME domains in a response. When off, evaluate categories in this rule against all CNAME domain categories in the response. Settable only for
dnsanddns_resolverrules. - Insecure
Disable boolDnssec Validation - Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE]. Settable only for
dnsrules. - Ip
Categories bool - Enable IPs in DNS resolver category blocks. The system blocks only domain name categories unless you enable this setting. Settable only for
dnsanddns_resolverrules. - Ip
Indicator boolFeeds - Indicates whether to include IPs in DNS resolver indicator feed blocks. Default, indicator feeds block only domain names. Settable only for
dnsanddns_resolverrules. - L4override
Teams
Rule Rule Settings L4override - Send matching traffic to the supplied destination IP address and port. Settable only for
l4rules with the action set tol4_override. - Notification
Settings TeamsRule Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule matched. Settable for all types of rules with the action set to
block. - Override
Host string - Defines a hostname for override, for the matching DNS queries. Settable only for
dnsrules with the action set tooverride. - Override
Ips []string - Defines a an IP or set of IPs for overriding matched DNS queries. Settable only for
dnsrules with the action set tooverride. - Payload
Log TeamsRule Rule Settings Payload Log - Configure DLP payload logging. Settable only for
httprules. - Quarantine
Teams
Rule Rule Settings Quarantine - Configure settings that apply to quarantine rules. Settable only for
httprules. - Redirect
Teams
Rule Rule Settings Redirect - Apply settings to redirect rules. Settable only for
httprules with the action set toredirect. - Resolve
Dns TeamsInternally Rule Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Not used when 'dnsresolvers' is specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - Resolve
Dns boolThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot set when 'dnsresolvers' specified or 'resolvedns_internally' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - Untrusted
Cert TeamsRule Rule Settings Untrusted Cert - Configure behavior when an upstream certificate is invalid or an SSL error occurs. Settable only for
httprules with the action set toallow.
- add
Headers Map<String,List<String>> - Add custom headers to allowed requests as key-value pairs. Use header names as keys that map to arrays of header values. Settable only for
httprules with the action set toallow. - allow
Child BooleanBypass - Set to enable MSP children to bypass this rule. Only parent MSP accounts can set this. this rule. Settable for all types of rules.
- audit
Ssh TeamsRule Rule Settings Audit Ssh - Define the settings for the Audit SSH action. Settable only for
l4rules withaudit_sshaction. - biso
Admin TeamsControls Rule Rule Settings Biso Admin Controls - Configure browser isolation behavior. Settable only for
httprules with the action set toisolate. - block
Page TeamsRule Rule Settings Block Page - Configure custom block page settings. If missing or null, use the account settings. Settable only for
httprules with the action set toblock. - block
Page BooleanEnabled - Enable the custom block page. Settable only for
dnsrules with actionblock. - block
Reason String - Explain why the rule blocks the request. The custom block page shows this text (if enabled). Settable only for
dns,l4, andhttprules when the action set toblock. - bypass
Parent BooleanRule - Set to enable MSP accounts to bypass their parent's rules. Only MSP child accounts can set this. Settable for all types of rules.
- check
Session TeamsRule Rule Settings Check Session - Configure session check behavior. Settable only for
l4andhttprules with the action set toallow. - dns
Resolvers TeamsRule Rule Settings Dns Resolvers - Configure custom resolvers to route queries that match the resolver policy. Unused with 'resolvednsthroughcloudflare' or 'resolvedns*internally' settings. DNS queries get routed to the address closest to their origin. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - egress
Teams
Rule Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs. Settable only for
egressrules. - ignore
Cname BooleanCategory Matches - Ignore category matches at CNAME domains in a response. When off, evaluate categories in this rule against all CNAME domain categories in the response. Settable only for
dnsanddns_resolverrules. - insecure
Disable BooleanDnssec Validation - Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE]. Settable only for
dnsrules. - ip
Categories Boolean - Enable IPs in DNS resolver category blocks. The system blocks only domain name categories unless you enable this setting. Settable only for
dnsanddns_resolverrules. - ip
Indicator BooleanFeeds - Indicates whether to include IPs in DNS resolver indicator feed blocks. Default, indicator feeds block only domain names. Settable only for
dnsanddns_resolverrules. - l4override
Teams
Rule Rule Settings L4override - Send matching traffic to the supplied destination IP address and port. Settable only for
l4rules with the action set tol4_override. - notification
Settings TeamsRule Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule matched. Settable for all types of rules with the action set to
block. - override
Host String - Defines a hostname for override, for the matching DNS queries. Settable only for
dnsrules with the action set tooverride. - override
Ips List<String> - Defines a an IP or set of IPs for overriding matched DNS queries. Settable only for
dnsrules with the action set tooverride. - payload
Log TeamsRule Rule Settings Payload Log - Configure DLP payload logging. Settable only for
httprules. - quarantine
Teams
Rule Rule Settings Quarantine - Configure settings that apply to quarantine rules. Settable only for
httprules. - redirect
Teams
Rule Rule Settings Redirect - Apply settings to redirect rules. Settable only for
httprules with the action set toredirect. - resolve
Dns TeamsInternally Rule Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Not used when 'dnsresolvers' is specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - resolve
Dns BooleanThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot set when 'dnsresolvers' specified or 'resolvedns_internally' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - untrusted
Cert TeamsRule Rule Settings Untrusted Cert - Configure behavior when an upstream certificate is invalid or an SSL error occurs. Settable only for
httprules with the action set toallow.
- add
Headers {[key: string]: string[]} - Add custom headers to allowed requests as key-value pairs. Use header names as keys that map to arrays of header values. Settable only for
httprules with the action set toallow. - allow
Child booleanBypass - Set to enable MSP children to bypass this rule. Only parent MSP accounts can set this. this rule. Settable for all types of rules.
- audit
Ssh TeamsRule Rule Settings Audit Ssh - Define the settings for the Audit SSH action. Settable only for
l4rules withaudit_sshaction. - biso
Admin TeamsControls Rule Rule Settings Biso Admin Controls - Configure browser isolation behavior. Settable only for
httprules with the action set toisolate. - block
Page TeamsRule Rule Settings Block Page - Configure custom block page settings. If missing or null, use the account settings. Settable only for
httprules with the action set toblock. - block
Page booleanEnabled - Enable the custom block page. Settable only for
dnsrules with actionblock. - block
Reason string - Explain why the rule blocks the request. The custom block page shows this text (if enabled). Settable only for
dns,l4, andhttprules when the action set toblock. - bypass
Parent booleanRule - Set to enable MSP accounts to bypass their parent's rules. Only MSP child accounts can set this. Settable for all types of rules.
- check
Session TeamsRule Rule Settings Check Session - Configure session check behavior. Settable only for
l4andhttprules with the action set toallow. - dns
Resolvers TeamsRule Rule Settings Dns Resolvers - Configure custom resolvers to route queries that match the resolver policy. Unused with 'resolvednsthroughcloudflare' or 'resolvedns*internally' settings. DNS queries get routed to the address closest to their origin. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - egress
Teams
Rule Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs. Settable only for
egressrules. - ignore
Cname booleanCategory Matches - Ignore category matches at CNAME domains in a response. When off, evaluate categories in this rule against all CNAME domain categories in the response. Settable only for
dnsanddns_resolverrules. - insecure
Disable booleanDnssec Validation - Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE]. Settable only for
dnsrules. - ip
Categories boolean - Enable IPs in DNS resolver category blocks. The system blocks only domain name categories unless you enable this setting. Settable only for
dnsanddns_resolverrules. - ip
Indicator booleanFeeds - Indicates whether to include IPs in DNS resolver indicator feed blocks. Default, indicator feeds block only domain names. Settable only for
dnsanddns_resolverrules. - l4override
Teams
Rule Rule Settings L4override - Send matching traffic to the supplied destination IP address and port. Settable only for
l4rules with the action set tol4_override. - notification
Settings TeamsRule Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule matched. Settable for all types of rules with the action set to
block. - override
Host string - Defines a hostname for override, for the matching DNS queries. Settable only for
dnsrules with the action set tooverride. - override
Ips string[] - Defines a an IP or set of IPs for overriding matched DNS queries. Settable only for
dnsrules with the action set tooverride. - payload
Log TeamsRule Rule Settings Payload Log - Configure DLP payload logging. Settable only for
httprules. - quarantine
Teams
Rule Rule Settings Quarantine - Configure settings that apply to quarantine rules. Settable only for
httprules. - redirect
Teams
Rule Rule Settings Redirect - Apply settings to redirect rules. Settable only for
httprules with the action set toredirect. - resolve
Dns TeamsInternally Rule Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Not used when 'dnsresolvers' is specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - resolve
Dns booleanThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot set when 'dnsresolvers' specified or 'resolvedns_internally' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - untrusted
Cert TeamsRule Rule Settings Untrusted Cert - Configure behavior when an upstream certificate is invalid or an SSL error occurs. Settable only for
httprules with the action set toallow.
- add_
headers Mapping[str, Sequence[str]] - Add custom headers to allowed requests as key-value pairs. Use header names as keys that map to arrays of header values. Settable only for
httprules with the action set toallow. - allow_
child_ boolbypass - Set to enable MSP children to bypass this rule. Only parent MSP accounts can set this. this rule. Settable for all types of rules.
- audit_
ssh TeamsRule Rule Settings Audit Ssh - Define the settings for the Audit SSH action. Settable only for
l4rules withaudit_sshaction. - biso_
admin_ Teamscontrols Rule Rule Settings Biso Admin Controls - Configure browser isolation behavior. Settable only for
httprules with the action set toisolate. - block_
page TeamsRule Rule Settings Block Page - Configure custom block page settings. If missing or null, use the account settings. Settable only for
httprules with the action set toblock. - block_
page_ boolenabled - Enable the custom block page. Settable only for
dnsrules with actionblock. - block_
reason str - Explain why the rule blocks the request. The custom block page shows this text (if enabled). Settable only for
dns,l4, andhttprules when the action set toblock. - bypass_
parent_ boolrule - Set to enable MSP accounts to bypass their parent's rules. Only MSP child accounts can set this. Settable for all types of rules.
- check_
session TeamsRule Rule Settings Check Session - Configure session check behavior. Settable only for
l4andhttprules with the action set toallow. - dns_
resolvers TeamsRule Rule Settings Dns Resolvers - Configure custom resolvers to route queries that match the resolver policy. Unused with 'resolvednsthroughcloudflare' or 'resolvedns*internally' settings. DNS queries get routed to the address closest to their origin. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - egress
Teams
Rule Rule Settings Egress - Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs. Settable only for
egressrules. - ignore_
cname_ boolcategory_ matches - Ignore category matches at CNAME domains in a response. When off, evaluate categories in this rule against all CNAME domain categories in the response. Settable only for
dnsanddns_resolverrules. - insecure_
disable_ booldnssec_ validation - Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE]. Settable only for
dnsrules. - ip_
categories bool - Enable IPs in DNS resolver category blocks. The system blocks only domain name categories unless you enable this setting. Settable only for
dnsanddns_resolverrules. - ip_
indicator_ boolfeeds - Indicates whether to include IPs in DNS resolver indicator feed blocks. Default, indicator feeds block only domain names. Settable only for
dnsanddns_resolverrules. - l4override
Teams
Rule Rule Settings L4override - Send matching traffic to the supplied destination IP address and port. Settable only for
l4rules with the action set tol4_override. - notification_
settings TeamsRule Rule Settings Notification Settings - Configure a notification to display on the user's device when this rule matched. Settable for all types of rules with the action set to
block. - override_
host str - Defines a hostname for override, for the matching DNS queries. Settable only for
dnsrules with the action set tooverride. - override_
ips Sequence[str] - Defines a an IP or set of IPs for overriding matched DNS queries. Settable only for
dnsrules with the action set tooverride. - payload_
log TeamsRule Rule Settings Payload Log - Configure DLP payload logging. Settable only for
httprules. - quarantine
Teams
Rule Rule Settings Quarantine - Configure settings that apply to quarantine rules. Settable only for
httprules. - redirect
Teams
Rule Rule Settings Redirect - Apply settings to redirect rules. Settable only for
httprules with the action set toredirect. - resolve_
dns_ Teamsinternally Rule Rule Settings Resolve Dns Internally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Not used when 'dnsresolvers' is specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - resolve_
dns_ boolthrough_ cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot set when 'dnsresolvers' specified or 'resolvedns_internally' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - untrusted_
cert TeamsRule Rule Settings Untrusted Cert - Configure behavior when an upstream certificate is invalid or an SSL error occurs. Settable only for
httprules with the action set toallow.
- add
Headers Map<List<String>> - Add custom headers to allowed requests as key-value pairs. Use header names as keys that map to arrays of header values. Settable only for
httprules with the action set toallow. - allow
Child BooleanBypass - Set to enable MSP children to bypass this rule. Only parent MSP accounts can set this. this rule. Settable for all types of rules.
- audit
Ssh Property Map - Define the settings for the Audit SSH action. Settable only for
l4rules withaudit_sshaction. - biso
Admin Property MapControls - Configure browser isolation behavior. Settable only for
httprules with the action set toisolate. - block
Page Property Map - Configure custom block page settings. If missing or null, use the account settings. Settable only for
httprules with the action set toblock. - block
Page BooleanEnabled - Enable the custom block page. Settable only for
dnsrules with actionblock. - block
Reason String - Explain why the rule blocks the request. The custom block page shows this text (if enabled). Settable only for
dns,l4, andhttprules when the action set toblock. - bypass
Parent BooleanRule - Set to enable MSP accounts to bypass their parent's rules. Only MSP child accounts can set this. Settable for all types of rules.
- check
Session Property Map - Configure session check behavior. Settable only for
l4andhttprules with the action set toallow. - dns
Resolvers Property Map - Configure custom resolvers to route queries that match the resolver policy. Unused with 'resolvednsthroughcloudflare' or 'resolvedns*internally' settings. DNS queries get routed to the address closest to their origin. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - egress Property Map
- Configure how Gateway Proxy traffic egresses. You can enable this setting for rules with Egress actions and filters, or omit it to indicate local egress via WARP IPs. Settable only for
egressrules. - ignore
Cname BooleanCategory Matches - Ignore category matches at CNAME domains in a response. When off, evaluate categories in this rule against all CNAME domain categories in the response. Settable only for
dnsanddns_resolverrules. - insecure
Disable BooleanDnssec Validation - Specify whether to disable DNSSEC validation (for Allow actions) [INSECURE]. Settable only for
dnsrules. - ip
Categories Boolean - Enable IPs in DNS resolver category blocks. The system blocks only domain name categories unless you enable this setting. Settable only for
dnsanddns_resolverrules. - ip
Indicator BooleanFeeds - Indicates whether to include IPs in DNS resolver indicator feed blocks. Default, indicator feeds block only domain names. Settable only for
dnsanddns_resolverrules. - l4override Property Map
- Send matching traffic to the supplied destination IP address and port. Settable only for
l4rules with the action set tol4_override. - notification
Settings Property Map - Configure a notification to display on the user's device when this rule matched. Settable for all types of rules with the action set to
block. - override
Host String - Defines a hostname for override, for the matching DNS queries. Settable only for
dnsrules with the action set tooverride. - override
Ips List<String> - Defines a an IP or set of IPs for overriding matched DNS queries. Settable only for
dnsrules with the action set tooverride. - payload
Log Property Map - Configure DLP payload logging. Settable only for
httprules. - quarantine Property Map
- Configure settings that apply to quarantine rules. Settable only for
httprules. - redirect Property Map
- Apply settings to redirect rules. Settable only for
httprules with the action set toredirect. - resolve
Dns Property MapInternally - Configure to forward the query to the internal DNS service, passing the specified 'viewid' as input. Not used when 'dnsresolvers' is specified or 'resolvednsthrough*cloudflare' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - resolve
Dns BooleanThrough Cloudflare - Enable to send queries that match the policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot set when 'dnsresolvers' specified or 'resolvedns_internally' is set. Only valid when a rule's action set to 'resolve'. Settable only for
dns_resolverrules. - untrusted
Cert Property Map - Configure behavior when an upstream certificate is invalid or an SSL error occurs. Settable only for
httprules with the action set toallow.
TeamsRuleRuleSettingsAuditSsh, TeamsRuleRuleSettingsAuditSshArgs
- Command
Logging bool - Enable SSH command logging.
- Command
Logging bool - Enable SSH command logging.
- command
Logging Boolean - Enable SSH command logging.
- command
Logging boolean - Enable SSH command logging.
- command_
logging bool - Enable SSH command logging.
- command
Logging Boolean - Enable SSH command logging.
TeamsRuleRuleSettingsBisoAdminControls, TeamsRuleRuleSettingsBisoAdminControlsArgs
- Copy string
- Configure copy behavior. If set to remoteonly, users cannot copy isolated content from the remote browser to the local clipboard. If this field is absent, copying remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- Dcp bool
- Set to false to enable copy-pasting. Only applies when
version == "v1". - Dd bool
- Set to false to enable downloading. Only applies when
version == "v1". - Dk bool
- Set to false to enable keyboard usage. Only applies when
version == "v1". - Download string
- Configure download behavior. When set to remoteonly, users can view downloads but cannot save them. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- Dp bool
- Set to false to enable printing. Only applies when
version == "v1". - Du bool
- Set to false to enable uploading. Only applies when
version == "v1". - Keyboard string
- Configure keyboard usage behavior. If this field is absent, keyboard usage remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- Paste string
- Configure paste behavior. If set to remoteonly, users cannot paste content from the local clipboard into isolated pages. If this field is absent, pasting remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- Printing string
- Configure print behavior. Default, Printing is enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- Upload string
- Configure upload behavior. If this field is absent, uploading remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- Version string
- Indicate which version of the browser isolation controls should apply. Available values: "v1", "v2".
- Copy string
- Configure copy behavior. If set to remoteonly, users cannot copy isolated content from the remote browser to the local clipboard. If this field is absent, copying remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- Dcp bool
- Set to false to enable copy-pasting. Only applies when
version == "v1". - Dd bool
- Set to false to enable downloading. Only applies when
version == "v1". - Dk bool
- Set to false to enable keyboard usage. Only applies when
version == "v1". - Download string
- Configure download behavior. When set to remoteonly, users can view downloads but cannot save them. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- Dp bool
- Set to false to enable printing. Only applies when
version == "v1". - Du bool
- Set to false to enable uploading. Only applies when
version == "v1". - Keyboard string
- Configure keyboard usage behavior. If this field is absent, keyboard usage remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- Paste string
- Configure paste behavior. If set to remoteonly, users cannot paste content from the local clipboard into isolated pages. If this field is absent, pasting remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- Printing string
- Configure print behavior. Default, Printing is enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- Upload string
- Configure upload behavior. If this field is absent, uploading remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- Version string
- Indicate which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy String
- Configure copy behavior. If set to remoteonly, users cannot copy isolated content from the remote browser to the local clipboard. If this field is absent, copying remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dcp Boolean
- Set to false to enable copy-pasting. Only applies when
version == "v1". - dd Boolean
- Set to false to enable downloading. Only applies when
version == "v1". - dk Boolean
- Set to false to enable keyboard usage. Only applies when
version == "v1". - download String
- Configure download behavior. When set to remoteonly, users can view downloads but cannot save them. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dp Boolean
- Set to false to enable printing. Only applies when
version == "v1". - du Boolean
- Set to false to enable uploading. Only applies when
version == "v1". - keyboard String
- Configure keyboard usage behavior. If this field is absent, keyboard usage remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- paste String
- Configure paste behavior. If set to remoteonly, users cannot paste content from the local clipboard into isolated pages. If this field is absent, pasting remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- printing String
- Configure print behavior. Default, Printing is enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- upload String
- Configure upload behavior. If this field is absent, uploading remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- version String
- Indicate which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy string
- Configure copy behavior. If set to remoteonly, users cannot copy isolated content from the remote browser to the local clipboard. If this field is absent, copying remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dcp boolean
- Set to false to enable copy-pasting. Only applies when
version == "v1". - dd boolean
- Set to false to enable downloading. Only applies when
version == "v1". - dk boolean
- Set to false to enable keyboard usage. Only applies when
version == "v1". - download string
- Configure download behavior. When set to remoteonly, users can view downloads but cannot save them. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dp boolean
- Set to false to enable printing. Only applies when
version == "v1". - du boolean
- Set to false to enable uploading. Only applies when
version == "v1". - keyboard string
- Configure keyboard usage behavior. If this field is absent, keyboard usage remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- paste string
- Configure paste behavior. If set to remoteonly, users cannot paste content from the local clipboard into isolated pages. If this field is absent, pasting remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- printing string
- Configure print behavior. Default, Printing is enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- upload string
- Configure upload behavior. If this field is absent, uploading remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- version string
- Indicate which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy str
- Configure copy behavior. If set to remoteonly, users cannot copy isolated content from the remote browser to the local clipboard. If this field is absent, copying remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dcp bool
- Set to false to enable copy-pasting. Only applies when
version == "v1". - dd bool
- Set to false to enable downloading. Only applies when
version == "v1". - dk bool
- Set to false to enable keyboard usage. Only applies when
version == "v1". - download str
- Configure download behavior. When set to remoteonly, users can view downloads but cannot save them. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dp bool
- Set to false to enable printing. Only applies when
version == "v1". - du bool
- Set to false to enable uploading. Only applies when
version == "v1". - keyboard str
- Configure keyboard usage behavior. If this field is absent, keyboard usage remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- paste str
- Configure paste behavior. If set to remoteonly, users cannot paste content from the local clipboard into isolated pages. If this field is absent, pasting remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- printing str
- Configure print behavior. Default, Printing is enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- upload str
- Configure upload behavior. If this field is absent, uploading remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- version str
- Indicate which version of the browser isolation controls should apply. Available values: "v1", "v2".
- copy String
- Configure copy behavior. If set to remoteonly, users cannot copy isolated content from the remote browser to the local clipboard. If this field is absent, copying remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dcp Boolean
- Set to false to enable copy-pasting. Only applies when
version == "v1". - dd Boolean
- Set to false to enable downloading. Only applies when
version == "v1". - dk Boolean
- Set to false to enable keyboard usage. Only applies when
version == "v1". - download String
- Configure download behavior. When set to remoteonly, users can view downloads but cannot save them. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- dp Boolean
- Set to false to enable printing. Only applies when
version == "v1". - du Boolean
- Set to false to enable uploading. Only applies when
version == "v1". - keyboard String
- Configure keyboard usage behavior. If this field is absent, keyboard usage remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- paste String
- Configure paste behavior. If set to remoteonly, users cannot paste content from the local clipboard into isolated pages. If this field is absent, pasting remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled", "remoteonly".
- printing String
- Configure print behavior. Default, Printing is enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- upload String
- Configure upload behavior. If this field is absent, uploading remains enabled. Applies only when version == "v2". Available values: "enabled", "disabled".
- version String
- Indicate which version of the browser isolation controls should apply. Available values: "v1", "v2".
TeamsRuleRuleSettingsBlockPage, TeamsRuleRuleSettingsBlockPageArgs
- Target
Uri string - Specify the URI to which the user is redirected.
- Include
Context bool - Specify whether to pass the context information as query parameters.
- Target
Uri string - Specify the URI to which the user is redirected.
- Include
Context bool - Specify whether to pass the context information as query parameters.
- target
Uri String - Specify the URI to which the user is redirected.
- include
Context Boolean - Specify whether to pass the context information as query parameters.
- target
Uri string - Specify the URI to which the user is redirected.
- include
Context boolean - Specify whether to pass the context information as query parameters.
- target_
uri str - Specify the URI to which the user is redirected.
- include_
context bool - Specify whether to pass the context information as query parameters.
- target
Uri String - Specify the URI to which the user is redirected.
- include
Context Boolean - Specify whether to pass the context information as query parameters.
TeamsRuleRuleSettingsCheckSession, TeamsRuleRuleSettingsCheckSessionArgs
TeamsRuleRuleSettingsDnsResolvers, TeamsRuleRuleSettingsDnsResolversArgs
TeamsRuleRuleSettingsDnsResolversIpv4, TeamsRuleRuleSettingsDnsResolversIpv4Args
- Ip string
- Specify the IPv4 address of the upstream resolver.
- Port int
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- Vnet
Id string - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- Ip string
- Specify the IPv4 address of the upstream resolver.
- Port int
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- Vnet
Id string - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- Specify the IPv4 address of the upstream resolver.
- port Integer
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet
Id String - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip string
- Specify the IPv4 address of the upstream resolver.
- port number
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route
Through booleanPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet
Id string - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip str
- Specify the IPv4 address of the upstream resolver.
- port int
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route_
through_ boolprivate_ network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet_
id str - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- Specify the IPv4 address of the upstream resolver.
- port Number
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet
Id String - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
TeamsRuleRuleSettingsDnsResolversIpv6, TeamsRuleRuleSettingsDnsResolversIpv6Args
- Ip string
- Specify the IPv6 address of the upstream resolver.
- Port int
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- Vnet
Id string - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- Ip string
- Specify the IPv6 address of the upstream resolver.
- Port int
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- Route
Through boolPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- Vnet
Id string - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- Specify the IPv6 address of the upstream resolver.
- port Integer
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet
Id String - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip string
- Specify the IPv6 address of the upstream resolver.
- port number
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route
Through booleanPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet
Id string - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip str
- Specify the IPv6 address of the upstream resolver.
- port int
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route_
through_ boolprivate_ network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet_
id str - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
- ip String
- Specify the IPv6 address of the upstream resolver.
- port Number
- Specify a port number to use for the upstream resolver. Defaults to 53 if unspecified.
- route
Through BooleanPrivate Network - Indicate whether to connect to this resolver over a private network. Must set when vnet_id set.
- vnet
Id String - Specify an optional virtual network for this resolver. Uses default virtual network id if omitted.
TeamsRuleRuleSettingsEgress, TeamsRuleRuleSettingsEgressArgs
- Ipv4 string
- Specify the IPv4 address to use for egress.
- Ipv4Fallback string
- Specify the fallback IPv4 address to use for egress when the primary IPv4 fails. Set '0.0.0.0' to indicate local egress via WARP IPs.
- Ipv6 string
- Specify the IPv6 range to use for egress.
- Ipv4 string
- Specify the IPv4 address to use for egress.
- Ipv4Fallback string
- Specify the fallback IPv4 address to use for egress when the primary IPv4 fails. Set '0.0.0.0' to indicate local egress via WARP IPs.
- Ipv6 string
- Specify the IPv6 range to use for egress.
- ipv4 String
- Specify the IPv4 address to use for egress.
- ipv4Fallback String
- Specify the fallback IPv4 address to use for egress when the primary IPv4 fails. Set '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 String
- Specify the IPv6 range to use for egress.
- ipv4 string
- Specify the IPv4 address to use for egress.
- ipv4Fallback string
- Specify the fallback IPv4 address to use for egress when the primary IPv4 fails. Set '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 string
- Specify the IPv6 range to use for egress.
- ipv4 str
- Specify the IPv4 address to use for egress.
- ipv4_
fallback str - Specify the fallback IPv4 address to use for egress when the primary IPv4 fails. Set '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 str
- Specify the IPv6 range to use for egress.
- ipv4 String
- Specify the IPv4 address to use for egress.
- ipv4Fallback String
- Specify the fallback IPv4 address to use for egress when the primary IPv4 fails. Set '0.0.0.0' to indicate local egress via WARP IPs.
- ipv6 String
- Specify the IPv6 range to use for egress.
TeamsRuleRuleSettingsL4override, TeamsRuleRuleSettingsL4overrideArgs
TeamsRuleRuleSettingsNotificationSettings, TeamsRuleRuleSettingsNotificationSettingsArgs
- Enabled bool
- Enable notification.
- Include
Context bool - Indicates whether to pass the context information as query parameters.
- Msg string
- Customize the message shown in the notification.
- Support
Url string - Defines an optional URL to direct users to additional information. If unset, the notification opens a block page.
- Enabled bool
- Enable notification.
- Include
Context bool - Indicates whether to pass the context information as query parameters.
- Msg string
- Customize the message shown in the notification.
- Support
Url string - Defines an optional URL to direct users to additional information. If unset, the notification opens a block page.
- enabled Boolean
- Enable notification.
- include
Context Boolean - Indicates whether to pass the context information as query parameters.
- msg String
- Customize the message shown in the notification.
- support
Url String - Defines an optional URL to direct users to additional information. If unset, the notification opens a block page.
- enabled boolean
- Enable notification.
- include
Context boolean - Indicates whether to pass the context information as query parameters.
- msg string
- Customize the message shown in the notification.
- support
Url string - Defines an optional URL to direct users to additional information. If unset, the notification opens a block page.
- enabled bool
- Enable notification.
- include_
context bool - Indicates whether to pass the context information as query parameters.
- msg str
- Customize the message shown in the notification.
- support_
url str - Defines an optional URL to direct users to additional information. If unset, the notification opens a block page.
- enabled Boolean
- Enable notification.
- include
Context Boolean - Indicates whether to pass the context information as query parameters.
- msg String
- Customize the message shown in the notification.
- support
Url String - Defines an optional URL to direct users to additional information. If unset, the notification opens a block page.
TeamsRuleRuleSettingsPayloadLog, TeamsRuleRuleSettingsPayloadLogArgs
- Enabled bool
- Enable DLP payload logging for this rule.
- Enabled bool
- Enable DLP payload logging for this rule.
- enabled Boolean
- Enable DLP payload logging for this rule.
- enabled boolean
- Enable DLP payload logging for this rule.
- enabled bool
- Enable DLP payload logging for this rule.
- enabled Boolean
- Enable DLP payload logging for this rule.
TeamsRuleRuleSettingsQuarantine, TeamsRuleRuleSettingsQuarantineArgs
- File
Types List<string> - Specify the types of files to sandbox.
- File
Types []string - Specify the types of files to sandbox.
- file
Types List<String> - Specify the types of files to sandbox.
- file
Types string[] - Specify the types of files to sandbox.
- file_
types Sequence[str] - Specify the types of files to sandbox.
- file
Types List<String> - Specify the types of files to sandbox.
TeamsRuleRuleSettingsRedirect, TeamsRuleRuleSettingsRedirectArgs
- Target
Uri string - Specify the URI to which the user is redirected.
- Include
Context bool - Specify whether to pass the context information as query parameters.
- Preserve
Path boolAnd Query - Specify whether to append the path and query parameters from the original request to target_uri.
- Target
Uri string - Specify the URI to which the user is redirected.
- Include
Context bool - Specify whether to pass the context information as query parameters.
- Preserve
Path boolAnd Query - Specify whether to append the path and query parameters from the original request to target_uri.
- target
Uri String - Specify the URI to which the user is redirected.
- include
Context Boolean - Specify whether to pass the context information as query parameters.
- preserve
Path BooleanAnd Query - Specify whether to append the path and query parameters from the original request to target_uri.
- target
Uri string - Specify the URI to which the user is redirected.
- include
Context boolean - Specify whether to pass the context information as query parameters.
- preserve
Path booleanAnd Query - Specify whether to append the path and query parameters from the original request to target_uri.
- target_
uri str - Specify the URI to which the user is redirected.
- include_
context bool - Specify whether to pass the context information as query parameters.
- preserve_
path_ booland_ query - Specify whether to append the path and query parameters from the original request to target_uri.
- target
Uri String - Specify the URI to which the user is redirected.
- include
Context Boolean - Specify whether to pass the context information as query parameters.
- preserve
Path BooleanAnd Query - Specify whether to append the path and query parameters from the original request to target_uri.
TeamsRuleRuleSettingsResolveDnsInternally, TeamsRuleRuleSettingsResolveDnsInternallyArgs
- Fallback string
- Specify the fallback behavior to apply when the internal DNS response code differs from 'NOERROR' or when the response data contains only CNAME records for 'A' or 'AAAA' queries. Available values: "none", <span pulumi-lang-nodejs=""publicDns"" pulumi-lang-dotnet=""PublicDns"" pulumi-lang-go=""publicDns"" pulumi-lang-python=""public_dns"" pulumi-lang-yaml=""publicDns"" pulumi-lang-java=""publicDns"">"public_dns".
- View
Id string - Specify the internal DNS view identifier to pass to the internal DNS service.
- Fallback string
- Specify the fallback behavior to apply when the internal DNS response code differs from 'NOERROR' or when the response data contains only CNAME records for 'A' or 'AAAA' queries. Available values: "none", <span pulumi-lang-nodejs=""publicDns"" pulumi-lang-dotnet=""PublicDns"" pulumi-lang-go=""publicDns"" pulumi-lang-python=""public_dns"" pulumi-lang-yaml=""publicDns"" pulumi-lang-java=""publicDns"">"public_dns".
- View
Id string - Specify the internal DNS view identifier to pass to the internal DNS service.
- fallback String
- Specify the fallback behavior to apply when the internal DNS response code differs from 'NOERROR' or when the response data contains only CNAME records for 'A' or 'AAAA' queries. Available values: "none", <span pulumi-lang-nodejs=""publicDns"" pulumi-lang-dotnet=""PublicDns"" pulumi-lang-go=""publicDns"" pulumi-lang-python=""public_dns"" pulumi-lang-yaml=""publicDns"" pulumi-lang-java=""publicDns"">"public_dns".
- view
Id String - Specify the internal DNS view identifier to pass to the internal DNS service.
- fallback string
- Specify the fallback behavior to apply when the internal DNS response code differs from 'NOERROR' or when the response data contains only CNAME records for 'A' or 'AAAA' queries. Available values: "none", <span pulumi-lang-nodejs=""publicDns"" pulumi-lang-dotnet=""PublicDns"" pulumi-lang-go=""publicDns"" pulumi-lang-python=""public_dns"" pulumi-lang-yaml=""publicDns"" pulumi-lang-java=""publicDns"">"public_dns".
- view
Id string - Specify the internal DNS view identifier to pass to the internal DNS service.
- fallback str
- Specify the fallback behavior to apply when the internal DNS response code differs from 'NOERROR' or when the response data contains only CNAME records for 'A' or 'AAAA' queries. Available values: "none", <span pulumi-lang-nodejs=""publicDns"" pulumi-lang-dotnet=""PublicDns"" pulumi-lang-go=""publicDns"" pulumi-lang-python=""public_dns"" pulumi-lang-yaml=""publicDns"" pulumi-lang-java=""publicDns"">"public_dns".
- view_
id str - Specify the internal DNS view identifier to pass to the internal DNS service.
- fallback String
- Specify the fallback behavior to apply when the internal DNS response code differs from 'NOERROR' or when the response data contains only CNAME records for 'A' or 'AAAA' queries. Available values: "none", <span pulumi-lang-nodejs=""publicDns"" pulumi-lang-dotnet=""PublicDns"" pulumi-lang-go=""publicDns"" pulumi-lang-python=""public_dns"" pulumi-lang-yaml=""publicDns"" pulumi-lang-java=""publicDns"">"public_dns".
- view
Id String - Specify the internal DNS view identifier to pass to the internal DNS service.
TeamsRuleRuleSettingsUntrustedCert, TeamsRuleRuleSettingsUntrustedCertArgs
- Action string
- Defines the action performed when an untrusted certificate seen. The default action an error with HTTP code 526. Available values: <span pulumi-lang-nodejs=""passThrough"" pulumi-lang-dotnet=""PassThrough"" pulumi-lang-go=""passThrough"" pulumi-lang-python=""pass_through"" pulumi-lang-yaml=""passThrough"" pulumi-lang-java=""passThrough"">"pass_through", "block", "error".
- Action string
- Defines the action performed when an untrusted certificate seen. The default action an error with HTTP code 526. Available values: <span pulumi-lang-nodejs=""passThrough"" pulumi-lang-dotnet=""PassThrough"" pulumi-lang-go=""passThrough"" pulumi-lang-python=""pass_through"" pulumi-lang-yaml=""passThrough"" pulumi-lang-java=""passThrough"">"pass_through", "block", "error".
- action String
- Defines the action performed when an untrusted certificate seen. The default action an error with HTTP code 526. Available values: <span pulumi-lang-nodejs=""passThrough"" pulumi-lang-dotnet=""PassThrough"" pulumi-lang-go=""passThrough"" pulumi-lang-python=""pass_through"" pulumi-lang-yaml=""passThrough"" pulumi-lang-java=""passThrough"">"pass_through", "block", "error".
- action string
- Defines the action performed when an untrusted certificate seen. The default action an error with HTTP code 526. Available values: <span pulumi-lang-nodejs=""passThrough"" pulumi-lang-dotnet=""PassThrough"" pulumi-lang-go=""passThrough"" pulumi-lang-python=""pass_through"" pulumi-lang-yaml=""passThrough"" pulumi-lang-java=""passThrough"">"pass_through", "block", "error".
- action str
- Defines the action performed when an untrusted certificate seen. The default action an error with HTTP code 526. Available values: <span pulumi-lang-nodejs=""passThrough"" pulumi-lang-dotnet=""PassThrough"" pulumi-lang-go=""passThrough"" pulumi-lang-python=""pass_through"" pulumi-lang-yaml=""passThrough"" pulumi-lang-java=""passThrough"">"pass_through", "block", "error".
- action String
- Defines the action performed when an untrusted certificate seen. The default action an error with HTTP code 526. Available values: <span pulumi-lang-nodejs=""passThrough"" pulumi-lang-dotnet=""PassThrough"" pulumi-lang-go=""passThrough"" pulumi-lang-python=""pass_through"" pulumi-lang-yaml=""passThrough"" pulumi-lang-java=""passThrough"">"pass_through", "block", "error".
TeamsRuleSchedule, TeamsRuleScheduleArgs
- Fri string
- Mon string
- Sat string
- Sun string
- Thu string
- Time
Zone string - Specify the time zone for rule evaluation. When a valid time zone city name is provided, Gateway always uses the current time for that time zone. When this parameter is omitted, Gateway uses the time zone determined from the user's IP address. Colo time zone is used when the user's IP address does not resolve to a location.
- Tue string
- Wed string
- Fri string
- Mon string
- Sat string
- Sun string
- Thu string
- Time
Zone string - Specify the time zone for rule evaluation. When a valid time zone city name is provided, Gateway always uses the current time for that time zone. When this parameter is omitted, Gateway uses the time zone determined from the user's IP address. Colo time zone is used when the user's IP address does not resolve to a location.
- Tue string
- Wed string
- fri String
- mon String
- sat String
- sun String
- thu String
- time
Zone String - Specify the time zone for rule evaluation. When a valid time zone city name is provided, Gateway always uses the current time for that time zone. When this parameter is omitted, Gateway uses the time zone determined from the user's IP address. Colo time zone is used when the user's IP address does not resolve to a location.
- tue String
- wed String
- fri string
- mon string
- sat string
- sun string
- thu string
- time
Zone string - Specify the time zone for rule evaluation. When a valid time zone city name is provided, Gateway always uses the current time for that time zone. When this parameter is omitted, Gateway uses the time zone determined from the user's IP address. Colo time zone is used when the user's IP address does not resolve to a location.
- tue string
- wed string
- fri str
- mon str
- sat str
- sun str
- thu str
- time_
zone str - Specify the time zone for rule evaluation. When a valid time zone city name is provided, Gateway always uses the current time for that time zone. When this parameter is omitted, Gateway uses the time zone determined from the user's IP address. Colo time zone is used when the user's IP address does not resolve to a location.
- tue str
- wed str
- fri String
- mon String
- sat String
- sun String
- thu String
- time
Zone String - Specify the time zone for rule evaluation. When a valid time zone city name is provided, Gateway always uses the current time for that time zone. When this parameter is omitted, Gateway uses the time zone determined from the user's IP address. Colo time zone is used when the user's IP address does not resolve to a location.
- tue String
- wed String
Import
$ pulumi import cloudflare:index/teamsRule:TeamsRule example '<account_id>/<rule_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
