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

akamai.AppSecRuleUpgrade

Explore with Pulumi AI

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

    Create AppSecRuleUpgrade Resource

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

    Constructor syntax

    new AppSecRuleUpgrade(name: string, args: AppSecRuleUpgradeArgs, opts?: CustomResourceOptions);
    @overload
    def AppSecRuleUpgrade(resource_name: str,
                          args: AppSecRuleUpgradeArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppSecRuleUpgrade(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          config_id: Optional[int] = None,
                          security_policy_id: Optional[str] = None,
                          upgrade_mode: Optional[str] = None)
    func NewAppSecRuleUpgrade(ctx *Context, name string, args AppSecRuleUpgradeArgs, opts ...ResourceOption) (*AppSecRuleUpgrade, error)
    public AppSecRuleUpgrade(string name, AppSecRuleUpgradeArgs args, CustomResourceOptions? opts = null)
    public AppSecRuleUpgrade(String name, AppSecRuleUpgradeArgs args)
    public AppSecRuleUpgrade(String name, AppSecRuleUpgradeArgs args, CustomResourceOptions options)
    
    type: akamai:AppSecRuleUpgrade
    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 AppSecRuleUpgradeArgs
    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 AppSecRuleUpgradeArgs
    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 AppSecRuleUpgradeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppSecRuleUpgradeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppSecRuleUpgradeArgs
    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 appSecRuleUpgradeResource = new Akamai.AppSecRuleUpgrade("appSecRuleUpgradeResource", new()
    {
        ConfigId = 0,
        SecurityPolicyId = "string",
        UpgradeMode = "string",
    });
    
    example, err := akamai.NewAppSecRuleUpgrade(ctx, "appSecRuleUpgradeResource", &akamai.AppSecRuleUpgradeArgs{
    	ConfigId:         pulumi.Int(0),
    	SecurityPolicyId: pulumi.String("string"),
    	UpgradeMode:      pulumi.String("string"),
    })
    
    var appSecRuleUpgradeResource = new AppSecRuleUpgrade("appSecRuleUpgradeResource", AppSecRuleUpgradeArgs.builder()
        .configId(0)
        .securityPolicyId("string")
        .upgradeMode("string")
        .build());
    
    app_sec_rule_upgrade_resource = akamai.AppSecRuleUpgrade("appSecRuleUpgradeResource",
        config_id=0,
        security_policy_id="string",
        upgrade_mode="string")
    
    const appSecRuleUpgradeResource = new akamai.AppSecRuleUpgrade("appSecRuleUpgradeResource", {
        configId: 0,
        securityPolicyId: "string",
        upgradeMode: "string",
    });
    
    type: akamai:AppSecRuleUpgrade
    properties:
        configId: 0
        securityPolicyId: string
        upgradeMode: string
    

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

    ConfigId int
    Unique identifier of the security configuration
    SecurityPolicyId string
    Unique identifier of the security policy
    UpgradeMode string
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    ConfigId int
    Unique identifier of the security configuration
    SecurityPolicyId string
    Unique identifier of the security policy
    UpgradeMode string
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    configId Integer
    Unique identifier of the security configuration
    securityPolicyId String
    Unique identifier of the security policy
    upgradeMode String
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    configId number
    Unique identifier of the security configuration
    securityPolicyId string
    Unique identifier of the security policy
    upgradeMode string
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    config_id int
    Unique identifier of the security configuration
    security_policy_id str
    Unique identifier of the security policy
    upgrade_mode str
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    configId Number
    Unique identifier of the security configuration
    securityPolicyId String
    Unique identifier of the security policy
    upgradeMode String
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppSecRuleUpgrade resource produces the following output properties:

    CurrentRuleset string
    Versioning information for the current KRS rule set
    EvalStatus string
    Whether an evaluation is currently in progress
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    CurrentRuleset string
    Versioning information for the current KRS rule set
    EvalStatus string
    Whether an evaluation is currently in progress
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    currentRuleset String
    Versioning information for the current KRS rule set
    evalStatus String
    Whether an evaluation is currently in progress
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    currentRuleset string
    Versioning information for the current KRS rule set
    evalStatus string
    Whether an evaluation is currently in progress
    id string
    The provider-assigned unique ID for this managed resource.
    mode string
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    current_ruleset str
    Versioning information for the current KRS rule set
    eval_status str
    Whether an evaluation is currently in progress
    id str
    The provider-assigned unique ID for this managed resource.
    mode str
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    currentRuleset String
    Versioning information for the current KRS rule set
    evalStatus String
    Whether an evaluation is currently in progress
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)

    Look up Existing AppSecRuleUpgrade Resource

    Get an existing AppSecRuleUpgrade 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?: AppSecRuleUpgradeState, opts?: CustomResourceOptions): AppSecRuleUpgrade
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_id: Optional[int] = None,
            current_ruleset: Optional[str] = None,
            eval_status: Optional[str] = None,
            mode: Optional[str] = None,
            security_policy_id: Optional[str] = None,
            upgrade_mode: Optional[str] = None) -> AppSecRuleUpgrade
    func GetAppSecRuleUpgrade(ctx *Context, name string, id IDInput, state *AppSecRuleUpgradeState, opts ...ResourceOption) (*AppSecRuleUpgrade, error)
    public static AppSecRuleUpgrade Get(string name, Input<string> id, AppSecRuleUpgradeState? state, CustomResourceOptions? opts = null)
    public static AppSecRuleUpgrade get(String name, Output<String> id, AppSecRuleUpgradeState 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:
    ConfigId int
    Unique identifier of the security configuration
    CurrentRuleset string
    Versioning information for the current KRS rule set
    EvalStatus string
    Whether an evaluation is currently in progress
    Mode string
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    SecurityPolicyId string
    Unique identifier of the security policy
    UpgradeMode string
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    ConfigId int
    Unique identifier of the security configuration
    CurrentRuleset string
    Versioning information for the current KRS rule set
    EvalStatus string
    Whether an evaluation is currently in progress
    Mode string
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    SecurityPolicyId string
    Unique identifier of the security policy
    UpgradeMode string
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    configId Integer
    Unique identifier of the security configuration
    currentRuleset String
    Versioning information for the current KRS rule set
    evalStatus String
    Whether an evaluation is currently in progress
    mode String
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    securityPolicyId String
    Unique identifier of the security policy
    upgradeMode String
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    configId number
    Unique identifier of the security configuration
    currentRuleset string
    Versioning information for the current KRS rule set
    evalStatus string
    Whether an evaluation is currently in progress
    mode string
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    securityPolicyId string
    Unique identifier of the security policy
    upgradeMode string
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    config_id int
    Unique identifier of the security configuration
    current_ruleset str
    Versioning information for the current KRS rule set
    eval_status str
    Whether an evaluation is currently in progress
    mode str
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    security_policy_id str
    Unique identifier of the security policy
    upgrade_mode str
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
    configId Number
    Unique identifier of the security configuration
    currentRuleset String
    Versioning information for the current KRS rule set
    evalStatus String
    Whether an evaluation is currently in progress
    mode String
    Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
    securityPolicyId String
    Unique identifier of the security policy
    upgradeMode String
    Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)

    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