1. Packages
  2. Azure Native
  3. API Docs
  4. cloudngfw
  5. PrefixListGlobalRulestack
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.cloudngfw.PrefixListGlobalRulestack

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    GlobalRulestack prefixList 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.

    Example Usage

    PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var prefixListGlobalRulestack = new AzureNative.Cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestack", new()
        {
            AuditComment = "comment",
            Description = "string",
            GlobalRulestackName = "praval",
            Name = "armid1",
            PrefixList = new[]
            {
                "1.0.0.0/24",
            },
        });
    
    });
    
    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.NewPrefixListGlobalRulestack(ctx, "prefixListGlobalRulestack", &cloudngfw.PrefixListGlobalRulestackArgs{
    			AuditComment:        pulumi.String("comment"),
    			Description:         pulumi.String("string"),
    			GlobalRulestackName: pulumi.String("praval"),
    			Name:                pulumi.String("armid1"),
    			PrefixList: pulumi.StringArray{
    				pulumi.String("1.0.0.0/24"),
    			},
    		})
    		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.PrefixListGlobalRulestack;
    import com.pulumi.azurenative.cloudngfw.PrefixListGlobalRulestackArgs;
    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 prefixListGlobalRulestack = new PrefixListGlobalRulestack("prefixListGlobalRulestack", PrefixListGlobalRulestackArgs.builder()
                .auditComment("comment")
                .description("string")
                .globalRulestackName("praval")
                .name("armid1")
                .prefixList("1.0.0.0/24")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    prefix_list_global_rulestack = azure_native.cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestack",
        audit_comment="comment",
        description="string",
        global_rulestack_name="praval",
        name="armid1",
        prefix_list=["1.0.0.0/24"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const prefixListGlobalRulestack = new azure_native.cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestack", {
        auditComment: "comment",
        description: "string",
        globalRulestackName: "praval",
        name: "armid1",
        prefixList: ["1.0.0.0/24"],
    });
    
    resources:
      prefixListGlobalRulestack:
        type: azure-native:cloudngfw:PrefixListGlobalRulestack
        properties:
          auditComment: comment
          description: string
          globalRulestackName: praval
          name: armid1
          prefixList:
            - 1.0.0.0/24
    

    PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var prefixListGlobalRulestack = new AzureNative.Cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestack", new()
        {
            GlobalRulestackName = "praval",
            Name = "armid1",
            PrefixList = new[]
            {
                "1.0.0.0/24",
            },
        });
    
    });
    
    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.NewPrefixListGlobalRulestack(ctx, "prefixListGlobalRulestack", &cloudngfw.PrefixListGlobalRulestackArgs{
    			GlobalRulestackName: pulumi.String("praval"),
    			Name:                pulumi.String("armid1"),
    			PrefixList: pulumi.StringArray{
    				pulumi.String("1.0.0.0/24"),
    			},
    		})
    		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.PrefixListGlobalRulestack;
    import com.pulumi.azurenative.cloudngfw.PrefixListGlobalRulestackArgs;
    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 prefixListGlobalRulestack = new PrefixListGlobalRulestack("prefixListGlobalRulestack", PrefixListGlobalRulestackArgs.builder()
                .globalRulestackName("praval")
                .name("armid1")
                .prefixList("1.0.0.0/24")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    prefix_list_global_rulestack = azure_native.cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestack",
        global_rulestack_name="praval",
        name="armid1",
        prefix_list=["1.0.0.0/24"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const prefixListGlobalRulestack = new azure_native.cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestack", {
        globalRulestackName: "praval",
        name: "armid1",
        prefixList: ["1.0.0.0/24"],
    });
    
    resources:
      prefixListGlobalRulestack:
        type: azure-native:cloudngfw:PrefixListGlobalRulestack
        properties:
          globalRulestackName: praval
          name: armid1
          prefixList:
            - 1.0.0.0/24
    

    Create PrefixListGlobalRulestack Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PrefixListGlobalRulestack(name: string, args: PrefixListGlobalRulestackArgs, opts?: CustomResourceOptions);
    @overload
    def PrefixListGlobalRulestack(resource_name: str,
                                  args: PrefixListGlobalRulestackArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrefixListGlobalRulestack(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  global_rulestack_name: Optional[str] = None,
                                  prefix_list: Optional[Sequence[str]] = None,
                                  audit_comment: Optional[str] = None,
                                  description: Optional[str] = None,
                                  name: Optional[str] = None)
    func NewPrefixListGlobalRulestack(ctx *Context, name string, args PrefixListGlobalRulestackArgs, opts ...ResourceOption) (*PrefixListGlobalRulestack, error)
    public PrefixListGlobalRulestack(string name, PrefixListGlobalRulestackArgs args, CustomResourceOptions? opts = null)
    public PrefixListGlobalRulestack(String name, PrefixListGlobalRulestackArgs args)
    public PrefixListGlobalRulestack(String name, PrefixListGlobalRulestackArgs args, CustomResourceOptions options)
    
    type: azure-native:cloudngfw:PrefixListGlobalRulestack
    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 PrefixListGlobalRulestackArgs
    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 PrefixListGlobalRulestackArgs
    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 PrefixListGlobalRulestackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrefixListGlobalRulestackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrefixListGlobalRulestackArgs
    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 prefixListGlobalRulestackResource = new AzureNative.Cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestackResource", new()
    {
        GlobalRulestackName = "string",
        PrefixList = new[]
        {
            "string",
        },
        AuditComment = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := cloudngfw.NewPrefixListGlobalRulestack(ctx, "prefixListGlobalRulestackResource", &cloudngfw.PrefixListGlobalRulestackArgs{
    	GlobalRulestackName: pulumi.String("string"),
    	PrefixList: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AuditComment: pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	Name:         pulumi.String("string"),
    })
    
    var prefixListGlobalRulestackResource = new PrefixListGlobalRulestack("prefixListGlobalRulestackResource", PrefixListGlobalRulestackArgs.builder()
        .globalRulestackName("string")
        .prefixList("string")
        .auditComment("string")
        .description("string")
        .name("string")
        .build());
    
    prefix_list_global_rulestack_resource = azure_native.cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestackResource",
        global_rulestack_name="string",
        prefix_list=["string"],
        audit_comment="string",
        description="string",
        name="string")
    
    const prefixListGlobalRulestackResource = new azure_native.cloudngfw.PrefixListGlobalRulestack("prefixListGlobalRulestackResource", {
        globalRulestackName: "string",
        prefixList: ["string"],
        auditComment: "string",
        description: "string",
        name: "string",
    });
    
    type: azure-native:cloudngfw:PrefixListGlobalRulestack
    properties:
        auditComment: string
        description: string
        globalRulestackName: string
        name: string
        prefixList:
            - string
    

    PrefixListGlobalRulestack 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 PrefixListGlobalRulestack resource accepts the following input properties:

    GlobalRulestackName string
    GlobalRulestack resource name
    PrefixList List<string>
    prefix list
    AuditComment string
    comment for this object
    Description string
    prefix description
    Name string
    Local Rule priority
    GlobalRulestackName string
    GlobalRulestack resource name
    PrefixList []string
    prefix list
    AuditComment string
    comment for this object
    Description string
    prefix description
    Name string
    Local Rule priority
    globalRulestackName String
    GlobalRulestack resource name
    prefixList List<String>
    prefix list
    auditComment String
    comment for this object
    description String
    prefix description
    name String
    Local Rule priority
    globalRulestackName string
    GlobalRulestack resource name
    prefixList string[]
    prefix list
    auditComment string
    comment for this object
    description string
    prefix description
    name string
    Local Rule priority
    global_rulestack_name str
    GlobalRulestack resource name
    prefix_list Sequence[str]
    prefix list
    audit_comment str
    comment for this object
    description str
    prefix description
    name str
    Local Rule priority
    globalRulestackName String
    GlobalRulestack resource name
    prefixList List<String>
    prefix list
    auditComment String
    comment for this object
    description String
    prefix description
    name String
    Local Rule priority

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PrefixListGlobalRulestack resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    Provisioning state of the resource.
    SystemData Pulumi.AzureNative.Cloudngfw.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    etag info
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    Provisioning state of the resource.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    etag info
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    Provisioning state of the resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    etag info
    id string
    The provider-assigned unique ID for this managed resource.
    provisioningState string
    Provisioning state of the resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag string
    etag info
    id str
    The provider-assigned unique ID for this managed resource.
    provisioning_state str
    Provisioning state of the resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag str
    etag info
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    Provisioning state of the resource.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    etag info

    Supporting Types

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:cloudngfw:PrefixListGlobalRulestack armid1 /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/prefixlists/{name} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi