AppSecSecurityPolicyRename

The akamai.AppSecSecurityPolicyRename resource allows you to rename an existing security policy.

Example Usage

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const configuration = akamai.getAppSecConfiguration({
    name: _var.security_configuration,
});
const securityPolicyRename = new akamai.AppSecSecurityPolicy("securityPolicyRename", {
    configId: configuration.then(configuration => configuration.configId),
    securityPolicyId: _var.security_policy_id,
    securityPolicyName: _var.name,
});

Create a AppSecSecurityPolicyRename Resource

new AppSecSecurityPolicyRename(name: string, args: AppSecSecurityPolicyRenameArgs, opts?: CustomResourceOptions);
@overload
def AppSecSecurityPolicyRename(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               config_id: Optional[int] = None,
                               security_policy_id: Optional[str] = None,
                               security_policy_name: Optional[str] = None)
@overload
def AppSecSecurityPolicyRename(resource_name: str,
                               args: AppSecSecurityPolicyRenameArgs,
                               opts: Optional[ResourceOptions] = None)
func NewAppSecSecurityPolicyRename(ctx *Context, name string, args AppSecSecurityPolicyRenameArgs, opts ...ResourceOption) (*AppSecSecurityPolicyRename, error)
public AppSecSecurityPolicyRename(string name, AppSecSecurityPolicyRenameArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AppSecSecurityPolicyRenameArgs
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 AppSecSecurityPolicyRenameArgs
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 AppSecSecurityPolicyRenameArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppSecSecurityPolicyRenameArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

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

ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to be renamed.
SecurityPolicyName string
The new name to be given to the security policy.
ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to be renamed.
SecurityPolicyName string
The new name to be given to the security policy.
configId number
The ID of the security configuration to use.
securityPolicyId string
The ID of the security policy to be renamed.
securityPolicyName string
The new name to be given to the security policy.
config_id int
The ID of the security configuration to use.
security_policy_id str
The ID of the security policy to be renamed.
security_policy_name str
The new name to be given to the security policy.

Outputs

All input properties are implicitly available as output properties. Additionally, the AppSecSecurityPolicyRename 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing AppSecSecurityPolicyRename Resource

Get an existing AppSecSecurityPolicyRename 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?: AppSecSecurityPolicyRenameState, opts?: CustomResourceOptions): AppSecSecurityPolicyRename
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config_id: Optional[int] = None,
        security_policy_id: Optional[str] = None,
        security_policy_name: Optional[str] = None) -> AppSecSecurityPolicyRename
func GetAppSecSecurityPolicyRename(ctx *Context, name string, id IDInput, state *AppSecSecurityPolicyRenameState, opts ...ResourceOption) (*AppSecSecurityPolicyRename, error)
public static AppSecSecurityPolicyRename Get(string name, Input<string> id, AppSecSecurityPolicyRenameState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to be renamed.
SecurityPolicyName string
The new name to be given to the security policy.
ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to be renamed.
SecurityPolicyName string
The new name to be given to the security policy.
configId number
The ID of the security configuration to use.
securityPolicyId string
The ID of the security policy to be renamed.
securityPolicyName string
The new name to be given to the security policy.
config_id int
The ID of the security configuration to use.
security_policy_id str
The ID of the security policy to be renamed.
security_policy_name str
The new name to be given to the security policy.

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.