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

avi.getSecuritypolicy

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.Securitypolicy” sidebar_current: “docs-avi-datasource-securitypolicy” description: |- Get information of Avi SecurityPolicy.

    avi.Securitypolicy

    This data source is used to to get avi.Securitypolicy objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooSecuritypolicy = avi.getSecuritypolicy({
        name: "foo",
        uuid: "securitypolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_securitypolicy = avi.get_securitypolicy(name="foo",
        uuid="securitypolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
    
    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.LookupSecuritypolicy(ctx, &avi.LookupSecuritypolicyArgs{
    			Name: pulumi.StringRef("foo"),
    			Uuid: pulumi.StringRef("securitypolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
    		}, nil)
    		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 fooSecuritypolicy = Avi.GetSecuritypolicy.Invoke(new()
        {
            Name = "foo",
            Uuid = "securitypolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.AviFunctions;
    import com.pulumi.avi.inputs.GetSecuritypolicyArgs;
    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) {
            final var fooSecuritypolicy = AviFunctions.getSecuritypolicy(GetSecuritypolicyArgs.builder()
                .name("foo")
                .uuid("securitypolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .build());
    
        }
    }
    
    variables:
      fooSecuritypolicy:
        fn::invoke:
          function: avi:getSecuritypolicy
          arguments:
            name: foo
            uuid: securitypolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b
    

    Using getSecuritypolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSecuritypolicy(args: GetSecuritypolicyArgs, opts?: InvokeOptions): Promise<GetSecuritypolicyResult>
    function getSecuritypolicyOutput(args: GetSecuritypolicyOutputArgs, opts?: InvokeOptions): Output<GetSecuritypolicyResult>
    def get_securitypolicy(id: Optional[str] = None,
                           name: Optional[str] = None,
                           tenant_ref: Optional[str] = None,
                           uuid: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSecuritypolicyResult
    def get_securitypolicy_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           tenant_ref: Optional[pulumi.Input[str]] = None,
                           uuid: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSecuritypolicyResult]
    func LookupSecuritypolicy(ctx *Context, args *LookupSecuritypolicyArgs, opts ...InvokeOption) (*LookupSecuritypolicyResult, error)
    func LookupSecuritypolicyOutput(ctx *Context, args *LookupSecuritypolicyOutputArgs, opts ...InvokeOption) LookupSecuritypolicyResultOutput

    > Note: This function is named LookupSecuritypolicy in the Go SDK.

    public static class GetSecuritypolicy 
    {
        public static Task<GetSecuritypolicyResult> InvokeAsync(GetSecuritypolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetSecuritypolicyResult> Invoke(GetSecuritypolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecuritypolicyResult> getSecuritypolicy(GetSecuritypolicyArgs args, InvokeOptions options)
    public static Output<GetSecuritypolicyResult> getSecuritypolicy(GetSecuritypolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getSecuritypolicy:getSecuritypolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Search SecurityPolicy by name.
    TenantRef string
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Search SecurityPolicy by uuid.
    Id string
    Name string
    Search SecurityPolicy by name.
    TenantRef string
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Search SecurityPolicy by uuid.
    id String
    name String
    Search SecurityPolicy by name.
    tenantRef String
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Search SecurityPolicy by uuid.
    id string
    name string
    Search SecurityPolicy by name.
    tenantRef string
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Search SecurityPolicy by uuid.
    id str
    name str
    Search SecurityPolicy by name.
    tenant_ref str
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Search SecurityPolicy by uuid.
    id String
    name String
    Search SecurityPolicy by name.
    tenantRef String
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Search SecurityPolicy by uuid.

    getSecuritypolicy Result

    The following output properties are available:

    ConfigpbAttributes List<GetSecuritypolicyConfigpbAttribute>
    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
    Security policy is used to specify various configuration information used to perform distributed denial of service (ddos) attacks detection and mitigation. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DnsAmplificationDenyports List<GetSecuritypolicyDnsAmplificationDenyport>
    Source ports and port ranges to deny in dns amplification attacks. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DnsAttacks List<GetSecuritypolicyDnsAttack>
    Attacks utilizing the dns protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DnsPolicyIndex string
    Index of the dns policy to use for the mitigation rules applied to the dns attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    Markers List<GetSecuritypolicyMarker>
    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
    The name of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NetworkSecurityPolicyIndex string
    Index of the network security policy to use for the mitigation rules applied to the attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OperMode string
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TcpAttacks List<GetSecuritypolicyTcpAttack>
    Attacks utilizing the tcp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    UdpAttacks List<GetSecuritypolicyUdpAttack>
    Attacks utilizing the udp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The uuid of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []GetSecuritypolicyConfigpbAttribute
    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
    Security policy is used to specify various configuration information used to perform distributed denial of service (ddos) attacks detection and mitigation. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DnsAmplificationDenyports []GetSecuritypolicyDnsAmplificationDenyport
    Source ports and port ranges to deny in dns amplification attacks. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DnsAttacks []GetSecuritypolicyDnsAttack
    Attacks utilizing the dns protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DnsPolicyIndex string
    Index of the dns policy to use for the mitigation rules applied to the dns attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    Markers []GetSecuritypolicyMarker
    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
    The name of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NetworkSecurityPolicyIndex string
    Index of the network security policy to use for the mitigation rules applied to the attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OperMode string
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TcpAttacks []GetSecuritypolicyTcpAttack
    Attacks utilizing the tcp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    UdpAttacks []GetSecuritypolicyUdpAttack
    Attacks utilizing the udp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The uuid of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<GetSecuritypolicyConfigpbAttribute>
    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
    Security policy is used to specify various configuration information used to perform distributed denial of service (ddos) attacks detection and mitigation. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsAmplificationDenyports List<GetSecuritypolicyDnsAmplificationDenyport>
    Source ports and port ranges to deny in dns amplification attacks. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsAttacks List<GetSecuritypolicyDnsAttack>
    Attacks utilizing the dns protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsPolicyIndex String
    Index of the dns policy to use for the mitigation rules applied to the dns attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    markers List<GetSecuritypolicyMarker>
    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
    The name of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networkSecurityPolicyIndex String
    Index of the network security policy to use for the mitigation rules applied to the attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    operMode String
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tcpAttacks List<GetSecuritypolicyTcpAttack>
    Attacks utilizing the tcp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    udpAttacks List<GetSecuritypolicyUdpAttack>
    Attacks utilizing the udp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The uuid of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes GetSecuritypolicyConfigpbAttribute[]
    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
    Security policy is used to specify various configuration information used to perform distributed denial of service (ddos) attacks detection and mitigation. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsAmplificationDenyports GetSecuritypolicyDnsAmplificationDenyport[]
    Source ports and port ranges to deny in dns amplification attacks. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsAttacks GetSecuritypolicyDnsAttack[]
    Attacks utilizing the dns protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsPolicyIndex string
    Index of the dns policy to use for the mitigation rules applied to the dns attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id string
    markers GetSecuritypolicyMarker[]
    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
    The name of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networkSecurityPolicyIndex string
    Index of the network security policy to use for the mitigation rules applied to the attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    operMode string
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tcpAttacks GetSecuritypolicyTcpAttack[]
    Attacks utilizing the tcp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef string
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    udpAttacks GetSecuritypolicyUdpAttack[]
    Attacks utilizing the udp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The uuid of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[GetSecuritypolicyConfigpbAttribute]
    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
    Security policy is used to specify various configuration information used to perform distributed denial of service (ddos) attacks detection and mitigation. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dns_amplification_denyports Sequence[GetSecuritypolicyDnsAmplificationDenyport]
    Source ports and port ranges to deny in dns amplification attacks. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dns_attacks Sequence[GetSecuritypolicyDnsAttack]
    Attacks utilizing the dns protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dns_policy_index str
    Index of the dns policy to use for the mitigation rules applied to the dns attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id str
    markers Sequence[GetSecuritypolicyMarker]
    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
    The name of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    network_security_policy_index str
    Index of the network security policy to use for the mitigation rules applied to the attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    oper_mode str
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tcp_attacks Sequence[GetSecuritypolicyTcpAttack]
    Attacks utilizing the tcp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref str
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    udp_attacks Sequence[GetSecuritypolicyUdpAttack]
    Attacks utilizing the udp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    The uuid of the security policy. Field introduced in 18.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
    Security policy is used to specify various configuration information used to perform distributed denial of service (ddos) attacks detection and mitigation. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsAmplificationDenyports List<Property Map>
    Source ports and port ranges to deny in dns amplification attacks. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsAttacks List<Property Map>
    Attacks utilizing the dns protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    dnsPolicyIndex String
    Index of the dns policy to use for the mitigation rules applied to the dns attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    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
    The name of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networkSecurityPolicyIndex String
    Index of the network security policy to use for the mitigation rules applied to the attacks. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    operMode String
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tcpAttacks List<Property Map>
    Attacks utilizing the tcp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    Tenancy of the security policy. It is a reference to an object of type tenant. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    udpAttacks List<Property Map>
    Attacks utilizing the udp protocol operations. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The uuid of the security policy. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    GetSecuritypolicyConfigpbAttribute

    Version string
    Version string
    version String
    version string
    version String

    GetSecuritypolicyDnsAmplificationDenyport

    GetSecuritypolicyDnsAmplificationDenyportRange

    End string
    Start string
    End string
    Start string
    end String
    start String
    end string
    start string
    end str
    start str
    end String
    start String

    GetSecuritypolicyDnsAttack

    Attacks List<GetSecuritypolicyDnsAttackAttack>
    OperMode string
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Attacks []GetSecuritypolicyDnsAttackAttack
    OperMode string
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    attacks List<GetSecuritypolicyDnsAttackAttack>
    operMode String
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    attacks GetSecuritypolicyDnsAttackAttack[]
    operMode string
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    attacks Sequence[GetSecuritypolicyDnsAttackAttack]
    oper_mode str
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    attacks List<Property Map>
    operMode String
    Mode of dealing with the attacks - perform detection only, or detect and mitigate the attacks. Enum options - DETECTION, MITIGATION. Field introduced in 18.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    GetSecuritypolicyDnsAttackAttack

    GetSecuritypolicyDnsAttackAttackMitigationAction

    Deny string
    Deny string
    deny String
    deny string
    deny str
    deny String

    GetSecuritypolicyMarker

    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