1. Packages
  2. Akamai
  3. API Docs
  4. BotmanConditionalAction
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

akamai.BotmanConditionalAction

Explore with Pulumi AI

akamai logo
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

    Create BotmanConditionalAction Resource

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

    Constructor syntax

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

    Example

    The following reference example uses placeholder values for all input properties.

    var botmanConditionalActionResource = new Akamai.BotmanConditionalAction("botmanConditionalActionResource", new()
    {
        ConditionalAction = "string",
        ConfigId = 0,
    });
    
    example, err := akamai.NewBotmanConditionalAction(ctx, "botmanConditionalActionResource", &akamai.BotmanConditionalActionArgs{
    	ConditionalAction: pulumi.String("string"),
    	ConfigId:          pulumi.Int(0),
    })
    
    var botmanConditionalActionResource = new BotmanConditionalAction("botmanConditionalActionResource", BotmanConditionalActionArgs.builder()
        .conditionalAction("string")
        .configId(0)
        .build());
    
    botman_conditional_action_resource = akamai.BotmanConditionalAction("botmanConditionalActionResource",
        conditional_action="string",
        config_id=0)
    
    const botmanConditionalActionResource = new akamai.BotmanConditionalAction("botmanConditionalActionResource", {
        conditionalAction: "string",
        configId: 0,
    });
    
    type: akamai:BotmanConditionalAction
    properties:
        conditionalAction: string
        configId: 0
    

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

    Outputs

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

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

    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.2.0 published on Friday, May 31, 2024 by Pulumi