Documentation ¶
Overview ¶
nolint: lll
nolint: lll
Index ¶
- type Policy
- type PolicyArgs
- type PolicyCustomRule
- type PolicyCustomRuleArgs
- type PolicyCustomRuleArray
- type PolicyCustomRuleArrayInput
- type PolicyCustomRuleArrayOutput
- func (PolicyCustomRuleArrayOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleOutput
- func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput
- func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutputWithContext(ctx context.Context) PolicyCustomRuleArrayOutput
- type PolicyCustomRuleInput
- type PolicyCustomRuleMatchCondition
- type PolicyCustomRuleMatchConditionArgs
- func (PolicyCustomRuleMatchConditionArgs) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
- func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput
- type PolicyCustomRuleMatchConditionArray
- func (PolicyCustomRuleMatchConditionArray) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
- func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput
- type PolicyCustomRuleMatchConditionArrayInput
- type PolicyCustomRuleMatchConditionArrayOutput
- func (PolicyCustomRuleMatchConditionArrayOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleMatchConditionOutput
- func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
- func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput
- type PolicyCustomRuleMatchConditionInput
- type PolicyCustomRuleMatchConditionMatchVariable
- type PolicyCustomRuleMatchConditionMatchVariableArgs
- func (PolicyCustomRuleMatchConditionMatchVariableArgs) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
- func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
- type PolicyCustomRuleMatchConditionMatchVariableArray
- func (PolicyCustomRuleMatchConditionMatchVariableArray) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- type PolicyCustomRuleMatchConditionMatchVariableArrayInput
- type PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleMatchConditionMatchVariableOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- type PolicyCustomRuleMatchConditionMatchVariableInput
- type PolicyCustomRuleMatchConditionMatchVariableOutput
- func (PolicyCustomRuleMatchConditionMatchVariableOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) Selector() pulumi.StringPtrOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) VariableName() pulumi.StringOutput
- type PolicyCustomRuleMatchConditionOutput
- func (PolicyCustomRuleMatchConditionOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionOutput) MatchValues() pulumi.StringArrayOutput
- func (o PolicyCustomRuleMatchConditionOutput) MatchVariables() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (o PolicyCustomRuleMatchConditionOutput) NegationCondition() pulumi.BoolPtrOutput
- func (o PolicyCustomRuleMatchConditionOutput) Operator() pulumi.StringOutput
- func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
- func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput
- type PolicyCustomRuleOutput
- func (o PolicyCustomRuleOutput) Action() pulumi.StringOutput
- func (PolicyCustomRuleOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleOutput) MatchConditions() PolicyCustomRuleMatchConditionArrayOutput
- func (o PolicyCustomRuleOutput) Name() pulumi.StringPtrOutput
- func (o PolicyCustomRuleOutput) Priority() pulumi.IntOutput
- func (o PolicyCustomRuleOutput) RuleType() pulumi.StringOutput
- func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutput() PolicyCustomRuleOutput
- func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutputWithContext(ctx context.Context) PolicyCustomRuleOutput
- type PolicyPolicySettings
- type PolicyPolicySettingsArgs
- func (PolicyPolicySettingsArgs) ElementType() reflect.Type
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
- type PolicyPolicySettingsInput
- type PolicyPolicySettingsOutput
- func (PolicyPolicySettingsOutput) ElementType() reflect.Type
- func (o PolicyPolicySettingsOutput) Enabled() pulumi.BoolPtrOutput
- func (o PolicyPolicySettingsOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
- type PolicyPolicySettingsPtrInput
- type PolicyPolicySettingsPtrOutput
- func (o PolicyPolicySettingsPtrOutput) Elem() PolicyPolicySettingsOutput
- func (PolicyPolicySettingsPtrOutput) ElementType() reflect.Type
- func (o PolicyPolicySettingsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o PolicyPolicySettingsPtrOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
- func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
- type PolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct { pulumi.CustomResourceState // One or more `customRule` blocks as defined below. CustomRules PolicyCustomRuleArrayOutput `pulumi:"customRules"` // Resource location. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the policy. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A `policySetting` block as defined below. PolicySettings PolicyPolicySettingsPtrOutput `pulumi:"policySettings"` // The name of the resource group. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the Web Application Firewall Policy. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Azure Web Application Firewall Policy instance.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/web_application_firewall_policy.html.markdown.
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
type PolicyArgs ¶
type PolicyArgs struct { // One or more `customRule` blocks as defined below. CustomRules PolicyCustomRuleArrayInput // Resource location. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `policySetting` block as defined below. PolicySettings PolicyPolicySettingsPtrInput // The name of the resource group. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the Web Application Firewall Policy. Tags pulumi.StringMapInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyCustomRule ¶
type PolicyCustomRule struct { // Type of Actions Action string `pulumi:"action"` // One or more `matchCondition` block defined below. MatchConditions []PolicyCustomRuleMatchCondition `pulumi:"matchConditions"` // The name of the policy. Changing this forces a new resource to be created. Name *string `pulumi:"name"` // Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value Priority int `pulumi:"priority"` // Describes the type of rule RuleType string `pulumi:"ruleType"` }
type PolicyCustomRuleArgs ¶
type PolicyCustomRuleArgs struct { // Type of Actions Action pulumi.StringInput `pulumi:"action"` // One or more `matchCondition` block defined below. MatchConditions PolicyCustomRuleMatchConditionArrayInput `pulumi:"matchConditions"` // The name of the policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput `pulumi:"name"` // Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value Priority pulumi.IntInput `pulumi:"priority"` // Describes the type of rule RuleType pulumi.StringInput `pulumi:"ruleType"` }
func (PolicyCustomRuleArgs) ElementType ¶
func (PolicyCustomRuleArgs) ElementType() reflect.Type
func (PolicyCustomRuleArgs) ToPolicyCustomRuleOutput ¶
func (i PolicyCustomRuleArgs) ToPolicyCustomRuleOutput() PolicyCustomRuleOutput
func (PolicyCustomRuleArgs) ToPolicyCustomRuleOutputWithContext ¶
func (i PolicyCustomRuleArgs) ToPolicyCustomRuleOutputWithContext(ctx context.Context) PolicyCustomRuleOutput
type PolicyCustomRuleArray ¶
type PolicyCustomRuleArray []PolicyCustomRuleInput
func (PolicyCustomRuleArray) ElementType ¶
func (PolicyCustomRuleArray) ElementType() reflect.Type
func (PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutput ¶
func (i PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput
func (PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutputWithContext ¶
func (i PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutputWithContext(ctx context.Context) PolicyCustomRuleArrayOutput
type PolicyCustomRuleArrayInput ¶
type PolicyCustomRuleArrayInput interface { pulumi.Input ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput ToPolicyCustomRuleArrayOutputWithContext(context.Context) PolicyCustomRuleArrayOutput }
type PolicyCustomRuleArrayOutput ¶
type PolicyCustomRuleArrayOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleArrayOutput) ElementType ¶
func (PolicyCustomRuleArrayOutput) ElementType() reflect.Type
func (PolicyCustomRuleArrayOutput) Index ¶
func (o PolicyCustomRuleArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleOutput
func (PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutput ¶
func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput
func (PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutputWithContext ¶
func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutputWithContext(ctx context.Context) PolicyCustomRuleArrayOutput
type PolicyCustomRuleInput ¶
type PolicyCustomRuleInput interface { pulumi.Input ToPolicyCustomRuleOutput() PolicyCustomRuleOutput ToPolicyCustomRuleOutputWithContext(context.Context) PolicyCustomRuleOutput }
type PolicyCustomRuleMatchCondition ¶
type PolicyCustomRuleMatchCondition struct { // Match value MatchValues []string `pulumi:"matchValues"` // One or more `matchVariable` block defined below. MatchVariables []PolicyCustomRuleMatchConditionMatchVariable `pulumi:"matchVariables"` // Describes if this is negate condition or not NegationCondition *bool `pulumi:"negationCondition"` // Describes operator to be matched Operator string `pulumi:"operator"` }
type PolicyCustomRuleMatchConditionArgs ¶
type PolicyCustomRuleMatchConditionArgs struct { // Match value MatchValues pulumi.StringArrayInput `pulumi:"matchValues"` // One or more `matchVariable` block defined below. MatchVariables PolicyCustomRuleMatchConditionMatchVariableArrayInput `pulumi:"matchVariables"` // Describes if this is negate condition or not NegationCondition pulumi.BoolPtrInput `pulumi:"negationCondition"` // Describes operator to be matched Operator pulumi.StringInput `pulumi:"operator"` }
func (PolicyCustomRuleMatchConditionArgs) ElementType ¶
func (PolicyCustomRuleMatchConditionArgs) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutput ¶
func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
func (PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutputWithContext ¶
func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput
type PolicyCustomRuleMatchConditionArray ¶
type PolicyCustomRuleMatchConditionArray []PolicyCustomRuleMatchConditionInput
func (PolicyCustomRuleMatchConditionArray) ElementType ¶
func (PolicyCustomRuleMatchConditionArray) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutput ¶
func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
func (PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutputWithContext ¶
func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput
type PolicyCustomRuleMatchConditionArrayInput ¶
type PolicyCustomRuleMatchConditionArrayInput interface { pulumi.Input ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput ToPolicyCustomRuleMatchConditionArrayOutputWithContext(context.Context) PolicyCustomRuleMatchConditionArrayOutput }
type PolicyCustomRuleMatchConditionArrayOutput ¶
type PolicyCustomRuleMatchConditionArrayOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleMatchConditionArrayOutput) ElementType ¶
func (PolicyCustomRuleMatchConditionArrayOutput) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutput ¶
func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
func (PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutputWithContext ¶
func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput
type PolicyCustomRuleMatchConditionInput ¶
type PolicyCustomRuleMatchConditionInput interface { pulumi.Input ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput ToPolicyCustomRuleMatchConditionOutputWithContext(context.Context) PolicyCustomRuleMatchConditionOutput }
type PolicyCustomRuleMatchConditionMatchVariableArgs ¶
type PolicyCustomRuleMatchConditionMatchVariableArgs struct { // Describes field of the matchVariable collection Selector pulumi.StringPtrInput `pulumi:"selector"` // The name of the Match Variable VariableName pulumi.StringInput `pulumi:"variableName"` }
func (PolicyCustomRuleMatchConditionMatchVariableArgs) ElementType ¶
func (PolicyCustomRuleMatchConditionMatchVariableArgs) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutput ¶
func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
func (PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext ¶
func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
type PolicyCustomRuleMatchConditionMatchVariableArray ¶
type PolicyCustomRuleMatchConditionMatchVariableArray []PolicyCustomRuleMatchConditionMatchVariableInput
func (PolicyCustomRuleMatchConditionMatchVariableArray) ElementType ¶
func (PolicyCustomRuleMatchConditionMatchVariableArray) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput ¶
func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
func (PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext ¶
func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
type PolicyCustomRuleMatchConditionMatchVariableArrayInput ¶
type PolicyCustomRuleMatchConditionMatchVariableArrayInput interface { pulumi.Input ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput }
type PolicyCustomRuleMatchConditionMatchVariableArrayOutput ¶
type PolicyCustomRuleMatchConditionMatchVariableArrayOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ElementType ¶
func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput ¶
func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext ¶
func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
type PolicyCustomRuleMatchConditionMatchVariableInput ¶
type PolicyCustomRuleMatchConditionMatchVariableInput interface { pulumi.Input ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput }
type PolicyCustomRuleMatchConditionMatchVariableOutput ¶
type PolicyCustomRuleMatchConditionMatchVariableOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleMatchConditionMatchVariableOutput) ElementType ¶
func (PolicyCustomRuleMatchConditionMatchVariableOutput) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionMatchVariableOutput) Selector ¶
func (o PolicyCustomRuleMatchConditionMatchVariableOutput) Selector() pulumi.StringPtrOutput
Describes field of the matchVariable collection
func (PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutput ¶
func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
func (PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext ¶
func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
func (PolicyCustomRuleMatchConditionMatchVariableOutput) VariableName ¶
func (o PolicyCustomRuleMatchConditionMatchVariableOutput) VariableName() pulumi.StringOutput
The name of the Match Variable
type PolicyCustomRuleMatchConditionOutput ¶
type PolicyCustomRuleMatchConditionOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleMatchConditionOutput) ElementType ¶
func (PolicyCustomRuleMatchConditionOutput) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionOutput) MatchValues ¶
func (o PolicyCustomRuleMatchConditionOutput) MatchValues() pulumi.StringArrayOutput
Match value
func (PolicyCustomRuleMatchConditionOutput) MatchVariables ¶
func (o PolicyCustomRuleMatchConditionOutput) MatchVariables() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
One or more `matchVariable` block defined below.
func (PolicyCustomRuleMatchConditionOutput) NegationCondition ¶
func (o PolicyCustomRuleMatchConditionOutput) NegationCondition() pulumi.BoolPtrOutput
Describes if this is negate condition or not
func (PolicyCustomRuleMatchConditionOutput) Operator ¶
func (o PolicyCustomRuleMatchConditionOutput) Operator() pulumi.StringOutput
Describes operator to be matched
func (PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutput ¶
func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
func (PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutputWithContext ¶
func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput
type PolicyCustomRuleOutput ¶
type PolicyCustomRuleOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleOutput) Action ¶
func (o PolicyCustomRuleOutput) Action() pulumi.StringOutput
Type of Actions
func (PolicyCustomRuleOutput) ElementType ¶
func (PolicyCustomRuleOutput) ElementType() reflect.Type
func (PolicyCustomRuleOutput) MatchConditions ¶
func (o PolicyCustomRuleOutput) MatchConditions() PolicyCustomRuleMatchConditionArrayOutput
One or more `matchCondition` block defined below.
func (PolicyCustomRuleOutput) Name ¶
func (o PolicyCustomRuleOutput) Name() pulumi.StringPtrOutput
The name of the policy. Changing this forces a new resource to be created.
func (PolicyCustomRuleOutput) Priority ¶
func (o PolicyCustomRuleOutput) Priority() pulumi.IntOutput
Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value
func (PolicyCustomRuleOutput) RuleType ¶
func (o PolicyCustomRuleOutput) RuleType() pulumi.StringOutput
Describes the type of rule
func (PolicyCustomRuleOutput) ToPolicyCustomRuleOutput ¶
func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutput() PolicyCustomRuleOutput
func (PolicyCustomRuleOutput) ToPolicyCustomRuleOutputWithContext ¶
func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutputWithContext(ctx context.Context) PolicyCustomRuleOutput
type PolicyPolicySettings ¶
type PolicyPolicySettingsArgs ¶
type PolicyPolicySettingsArgs struct { // Describes if the policy is in enabled state or disabled state Defaults to `Enabled`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // Describes if it is in detection mode or prevention mode at the policy level Defaults to `Prevention`. Mode pulumi.StringPtrInput `pulumi:"mode"` }
func (PolicyPolicySettingsArgs) ElementType ¶
func (PolicyPolicySettingsArgs) ElementType() reflect.Type
func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutput ¶
func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutputWithContext ¶
func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput
func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutput ¶
func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutputWithContext ¶
func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
type PolicyPolicySettingsInput ¶
type PolicyPolicySettingsInput interface { pulumi.Input ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput ToPolicyPolicySettingsOutputWithContext(context.Context) PolicyPolicySettingsOutput }
type PolicyPolicySettingsOutput ¶
type PolicyPolicySettingsOutput struct{ *pulumi.OutputState }
func (PolicyPolicySettingsOutput) ElementType ¶
func (PolicyPolicySettingsOutput) ElementType() reflect.Type
func (PolicyPolicySettingsOutput) Enabled ¶
func (o PolicyPolicySettingsOutput) Enabled() pulumi.BoolPtrOutput
Describes if the policy is in enabled state or disabled state Defaults to `Enabled`.
func (PolicyPolicySettingsOutput) Mode ¶
func (o PolicyPolicySettingsOutput) Mode() pulumi.StringPtrOutput
Describes if it is in detection mode or prevention mode at the policy level Defaults to `Prevention`.
func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutput ¶
func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutputWithContext ¶
func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput
func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutput ¶
func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutputWithContext ¶
func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
type PolicyPolicySettingsPtrInput ¶
type PolicyPolicySettingsPtrInput interface { pulumi.Input ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput ToPolicyPolicySettingsPtrOutputWithContext(context.Context) PolicyPolicySettingsPtrOutput }
func PolicyPolicySettingsPtr ¶
func PolicyPolicySettingsPtr(v *PolicyPolicySettingsArgs) PolicyPolicySettingsPtrInput
type PolicyPolicySettingsPtrOutput ¶
type PolicyPolicySettingsPtrOutput struct{ *pulumi.OutputState }
func (PolicyPolicySettingsPtrOutput) Elem ¶
func (o PolicyPolicySettingsPtrOutput) Elem() PolicyPolicySettingsOutput
func (PolicyPolicySettingsPtrOutput) ElementType ¶
func (PolicyPolicySettingsPtrOutput) ElementType() reflect.Type
func (PolicyPolicySettingsPtrOutput) Enabled ¶
func (o PolicyPolicySettingsPtrOutput) Enabled() pulumi.BoolPtrOutput
Describes if the policy is in enabled state or disabled state Defaults to `Enabled`.
func (PolicyPolicySettingsPtrOutput) Mode ¶
func (o PolicyPolicySettingsPtrOutput) Mode() pulumi.StringPtrOutput
Describes if it is in detection mode or prevention mode at the policy level Defaults to `Prevention`.
func (PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutput ¶
func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
func (PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutputWithContext ¶
func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
type PolicyState ¶
type PolicyState struct { // One or more `customRule` blocks as defined below. CustomRules PolicyCustomRuleArrayInput // Resource location. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `policySetting` block as defined below. PolicySettings PolicyPolicySettingsPtrInput // The name of the resource group. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the Web Application Firewall Policy. Tags pulumi.StringMapInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type