Documentation
¶
Index ¶
- type Policy
- func (r *Policy) CustomRules() *pulumi.ArrayOutput
- func (r *Policy) ID() *pulumi.IDOutput
- func (r *Policy) Location() *pulumi.StringOutput
- func (r *Policy) Name() *pulumi.StringOutput
- func (r *Policy) PolicySettings() *pulumi.Output
- func (r *Policy) ResourceGroupName() *pulumi.StringOutput
- func (r *Policy) Tags() *pulumi.MapOutput
- func (r *Policy) URN() *pulumi.URNOutput
- type PolicyArgs
- type PolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
// contains filtered or unexported fields
}
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.ID, state *PolicyState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) CustomRules ¶
func (r *Policy) CustomRules() *pulumi.ArrayOutput
One or more `customRule` blocks as defined below.
func (*Policy) Location ¶
func (r *Policy) Location() *pulumi.StringOutput
Resource location. Changing this forces a new resource to be created.
func (*Policy) Name ¶
func (r *Policy) Name() *pulumi.StringOutput
The name of the policy. Changing this forces a new resource to be created.
func (*Policy) PolicySettings ¶
A `policySetting` block as defined below.
func (*Policy) ResourceGroupName ¶
func (r *Policy) ResourceGroupName() *pulumi.StringOutput
The name of the resource group. Changing this forces a new resource to be created.
type PolicyArgs ¶
type PolicyArgs struct { // One or more `customRule` blocks as defined below. CustomRules interface{} // Resource location. Changing this forces a new resource to be created. Location interface{} // The name of the policy. Changing this forces a new resource to be created. Name interface{} // A `policySetting` block as defined below. PolicySettings interface{} // The name of the resource group. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the Web Application Firewall Policy. Tags interface{} }
The set of arguments for constructing a Policy resource.
type PolicyState ¶
type PolicyState struct { // One or more `customRule` blocks as defined below. CustomRules interface{} // Resource location. Changing this forces a new resource to be created. Location interface{} // The name of the policy. Changing this forces a new resource to be created. Name interface{} // A `policySetting` block as defined below. PolicySettings interface{} // The name of the resource group. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the Web Application Firewall Policy. Tags interface{} }
Input properties used for looking up and filtering Policy resources.