f5 BIG-IP v3.17.6 published on Monday, Oct 28, 2024 by Pulumi
f5bigip.ssl.getWafPbSuggestions
Explore with Pulumi AI
Use this data source (f5bigip.ssl.getWafPbSuggestions
) to export PB suggestions from an existing WAF policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const PBWAF1 = f5bigip.ssl.getWafPbSuggestions({
policyName: "protect_me_policy",
partition: "Common",
minimumLearningScore: 20,
});
import pulumi
import pulumi_f5bigip as f5bigip
pbwaf1 = f5bigip.ssl.get_waf_pb_suggestions(policy_name="protect_me_policy",
partition="Common",
minimum_learning_score=20)
package main
import (
"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/ssl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ssl.GetWafPbSuggestions(ctx, &ssl.GetWafPbSuggestionsArgs{
PolicyName: "protect_me_policy",
Partition: "Common",
MinimumLearningScore: 20,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
return await Deployment.RunAsync(() =>
{
var PBWAF1 = F5BigIP.Ssl.GetWafPbSuggestions.Invoke(new()
{
PolicyName = "protect_me_policy",
Partition = "Common",
MinimumLearningScore = 20,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.f5bigip.ssl.SslFunctions;
import com.pulumi.f5bigip.ssl.inputs.GetWafPbSuggestionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var PBWAF1 = SslFunctions.getWafPbSuggestions(GetWafPbSuggestionsArgs.builder()
.policyName("protect_me_policy")
.partition("Common")
.minimumLearningScore(20)
.build());
}
}
variables:
PBWAF1:
fn::invoke:
Function: f5bigip:ssl:getWafPbSuggestions
Arguments:
policyName: protect_me_policy
partition: Common
minimumLearningScore: 20
Using getWafPbSuggestions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWafPbSuggestions(args: GetWafPbSuggestionsArgs, opts?: InvokeOptions): Promise<GetWafPbSuggestionsResult>
function getWafPbSuggestionsOutput(args: GetWafPbSuggestionsOutputArgs, opts?: InvokeOptions): Output<GetWafPbSuggestionsResult>
def get_waf_pb_suggestions(minimum_learning_score: Optional[int] = None,
partition: Optional[str] = None,
policy_id: Optional[str] = None,
policy_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafPbSuggestionsResult
def get_waf_pb_suggestions_output(minimum_learning_score: Optional[pulumi.Input[int]] = None,
partition: Optional[pulumi.Input[str]] = None,
policy_id: Optional[pulumi.Input[str]] = None,
policy_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWafPbSuggestionsResult]
func GetWafPbSuggestions(ctx *Context, args *GetWafPbSuggestionsArgs, opts ...InvokeOption) (*GetWafPbSuggestionsResult, error)
func GetWafPbSuggestionsOutput(ctx *Context, args *GetWafPbSuggestionsOutputArgs, opts ...InvokeOption) GetWafPbSuggestionsResultOutput
> Note: This function is named GetWafPbSuggestions
in the Go SDK.
public static class GetWafPbSuggestions
{
public static Task<GetWafPbSuggestionsResult> InvokeAsync(GetWafPbSuggestionsArgs args, InvokeOptions? opts = null)
public static Output<GetWafPbSuggestionsResult> Invoke(GetWafPbSuggestionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWafPbSuggestionsResult> getWafPbSuggestions(GetWafPbSuggestionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: f5bigip:ssl/getWafPbSuggestions:getWafPbSuggestions
arguments:
# arguments dictionary
The following arguments are supported:
- Minimum
Learning intScore - The minimum learning score for suggestions.
- Partition string
- Partition on which WAF policy is located.
- Policy
Name string - WAF policy name from which PB suggestions should be exported.
- Policy
Id string - System generated id of the WAF policy
- Minimum
Learning intScore - The minimum learning score for suggestions.
- Partition string
- Partition on which WAF policy is located.
- Policy
Name string - WAF policy name from which PB suggestions should be exported.
- Policy
Id string - System generated id of the WAF policy
- minimum
Learning IntegerScore - The minimum learning score for suggestions.
- partition String
- Partition on which WAF policy is located.
- policy
Name String - WAF policy name from which PB suggestions should be exported.
- policy
Id String - System generated id of the WAF policy
- minimum
Learning numberScore - The minimum learning score for suggestions.
- partition string
- Partition on which WAF policy is located.
- policy
Name string - WAF policy name from which PB suggestions should be exported.
- policy
Id string - System generated id of the WAF policy
- minimum_
learning_ intscore - The minimum learning score for suggestions.
- partition str
- Partition on which WAF policy is located.
- policy_
name str - WAF policy name from which PB suggestions should be exported.
- policy_
id str - System generated id of the WAF policy
- minimum
Learning NumberScore - The minimum learning score for suggestions.
- partition String
- Partition on which WAF policy is located.
- policy
Name String - WAF policy name from which PB suggestions should be exported.
- policy
Id String - System generated id of the WAF policy
getWafPbSuggestions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Json string
- Json string representing exported PB suggestions ready to be used in WAF policy declaration
- Minimum
Learning intScore - Partition string
- Policy
Id string - System generated id of the WAF policy
- Policy
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Json string
- Json string representing exported PB suggestions ready to be used in WAF policy declaration
- Minimum
Learning intScore - Partition string
- Policy
Id string - System generated id of the WAF policy
- Policy
Name string
- id String
- The provider-assigned unique ID for this managed resource.
- json String
- Json string representing exported PB suggestions ready to be used in WAF policy declaration
- minimum
Learning IntegerScore - partition String
- policy
Id String - System generated id of the WAF policy
- policy
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- json string
- Json string representing exported PB suggestions ready to be used in WAF policy declaration
- minimum
Learning numberScore - partition string
- policy
Id string - System generated id of the WAF policy
- policy
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- json str
- Json string representing exported PB suggestions ready to be used in WAF policy declaration
- minimum_
learning_ intscore - partition str
- policy_
id str - System generated id of the WAF policy
- policy_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- json String
- Json string representing exported PB suggestions ready to be used in WAF policy declaration
- minimum
Learning NumberScore - partition String
- policy
Id String - System generated id of the WAF policy
- policy
Name String
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigip
Terraform Provider.