1. Packages
  2. Akamai
  3. API Docs
  4. AppSecAdvancedSettingsPrefetch
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

akamai.AppSecAdvancedSettingsPrefetch

Explore with Pulumi AI

akamai logo
Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi

    Create AppSecAdvancedSettingsPrefetch Resource

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

    Constructor syntax

    new AppSecAdvancedSettingsPrefetch(name: string, args: AppSecAdvancedSettingsPrefetchArgs, opts?: CustomResourceOptions);
    @overload
    def AppSecAdvancedSettingsPrefetch(resource_name: str,
                                       args: AppSecAdvancedSettingsPrefetchArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppSecAdvancedSettingsPrefetch(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       all_extensions: Optional[bool] = None,
                                       config_id: Optional[int] = None,
                                       enable_app_layer: Optional[bool] = None,
                                       enable_rate_controls: Optional[bool] = None,
                                       extensions: Optional[Sequence[str]] = None)
    func NewAppSecAdvancedSettingsPrefetch(ctx *Context, name string, args AppSecAdvancedSettingsPrefetchArgs, opts ...ResourceOption) (*AppSecAdvancedSettingsPrefetch, error)
    public AppSecAdvancedSettingsPrefetch(string name, AppSecAdvancedSettingsPrefetchArgs args, CustomResourceOptions? opts = null)
    public AppSecAdvancedSettingsPrefetch(String name, AppSecAdvancedSettingsPrefetchArgs args)
    public AppSecAdvancedSettingsPrefetch(String name, AppSecAdvancedSettingsPrefetchArgs args, CustomResourceOptions options)
    
    type: akamai:AppSecAdvancedSettingsPrefetch
    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 AppSecAdvancedSettingsPrefetchArgs
    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 AppSecAdvancedSettingsPrefetchArgs
    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 AppSecAdvancedSettingsPrefetchArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppSecAdvancedSettingsPrefetchArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppSecAdvancedSettingsPrefetchArgs
    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 appSecAdvancedSettingsPrefetchResource = new Akamai.AppSecAdvancedSettingsPrefetch("appSecAdvancedSettingsPrefetchResource", new()
    {
        AllExtensions = false,
        ConfigId = 0,
        EnableAppLayer = false,
        EnableRateControls = false,
        Extensions = new[]
        {
            "string",
        },
    });
    
    example, err := akamai.NewAppSecAdvancedSettingsPrefetch(ctx, "appSecAdvancedSettingsPrefetchResource", &akamai.AppSecAdvancedSettingsPrefetchArgs{
    	AllExtensions:      pulumi.Bool(false),
    	ConfigId:           pulumi.Int(0),
    	EnableAppLayer:     pulumi.Bool(false),
    	EnableRateControls: pulumi.Bool(false),
    	Extensions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var appSecAdvancedSettingsPrefetchResource = new AppSecAdvancedSettingsPrefetch("appSecAdvancedSettingsPrefetchResource", AppSecAdvancedSettingsPrefetchArgs.builder()
        .allExtensions(false)
        .configId(0)
        .enableAppLayer(false)
        .enableRateControls(false)
        .extensions("string")
        .build());
    
    app_sec_advanced_settings_prefetch_resource = akamai.AppSecAdvancedSettingsPrefetch("appSecAdvancedSettingsPrefetchResource",
        all_extensions=False,
        config_id=0,
        enable_app_layer=False,
        enable_rate_controls=False,
        extensions=["string"])
    
    const appSecAdvancedSettingsPrefetchResource = new akamai.AppSecAdvancedSettingsPrefetch("appSecAdvancedSettingsPrefetchResource", {
        allExtensions: false,
        configId: 0,
        enableAppLayer: false,
        enableRateControls: false,
        extensions: ["string"],
    });
    
    type: akamai:AppSecAdvancedSettingsPrefetch
    properties:
        allExtensions: false
        configId: 0
        enableAppLayer: false
        enableRateControls: false
        extensions:
            - string
    

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

    AllExtensions bool
    Whether to enable prefetch requests for all file extensions
    ConfigId int
    Unique identifier of the security configuration
    EnableAppLayer bool
    Whether to enable or disable prefetch requests
    EnableRateControls bool
    Whether to enable prefetch requests for rate controls
    Extensions List<string>
    List of file extensions
    AllExtensions bool
    Whether to enable prefetch requests for all file extensions
    ConfigId int
    Unique identifier of the security configuration
    EnableAppLayer bool
    Whether to enable or disable prefetch requests
    EnableRateControls bool
    Whether to enable prefetch requests for rate controls
    Extensions []string
    List of file extensions
    allExtensions Boolean
    Whether to enable prefetch requests for all file extensions
    configId Integer
    Unique identifier of the security configuration
    enableAppLayer Boolean
    Whether to enable or disable prefetch requests
    enableRateControls Boolean
    Whether to enable prefetch requests for rate controls
    extensions List<String>
    List of file extensions
    allExtensions boolean
    Whether to enable prefetch requests for all file extensions
    configId number
    Unique identifier of the security configuration
    enableAppLayer boolean
    Whether to enable or disable prefetch requests
    enableRateControls boolean
    Whether to enable prefetch requests for rate controls
    extensions string[]
    List of file extensions
    all_extensions bool
    Whether to enable prefetch requests for all file extensions
    config_id int
    Unique identifier of the security configuration
    enable_app_layer bool
    Whether to enable or disable prefetch requests
    enable_rate_controls bool
    Whether to enable prefetch requests for rate controls
    extensions Sequence[str]
    List of file extensions
    allExtensions Boolean
    Whether to enable prefetch requests for all file extensions
    configId Number
    Unique identifier of the security configuration
    enableAppLayer Boolean
    Whether to enable or disable prefetch requests
    enableRateControls Boolean
    Whether to enable prefetch requests for rate controls
    extensions List<String>
    List of file extensions

    Outputs

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

    Get an existing AppSecAdvancedSettingsPrefetch 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?: AppSecAdvancedSettingsPrefetchState, opts?: CustomResourceOptions): AppSecAdvancedSettingsPrefetch
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            all_extensions: Optional[bool] = None,
            config_id: Optional[int] = None,
            enable_app_layer: Optional[bool] = None,
            enable_rate_controls: Optional[bool] = None,
            extensions: Optional[Sequence[str]] = None) -> AppSecAdvancedSettingsPrefetch
    func GetAppSecAdvancedSettingsPrefetch(ctx *Context, name string, id IDInput, state *AppSecAdvancedSettingsPrefetchState, opts ...ResourceOption) (*AppSecAdvancedSettingsPrefetch, error)
    public static AppSecAdvancedSettingsPrefetch Get(string name, Input<string> id, AppSecAdvancedSettingsPrefetchState? state, CustomResourceOptions? opts = null)
    public static AppSecAdvancedSettingsPrefetch get(String name, Output<String> id, AppSecAdvancedSettingsPrefetchState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AllExtensions bool
    Whether to enable prefetch requests for all file extensions
    ConfigId int
    Unique identifier of the security configuration
    EnableAppLayer bool
    Whether to enable or disable prefetch requests
    EnableRateControls bool
    Whether to enable prefetch requests for rate controls
    Extensions List<string>
    List of file extensions
    AllExtensions bool
    Whether to enable prefetch requests for all file extensions
    ConfigId int
    Unique identifier of the security configuration
    EnableAppLayer bool
    Whether to enable or disable prefetch requests
    EnableRateControls bool
    Whether to enable prefetch requests for rate controls
    Extensions []string
    List of file extensions
    allExtensions Boolean
    Whether to enable prefetch requests for all file extensions
    configId Integer
    Unique identifier of the security configuration
    enableAppLayer Boolean
    Whether to enable or disable prefetch requests
    enableRateControls Boolean
    Whether to enable prefetch requests for rate controls
    extensions List<String>
    List of file extensions
    allExtensions boolean
    Whether to enable prefetch requests for all file extensions
    configId number
    Unique identifier of the security configuration
    enableAppLayer boolean
    Whether to enable or disable prefetch requests
    enableRateControls boolean
    Whether to enable prefetch requests for rate controls
    extensions string[]
    List of file extensions
    all_extensions bool
    Whether to enable prefetch requests for all file extensions
    config_id int
    Unique identifier of the security configuration
    enable_app_layer bool
    Whether to enable or disable prefetch requests
    enable_rate_controls bool
    Whether to enable prefetch requests for rate controls
    extensions Sequence[str]
    List of file extensions
    allExtensions Boolean
    Whether to enable prefetch requests for all file extensions
    configId Number
    Unique identifier of the security configuration
    enableAppLayer Boolean
    Whether to enable or disable prefetch requests
    enableRateControls Boolean
    Whether to enable prefetch requests for rate controls
    extensions List<String>
    List of file extensions

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v7.5.0 published on Friday, Oct 11, 2024 by Pulumi