LocalRulestackPrefixListArgs

data class LocalRulestackPrefixListArgs(val auditComment: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val prefixLists: Output<List<String>>? = null, val rulestackId: Output<String>? = null) : ConvertibleToJava<LocalRulestackPrefixListArgs>

Manages a Palo Alto Local Rulestack Prefix List.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.paloalto.LocalRulestack;
import com.pulumi.azure.paloalto.LocalRulestackArgs;
import com.pulumi.azure.paloalto.LocalRulestackPrefixList;
import com.pulumi.azure.paloalto.LocalRulestackPrefixListArgs;
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) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleLocalRulestack = new LocalRulestack("exampleLocalRulestack", LocalRulestackArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.build());
var exampleLocalRulestackPrefixList = new LocalRulestackPrefixList("exampleLocalRulestackPrefixList", LocalRulestackPrefixListArgs.builder()
.rulestackId(exampleLocalRulestack.id())
.prefixLists("10.0.1.0/24")
.build());
}
}

Import

Palo Alto Local Rulestack Prefix Lists can be imported using the resource id, e.g.

$ pulumi import azure:paloalto/localRulestackPrefixList:LocalRulestackPrefixList example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/myLocalRulestack/prefixLists/myFQDNList1

Constructors

Link copied to clipboard
fun LocalRulestackPrefixListArgs(auditComment: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, prefixLists: Output<List<String>>? = null, rulestackId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): LocalRulestackPrefixListArgs

Properties

Link copied to clipboard
val auditComment: Output<String>? = null

The comment for Audit purposes.

Link copied to clipboard
val description: Output<String>? = null

The description for the Prefix List.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this Palo Alto Local Rulestack Prefix List.

Link copied to clipboard
val prefixLists: Output<List<String>>? = null

Specifies a list of Prefixes.

Link copied to clipboard
val rulestackId: Output<String>? = null

The ID of the Local Rulestack on which to create this Prefix List. Changing this forces a new Palo Alto Local Rulestack Prefix List to be created.