Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi
akamai.AppSecRuleUpgrade
Explore with Pulumi AI
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
The AppSecRuleUpgrade resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration
- Security
Policy stringId - Unique identifier of the security policy
- Upgrade
Mode 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 stringId - Unique identifier of the security policy
- Upgrade
Mode string - Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
- config
Id Integer - Unique identifier of the security configuration
- security
Policy StringId - Unique identifier of the security policy
- upgrade
Mode String - Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
- config
Id number - Unique identifier of the security configuration
- security
Policy stringId - Unique identifier of the security policy
- upgrade
Mode 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_ strid - Unique identifier of the security policy
- upgrade_
mode str - Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
- config
Id Number - Unique identifier of the security configuration
- security
Policy StringId - Unique identifier of the security policy
- upgrade
Mode 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:
- Current
Ruleset string - Versioning information for the current KRS rule set
- Eval
Status 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 string - Versioning information for the current KRS rule set
- Eval
Status 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 String - Versioning information for the current KRS rule set
- eval
Status 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 string - Versioning information for the current KRS rule set
- eval
Status 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)
- current
Ruleset String - Versioning information for the current KRS rule set
- eval
Status 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.
- Config
Id int - Unique identifier of the security configuration
- Current
Ruleset string - Versioning information for the current KRS rule set
- Eval
Status string - Whether an evaluation is currently in progress
- Mode string
- Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
- Security
Policy stringId - Unique identifier of the security policy
- Upgrade
Mode 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 string - Versioning information for the current KRS rule set
- Eval
Status string - Whether an evaluation is currently in progress
- Mode string
- Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
- Security
Policy stringId - Unique identifier of the security policy
- Upgrade
Mode string - Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
- config
Id Integer - Unique identifier of the security configuration
- current
Ruleset String - Versioning information for the current KRS rule set
- eval
Status String - Whether an evaluation is currently in progress
- mode String
- Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
- security
Policy StringId - Unique identifier of the security policy
- upgrade
Mode String - Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
- config
Id number - Unique identifier of the security configuration
- current
Ruleset string - Versioning information for the current KRS rule set
- eval
Status string - Whether an evaluation is currently in progress
- mode string
- Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
- security
Policy stringId - Unique identifier of the security policy
- upgrade
Mode 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_ strid - Unique identifier of the security policy
- upgrade_
mode str - Modifies the upgrade type for organizations running the ASE beta (ASE_AUTO or ASE_MANUAL)
- config
Id Number - Unique identifier of the security configuration
- current
Ruleset String - Versioning information for the current KRS rule set
- eval
Status String - Whether an evaluation is currently in progress
- mode String
- Upgrade mode (KRS, AAG, ASE_MANUAL or ASE_AUTO)
- security
Policy StringId - Unique identifier of the security policy
- upgrade
Mode 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.