PrefixListLocalRulestack

class PrefixListLocalRulestack : KotlinCustomResource

LocalRulestack prefixList Uses Azure REST API version 2023-09-01. Other available API versions: 2022-08-29, 2022-08-29-preview, 2023-09-01-preview, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview, 2025-02-06-preview.

Example Usage

PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var prefixListLocalRulestack = new AzureNative.Cloudngfw.PrefixListLocalRulestack("prefixListLocalRulestack", new()
{
AuditComment = "comment",
Description = "string",
LocalRulestackName = "lrs1",
Name = "armid1",
PrefixList = new[]
{
"1.0.0.0/24",
},
ResourceGroupName = "rgopenapi",
});
});
package main
import (
cloudngfw "github.com/pulumi/pulumi-azure-native-sdk/cloudngfw/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudngfw.NewPrefixListLocalRulestack(ctx, "prefixListLocalRulestack", &cloudngfw.PrefixListLocalRulestackArgs{
AuditComment: pulumi.String("comment"),
Description: pulumi.String("string"),
LocalRulestackName: pulumi.String("lrs1"),
Name: pulumi.String("armid1"),
PrefixList: pulumi.StringArray{
pulumi.String("1.0.0.0/24"),
},
ResourceGroupName: pulumi.String("rgopenapi"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cloudngfw.PrefixListLocalRulestack;
import com.pulumi.azurenative.cloudngfw.PrefixListLocalRulestackArgs;
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 prefixListLocalRulestack = new PrefixListLocalRulestack("prefixListLocalRulestack", PrefixListLocalRulestackArgs.builder()
.auditComment("comment")
.description("string")
.localRulestackName("lrs1")
.name("armid1")
.prefixList("1.0.0.0/24")
.resourceGroupName("rgopenapi")
.build());
}
}

PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var prefixListLocalRulestack = new AzureNative.Cloudngfw.PrefixListLocalRulestack("prefixListLocalRulestack", new()
{
LocalRulestackName = "lrs1",
Name = "armid1",
PrefixList = new[]
{
"1.0.0.0/24",
},
ResourceGroupName = "rgopenapi",
});
});
package main
import (
cloudngfw "github.com/pulumi/pulumi-azure-native-sdk/cloudngfw/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudngfw.NewPrefixListLocalRulestack(ctx, "prefixListLocalRulestack", &cloudngfw.PrefixListLocalRulestackArgs{
LocalRulestackName: pulumi.String("lrs1"),
Name: pulumi.String("armid1"),
PrefixList: pulumi.StringArray{
pulumi.String("1.0.0.0/24"),
},
ResourceGroupName: pulumi.String("rgopenapi"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cloudngfw.PrefixListLocalRulestack;
import com.pulumi.azurenative.cloudngfw.PrefixListLocalRulestackArgs;
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 prefixListLocalRulestack = new PrefixListLocalRulestack("prefixListLocalRulestack", PrefixListLocalRulestackArgs.builder()
.localRulestackName("lrs1")
.name("armid1")
.prefixList("1.0.0.0/24")
.resourceGroupName("rgopenapi")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:cloudngfw:PrefixListLocalRulestack armid1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/prefixlists/{name}

Properties

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

comment for this object

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

prefix description

Link copied to clipboard
val etag: Output<String>?

etag info

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val prefixList: Output<List<String>>

prefix list

Link copied to clipboard

Provisioning state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>