1. Packages
  2. Avi Provider
  3. API Docs
  4. Csrfpolicy
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.Csrfpolicy

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “Avi: avi.Csrfpolicy” sidebar_current: “docs-avi-resource-csrfpolicy” description: |- Creates and manages Avi CSRFPolicy.

    avi.Csrfpolicy

    The CSRFPolicy resource allows the creation and management of Avi CSRFPolicy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Csrfpolicy("foo", {tenantRef: "/api/tenant/?name=admin"});
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Csrfpolicy("foo", tenant_ref="/api/tenant/?name=admin")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.NewCsrfpolicy(ctx, "foo", &avi.CsrfpolicyArgs{
    			TenantRef: pulumi.String("/api/tenant/?name=admin"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Avi = Pulumi.Avi;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Avi.Csrfpolicy("foo", new()
        {
            TenantRef = "/api/tenant/?name=admin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.Csrfpolicy;
    import com.pulumi.avi.CsrfpolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new Csrfpolicy("foo", CsrfpolicyArgs.builder()
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Csrfpolicy
        properties:
          tenantRef: /api/tenant/?name=admin
    

    Create Csrfpolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Csrfpolicy(name: string, args: CsrfpolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Csrfpolicy(resource_name: str,
                   args: CsrfpolicyArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Csrfpolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   rules: Optional[Sequence[CsrfpolicyRuleArgs]] = None,
                   configpb_attributes: Optional[Sequence[CsrfpolicyConfigpbAttributeArgs]] = None,
                   cookie_name: Optional[str] = None,
                   csrf_file_ref: Optional[str] = None,
                   csrfpolicy_id: Optional[str] = None,
                   description: Optional[str] = None,
                   name: Optional[str] = None,
                   tenant_ref: Optional[str] = None,
                   token_validity_time_min: Optional[str] = None,
                   uuid: Optional[str] = None)
    func NewCsrfpolicy(ctx *Context, name string, args CsrfpolicyArgs, opts ...ResourceOption) (*Csrfpolicy, error)
    public Csrfpolicy(string name, CsrfpolicyArgs args, CustomResourceOptions? opts = null)
    public Csrfpolicy(String name, CsrfpolicyArgs args)
    public Csrfpolicy(String name, CsrfpolicyArgs args, CustomResourceOptions options)
    
    type: avi:Csrfpolicy
    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 CsrfpolicyArgs
    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 CsrfpolicyArgs
    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 CsrfpolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CsrfpolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CsrfpolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var csrfpolicyResource = new Avi.Csrfpolicy("csrfpolicyResource", new()
    {
        Rules = new[]
        {
            new Avi.Inputs.CsrfpolicyRuleArgs
            {
                Index = "string",
                Matches = new[]
                {
                    new Avi.Inputs.CsrfpolicyRuleMatchArgs
                    {
                        BotDetectionResults = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchBotDetectionResultArgs
                            {
                                MatchOperation = "string",
                                Classifications = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchBotDetectionResultClassificationArgs
                                    {
                                        Type = "string",
                                        UserDefinedType = "string",
                                    },
                                },
                            },
                        },
                        ClientIps = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchClientIpArgs
                            {
                                MatchCriteria = "string",
                                Addrs = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchClientIpAddrArgs
                                    {
                                        Addr = "string",
                                        Type = "string",
                                    },
                                },
                                GroupRefs = new[]
                                {
                                    "string",
                                },
                                Prefixes = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchClientIpPrefixArgs
                                    {
                                        IpAddrs = new[]
                                        {
                                            new Avi.Inputs.CsrfpolicyRuleMatchClientIpPrefixIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Mask = "string",
                                    },
                                },
                                Ranges = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchClientIpRangeArgs
                                    {
                                        Begins = new[]
                                        {
                                            new Avi.Inputs.CsrfpolicyRuleMatchClientIpRangeBeginArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Ends = new[]
                                        {
                                            new Avi.Inputs.CsrfpolicyRuleMatchClientIpRangeEndArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        Cookies = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchCookieArgs
                            {
                                MatchCriteria = "string",
                                Name = "string",
                                MatchCase = "string",
                                Value = "string",
                            },
                        },
                        GeoMatches = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchGeoMatchArgs
                            {
                                Attribute = "string",
                                MatchOperation = "string",
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Hdrs = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchHdrArgs
                            {
                                Hdr = "string",
                                MatchCriteria = "string",
                                MatchCase = "string",
                                StringGroupRefs = new[]
                                {
                                    "string",
                                },
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        HostHdrs = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchHostHdrArgs
                            {
                                MatchCriteria = "string",
                                MatchCase = "string",
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        IpReputationTypes = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchIpReputationTypeArgs
                            {
                                MatchOperation = "string",
                                ReputationTypes = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Methods = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchMethodArgs
                            {
                                MatchCriteria = "string",
                                Methods = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Paths = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchPathArgs
                            {
                                MatchCriteria = "string",
                                MatchCase = "string",
                                MatchDecodedString = "string",
                                MatchStrs = new[]
                                {
                                    "string",
                                },
                                StringGroupRefs = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Protocols = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchProtocolArgs
                            {
                                MatchCriteria = "string",
                                Protocols = "string",
                            },
                        },
                        Queries = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchQueryArgs
                            {
                                MatchCriteria = "string",
                                MatchCase = "string",
                                MatchDecodedString = "string",
                                MatchStrs = new[]
                                {
                                    "string",
                                },
                                StringGroupRefs = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        SourceIps = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchSourceIpArgs
                            {
                                MatchCriteria = "string",
                                Addrs = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchSourceIpAddrArgs
                                    {
                                        Addr = "string",
                                        Type = "string",
                                    },
                                },
                                GroupRefs = new[]
                                {
                                    "string",
                                },
                                Prefixes = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchSourceIpPrefixArgs
                                    {
                                        IpAddrs = new[]
                                        {
                                            new Avi.Inputs.CsrfpolicyRuleMatchSourceIpPrefixIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Mask = "string",
                                    },
                                },
                                Ranges = new[]
                                {
                                    new Avi.Inputs.CsrfpolicyRuleMatchSourceIpRangeArgs
                                    {
                                        Begins = new[]
                                        {
                                            new Avi.Inputs.CsrfpolicyRuleMatchSourceIpRangeBeginArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Ends = new[]
                                        {
                                            new Avi.Inputs.CsrfpolicyRuleMatchSourceIpRangeEndArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        TlsFingerprintMatches = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchTlsFingerprintMatchArgs
                            {
                                MatchOperation = "string",
                                Fingerprints = new[]
                                {
                                    "string",
                                },
                                StringGroupRefs = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Versions = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchVersionArgs
                            {
                                MatchCriteria = "string",
                                Versions = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        VsPorts = new[]
                        {
                            new Avi.Inputs.CsrfpolicyRuleMatchVsPortArgs
                            {
                                MatchCriteria = "string",
                                Ports = new[]
                                {
                                    0,
                                },
                            },
                        },
                    },
                },
                Name = "string",
                Action = "string",
                Enable = "string",
            },
        },
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.CsrfpolicyConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        CookieName = "string",
        CsrfFileRef = "string",
        CsrfpolicyId = "string",
        Description = "string",
        Name = "string",
        TenantRef = "string",
        TokenValidityTimeMin = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewCsrfpolicy(ctx, "csrfpolicyResource", &avi.CsrfpolicyArgs{
    	Rules: avi.CsrfpolicyRuleArray{
    		&avi.CsrfpolicyRuleArgs{
    			Index: pulumi.String("string"),
    			Matches: avi.CsrfpolicyRuleMatchArray{
    				&avi.CsrfpolicyRuleMatchArgs{
    					BotDetectionResults: avi.CsrfpolicyRuleMatchBotDetectionResultArray{
    						&avi.CsrfpolicyRuleMatchBotDetectionResultArgs{
    							MatchOperation: pulumi.String("string"),
    							Classifications: avi.CsrfpolicyRuleMatchBotDetectionResultClassificationArray{
    								&avi.CsrfpolicyRuleMatchBotDetectionResultClassificationArgs{
    									Type:            pulumi.String("string"),
    									UserDefinedType: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					ClientIps: avi.CsrfpolicyRuleMatchClientIpArray{
    						&avi.CsrfpolicyRuleMatchClientIpArgs{
    							MatchCriteria: pulumi.String("string"),
    							Addrs: avi.CsrfpolicyRuleMatchClientIpAddrArray{
    								&avi.CsrfpolicyRuleMatchClientIpAddrArgs{
    									Addr: pulumi.String("string"),
    									Type: pulumi.String("string"),
    								},
    							},
    							GroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Prefixes: avi.CsrfpolicyRuleMatchClientIpPrefixArray{
    								&avi.CsrfpolicyRuleMatchClientIpPrefixArgs{
    									IpAddrs: avi.CsrfpolicyRuleMatchClientIpPrefixIpAddrArray{
    										&avi.CsrfpolicyRuleMatchClientIpPrefixIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Mask: pulumi.String("string"),
    								},
    							},
    							Ranges: avi.CsrfpolicyRuleMatchClientIpRangeArray{
    								&avi.CsrfpolicyRuleMatchClientIpRangeArgs{
    									Begins: avi.CsrfpolicyRuleMatchClientIpRangeBeginArray{
    										&avi.CsrfpolicyRuleMatchClientIpRangeBeginArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Ends: avi.CsrfpolicyRuleMatchClientIpRangeEndArray{
    										&avi.CsrfpolicyRuleMatchClientIpRangeEndArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    					Cookies: avi.CsrfpolicyRuleMatchCookieArray{
    						&avi.CsrfpolicyRuleMatchCookieArgs{
    							MatchCriteria: pulumi.String("string"),
    							Name:          pulumi.String("string"),
    							MatchCase:     pulumi.String("string"),
    							Value:         pulumi.String("string"),
    						},
    					},
    					GeoMatches: avi.CsrfpolicyRuleMatchGeoMatchArray{
    						&avi.CsrfpolicyRuleMatchGeoMatchArgs{
    							Attribute:      pulumi.String("string"),
    							MatchOperation: pulumi.String("string"),
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Hdrs: avi.CsrfpolicyRuleMatchHdrArray{
    						&avi.CsrfpolicyRuleMatchHdrArgs{
    							Hdr:           pulumi.String("string"),
    							MatchCriteria: pulumi.String("string"),
    							MatchCase:     pulumi.String("string"),
    							StringGroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					HostHdrs: avi.CsrfpolicyRuleMatchHostHdrArray{
    						&avi.CsrfpolicyRuleMatchHostHdrArgs{
    							MatchCriteria: pulumi.String("string"),
    							MatchCase:     pulumi.String("string"),
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					IpReputationTypes: avi.CsrfpolicyRuleMatchIpReputationTypeArray{
    						&avi.CsrfpolicyRuleMatchIpReputationTypeArgs{
    							MatchOperation: pulumi.String("string"),
    							ReputationTypes: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Methods: avi.CsrfpolicyRuleMatchMethodArray{
    						&avi.CsrfpolicyRuleMatchMethodArgs{
    							MatchCriteria: pulumi.String("string"),
    							Methods: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Paths: avi.CsrfpolicyRuleMatchPathArray{
    						&avi.CsrfpolicyRuleMatchPathArgs{
    							MatchCriteria:      pulumi.String("string"),
    							MatchCase:          pulumi.String("string"),
    							MatchDecodedString: pulumi.String("string"),
    							MatchStrs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							StringGroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Protocols: avi.CsrfpolicyRuleMatchProtocolArray{
    						&avi.CsrfpolicyRuleMatchProtocolArgs{
    							MatchCriteria: pulumi.String("string"),
    							Protocols:     pulumi.String("string"),
    						},
    					},
    					Queries: avi.CsrfpolicyRuleMatchQueryArray{
    						&avi.CsrfpolicyRuleMatchQueryArgs{
    							MatchCriteria:      pulumi.String("string"),
    							MatchCase:          pulumi.String("string"),
    							MatchDecodedString: pulumi.String("string"),
    							MatchStrs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							StringGroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					SourceIps: avi.CsrfpolicyRuleMatchSourceIpArray{
    						&avi.CsrfpolicyRuleMatchSourceIpArgs{
    							MatchCriteria: pulumi.String("string"),
    							Addrs: avi.CsrfpolicyRuleMatchSourceIpAddrArray{
    								&avi.CsrfpolicyRuleMatchSourceIpAddrArgs{
    									Addr: pulumi.String("string"),
    									Type: pulumi.String("string"),
    								},
    							},
    							GroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Prefixes: avi.CsrfpolicyRuleMatchSourceIpPrefixArray{
    								&avi.CsrfpolicyRuleMatchSourceIpPrefixArgs{
    									IpAddrs: avi.CsrfpolicyRuleMatchSourceIpPrefixIpAddrArray{
    										&avi.CsrfpolicyRuleMatchSourceIpPrefixIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Mask: pulumi.String("string"),
    								},
    							},
    							Ranges: avi.CsrfpolicyRuleMatchSourceIpRangeArray{
    								&avi.CsrfpolicyRuleMatchSourceIpRangeArgs{
    									Begins: avi.CsrfpolicyRuleMatchSourceIpRangeBeginArray{
    										&avi.CsrfpolicyRuleMatchSourceIpRangeBeginArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Ends: avi.CsrfpolicyRuleMatchSourceIpRangeEndArray{
    										&avi.CsrfpolicyRuleMatchSourceIpRangeEndArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    					TlsFingerprintMatches: avi.CsrfpolicyRuleMatchTlsFingerprintMatchArray{
    						&avi.CsrfpolicyRuleMatchTlsFingerprintMatchArgs{
    							MatchOperation: pulumi.String("string"),
    							Fingerprints: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							StringGroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Versions: avi.CsrfpolicyRuleMatchVersionArray{
    						&avi.CsrfpolicyRuleMatchVersionArgs{
    							MatchCriteria: pulumi.String("string"),
    							Versions: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					VsPorts: avi.CsrfpolicyRuleMatchVsPortArray{
    						&avi.CsrfpolicyRuleMatchVsPortArgs{
    							MatchCriteria: pulumi.String("string"),
    							Ports: pulumi.Float64Array{
    								pulumi.Float64(0),
    							},
    						},
    					},
    				},
    			},
    			Name:   pulumi.String("string"),
    			Action: pulumi.String("string"),
    			Enable: pulumi.String("string"),
    		},
    	},
    	ConfigpbAttributes: avi.CsrfpolicyConfigpbAttributeArray{
    		&avi.CsrfpolicyConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	CookieName:           pulumi.String("string"),
    	CsrfFileRef:          pulumi.String("string"),
    	CsrfpolicyId:         pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	TenantRef:            pulumi.String("string"),
    	TokenValidityTimeMin: pulumi.String("string"),
    	Uuid:                 pulumi.String("string"),
    })
    
    var csrfpolicyResource = new Csrfpolicy("csrfpolicyResource", CsrfpolicyArgs.builder()
        .rules(CsrfpolicyRuleArgs.builder()
            .index("string")
            .matches(CsrfpolicyRuleMatchArgs.builder()
                .botDetectionResults(CsrfpolicyRuleMatchBotDetectionResultArgs.builder()
                    .matchOperation("string")
                    .classifications(CsrfpolicyRuleMatchBotDetectionResultClassificationArgs.builder()
                        .type("string")
                        .userDefinedType("string")
                        .build())
                    .build())
                .clientIps(CsrfpolicyRuleMatchClientIpArgs.builder()
                    .matchCriteria("string")
                    .addrs(CsrfpolicyRuleMatchClientIpAddrArgs.builder()
                        .addr("string")
                        .type("string")
                        .build())
                    .groupRefs("string")
                    .prefixes(CsrfpolicyRuleMatchClientIpPrefixArgs.builder()
                        .ipAddrs(CsrfpolicyRuleMatchClientIpPrefixIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .mask("string")
                        .build())
                    .ranges(CsrfpolicyRuleMatchClientIpRangeArgs.builder()
                        .begins(CsrfpolicyRuleMatchClientIpRangeBeginArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .ends(CsrfpolicyRuleMatchClientIpRangeEndArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .build())
                    .build())
                .cookies(CsrfpolicyRuleMatchCookieArgs.builder()
                    .matchCriteria("string")
                    .name("string")
                    .matchCase("string")
                    .value("string")
                    .build())
                .geoMatches(CsrfpolicyRuleMatchGeoMatchArgs.builder()
                    .attribute("string")
                    .matchOperation("string")
                    .values("string")
                    .build())
                .hdrs(CsrfpolicyRuleMatchHdrArgs.builder()
                    .hdr("string")
                    .matchCriteria("string")
                    .matchCase("string")
                    .stringGroupRefs("string")
                    .values("string")
                    .build())
                .hostHdrs(CsrfpolicyRuleMatchHostHdrArgs.builder()
                    .matchCriteria("string")
                    .matchCase("string")
                    .values("string")
                    .build())
                .ipReputationTypes(CsrfpolicyRuleMatchIpReputationTypeArgs.builder()
                    .matchOperation("string")
                    .reputationTypes("string")
                    .build())
                .methods(CsrfpolicyRuleMatchMethodArgs.builder()
                    .matchCriteria("string")
                    .methods("string")
                    .build())
                .paths(CsrfpolicyRuleMatchPathArgs.builder()
                    .matchCriteria("string")
                    .matchCase("string")
                    .matchDecodedString("string")
                    .matchStrs("string")
                    .stringGroupRefs("string")
                    .build())
                .protocols(CsrfpolicyRuleMatchProtocolArgs.builder()
                    .matchCriteria("string")
                    .protocols("string")
                    .build())
                .queries(CsrfpolicyRuleMatchQueryArgs.builder()
                    .matchCriteria("string")
                    .matchCase("string")
                    .matchDecodedString("string")
                    .matchStrs("string")
                    .stringGroupRefs("string")
                    .build())
                .sourceIps(CsrfpolicyRuleMatchSourceIpArgs.builder()
                    .matchCriteria("string")
                    .addrs(CsrfpolicyRuleMatchSourceIpAddrArgs.builder()
                        .addr("string")
                        .type("string")
                        .build())
                    .groupRefs("string")
                    .prefixes(CsrfpolicyRuleMatchSourceIpPrefixArgs.builder()
                        .ipAddrs(CsrfpolicyRuleMatchSourceIpPrefixIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .mask("string")
                        .build())
                    .ranges(CsrfpolicyRuleMatchSourceIpRangeArgs.builder()
                        .begins(CsrfpolicyRuleMatchSourceIpRangeBeginArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .ends(CsrfpolicyRuleMatchSourceIpRangeEndArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .build())
                    .build())
                .tlsFingerprintMatches(CsrfpolicyRuleMatchTlsFingerprintMatchArgs.builder()
                    .matchOperation("string")
                    .fingerprints("string")
                    .stringGroupRefs("string")
                    .build())
                .versions(CsrfpolicyRuleMatchVersionArgs.builder()
                    .matchCriteria("string")
                    .versions("string")
                    .build())
                .vsPorts(CsrfpolicyRuleMatchVsPortArgs.builder()
                    .matchCriteria("string")
                    .ports(0)
                    .build())
                .build())
            .name("string")
            .action("string")
            .enable("string")
            .build())
        .configpbAttributes(CsrfpolicyConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .cookieName("string")
        .csrfFileRef("string")
        .csrfpolicyId("string")
        .description("string")
        .name("string")
        .tenantRef("string")
        .tokenValidityTimeMin("string")
        .uuid("string")
        .build());
    
    csrfpolicy_resource = avi.Csrfpolicy("csrfpolicyResource",
        rules=[{
            "index": "string",
            "matches": [{
                "bot_detection_results": [{
                    "match_operation": "string",
                    "classifications": [{
                        "type": "string",
                        "user_defined_type": "string",
                    }],
                }],
                "client_ips": [{
                    "match_criteria": "string",
                    "addrs": [{
                        "addr": "string",
                        "type": "string",
                    }],
                    "group_refs": ["string"],
                    "prefixes": [{
                        "ip_addrs": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "mask": "string",
                    }],
                    "ranges": [{
                        "begins": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "ends": [{
                            "addr": "string",
                            "type": "string",
                        }],
                    }],
                }],
                "cookies": [{
                    "match_criteria": "string",
                    "name": "string",
                    "match_case": "string",
                    "value": "string",
                }],
                "geo_matches": [{
                    "attribute": "string",
                    "match_operation": "string",
                    "values": ["string"],
                }],
                "hdrs": [{
                    "hdr": "string",
                    "match_criteria": "string",
                    "match_case": "string",
                    "string_group_refs": ["string"],
                    "values": ["string"],
                }],
                "host_hdrs": [{
                    "match_criteria": "string",
                    "match_case": "string",
                    "values": ["string"],
                }],
                "ip_reputation_types": [{
                    "match_operation": "string",
                    "reputation_types": ["string"],
                }],
                "methods": [{
                    "match_criteria": "string",
                    "methods": ["string"],
                }],
                "paths": [{
                    "match_criteria": "string",
                    "match_case": "string",
                    "match_decoded_string": "string",
                    "match_strs": ["string"],
                    "string_group_refs": ["string"],
                }],
                "protocols": [{
                    "match_criteria": "string",
                    "protocols": "string",
                }],
                "queries": [{
                    "match_criteria": "string",
                    "match_case": "string",
                    "match_decoded_string": "string",
                    "match_strs": ["string"],
                    "string_group_refs": ["string"],
                }],
                "source_ips": [{
                    "match_criteria": "string",
                    "addrs": [{
                        "addr": "string",
                        "type": "string",
                    }],
                    "group_refs": ["string"],
                    "prefixes": [{
                        "ip_addrs": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "mask": "string",
                    }],
                    "ranges": [{
                        "begins": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "ends": [{
                            "addr": "string",
                            "type": "string",
                        }],
                    }],
                }],
                "tls_fingerprint_matches": [{
                    "match_operation": "string",
                    "fingerprints": ["string"],
                    "string_group_refs": ["string"],
                }],
                "versions": [{
                    "match_criteria": "string",
                    "versions": ["string"],
                }],
                "vs_ports": [{
                    "match_criteria": "string",
                    "ports": [0],
                }],
            }],
            "name": "string",
            "action": "string",
            "enable": "string",
        }],
        configpb_attributes=[{
            "version": "string",
        }],
        cookie_name="string",
        csrf_file_ref="string",
        csrfpolicy_id="string",
        description="string",
        name="string",
        tenant_ref="string",
        token_validity_time_min="string",
        uuid="string")
    
    const csrfpolicyResource = new avi.Csrfpolicy("csrfpolicyResource", {
        rules: [{
            index: "string",
            matches: [{
                botDetectionResults: [{
                    matchOperation: "string",
                    classifications: [{
                        type: "string",
                        userDefinedType: "string",
                    }],
                }],
                clientIps: [{
                    matchCriteria: "string",
                    addrs: [{
                        addr: "string",
                        type: "string",
                    }],
                    groupRefs: ["string"],
                    prefixes: [{
                        ipAddrs: [{
                            addr: "string",
                            type: "string",
                        }],
                        mask: "string",
                    }],
                    ranges: [{
                        begins: [{
                            addr: "string",
                            type: "string",
                        }],
                        ends: [{
                            addr: "string",
                            type: "string",
                        }],
                    }],
                }],
                cookies: [{
                    matchCriteria: "string",
                    name: "string",
                    matchCase: "string",
                    value: "string",
                }],
                geoMatches: [{
                    attribute: "string",
                    matchOperation: "string",
                    values: ["string"],
                }],
                hdrs: [{
                    hdr: "string",
                    matchCriteria: "string",
                    matchCase: "string",
                    stringGroupRefs: ["string"],
                    values: ["string"],
                }],
                hostHdrs: [{
                    matchCriteria: "string",
                    matchCase: "string",
                    values: ["string"],
                }],
                ipReputationTypes: [{
                    matchOperation: "string",
                    reputationTypes: ["string"],
                }],
                methods: [{
                    matchCriteria: "string",
                    methods: ["string"],
                }],
                paths: [{
                    matchCriteria: "string",
                    matchCase: "string",
                    matchDecodedString: "string",
                    matchStrs: ["string"],
                    stringGroupRefs: ["string"],
                }],
                protocols: [{
                    matchCriteria: "string",
                    protocols: "string",
                }],
                queries: [{
                    matchCriteria: "string",
                    matchCase: "string",
                    matchDecodedString: "string",
                    matchStrs: ["string"],
                    stringGroupRefs: ["string"],
                }],
                sourceIps: [{
                    matchCriteria: "string",
                    addrs: [{
                        addr: "string",
                        type: "string",
                    }],
                    groupRefs: ["string"],
                    prefixes: [{
                        ipAddrs: [{
                            addr: "string",
                            type: "string",
                        }],
                        mask: "string",
                    }],
                    ranges: [{
                        begins: [{
                            addr: "string",
                            type: "string",
                        }],
                        ends: [{
                            addr: "string",
                            type: "string",
                        }],
                    }],
                }],
                tlsFingerprintMatches: [{
                    matchOperation: "string",
                    fingerprints: ["string"],
                    stringGroupRefs: ["string"],
                }],
                versions: [{
                    matchCriteria: "string",
                    versions: ["string"],
                }],
                vsPorts: [{
                    matchCriteria: "string",
                    ports: [0],
                }],
            }],
            name: "string",
            action: "string",
            enable: "string",
        }],
        configpbAttributes: [{
            version: "string",
        }],
        cookieName: "string",
        csrfFileRef: "string",
        csrfpolicyId: "string",
        description: "string",
        name: "string",
        tenantRef: "string",
        tokenValidityTimeMin: "string",
        uuid: "string",
    });
    
    type: avi:Csrfpolicy
    properties:
        configpbAttributes:
            - version: string
        cookieName: string
        csrfFileRef: string
        csrfpolicyId: string
        description: string
        name: string
        rules:
            - action: string
              enable: string
              index: string
              matches:
                - botDetectionResults:
                    - classifications:
                        - type: string
                          userDefinedType: string
                      matchOperation: string
                  clientIps:
                    - addrs:
                        - addr: string
                          type: string
                      groupRefs:
                        - string
                      matchCriteria: string
                      prefixes:
                        - ipAddrs:
                            - addr: string
                              type: string
                          mask: string
                      ranges:
                        - begins:
                            - addr: string
                              type: string
                          ends:
                            - addr: string
                              type: string
                  cookies:
                    - matchCase: string
                      matchCriteria: string
                      name: string
                      value: string
                  geoMatches:
                    - attribute: string
                      matchOperation: string
                      values:
                        - string
                  hdrs:
                    - hdr: string
                      matchCase: string
                      matchCriteria: string
                      stringGroupRefs:
                        - string
                      values:
                        - string
                  hostHdrs:
                    - matchCase: string
                      matchCriteria: string
                      values:
                        - string
                  ipReputationTypes:
                    - matchOperation: string
                      reputationTypes:
                        - string
                  methods:
                    - matchCriteria: string
                      methods:
                        - string
                  paths:
                    - matchCase: string
                      matchCriteria: string
                      matchDecodedString: string
                      matchStrs:
                        - string
                      stringGroupRefs:
                        - string
                  protocols:
                    - matchCriteria: string
                      protocols: string
                  queries:
                    - matchCase: string
                      matchCriteria: string
                      matchDecodedString: string
                      matchStrs:
                        - string
                      stringGroupRefs:
                        - string
                  sourceIps:
                    - addrs:
                        - addr: string
                          type: string
                      groupRefs:
                        - string
                      matchCriteria: string
                      prefixes:
                        - ipAddrs:
                            - addr: string
                              type: string
                          mask: string
                      ranges:
                        - begins:
                            - addr: string
                              type: string
                          ends:
                            - addr: string
                              type: string
                  tlsFingerprintMatches:
                    - fingerprints:
                        - string
                      matchOperation: string
                      stringGroupRefs:
                        - string
                  versions:
                    - matchCriteria: string
                      versions:
                        - string
                  vsPorts:
                    - matchCriteria: string
                      ports:
                        - 0
              name: string
        tenantRef: string
        tokenValidityTimeMin: string
        uuid: string
    

    Csrfpolicy 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 Csrfpolicy resource accepts the following input properties:

    Rules List<CsrfpolicyRule>
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes List<CsrfpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CookieName string
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfFileRef string
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfpolicyId string
    Description string
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TokenValidityTimeMin string
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Rules []CsrfpolicyRuleArgs
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []CsrfpolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CookieName string
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfFileRef string
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfpolicyId string
    Description string
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TokenValidityTimeMin string
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules List<CsrfpolicyRule>
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<CsrfpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookieName String
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfFileRef String
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicyId String
    description String
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tokenValidityTimeMin String
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules CsrfpolicyRule[]
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes CsrfpolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookieName string
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfFileRef string
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicyId string
    description string
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tokenValidityTimeMin string
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules Sequence[CsrfpolicyRuleArgs]
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[CsrfpolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookie_name str
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrf_file_ref str
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicy_id str
    description str
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    token_validity_time_min str
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules List<Property Map>
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookieName String
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfFileRef String
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicyId String
    description String
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tokenValidityTimeMin String
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Csrfpolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Csrfpolicy Resource

    Get an existing Csrfpolicy 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?: CsrfpolicyState, opts?: CustomResourceOptions): Csrfpolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configpb_attributes: Optional[Sequence[CsrfpolicyConfigpbAttributeArgs]] = None,
            cookie_name: Optional[str] = None,
            csrf_file_ref: Optional[str] = None,
            csrfpolicy_id: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            rules: Optional[Sequence[CsrfpolicyRuleArgs]] = None,
            tenant_ref: Optional[str] = None,
            token_validity_time_min: Optional[str] = None,
            uuid: Optional[str] = None) -> Csrfpolicy
    func GetCsrfpolicy(ctx *Context, name string, id IDInput, state *CsrfpolicyState, opts ...ResourceOption) (*Csrfpolicy, error)
    public static Csrfpolicy Get(string name, Input<string> id, CsrfpolicyState? state, CustomResourceOptions? opts = null)
    public static Csrfpolicy get(String name, Output<String> id, CsrfpolicyState state, CustomResourceOptions options)
    resources:  _:    type: avi:Csrfpolicy    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.
    The following state arguments are supported:
    ConfigpbAttributes List<CsrfpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CookieName string
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfFileRef string
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfpolicyId string
    Description string
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Rules List<CsrfpolicyRule>
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TokenValidityTimeMin string
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []CsrfpolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CookieName string
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfFileRef string
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    CsrfpolicyId string
    Description string
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Rules []CsrfpolicyRuleArgs
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TokenValidityTimeMin string
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<CsrfpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookieName String
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfFileRef String
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicyId String
    description String
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules List<CsrfpolicyRule>
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tokenValidityTimeMin String
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes CsrfpolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookieName string
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfFileRef string
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicyId string
    description string
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules CsrfpolicyRule[]
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tokenValidityTimeMin string
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[CsrfpolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookie_name str
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrf_file_ref str
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicy_id str
    description str
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules Sequence[CsrfpolicyRuleArgs]
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    token_validity_time_min str
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 30.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cookieName String
    Name of the cookie to be used for csrf token. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfFileRef String
    The file object that contains csrf javascript content. Must be of type 'csrf'. It is a reference to an object of type fileobject. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    csrfpolicyId String
    description String
    Human-readable description of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    rules List<Property Map>
    Rules to control which requests undergo csrf protection.if the client's request doesn't match with any rules matchtarget, bypass_csrf action is applied. Field introduced in 30.2.1. Minimum of 1 items required. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tokenValidityTimeMin String
    A csrf token is rotated when this amount of time has passed. Even after that, tokens will be accepted until twice this amount of time has passed. Note, however, that other timeouts from the underlying session layer also affect how long a given token can be used. A token will be invalidated (rotated or deleted) after one of 'token_validity_time_min' (this value), 'session_establishment_timeout', 'session_idle_timeout', 'session_maximum_timeout' is reached, whichever occurs first. Allowed values are 10-1440. Special values are 0- unlimited. Field introduced in 30.2.1. Unit is min. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    A unique identifier to this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    CsrfpolicyConfigpbAttribute, CsrfpolicyConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    CsrfpolicyRule, CsrfpolicyRuleArgs

    Index string
    Matches List<CsrfpolicyRuleMatch>
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Action string
    Enable string
    Index string
    Matches []CsrfpolicyRuleMatch
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Action string
    Enable string
    index String
    matches List<CsrfpolicyRuleMatch>
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    action String
    enable String
    index string
    matches CsrfpolicyRuleMatch[]
    name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    action string
    enable string
    index str
    matches Sequence[CsrfpolicyRuleMatch]
    name str
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    action str
    enable str
    index String
    matches List<Property Map>
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    action String
    enable String

    CsrfpolicyRuleMatch, CsrfpolicyRuleMatchArgs

    CsrfpolicyRuleMatchBotDetectionResult, CsrfpolicyRuleMatchBotDetectionResultArgs

    CsrfpolicyRuleMatchBotDetectionResultClassification, CsrfpolicyRuleMatchBotDetectionResultClassificationArgs

    Type string
    UserDefinedType string
    Type string
    UserDefinedType string
    type String
    userDefinedType String
    type string
    userDefinedType string
    type String
    userDefinedType String

    CsrfpolicyRuleMatchClientIp, CsrfpolicyRuleMatchClientIpArgs

    CsrfpolicyRuleMatchClientIpAddr, CsrfpolicyRuleMatchClientIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchClientIpPrefix, CsrfpolicyRuleMatchClientIpPrefixArgs

    CsrfpolicyRuleMatchClientIpPrefixIpAddr, CsrfpolicyRuleMatchClientIpPrefixIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchClientIpRange, CsrfpolicyRuleMatchClientIpRangeArgs

    CsrfpolicyRuleMatchClientIpRangeBegin, CsrfpolicyRuleMatchClientIpRangeBeginArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchClientIpRangeEnd, CsrfpolicyRuleMatchClientIpRangeEndArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchCookie, CsrfpolicyRuleMatchCookieArgs

    MatchCriteria string
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    MatchCase string
    Value string
    MatchCriteria string
    Name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    MatchCase string
    Value string
    matchCriteria String
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    matchCase String
    value String
    matchCriteria string
    name string
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    matchCase string
    value string
    match_criteria str
    name str
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    match_case str
    value str
    matchCriteria String
    name String
    The name of this csrf protection policy. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    matchCase String
    value String

    CsrfpolicyRuleMatchGeoMatch, CsrfpolicyRuleMatchGeoMatchArgs

    Attribute string
    MatchOperation string
    Values List<string>
    Attribute string
    MatchOperation string
    Values []string
    attribute String
    matchOperation String
    values List<String>
    attribute string
    matchOperation string
    values string[]
    attribute str
    match_operation str
    values Sequence[str]
    attribute String
    matchOperation String
    values List<String>

    CsrfpolicyRuleMatchHdr, CsrfpolicyRuleMatchHdrArgs

    Hdr string
    MatchCriteria string
    MatchCase string
    StringGroupRefs List<string>
    Values List<string>
    Hdr string
    MatchCriteria string
    MatchCase string
    StringGroupRefs []string
    Values []string
    hdr String
    matchCriteria String
    matchCase String
    stringGroupRefs List<String>
    values List<String>
    hdr string
    matchCriteria string
    matchCase string
    stringGroupRefs string[]
    values string[]
    hdr str
    match_criteria str
    match_case str
    string_group_refs Sequence[str]
    values Sequence[str]
    hdr String
    matchCriteria String
    matchCase String
    stringGroupRefs List<String>
    values List<String>

    CsrfpolicyRuleMatchHostHdr, CsrfpolicyRuleMatchHostHdrArgs

    MatchCriteria string
    MatchCase string
    Values List<string>
    MatchCriteria string
    MatchCase string
    Values []string
    matchCriteria String
    matchCase String
    values List<String>
    matchCriteria string
    matchCase string
    values string[]
    match_criteria str
    match_case str
    values Sequence[str]
    matchCriteria String
    matchCase String
    values List<String>

    CsrfpolicyRuleMatchIpReputationType, CsrfpolicyRuleMatchIpReputationTypeArgs

    MatchOperation string
    ReputationTypes List<string>
    matchOperation String
    reputationTypes List<String>
    matchOperation String
    reputationTypes List<String>

    CsrfpolicyRuleMatchMethod, CsrfpolicyRuleMatchMethodArgs

    MatchCriteria string
    Methods List<string>
    MatchCriteria string
    Methods []string
    matchCriteria String
    methods List<String>
    matchCriteria string
    methods string[]
    match_criteria str
    methods Sequence[str]
    matchCriteria String
    methods List<String>

    CsrfpolicyRuleMatchPath, CsrfpolicyRuleMatchPathArgs

    MatchCriteria string
    MatchCase string
    MatchDecodedString string
    MatchStrs List<string>
    StringGroupRefs List<string>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>

    CsrfpolicyRuleMatchProtocol, CsrfpolicyRuleMatchProtocolArgs

    CsrfpolicyRuleMatchQuery, CsrfpolicyRuleMatchQueryArgs

    MatchCriteria string
    MatchCase string
    MatchDecodedString string
    MatchStrs List<string>
    StringGroupRefs List<string>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>

    CsrfpolicyRuleMatchSourceIp, CsrfpolicyRuleMatchSourceIpArgs

    CsrfpolicyRuleMatchSourceIpAddr, CsrfpolicyRuleMatchSourceIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchSourceIpPrefix, CsrfpolicyRuleMatchSourceIpPrefixArgs

    CsrfpolicyRuleMatchSourceIpPrefixIpAddr, CsrfpolicyRuleMatchSourceIpPrefixIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchSourceIpRange, CsrfpolicyRuleMatchSourceIpRangeArgs

    CsrfpolicyRuleMatchSourceIpRangeBegin, CsrfpolicyRuleMatchSourceIpRangeBeginArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchSourceIpRangeEnd, CsrfpolicyRuleMatchSourceIpRangeEndArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    CsrfpolicyRuleMatchTlsFingerprintMatch, CsrfpolicyRuleMatchTlsFingerprintMatchArgs

    MatchOperation string
    Fingerprints List<string>
    StringGroupRefs List<string>
    matchOperation String
    fingerprints List<String>
    stringGroupRefs List<String>
    match_operation str
    fingerprints Sequence[str]
    string_group_refs Sequence[str]
    matchOperation String
    fingerprints List<String>
    stringGroupRefs List<String>

    CsrfpolicyRuleMatchVersion, CsrfpolicyRuleMatchVersionArgs

    MatchCriteria string
    Versions List<string>
    MatchCriteria string
    Versions []string
    matchCriteria String
    versions List<String>
    matchCriteria string
    versions string[]
    match_criteria str
    versions Sequence[str]
    matchCriteria String
    versions List<String>

    CsrfpolicyRuleMatchVsPort, CsrfpolicyRuleMatchVsPortArgs

    MatchCriteria string
    Ports List<double>
    MatchCriteria string
    Ports []float64
    matchCriteria String
    ports List<Double>
    matchCriteria string
    ports number[]
    match_criteria str
    ports Sequence[float]
    matchCriteria String
    ports List<Number>

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware