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

avi.Wafprofile

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.Wafprofile” sidebar_current: “docs-avi-resource-wafprofile” description: |- Creates and manages Avi WafProfile.

    avi.Wafprofile

    The WafProfile resource allows the creation and management of Avi WafProfile

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Wafprofile("foo", {tenantRef: "/api/tenant/?name=admin"});
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Wafprofile("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.NewWafprofile(ctx, "foo", &avi.WafprofileArgs{
    			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.Wafprofile("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.Wafprofile;
    import com.pulumi.avi.WafprofileArgs;
    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 Wafprofile("foo", WafprofileArgs.builder()
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Wafprofile
        properties:
          tenantRef: /api/tenant/?name=admin
    

    Create Wafprofile Resource

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

    Constructor syntax

    new Wafprofile(name: string, args: WafprofileArgs, opts?: CustomResourceOptions);
    @overload
    def Wafprofile(resource_name: str,
                   args: WafprofileArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Wafprofile(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   configs: Optional[Sequence[WafprofileConfigArgs]] = None,
                   configpb_attributes: Optional[Sequence[WafprofileConfigpbAttributeArgs]] = None,
                   description: Optional[str] = None,
                   files: Optional[Sequence[WafprofileFileArgs]] = None,
                   markers: Optional[Sequence[WafprofileMarkerArgs]] = None,
                   name: Optional[str] = None,
                   tenant_ref: Optional[str] = None,
                   uuid: Optional[str] = None,
                   wafprofile_id: Optional[str] = None)
    func NewWafprofile(ctx *Context, name string, args WafprofileArgs, opts ...ResourceOption) (*Wafprofile, error)
    public Wafprofile(string name, WafprofileArgs args, CustomResourceOptions? opts = null)
    public Wafprofile(String name, WafprofileArgs args)
    public Wafprofile(String name, WafprofileArgs args, CustomResourceOptions options)
    
    type: avi:Wafprofile
    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 WafprofileArgs
    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 WafprofileArgs
    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 WafprofileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WafprofileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WafprofileArgs
    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 wafprofileResource = new Avi.Wafprofile("wafprofileResource", new()
    {
        Configs = new[]
        {
            new Avi.Inputs.WafprofileConfigArgs
            {
                AllowedHttpVersions = new[]
                {
                    "string",
                },
                AllowedMethods = new[]
                {
                    "string",
                },
                AllowedRequestContentTypeCharsets = new[]
                {
                    "string",
                },
                ArgumentSeparator = "string",
                ClientRequestMaxBodySize = "string",
                ContentTypeMappings = new[]
                {
                    new Avi.Inputs.WafprofileConfigContentTypeMappingArgs
                    {
                        ContentType = "string",
                        RequestBodyParser = "string",
                        MatchOp = "string",
                    },
                },
                CookieFormatVersion = "string",
                IgnoreIncompleteRequestBodyError = "string",
                MaxExecutionTime = "string",
                RegexMatchLimit = "string",
                RegexRecursionLimit = "string",
                RequestBodyDefaultAction = "string",
                RequestHdrDefaultAction = "string",
                ResponseBodyDefaultAction = "string",
                ResponseHdrDefaultAction = "string",
                RestrictedExtensions = new[]
                {
                    "string",
                },
                RestrictedHeaders = new[]
                {
                    "string",
                },
                SendStatusHeader = "string",
                ServerResponseMaxBodySize = "string",
                StaticExtensions = new[]
                {
                    "string",
                },
                StatusCodeForRejectedRequests = "string",
                StatusHeaderName = "string",
                XmlXxeProtection = "string",
            },
        },
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.WafprofileConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        Description = "string",
        Files = new[]
        {
            new Avi.Inputs.WafprofileFileArgs
            {
                Data = "string",
                Name = "string",
                Type = "string",
            },
        },
        Markers = new[]
        {
            new Avi.Inputs.WafprofileMarkerArgs
            {
                Key = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        Name = "string",
        TenantRef = "string",
        Uuid = "string",
        WafprofileId = "string",
    });
    
    example, err := avi.NewWafprofile(ctx, "wafprofileResource", &avi.WafprofileArgs{
    	Configs: avi.WafprofileConfigArray{
    		&avi.WafprofileConfigArgs{
    			AllowedHttpVersions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			AllowedMethods: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			AllowedRequestContentTypeCharsets: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ArgumentSeparator:        pulumi.String("string"),
    			ClientRequestMaxBodySize: pulumi.String("string"),
    			ContentTypeMappings: avi.WafprofileConfigContentTypeMappingArray{
    				&avi.WafprofileConfigContentTypeMappingArgs{
    					ContentType:       pulumi.String("string"),
    					RequestBodyParser: pulumi.String("string"),
    					MatchOp:           pulumi.String("string"),
    				},
    			},
    			CookieFormatVersion:              pulumi.String("string"),
    			IgnoreIncompleteRequestBodyError: pulumi.String("string"),
    			MaxExecutionTime:                 pulumi.String("string"),
    			RegexMatchLimit:                  pulumi.String("string"),
    			RegexRecursionLimit:              pulumi.String("string"),
    			RequestBodyDefaultAction:         pulumi.String("string"),
    			RequestHdrDefaultAction:          pulumi.String("string"),
    			ResponseBodyDefaultAction:        pulumi.String("string"),
    			ResponseHdrDefaultAction:         pulumi.String("string"),
    			RestrictedExtensions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			RestrictedHeaders: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SendStatusHeader:          pulumi.String("string"),
    			ServerResponseMaxBodySize: pulumi.String("string"),
    			StaticExtensions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			StatusCodeForRejectedRequests: pulumi.String("string"),
    			StatusHeaderName:              pulumi.String("string"),
    			XmlXxeProtection:              pulumi.String("string"),
    		},
    	},
    	ConfigpbAttributes: avi.WafprofileConfigpbAttributeArray{
    		&avi.WafprofileConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Files: avi.WafprofileFileArray{
    		&avi.WafprofileFileArgs{
    			Data: pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Type: pulumi.String("string"),
    		},
    	},
    	Markers: avi.WafprofileMarkerArray{
    		&avi.WafprofileMarkerArgs{
    			Key: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Name:         pulumi.String("string"),
    	TenantRef:    pulumi.String("string"),
    	Uuid:         pulumi.String("string"),
    	WafprofileId: pulumi.String("string"),
    })
    
    var wafprofileResource = new Wafprofile("wafprofileResource", WafprofileArgs.builder()
        .configs(WafprofileConfigArgs.builder()
            .allowedHttpVersions("string")
            .allowedMethods("string")
            .allowedRequestContentTypeCharsets("string")
            .argumentSeparator("string")
            .clientRequestMaxBodySize("string")
            .contentTypeMappings(WafprofileConfigContentTypeMappingArgs.builder()
                .contentType("string")
                .requestBodyParser("string")
                .matchOp("string")
                .build())
            .cookieFormatVersion("string")
            .ignoreIncompleteRequestBodyError("string")
            .maxExecutionTime("string")
            .regexMatchLimit("string")
            .regexRecursionLimit("string")
            .requestBodyDefaultAction("string")
            .requestHdrDefaultAction("string")
            .responseBodyDefaultAction("string")
            .responseHdrDefaultAction("string")
            .restrictedExtensions("string")
            .restrictedHeaders("string")
            .sendStatusHeader("string")
            .serverResponseMaxBodySize("string")
            .staticExtensions("string")
            .statusCodeForRejectedRequests("string")
            .statusHeaderName("string")
            .xmlXxeProtection("string")
            .build())
        .configpbAttributes(WafprofileConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .description("string")
        .files(WafprofileFileArgs.builder()
            .data("string")
            .name("string")
            .type("string")
            .build())
        .markers(WafprofileMarkerArgs.builder()
            .key("string")
            .values("string")
            .build())
        .name("string")
        .tenantRef("string")
        .uuid("string")
        .wafprofileId("string")
        .build());
    
    wafprofile_resource = avi.Wafprofile("wafprofileResource",
        configs=[{
            "allowed_http_versions": ["string"],
            "allowed_methods": ["string"],
            "allowed_request_content_type_charsets": ["string"],
            "argument_separator": "string",
            "client_request_max_body_size": "string",
            "content_type_mappings": [{
                "content_type": "string",
                "request_body_parser": "string",
                "match_op": "string",
            }],
            "cookie_format_version": "string",
            "ignore_incomplete_request_body_error": "string",
            "max_execution_time": "string",
            "regex_match_limit": "string",
            "regex_recursion_limit": "string",
            "request_body_default_action": "string",
            "request_hdr_default_action": "string",
            "response_body_default_action": "string",
            "response_hdr_default_action": "string",
            "restricted_extensions": ["string"],
            "restricted_headers": ["string"],
            "send_status_header": "string",
            "server_response_max_body_size": "string",
            "static_extensions": ["string"],
            "status_code_for_rejected_requests": "string",
            "status_header_name": "string",
            "xml_xxe_protection": "string",
        }],
        configpb_attributes=[{
            "version": "string",
        }],
        description="string",
        files=[{
            "data": "string",
            "name": "string",
            "type": "string",
        }],
        markers=[{
            "key": "string",
            "values": ["string"],
        }],
        name="string",
        tenant_ref="string",
        uuid="string",
        wafprofile_id="string")
    
    const wafprofileResource = new avi.Wafprofile("wafprofileResource", {
        configs: [{
            allowedHttpVersions: ["string"],
            allowedMethods: ["string"],
            allowedRequestContentTypeCharsets: ["string"],
            argumentSeparator: "string",
            clientRequestMaxBodySize: "string",
            contentTypeMappings: [{
                contentType: "string",
                requestBodyParser: "string",
                matchOp: "string",
            }],
            cookieFormatVersion: "string",
            ignoreIncompleteRequestBodyError: "string",
            maxExecutionTime: "string",
            regexMatchLimit: "string",
            regexRecursionLimit: "string",
            requestBodyDefaultAction: "string",
            requestHdrDefaultAction: "string",
            responseBodyDefaultAction: "string",
            responseHdrDefaultAction: "string",
            restrictedExtensions: ["string"],
            restrictedHeaders: ["string"],
            sendStatusHeader: "string",
            serverResponseMaxBodySize: "string",
            staticExtensions: ["string"],
            statusCodeForRejectedRequests: "string",
            statusHeaderName: "string",
            xmlXxeProtection: "string",
        }],
        configpbAttributes: [{
            version: "string",
        }],
        description: "string",
        files: [{
            data: "string",
            name: "string",
            type: "string",
        }],
        markers: [{
            key: "string",
            values: ["string"],
        }],
        name: "string",
        tenantRef: "string",
        uuid: "string",
        wafprofileId: "string",
    });
    
    type: avi:Wafprofile
    properties:
        configpbAttributes:
            - version: string
        configs:
            - allowedHttpVersions:
                - string
              allowedMethods:
                - string
              allowedRequestContentTypeCharsets:
                - string
              argumentSeparator: string
              clientRequestMaxBodySize: string
              contentTypeMappings:
                - contentType: string
                  matchOp: string
                  requestBodyParser: string
              cookieFormatVersion: string
              ignoreIncompleteRequestBodyError: string
              maxExecutionTime: string
              regexMatchLimit: string
              regexRecursionLimit: string
              requestBodyDefaultAction: string
              requestHdrDefaultAction: string
              responseBodyDefaultAction: string
              responseHdrDefaultAction: string
              restrictedExtensions:
                - string
              restrictedHeaders:
                - string
              sendStatusHeader: string
              serverResponseMaxBodySize: string
              staticExtensions:
                - string
              statusCodeForRejectedRequests: string
              statusHeaderName: string
              xmlXxeProtection: string
        description: string
        files:
            - data: string
              name: string
              type: string
        markers:
            - key: string
              values:
                - string
        name: string
        tenantRef: string
        uuid: string
        wafprofileId: string
    

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

    Configs List<WafprofileConfig>
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes List<WafprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Files List<WafprofileFile>
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers List<WafprofileMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    WafprofileId string
    Configs []WafprofileConfigArgs
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []WafprofileConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Files []WafprofileFileArgs
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers []WafprofileMarkerArgs
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    WafprofileId string
    configs List<WafprofileConfig>
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<WafprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files List<WafprofileFile>
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<WafprofileMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofileId String
    configs WafprofileConfig[]
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes WafprofileConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files WafprofileFile[]
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers WafprofileMarker[]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef string
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofileId string
    configs Sequence[WafprofileConfigArgs]
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[WafprofileConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files Sequence[WafprofileFileArgs]
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers Sequence[WafprofileMarkerArgs]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref str
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofile_id str
    configs List<Property Map>
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files List<Property Map>
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<Property Map>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofileId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Wafprofile 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 Wafprofile Resource

    Get an existing Wafprofile 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?: WafprofileState, opts?: CustomResourceOptions): Wafprofile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configpb_attributes: Optional[Sequence[WafprofileConfigpbAttributeArgs]] = None,
            configs: Optional[Sequence[WafprofileConfigArgs]] = None,
            description: Optional[str] = None,
            files: Optional[Sequence[WafprofileFileArgs]] = None,
            markers: Optional[Sequence[WafprofileMarkerArgs]] = None,
            name: Optional[str] = None,
            tenant_ref: Optional[str] = None,
            uuid: Optional[str] = None,
            wafprofile_id: Optional[str] = None) -> Wafprofile
    func GetWafprofile(ctx *Context, name string, id IDInput, state *WafprofileState, opts ...ResourceOption) (*Wafprofile, error)
    public static Wafprofile Get(string name, Input<string> id, WafprofileState? state, CustomResourceOptions? opts = null)
    public static Wafprofile get(String name, Output<String> id, WafprofileState state, CustomResourceOptions options)
    resources:  _:    type: avi:Wafprofile    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<WafprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Configs List<WafprofileConfig>
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Files List<WafprofileFile>
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers List<WafprofileMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    WafprofileId string
    ConfigpbAttributes []WafprofileConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Configs []WafprofileConfigArgs
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Files []WafprofileFileArgs
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers []WafprofileMarkerArgs
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    WafprofileId string
    configpbAttributes List<WafprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configs List<WafprofileConfig>
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files List<WafprofileFile>
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<WafprofileMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofileId String
    configpbAttributes WafprofileConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configs WafprofileConfig[]
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files WafprofileFile[]
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers WafprofileMarker[]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef string
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofileId string
    configpb_attributes Sequence[WafprofileConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configs Sequence[WafprofileConfigArgs]
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files Sequence[WafprofileFileArgs]
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers Sequence[WafprofileMarkerArgs]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref str
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofile_id str
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configs List<Property Map>
    Config params for waf. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    files List<Property Map>
    List of data files used for waf rules. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<Property Map>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    wafprofileId String

    Supporting Types

    WafprofileConfig, WafprofileConfigArgs

    WafprofileConfigContentTypeMapping, WafprofileConfigContentTypeMappingArgs

    WafprofileConfigpbAttribute, WafprofileConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    WafprofileFile, WafprofileFileArgs

    Data string
    Name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Type string
    Data string
    Name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Type string
    data String
    name String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    type String
    data string
    name string
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    type string
    data str
    name str
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    type str
    data String
    name String
    Field introduced in 17.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    type String

    WafprofileMarker, WafprofileMarkerArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    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