1. Packages
  2. Packages
  3. Akamai
  4. API Docs
  5. getAppsecUrlProtectionPolicy
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
akamai logo
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi

    Using getAppsecUrlProtectionPolicy

    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 getAppsecUrlProtectionPolicy(args: GetAppsecUrlProtectionPolicyArgs, opts?: InvokeOptions): Promise<GetAppsecUrlProtectionPolicyResult>
    function getAppsecUrlProtectionPolicyOutput(args: GetAppsecUrlProtectionPolicyOutputArgs, opts?: InvokeOptions): Output<GetAppsecUrlProtectionPolicyResult>
    def get_appsec_url_protection_policy(config_id: Optional[int] = None,
                                         url_protection_policy_id: Optional[int] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetAppsecUrlProtectionPolicyResult
    def get_appsec_url_protection_policy_output(config_id: Optional[pulumi.Input[int]] = None,
                                         url_protection_policy_id: Optional[pulumi.Input[int]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetAppsecUrlProtectionPolicyResult]
    func LookupAppsecUrlProtectionPolicy(ctx *Context, args *LookupAppsecUrlProtectionPolicyArgs, opts ...InvokeOption) (*LookupAppsecUrlProtectionPolicyResult, error)
    func LookupAppsecUrlProtectionPolicyOutput(ctx *Context, args *LookupAppsecUrlProtectionPolicyOutputArgs, opts ...InvokeOption) LookupAppsecUrlProtectionPolicyResultOutput

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

    public static class GetAppsecUrlProtectionPolicy 
    {
        public static Task<GetAppsecUrlProtectionPolicyResult> InvokeAsync(GetAppsecUrlProtectionPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetAppsecUrlProtectionPolicyResult> Invoke(GetAppsecUrlProtectionPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppsecUrlProtectionPolicyResult> getAppsecUrlProtectionPolicy(GetAppsecUrlProtectionPolicyArgs args, InvokeOptions options)
    public static Output<GetAppsecUrlProtectionPolicyResult> getAppsecUrlProtectionPolicy(GetAppsecUrlProtectionPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akamai:index/getAppsecUrlProtectionPolicy:getAppsecUrlProtectionPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getAppsecUrlProtectionPolicy Result

    The following output properties are available:

    Supporting Types

    GetAppsecUrlProtectionPolicyApiDefinition

    ApiDefinitionId int
    Unique identifier of the API definition
    DefinedResources bool
    Whether defined resources are included
    ResourceIds List<int>
    List of resource IDs
    UndefinedResources bool
    Whether undefined resources are included
    ApiDefinitionId int
    Unique identifier of the API definition
    DefinedResources bool
    Whether defined resources are included
    ResourceIds []int
    List of resource IDs
    UndefinedResources bool
    Whether undefined resources are included
    apiDefinitionId Integer
    Unique identifier of the API definition
    definedResources Boolean
    Whether defined resources are included
    resourceIds List<Integer>
    List of resource IDs
    undefinedResources Boolean
    Whether undefined resources are included
    apiDefinitionId number
    Unique identifier of the API definition
    definedResources boolean
    Whether defined resources are included
    resourceIds number[]
    List of resource IDs
    undefinedResources boolean
    Whether undefined resources are included
    api_definition_id int
    Unique identifier of the API definition
    defined_resources bool
    Whether defined resources are included
    resource_ids Sequence[int]
    List of resource IDs
    undefined_resources bool
    Whether undefined resources are included
    apiDefinitionId Number
    Unique identifier of the API definition
    definedResources Boolean
    Whether defined resources are included
    resourceIds List<Number>
    List of resource IDs
    undefinedResources Boolean
    Whether undefined resources are included

    GetAppsecUrlProtectionPolicyBypassCondition

    NameWildcard bool
    Whether to use wildcard matching for header names
    Names List<string>
    List of header names for RequestHeaderCondition
    Type string
    Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
    ValueCaseSensitive bool
    Whether the value matching is case sensitive
    ValueWildcard bool
    Whether to use wildcard matching for values
    Values List<string>
    List of values for the condition
    NameWildcard bool
    Whether to use wildcard matching for header names
    Names []string
    List of header names for RequestHeaderCondition
    Type string
    Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
    ValueCaseSensitive bool
    Whether the value matching is case sensitive
    ValueWildcard bool
    Whether to use wildcard matching for values
    Values []string
    List of values for the condition
    nameWildcard Boolean
    Whether to use wildcard matching for header names
    names List<String>
    List of header names for RequestHeaderCondition
    type String
    Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
    valueCaseSensitive Boolean
    Whether the value matching is case sensitive
    valueWildcard Boolean
    Whether to use wildcard matching for values
    values List<String>
    List of values for the condition
    nameWildcard boolean
    Whether to use wildcard matching for header names
    names string[]
    List of header names for RequestHeaderCondition
    type string
    Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
    valueCaseSensitive boolean
    Whether the value matching is case sensitive
    valueWildcard boolean
    Whether to use wildcard matching for values
    values string[]
    List of values for the condition
    name_wildcard bool
    Whether to use wildcard matching for header names
    names Sequence[str]
    List of header names for RequestHeaderCondition
    type str
    Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
    value_case_sensitive bool
    Whether the value matching is case sensitive
    value_wildcard bool
    Whether to use wildcard matching for values
    values Sequence[str]
    List of values for the condition
    nameWildcard Boolean
    Whether to use wildcard matching for header names
    names List<String>
    List of header names for RequestHeaderCondition
    type String
    Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
    valueCaseSensitive Boolean
    Whether the value matching is case sensitive
    valueWildcard Boolean
    Whether to use wildcard matching for values
    values List<String>
    List of values for the condition

    GetAppsecUrlProtectionPolicyHostnamePath

    Hostname string
    Hostname for the URL protection
    Paths List<string>
    List of paths associated with the hostname
    Hostname string
    Hostname for the URL protection
    Paths []string
    List of paths associated with the hostname
    hostname String
    Hostname for the URL protection
    paths List<String>
    List of paths associated with the hostname
    hostname string
    Hostname for the URL protection
    paths string[]
    List of paths associated with the hostname
    hostname str
    Hostname for the URL protection
    paths Sequence[str]
    List of paths associated with the hostname
    hostname String
    Hostname for the URL protection
    paths List<String>
    List of paths associated with the hostname

    GetAppsecUrlProtectionPolicyIntelligentLoadShedding

    Categories List<string>
    List of categories for intelligent load shedding
    CustomCriterias List<GetAppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria>
    Custom criteria for intelligent load shedding
    HitsPerSec int
    Number of hits per second threshold
    Categories []string
    List of categories for intelligent load shedding
    CustomCriterias []GetAppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria
    Custom criteria for intelligent load shedding
    HitsPerSec int
    Number of hits per second threshold
    categories List<String>
    List of categories for intelligent load shedding
    customCriterias List<GetAppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria>
    Custom criteria for intelligent load shedding
    hitsPerSec Integer
    Number of hits per second threshold
    categories string[]
    List of categories for intelligent load shedding
    customCriterias GetAppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria[]
    Custom criteria for intelligent load shedding
    hitsPerSec number
    Number of hits per second threshold
    categories Sequence[str]
    List of categories for intelligent load shedding
    custom_criterias Sequence[GetAppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria]
    Custom criteria for intelligent load shedding
    hits_per_sec int
    Number of hits per second threshold
    categories List<String>
    List of categories for intelligent load shedding
    customCriterias List<Property Map>
    Custom criteria for intelligent load shedding
    hitsPerSec Number
    Number of hits per second threshold

    GetAppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria

    ListIds List<string>
    List of client list IDs
    PositiveMatch bool
    Whether this is a positive match condition
    Type string
    Type of custom criteria (e.g., CLIENT_LIST)
    ListIds []string
    List of client list IDs
    PositiveMatch bool
    Whether this is a positive match condition
    Type string
    Type of custom criteria (e.g., CLIENT_LIST)
    listIds List<String>
    List of client list IDs
    positiveMatch Boolean
    Whether this is a positive match condition
    type String
    Type of custom criteria (e.g., CLIENT_LIST)
    listIds string[]
    List of client list IDs
    positiveMatch boolean
    Whether this is a positive match condition
    type string
    Type of custom criteria (e.g., CLIENT_LIST)
    list_ids Sequence[str]
    List of client list IDs
    positive_match bool
    Whether this is a positive match condition
    type str
    Type of custom criteria (e.g., CLIENT_LIST)
    listIds List<String>
    List of client list IDs
    positiveMatch Boolean
    Whether this is a positive match condition
    type String
    Type of custom criteria (e.g., CLIENT_LIST)

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Viewing docs for Akamai v11.1.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.