1. Packages
  2. Packages
  3. Akamai
  4. API Docs
  5. getAppsecUrlProtectionPolicies
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 getAppsecUrlProtectionPolicies

    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 getAppsecUrlProtectionPolicies(args: GetAppsecUrlProtectionPoliciesArgs, opts?: InvokeOptions): Promise<GetAppsecUrlProtectionPoliciesResult>
    function getAppsecUrlProtectionPoliciesOutput(args: GetAppsecUrlProtectionPoliciesOutputArgs, opts?: InvokeOptions): Output<GetAppsecUrlProtectionPoliciesResult>
    def get_appsec_url_protection_policies(config_id: Optional[int] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetAppsecUrlProtectionPoliciesResult
    def get_appsec_url_protection_policies_output(config_id: Optional[pulumi.Input[int]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetAppsecUrlProtectionPoliciesResult]
    func GetAppsecUrlProtectionPolicies(ctx *Context, args *GetAppsecUrlProtectionPoliciesArgs, opts ...InvokeOption) (*GetAppsecUrlProtectionPoliciesResult, error)
    func GetAppsecUrlProtectionPoliciesOutput(ctx *Context, args *GetAppsecUrlProtectionPoliciesOutputArgs, opts ...InvokeOption) GetAppsecUrlProtectionPoliciesResultOutput

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

    public static class GetAppsecUrlProtectionPolicies 
    {
        public static Task<GetAppsecUrlProtectionPoliciesResult> InvokeAsync(GetAppsecUrlProtectionPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetAppsecUrlProtectionPoliciesResult> Invoke(GetAppsecUrlProtectionPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppsecUrlProtectionPoliciesResult> getAppsecUrlProtectionPolicies(GetAppsecUrlProtectionPoliciesArgs args, InvokeOptions options)
    public static Output<GetAppsecUrlProtectionPoliciesResult> getAppsecUrlProtectionPolicies(GetAppsecUrlProtectionPoliciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akamai:index/getAppsecUrlProtectionPolicies:getAppsecUrlProtectionPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    configId Integer
    configId number
    configId Number

    getAppsecUrlProtectionPolicies Result

    The following output properties are available:

    ConfigId int
    Id string
    The provider-assigned unique ID for this managed resource.
    UrlProtectionPolicies List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicy>
    ConfigId int
    Id string
    The provider-assigned unique ID for this managed resource.
    UrlProtectionPolicies []GetAppsecUrlProtectionPoliciesUrlProtectionPolicy
    configId Integer
    id String
    The provider-assigned unique ID for this managed resource.
    urlProtectionPolicies List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicy>
    configId number
    id string
    The provider-assigned unique ID for this managed resource.
    urlProtectionPolicies GetAppsecUrlProtectionPoliciesUrlProtectionPolicy[]
    config_id int
    id str
    The provider-assigned unique ID for this managed resource.
    url_protection_policies Sequence[GetAppsecUrlProtectionPoliciesUrlProtectionPolicy]
    configId Number
    id String
    The provider-assigned unique ID for this managed resource.
    urlProtectionPolicies List<Property Map>

    Supporting Types

    GetAppsecUrlProtectionPoliciesUrlProtectionPolicy

    ApiDefinitions List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyApiDefinition>
    List of API definitions associated with the URL protection policy
    BypassConditions List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyBypassCondition>
    List of bypass conditions for the URL protection policy
    ConfigId int
    Unique identifier of the security configuration
    CreateDate string
    Date when the URL protection policy was created
    CreatedBy string
    User who created the URL protection policy
    Description string
    Description of the URL protection policy
    HostnamePaths List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyHostnamePath>
    List of hostname and path configurations
    IntelligentLoadShedding GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadShedding
    Intelligent load shedding configuration
    MaxRateThreshold int
    Maximum rate threshold for the URL protection policy
    Name string
    Name of the URL protection policy
    UpdateDate string
    Date when the URL protection policy was last updated
    UpdatedBy string
    User who last updated the URL protection policy
    UrlProtectionPolicyId int
    Unique identifier of the URL protection policy
    Used bool
    Whether you're currently using the URL protection policy
    ApiDefinitions []GetAppsecUrlProtectionPoliciesUrlProtectionPolicyApiDefinition
    List of API definitions associated with the URL protection policy
    BypassConditions []GetAppsecUrlProtectionPoliciesUrlProtectionPolicyBypassCondition
    List of bypass conditions for the URL protection policy
    ConfigId int
    Unique identifier of the security configuration
    CreateDate string
    Date when the URL protection policy was created
    CreatedBy string
    User who created the URL protection policy
    Description string
    Description of the URL protection policy
    HostnamePaths []GetAppsecUrlProtectionPoliciesUrlProtectionPolicyHostnamePath
    List of hostname and path configurations
    IntelligentLoadShedding GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadShedding
    Intelligent load shedding configuration
    MaxRateThreshold int
    Maximum rate threshold for the URL protection policy
    Name string
    Name of the URL protection policy
    UpdateDate string
    Date when the URL protection policy was last updated
    UpdatedBy string
    User who last updated the URL protection policy
    UrlProtectionPolicyId int
    Unique identifier of the URL protection policy
    Used bool
    Whether you're currently using the URL protection policy
    apiDefinitions List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyApiDefinition>
    List of API definitions associated with the URL protection policy
    bypassConditions List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyBypassCondition>
    List of bypass conditions for the URL protection policy
    configId Integer
    Unique identifier of the security configuration
    createDate String
    Date when the URL protection policy was created
    createdBy String
    User who created the URL protection policy
    description String
    Description of the URL protection policy
    hostnamePaths List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyHostnamePath>
    List of hostname and path configurations
    intelligentLoadShedding GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadShedding
    Intelligent load shedding configuration
    maxRateThreshold Integer
    Maximum rate threshold for the URL protection policy
    name String
    Name of the URL protection policy
    updateDate String
    Date when the URL protection policy was last updated
    updatedBy String
    User who last updated the URL protection policy
    urlProtectionPolicyId Integer
    Unique identifier of the URL protection policy
    used Boolean
    Whether you're currently using the URL protection policy
    apiDefinitions GetAppsecUrlProtectionPoliciesUrlProtectionPolicyApiDefinition[]
    List of API definitions associated with the URL protection policy
    bypassConditions GetAppsecUrlProtectionPoliciesUrlProtectionPolicyBypassCondition[]
    List of bypass conditions for the URL protection policy
    configId number
    Unique identifier of the security configuration
    createDate string
    Date when the URL protection policy was created
    createdBy string
    User who created the URL protection policy
    description string
    Description of the URL protection policy
    hostnamePaths GetAppsecUrlProtectionPoliciesUrlProtectionPolicyHostnamePath[]
    List of hostname and path configurations
    intelligentLoadShedding GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadShedding
    Intelligent load shedding configuration
    maxRateThreshold number
    Maximum rate threshold for the URL protection policy
    name string
    Name of the URL protection policy
    updateDate string
    Date when the URL protection policy was last updated
    updatedBy string
    User who last updated the URL protection policy
    urlProtectionPolicyId number
    Unique identifier of the URL protection policy
    used boolean
    Whether you're currently using the URL protection policy
    api_definitions Sequence[GetAppsecUrlProtectionPoliciesUrlProtectionPolicyApiDefinition]
    List of API definitions associated with the URL protection policy
    bypass_conditions Sequence[GetAppsecUrlProtectionPoliciesUrlProtectionPolicyBypassCondition]
    List of bypass conditions for the URL protection policy
    config_id int
    Unique identifier of the security configuration
    create_date str
    Date when the URL protection policy was created
    created_by str
    User who created the URL protection policy
    description str
    Description of the URL protection policy
    hostname_paths Sequence[GetAppsecUrlProtectionPoliciesUrlProtectionPolicyHostnamePath]
    List of hostname and path configurations
    intelligent_load_shedding GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadShedding
    Intelligent load shedding configuration
    max_rate_threshold int
    Maximum rate threshold for the URL protection policy
    name str
    Name of the URL protection policy
    update_date str
    Date when the URL protection policy was last updated
    updated_by str
    User who last updated the URL protection policy
    url_protection_policy_id int
    Unique identifier of the URL protection policy
    used bool
    Whether you're currently using the URL protection policy
    apiDefinitions List<Property Map>
    List of API definitions associated with the URL protection policy
    bypassConditions List<Property Map>
    List of bypass conditions for the URL protection policy
    configId Number
    Unique identifier of the security configuration
    createDate String
    Date when the URL protection policy was created
    createdBy String
    User who created the URL protection policy
    description String
    Description of the URL protection policy
    hostnamePaths List<Property Map>
    List of hostname and path configurations
    intelligentLoadShedding Property Map
    Intelligent load shedding configuration
    maxRateThreshold Number
    Maximum rate threshold for the URL protection policy
    name String
    Name of the URL protection policy
    updateDate String
    Date when the URL protection policy was last updated
    updatedBy String
    User who last updated the URL protection policy
    urlProtectionPolicyId Number
    Unique identifier of the URL protection policy
    used Boolean
    Whether you're currently using the URL protection policy

    GetAppsecUrlProtectionPoliciesUrlProtectionPolicyApiDefinition

    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

    GetAppsecUrlProtectionPoliciesUrlProtectionPolicyBypassCondition

    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

    GetAppsecUrlProtectionPoliciesUrlProtectionPolicyHostnamePath

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

    GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadShedding

    Categories List<string>
    List of categories for intelligent load shedding
    CustomCriterias List<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria>
    Custom criteria for intelligent load shedding
    HitsPerSec int
    Number of hits per second threshold
    Categories []string
    List of categories for intelligent load shedding
    CustomCriterias []GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria
    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<GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria>
    Custom criteria for intelligent load shedding
    hitsPerSec Integer
    Number of hits per second threshold
    categories string[]
    List of categories for intelligent load shedding
    customCriterias GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria[]
    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[GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria]
    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

    GetAppsecUrlProtectionPoliciesUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria

    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.