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

akamai.BotmanServeAlternateAction

Explore with Pulumi AI

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

    Create BotmanServeAlternateAction Resource

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

    Constructor syntax

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

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

    Outputs

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

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

    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