Local Rulestack Rule Args
data class LocalRulestackRuleArgs(val action: Output<String>? = null, val applications: Output<List<String>>? = null, val auditComment: Output<String>? = null, val category: Output<LocalRulestackRuleCategoryArgs>? = null, val decryptionRuleType: Output<String>? = null, val description: Output<String>? = null, val destination: Output<LocalRulestackRuleDestinationArgs>? = null, val enabled: Output<Boolean>? = null, val inspectionCertificateId: Output<String>? = null, val loggingEnabled: Output<Boolean>? = null, val name: Output<String>? = null, val negateDestination: Output<Boolean>? = null, val negateSource: Output<Boolean>? = null, val priority: Output<Int>? = null, val protocol: Output<String>? = null, val protocolPorts: Output<List<String>>? = null, val rulestackId: Output<String>? = null, val source: Output<LocalRulestackRuleSourceArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LocalRulestackRuleArgs>
Manages a Palo Alto Local Rulestack Rule.
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.LocalRulestackRule;
import com.pulumi.azure.paloalto.LocalRulestackRuleArgs;
import com.pulumi.azure.paloalto.inputs.LocalRulestackRuleSourceArgs;
import com.pulumi.azure.paloalto.inputs.LocalRulestackRuleDestinationArgs;
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 exampleLocalRulestackRule = new LocalRulestackRule("exampleLocalRulestackRule", LocalRulestackRuleArgs.builder()
.rulestackId(exampleLocalRulestack.id())
.priority(1000)
.action("Allow")
.applications("any")
.source(LocalRulestackRuleSourceArgs.builder()
.cidrs("10.0.0.0/8")
.build())
.destination(LocalRulestackRuleDestinationArgs.builder()
.cidrs("192.168.16.0/24")
.build())
.build());
}
}
Content copied to clipboard
Import
Palo Alto Local Rulestack Rules can be imported using the resource id
, e.g.
$ pulumi import azure:paloalto/localRulestackRule:LocalRulestackRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/myLocalRulestack/localRules/myRule1
Content copied to clipboard
Constructors
Link copied to clipboard
fun LocalRulestackRuleArgs(action: Output<String>? = null, applications: Output<List<String>>? = null, auditComment: Output<String>? = null, category: Output<LocalRulestackRuleCategoryArgs>? = null, decryptionRuleType: Output<String>? = null, description: Output<String>? = null, destination: Output<LocalRulestackRuleDestinationArgs>? = null, enabled: Output<Boolean>? = null, inspectionCertificateId: Output<String>? = null, loggingEnabled: Output<Boolean>? = null, name: Output<String>? = null, negateDestination: Output<Boolean>? = null, negateSource: Output<Boolean>? = null, priority: Output<Int>? = null, protocol: Output<String>? = null, protocolPorts: Output<List<String>>? = null, rulestackId: Output<String>? = null, source: Output<LocalRulestackRuleSourceArgs>? = null, tags: Output<Map<String, String>>? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard