akamai.BotmanConditionalAction
Explore with Pulumi AI
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.
Constructor 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BotmanConditionalAction resource accepts the following input properties:
- Conditional
Action string - Config
Id int
- Conditional
Action string - Config
Id int
- conditional
Action String - config
Id Integer
- conditional
Action string - config
Id number
- conditional_
action str - config_
id int
- conditional
Action String - config
Id Number
Outputs
All input properties are implicitly available as output properties. Additionally, the BotmanConditionalAction resource produces the following output properties:
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.
- Action
Id string - Conditional
Action string - Config
Id int
- Action
Id string - Conditional
Action string - Config
Id int
- action
Id String - conditional
Action String - config
Id Integer
- action
Id string - conditional
Action string - config
Id number
- action_
id str - conditional_
action str - config_
id int
- action
Id String - conditional
Action String - config
Id Number
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.