Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi
akamai.BotmanServeAlternateAction
Explore with Pulumi AI
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:
- Config
Id int - Serve
Alternate stringAction
- Config
Id int - Serve
Alternate stringAction
- config
Id Integer - serve
Alternate StringAction
- config
Id number - serve
Alternate stringAction
- config_
id int - serve_
alternate_ straction
- config
Id Number - serve
Alternate StringAction
Outputs
All input properties are implicitly available as output properties. Additionally, the BotmanServeAlternateAction resource produces the following output properties:
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.
- Action
Id string - Config
Id int - Serve
Alternate stringAction
- Action
Id string - Config
Id int - Serve
Alternate stringAction
- action
Id String - config
Id Integer - serve
Alternate StringAction
- action
Id string - config
Id number - serve
Alternate stringAction
- action_
id str - config_
id int - serve_
alternate_ straction
- action
Id String - config
Id Number - serve
Alternate StringAction
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.