Zscaler Private Access v0.0.11 published on Saturday, May 4, 2024 by Zscaler
zpa.PolicyForwardingRuleV2
Explore with Pulumi AI
Deprecated: zpa.index/policyforwardingrulev2.PolicyForwardingRuleV2 has been deprecated in favor of zpa.index/policyaccessforwardingrulev2.PolicyAccessForwardingRuleV2
Create PolicyForwardingRuleV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyForwardingRuleV2(name: string, args?: PolicyForwardingRuleV2Args, opts?: CustomResourceOptions);
@overload
def PolicyForwardingRuleV2(resource_name: str,
args: Optional[PolicyForwardingRuleV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyForwardingRuleV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
conditions: Optional[Sequence[PolicyForwardingRuleV2ConditionArgs]] = None,
description: Optional[str] = None,
microtenant_id: Optional[str] = None,
name: Optional[str] = None)
func NewPolicyForwardingRuleV2(ctx *Context, name string, args *PolicyForwardingRuleV2Args, opts ...ResourceOption) (*PolicyForwardingRuleV2, error)
public PolicyForwardingRuleV2(string name, PolicyForwardingRuleV2Args? args = null, CustomResourceOptions? opts = null)
public PolicyForwardingRuleV2(String name, PolicyForwardingRuleV2Args args)
public PolicyForwardingRuleV2(String name, PolicyForwardingRuleV2Args args, CustomResourceOptions options)
type: zpa:PolicyForwardingRuleV2
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 PolicyForwardingRuleV2Args
- 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 PolicyForwardingRuleV2Args
- 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 PolicyForwardingRuleV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyForwardingRuleV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyForwardingRuleV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PolicyForwardingRuleV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PolicyForwardingRuleV2 resource accepts the following input properties:
- Action string
- This is for providing the rule action.
- Conditions
List<Zscaler.
Zpa. Inputs. Policy Forwarding Rule V2Condition> - This is for proviidng the set of conditions for the policy.
- Description string
- This is the description of the access policy.
- Microtenant
Id string - Name string
- This is the name of the policy.
- Action string
- This is for providing the rule action.
- Conditions
[]Policy
Forwarding Rule V2Condition Args - This is for proviidng the set of conditions for the policy.
- Description string
- This is the description of the access policy.
- Microtenant
Id string - Name string
- This is the name of the policy.
- action String
- This is for providing the rule action.
- conditions
List<Policy
Forwarding Rule V2Condition> - This is for proviidng the set of conditions for the policy.
- description String
- This is the description of the access policy.
- microtenant
Id String - name String
- This is the name of the policy.
- action string
- This is for providing the rule action.
- conditions
Policy
Forwarding Rule V2Condition[] - This is for proviidng the set of conditions for the policy.
- description string
- This is the description of the access policy.
- microtenant
Id string - name string
- This is the name of the policy.
- action str
- This is for providing the rule action.
- conditions
Sequence[Policy
Forwarding Rule V2Condition Args] - This is for proviidng the set of conditions for the policy.
- description str
- This is the description of the access policy.
- microtenant_
id str - name str
- This is the name of the policy.
- action String
- This is for providing the rule action.
- conditions List<Property Map>
- This is for proviidng the set of conditions for the policy.
- description String
- This is the description of the access policy.
- microtenant
Id String - name String
- This is the name of the policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyForwardingRuleV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Set stringId
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Set stringId
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Set StringId
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Set stringId
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
set_ strid
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Set StringId
Look up Existing PolicyForwardingRuleV2 Resource
Get an existing PolicyForwardingRuleV2 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?: PolicyForwardingRuleV2State, opts?: CustomResourceOptions): PolicyForwardingRuleV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
conditions: Optional[Sequence[PolicyForwardingRuleV2ConditionArgs]] = None,
description: Optional[str] = None,
microtenant_id: Optional[str] = None,
name: Optional[str] = None,
policy_set_id: Optional[str] = None) -> PolicyForwardingRuleV2
func GetPolicyForwardingRuleV2(ctx *Context, name string, id IDInput, state *PolicyForwardingRuleV2State, opts ...ResourceOption) (*PolicyForwardingRuleV2, error)
public static PolicyForwardingRuleV2 Get(string name, Input<string> id, PolicyForwardingRuleV2State? state, CustomResourceOptions? opts = null)
public static PolicyForwardingRuleV2 get(String name, Output<String> id, PolicyForwardingRuleV2State state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Action string
- This is for providing the rule action.
- Conditions
List<Zscaler.
Zpa. Inputs. Policy Forwarding Rule V2Condition> - This is for proviidng the set of conditions for the policy.
- Description string
- This is the description of the access policy.
- Microtenant
Id string - Name string
- This is the name of the policy.
- Policy
Set stringId
- Action string
- This is for providing the rule action.
- Conditions
[]Policy
Forwarding Rule V2Condition Args - This is for proviidng the set of conditions for the policy.
- Description string
- This is the description of the access policy.
- Microtenant
Id string - Name string
- This is the name of the policy.
- Policy
Set stringId
- action String
- This is for providing the rule action.
- conditions
List<Policy
Forwarding Rule V2Condition> - This is for proviidng the set of conditions for the policy.
- description String
- This is the description of the access policy.
- microtenant
Id String - name String
- This is the name of the policy.
- policy
Set StringId
- action string
- This is for providing the rule action.
- conditions
Policy
Forwarding Rule V2Condition[] - This is for proviidng the set of conditions for the policy.
- description string
- This is the description of the access policy.
- microtenant
Id string - name string
- This is the name of the policy.
- policy
Set stringId
- action str
- This is for providing the rule action.
- conditions
Sequence[Policy
Forwarding Rule V2Condition Args] - This is for proviidng the set of conditions for the policy.
- description str
- This is the description of the access policy.
- microtenant_
id str - name str
- This is the name of the policy.
- policy_
set_ strid
- action String
- This is for providing the rule action.
- conditions List<Property Map>
- This is for proviidng the set of conditions for the policy.
- description String
- This is the description of the access policy.
- microtenant
Id String - name String
- This is the name of the policy.
- policy
Set StringId
Supporting Types
PolicyForwardingRuleV2Condition, PolicyForwardingRuleV2ConditionArgs
- Id string
- Operands
List<Zscaler.
Zpa. Inputs. Policy Forwarding Rule V2Condition Operand> - This signifies the various policy criteria.
- Operator string
- Id string
- Operands
[]Policy
Forwarding Rule V2Condition Operand - This signifies the various policy criteria.
- Operator string
- id String
- operands
List<Policy
Forwarding Rule V2Condition Operand> - This signifies the various policy criteria.
- operator String
- id string
- operands
Policy
Forwarding Rule V2Condition Operand[] - This signifies the various policy criteria.
- operator string
- id str
- operands
Sequence[Policy
Forwarding Rule V2Condition Operand] - This signifies the various policy criteria.
- operator str
- id String
- operands List<Property Map>
- This signifies the various policy criteria.
- operator String
PolicyForwardingRuleV2ConditionOperand, PolicyForwardingRuleV2ConditionOperandArgs
- Entry
Values List<Zscaler.Zpa. Inputs. Policy Forwarding Rule V2Condition Operand Entry Value> - Object
Type string - This is for specifying the policy critiera.
- Values List<string>
- This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
- Entry
Values []PolicyForwarding Rule V2Condition Operand Entry Value - Object
Type string - This is for specifying the policy critiera.
- Values []string
- This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
- entry
Values List<PolicyForwarding Rule V2Condition Operand Entry Value> - object
Type String - This is for specifying the policy critiera.
- values List<String>
- This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
- entry
Values PolicyForwarding Rule V2Condition Operand Entry Value[] - object
Type string - This is for specifying the policy critiera.
- values string[]
- This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
- entry_
values Sequence[PolicyForwarding Rule V2Condition Operand Entry Value] - object_
type str - This is for specifying the policy critiera.
- values Sequence[str]
- This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
- entry
Values List<Property Map> - object
Type String - This is for specifying the policy critiera.
- values List<String>
- This denotes a list of values for the given object type. The value depend upon the key. If rhs is defined this list will be ignored
PolicyForwardingRuleV2ConditionOperandEntryValue, PolicyForwardingRuleV2ConditionOperandEntryValueArgs
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.