f5 BIG-IP v3.17.4 published on Wednesday, Sep 11, 2024 by Pulumi
f5bigip.ltm.ProfileBotDefense
Explore with Pulumi AI
Create ProfileBotDefense Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProfileBotDefense(name: string, args: ProfileBotDefenseArgs, opts?: CustomResourceOptions);
@overload
def ProfileBotDefense(resource_name: str,
args: ProfileBotDefenseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProfileBotDefense(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
defaults_from: Optional[str] = None,
description: Optional[str] = None,
enforcement_mode: Optional[str] = None,
template: Optional[str] = None)
func NewProfileBotDefense(ctx *Context, name string, args ProfileBotDefenseArgs, opts ...ResourceOption) (*ProfileBotDefense, error)
public ProfileBotDefense(string name, ProfileBotDefenseArgs args, CustomResourceOptions? opts = null)
public ProfileBotDefense(String name, ProfileBotDefenseArgs args)
public ProfileBotDefense(String name, ProfileBotDefenseArgs args, CustomResourceOptions options)
type: f5bigip:ltm:ProfileBotDefense
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 ProfileBotDefenseArgs
- 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 ProfileBotDefenseArgs
- 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 ProfileBotDefenseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileBotDefenseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileBotDefenseArgs
- 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 profileBotDefenseResource = new F5BigIP.Ltm.ProfileBotDefense("profileBotDefenseResource", new()
{
Name = "string",
DefaultsFrom = "string",
Description = "string",
EnforcementMode = "string",
Template = "string",
});
example, err := ltm.NewProfileBotDefense(ctx, "profileBotDefenseResource", <m.ProfileBotDefenseArgs{
Name: pulumi.String("string"),
DefaultsFrom: pulumi.String("string"),
Description: pulumi.String("string"),
EnforcementMode: pulumi.String("string"),
Template: pulumi.String("string"),
})
var profileBotDefenseResource = new ProfileBotDefense("profileBotDefenseResource", ProfileBotDefenseArgs.builder()
.name("string")
.defaultsFrom("string")
.description("string")
.enforcementMode("string")
.template("string")
.build());
profile_bot_defense_resource = f5bigip.ltm.ProfileBotDefense("profileBotDefenseResource",
name="string",
defaults_from="string",
description="string",
enforcement_mode="string",
template="string")
const profileBotDefenseResource = new f5bigip.ltm.ProfileBotDefense("profileBotDefenseResource", {
name: "string",
defaultsFrom: "string",
description: "string",
enforcementMode: "string",
template: "string",
});
type: f5bigip:ltm:ProfileBotDefense
properties:
defaultsFrom: string
description: string
enforcementMode: string
name: string
template: string
ProfileBotDefense 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 ProfileBotDefense resource accepts the following input properties:
- Name string
- Name of the Bot Defense profile
- Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - Description string
- User defined description for Bot Defense profile
- Enforcement
Mode string - Select the enforcement mode, possible values are
transparent
andblocking
. - Template string
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- Name string
- Name of the Bot Defense profile
- Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - Description string
- User defined description for Bot Defense profile
- Enforcement
Mode string - Select the enforcement mode, possible values are
transparent
andblocking
. - Template string
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- name String
- Name of the Bot Defense profile
- defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description String
- User defined description for Bot Defense profile
- enforcement
Mode String - Select the enforcement mode, possible values are
transparent
andblocking
. - template String
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- name string
- Name of the Bot Defense profile
- defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description string
- User defined description for Bot Defense profile
- enforcement
Mode string - Select the enforcement mode, possible values are
transparent
andblocking
. - template string
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- name str
- Name of the Bot Defense profile
- defaults_
from str - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description str
- User defined description for Bot Defense profile
- enforcement_
mode str - Select the enforcement mode, possible values are
transparent
andblocking
. - template str
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- name String
- Name of the Bot Defense profile
- defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description String
- User defined description for Bot Defense profile
- enforcement
Mode String - Select the enforcement mode, possible values are
transparent
andblocking
. - template String
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfileBotDefense resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ProfileBotDefense Resource
Get an existing ProfileBotDefense 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?: ProfileBotDefenseState, opts?: CustomResourceOptions): ProfileBotDefense
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
defaults_from: Optional[str] = None,
description: Optional[str] = None,
enforcement_mode: Optional[str] = None,
name: Optional[str] = None,
template: Optional[str] = None) -> ProfileBotDefense
func GetProfileBotDefense(ctx *Context, name string, id IDInput, state *ProfileBotDefenseState, opts ...ResourceOption) (*ProfileBotDefense, error)
public static ProfileBotDefense Get(string name, Input<string> id, ProfileBotDefenseState? state, CustomResourceOptions? opts = null)
public static ProfileBotDefense get(String name, Output<String> id, ProfileBotDefenseState 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.
- Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - Description string
- User defined description for Bot Defense profile
- Enforcement
Mode string - Select the enforcement mode, possible values are
transparent
andblocking
. - Name string
- Name of the Bot Defense profile
- Template string
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - Description string
- User defined description for Bot Defense profile
- Enforcement
Mode string - Select the enforcement mode, possible values are
transparent
andblocking
. - Name string
- Name of the Bot Defense profile
- Template string
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description String
- User defined description for Bot Defense profile
- enforcement
Mode String - Select the enforcement mode, possible values are
transparent
andblocking
. - name String
- Name of the Bot Defense profile
- template String
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description string
- User defined description for Bot Defense profile
- enforcement
Mode string - Select the enforcement mode, possible values are
transparent
andblocking
. - name string
- Name of the Bot Defense profile
- template string
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- defaults_
from str - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description str
- User defined description for Bot Defense profile
- enforcement_
mode str - Select the enforcement mode, possible values are
transparent
andblocking
. - name str
- Name of the Bot Defense profile
- template str
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
- defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
request-log
profile - description String
- User defined description for Bot Defense profile
- enforcement
Mode String - Select the enforcement mode, possible values are
transparent
andblocking
. - name String
- Name of the Bot Defense profile
- template String
- Profile templates specify Mitigation and Verification Settings default values. possible ptions
balanced
,relaxed
andstrict
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigip
Terraform Provider.