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

akamai.BotmanChallengeAction

Explore with Pulumi AI

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

    Create BotmanChallengeAction Resource

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

    Constructor syntax

    new BotmanChallengeAction(name: string, args: BotmanChallengeActionArgs, opts?: CustomResourceOptions);
    @overload
    def BotmanChallengeAction(resource_name: str,
                              args: BotmanChallengeActionArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def BotmanChallengeAction(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              challenge_action: Optional[str] = None,
                              config_id: Optional[int] = None)
    func NewBotmanChallengeAction(ctx *Context, name string, args BotmanChallengeActionArgs, opts ...ResourceOption) (*BotmanChallengeAction, error)
    public BotmanChallengeAction(string name, BotmanChallengeActionArgs args, CustomResourceOptions? opts = null)
    public BotmanChallengeAction(String name, BotmanChallengeActionArgs args)
    public BotmanChallengeAction(String name, BotmanChallengeActionArgs args, CustomResourceOptions options)
    
    type: akamai:BotmanChallengeAction
    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 BotmanChallengeActionArgs
    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 BotmanChallengeActionArgs
    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 BotmanChallengeActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BotmanChallengeActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BotmanChallengeActionArgs
    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 botmanChallengeActionResource = new Akamai.BotmanChallengeAction("botmanChallengeActionResource", new()
    {
        ChallengeAction = "string",
        ConfigId = 0,
    });
    
    example, err := akamai.NewBotmanChallengeAction(ctx, "botmanChallengeActionResource", &akamai.BotmanChallengeActionArgs{
    	ChallengeAction: pulumi.String("string"),
    	ConfigId:        pulumi.Int(0),
    })
    
    var botmanChallengeActionResource = new BotmanChallengeAction("botmanChallengeActionResource", BotmanChallengeActionArgs.builder()
        .challengeAction("string")
        .configId(0)
        .build());
    
    botman_challenge_action_resource = akamai.BotmanChallengeAction("botmanChallengeActionResource",
        challenge_action="string",
        config_id=0)
    
    const botmanChallengeActionResource = new akamai.BotmanChallengeAction("botmanChallengeActionResource", {
        challengeAction: "string",
        configId: 0,
    });
    
    type: akamai:BotmanChallengeAction
    properties:
        challengeAction: string
        configId: 0
    

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

    Outputs

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

    ActionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ActionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    actionId String
    id String
    The provider-assigned unique ID for this managed resource.
    actionId string
    id string
    The provider-assigned unique ID for this managed resource.
    action_id str
    id str
    The provider-assigned unique ID for this managed resource.
    actionId String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BotmanChallengeAction Resource

    Get an existing BotmanChallengeAction 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?: BotmanChallengeActionState, opts?: CustomResourceOptions): BotmanChallengeAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action_id: Optional[str] = None,
            challenge_action: Optional[str] = None,
            config_id: Optional[int] = None) -> BotmanChallengeAction
    func GetBotmanChallengeAction(ctx *Context, name string, id IDInput, state *BotmanChallengeActionState, opts ...ResourceOption) (*BotmanChallengeAction, error)
    public static BotmanChallengeAction Get(string name, Input<string> id, BotmanChallengeActionState? state, CustomResourceOptions? opts = null)
    public static BotmanChallengeAction get(String name, Output<String> id, BotmanChallengeActionState 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:
    actionId String
    challengeAction String
    configId Integer
    actionId string
    challengeAction string
    configId number
    actionId String
    challengeAction String
    configId Number

    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